-
Notifications
You must be signed in to change notification settings - Fork 14
feat(audit-feature-flags): rebuild as a doctor (wizard native) #329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
ce4fa4a
feat(audit-feature-flags): rebuild as a doctor (verify, diagnose, fix)
ryanwaits 9598e84
feat(audit-feature-flags): detect per-call send_event suppression
ryanwaits a9f8395
fix(audit-feature-flags): tighten consent prompt and MCP degradation
ryanwaits 6265038
refactor(audit-feature-flags): extract per-check subagent prompt files
ryanwaits feafc5e
docs(audit-feature-flags): add phase-scoped reference read discipline
ryanwaits 9faf1f7
fix(audit-feature-flags): scope ask option claim, emit end statuses
ryanwaits 07679a9
fix(audit-feature-flags): map parent delivery rows to remediation docs
ryanwaits File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,20 +1,19 @@ | ||
| type: skill | ||
| template: description.md | ||
| description: Audit a PostHog integration's feature flag usage for correctness and cost-optimization opportunities | ||
| description: Verify, diagnose, and fix a PostHog feature flags integration — live delivery checks plus correctness and cost audits, with consent-gated fixes | ||
| tags: [best-practices] | ||
| cli: | ||
| role: command | ||
| parentCommand: audit | ||
| command: feature-flags | ||
| references: | ||
| preamble: "**Read ONLY this file.** Do not read any other reference file until this one tells you to." | ||
| shared_docs: | ||
| - https://posthog.com/docs/feature-flags/best-practices.md | ||
| - https://posthog.com/docs/feature-flags/cutting-costs.md | ||
| - https://posthog.com/docs/feature-flags/local-evaluation.md | ||
| - https://posthog.com/docs/feature-flags/bootstrapping.md | ||
| - https://posthog.com/docs/feature-flags/cleaning-up-stale-flags.md | ||
| variants: | ||
| - id: all | ||
| display_name: PostHog audit — feature flags | ||
| display_name: Feature flags doctor | ||
| tags: [best-practices] | ||
| docs_urls: [] | ||
Large diffs are not rendered by default.
Oops, something went wrong.
37 changes: 0 additions & 37 deletions
37
context/skills/audit-feature-flags/references/1-presence.md
This file was deleted.
Oops, something went wrong.
238 changes: 0 additions & 238 deletions
238
context/skills/audit-feature-flags/references/2-feature-flags-fix.md
This file was deleted.
Oops, something went wrong.
196 changes: 0 additions & 196 deletions
196
context/skills/audit-feature-flags/references/3-feature-flags-optimize.md
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI this is a prompt guardrail for the agent to follow the references in a strict sequence. I know you've defined the flow in the
description.mdbut sometimes agent ignores instructionsThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok thats fair, good catch - ive restored as prose guardrails