Repository navigation
Conversation
Both executing-plans and subagent-driven-development used only TodoWrite (ephemeral) for progress tracking, leaving all plan file checkboxes as `- [ ]` even after full implementation. Add explicit instructions to update `- [ ]` to `- [x]` in the plan file using the Edit tool after each task completes. This makes the plan file a persistent progress record across sessions. Changes: - executing-plans: add step 5 to update checkboxes after task completion - subagent-driven-development: add Plan File Tracking section, update process diagram node, and update example workflow Fixes obra#789
There was a problem hiding this comment.
Pull request overview
Updates the workflow documentation for plan execution to ensure progress is persisted back into the on-disk plan file (checkboxes), not only tracked in TodoWrite.
Changes:
- Extend the subagent-driven-development process to include updating plan-file checkboxes after completing each task.
- Add a “Plan File Tracking” section and update the example workflow to include the plan-file checkbox update step.
- Update executing-plans to explicitly instruct updating the plan file checkboxes via the Edit tool.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| skills/subagent-driven-development/SKILL.md | Updates the per-task flow diagram and adds explicit guidance + examples for marking plan-file checkboxes complete. |
| skills/executing-plans/SKILL.md | Adds an explicit step to update plan-file checkboxes after marking a task complete. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
|
||
| ## Plan File Tracking | ||
|
|
||
| After marking a task complete in TodoWrite, update the plan file on disk — change `- [ ]` to `- [x]` for all completed steps in that task using the Edit tool. This keeps the plan file as a persistent progress record across sessions. |
There was a problem hiding this comment.
Fixed in 46c3286 — now uses `Edit` tool with backtick formatting.
| 2. Follow each step exactly (plan has bite-sized steps) | ||
| 3. Run verifications as specified | ||
| 4. Mark as completed | ||
| 5. Update the plan file: change `- [ ]` to `- [x]` for completed steps using Edit tool |
There was a problem hiding this comment.
Fixed in 46c3286 — now uses `Edit` tool with backtick formatting.
Address Copilot review feedback — consistent tool name formatting.
|
When will this PR be merged and released? I was just about to open a related PR and I found it. 😂 |
|
Would be great to have such functionality. I wonder will concurrent sub agents writing to the same plan file corrupt it? |
me toooo |
Extend the writing-plans header template so every execution plan tells agentic workers to flip `- [ ]` to `- [x]` as work completes, not only to use checkbox syntax. Strengthen subagent-driven-development to match executing-plans: add a "Track Progress in the Plan File" section, fix the process diagram edge that skipped checkbox updates after code-quality approval, and show plan-file edits in the example workflow. See also: - commit a1de107 (yason branch) - obra#808 - obra#1075
…progress Wired into a real statusline, the segment reported `lift-drill-into-evals 5% · task 1/22 · 5/100 steps` on a branch that has nothing to do with that plan. The plan was committed upstream in May, its work shipped long ago, and someone had ticked five boxes before moving on. The old ranking picked it because it was the only plan in the repository with partially ticked boxes, and because mtime — the tiebreak underneath — is the checkout time for every file in a fresh clone, so it discriminates nothing. The deeper problem is not staleness, it is that nobody maintains the data: of this repository's fifteen plans, fourteen show zero ticked boxes although their work shipped (issue obra#1075, PR obra#808). Checkbox state in a committed plan is not evidence that work is in flight, so it can no longer select one. Selection now requires evidence somebody wrote: the branch names the plan, an SDD ledger names it, or git reports the plan as modified or untracked. A plan named with --plan or SUPERPOWERS_STATUSLINE_PLAN is exempt, and outside a git repository every plan stays a candidate — there is no archive to confuse it with. On this repository the segment is now empty, which is the honest answer: nothing is in flight here. Costs one `git status`, scoped to the plan directories and run only when neither the branch nor a ledger settles it: ~72ms on a repo with 15 plans. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>


Summary
Fixes #789 —
executing-plansandsubagent-driven-developmentnever updated plan file checkboxes (- [ ]→- [x]), leaving all checkboxes unchecked even after full implementation.Root cause: Both skills used only
TodoWrite(ephemeral, session-scoped) for progress tracking. The plan file on disk was never modified, despitewriting-planspromising checkbox tracking in the plan header.Fix: Add explicit instructions for the orchestrator (not the subagent) to update checkboxes in the plan file using the Edit tool after each task completes.
Changes
skills/executing-plans/SKILL.md— Add step 5: update plan file checkboxes after task completionskills/subagent-driven-development/SKILL.md— Add "Plan File Tracking" section, update process diagram node, update example workflow with checkbox update stepsDesign decision
The orchestrator updates checkboxes (not the implementer subagent), because:
Testing
Verified with a fresh Claude Code instance (
claude -p --plugin-dir <modified-plugin>):- [ ](unchecked)- [x](checked)All 6 task step checkboxes were updated after execution. The remaining
- [ ]is in the plan header (syntax example, not a step).Also verified:
writing-planspromise: "Steps use checkbox syntax for tracking"