feat(feature-flags): add wizard feature-flags command - #1202
Closed
talagluck wants to merge 1 commit into
Closed
Conversation
Adds PostHog feature flags to a project. Mirrors ai-observability's shape: context-mill's `feature-flags` skill group ships one variant per language/framework with no example apps to detect against, so this program does no framework matching itself — the agent loads the skill menu, matches the project's manifest against it, and installs the right variant, per the custom prompt in src/lib/programs/feature-flags/index.ts. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HBZpxnSyEjzrmLLUpgPVR3
Author
|
This was the wrong program (generic feature-flags installer, not flag-health). Closing in favor of a PR against my fork with the actual flag-health wiring. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
wizard feature-flagscommand that adds PostHog feature flag code to a project.ai-observability: context-mill'sfeature-flagsskill group ships one variant per language/framework with no example apps to detect against, so this program does no framework matching itself — the agent loads the skill menu (load_skill_menuwithcategory: "feature-flags"), matches the project's manifest, and installs the right variant (see thecustomPromptinsrc/lib/programs/feature-flags/index.ts).program-registry.ts, wired intobin.ts, and pinned in the switchboard toanthropic+ Sonnet 5 (same binding shape asai-observability).flag-health(wizard audit flag-health), which checks an existing flag integration for drift against PostHog's live roster — this command instead adds flags to a project that doesn't have them yet: feat(flag-health): add PostHog flag roster alignment audit skill context-mill#384Test plan
pnpm build— compiles clean, smoke tests and warlock smoke tests passpnpm test— 2587 tests pass (161 files)pnpm lint— 0 errors (pre-existing warnings elsewhere in the codebase are untouched by this change; no new warnings in the added files)🤖 Generated with Claude Code
https://claude.ai/code/session_01HBZpxnSyEjzrmLLUpgPVR3