Enforce plan tracking protocol with docs/features/<slug>/ convention#64
Merged
Enforce plan tracking protocol with docs/features/<slug>/ convention#64
Conversation
…ntion - Move plan files from docs/plans/ to docs/features/<slug>/plan.md - Add "Plan Tracking Protocol" section to CLAUDE.md — every plan MUST have a tracker entry, matching slug across folder/branch/tracker key - Update validate-tracker.mjs to scan docs/features/ for orphan folders - Update check-docs.mjs to accept docs/features/ as doc path - Update event-wiring.ts plan detection to scan docs/features/*/plan.md - Update all ai-docs and .claude/commands references - Clean up 37 stale .claude/progress/ entries (untracked, runtime only) - Delete empty docs/plans/ directory Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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
docs/features/<slug>/containingplan.md. One slug used everywhere: tracker key, folder name, branch suffix, runtime progress folder.docs/plans/todocs/features/<slug>/plan.md(2 files)docs/plans/directoryvalidate-tracker.mjsto scandocs/features/for orphan folders (instead ofdocs/plans/for orphan files)check-docs.mjsto acceptdocs/features/as a valid doc pathevent-wiring.tsplan auto-detection to scandocs/features/*/plan.md.claude/commands/references fromdocs/plans/todocs/features/.claude/progress/entries (untracked runtime files)Test plan
npm run lint— zero errorsnpm run typecheck— zero errorsnpm run test— 156/156 passingnpm run build— successnpm run validate:tracker— PASS (0 orphans, 2 plan files verified)npm run check:docs— PASS🤖 Generated with Claude Code