Todo Tracking
Progress = items completed. All boxes checked = feature done.
Authority
If any non-template plan file exists in docs/plans/ (walking up from cwd), those plan files ARE the todo list — not Claude Code's internal TaskCreate state. Applies regardless of git branch or whether the project is a git repo at all. The planner produces the plan; dev agents mutate its checkboxes as they complete work; commits (when in git) capture the diff.
- Do NOT call
TaskCreateorTaskUpdatewhile a plan is present. A PreToolUse hook (~/.claude/hooks/plan-as-todo.sh) denies those calls with a message pointing to the active plan(s). - To pick the next item:
Readthe plan → find first unchecked- [ ]under## Todos→ dispatch the matching dev-tier agent. - To complete an item: after the dev agent commits,
Editthe plan to flip- [ ]→- [x]. - When a plan is finished, archive it: move to
docs/archive/. Once archived,TaskCreateunblocks for ad-hoc work. TaskCreate/TaskUpdateremain available when no plan file exists indocs/plans/— use them for ephemeral orchestration that shouldn't persist.
Rules
- Work in order (sequential unless dependencies require otherwise)
- One todo at a time per TDD cycle
- Update immediately after commit — always append the short SHA (
git rev-parse --short HEAD):- [x] <text> · <sha> - Never add todos without approval
Todo Item Requirements
- Testable: Can write a test proving it works
- Single behavior: One thing, not multiple
- Clear completion: Obvious when done
- Small: One TDD cycle
Workflow
Start: Read plan → Find first unchecked → Announce → Begin TDD
Complete: Tests pass → Commit → git rev-parse --short HEAD → Update plan [ ] → [x] <text> · <sha> → Announce
Progress Display Rules
Always show progress card:
- At start of agent work (after reading plan)
- At end of agent work (before handoff)
Progress Card Template
╭─ Progress ──────────────────────────╮
│ 📋 feature-name │
│ 🔴 Phase: Red │
│ ▸ Current: <todo item> │
│ Progress: ████░░░░░░ 2/5 │
╰─────────────────────────────────────╯
Phase indicators: 🔴 Red │ 🟢 Green │ 🔵 Refactor │ 📋 Planning │ 🔍 Review
Progress bar: Use █ for complete, ░ for remaining (10 chars total)
Legacy Format (simple contexts)
Feature: <name>
Progress: X/Y todos (Z%)
Current: <current item>
Next: <next item>
Feature Completion
- All todos [x]
- All acceptance criteria [x]
- Full test suite passes
- Move plan to
docs/archive/ - Report complete