feat: add plan status tracking to writing-plans and executing-plans#442
feat: add plan status tracking to writing-plans and executing-plans#442Mharbulous wants to merge 1 commit intoobra:mainfrom
Conversation
Adds YAML frontmatter with `status: pending/executed` to track plan lifecycle. writing-plans creates plans with `status: pending` in the header template. executing-plans marks plans `status: executed` on completion (Step 5). This enables downstream tools (like handover skills) to distinguish pending plans from already-executed ones, preventing stale plan false positives when auto-routing to planning superpowers. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
📝 WalkthroughWalkthroughThis change introduces a status tracking mechanism for plans using YAML frontmatter. The writing-plans skill now generates documents with Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Could you please give me a human-written explanation of the actual failure mode you experienced? |
Summary
Adds YAML frontmatter with
status: pending/executedto track the plan lifecycle across writing-plans and executing-plans:status: pendingfrontmatterstatus: executedbefore finishingMotivation
When creating handovers for implementation tasks, downstream tools need to distinguish pending plans from already-executed ones. Without status tracking, stale plans accumulate in
docs/plans/and can cause false positive matches — routing toexecuting-plansfor a plan that was already fully implemented.The
statusfield provides a simple, deterministic signal:status: pending→ plan exists and awaits execution → route toexecuting-plansstatus: executed→ plan already completed → route towriting-plans(new plan needed)Changes
skills/writing-plans/SKILL.md: Addedstatus: pendingto plan header template + status values documentationskills/executing-plans/SKILL.md: Added step 1 to Step 5 to update plan status toexecutedon completionTesting
Verified against 9 existing plan files across a real repository. 5 implementation plans (with writing-plans signature) and 4 design docs (without). Status detection was 100% accurate with no false positives or negatives.
🤖 Generated with Claude Code
Summary by CodeRabbit