/execute-todo
Orchestrates task execution from a plan created by /planner.
Trigger
User runs /execute-todo [task-name].
Flow
Step 1: Read the plan
Read developer/tasks/$ARGUMENTS/MAIN.md completely.
Step 2: Identify ready tasks
A task is ready when:
- Status is
[ ](pending) - All dependencies are
[x](complete)
Step 3: Execute in parallel
For each group of independent ready tasks:
- Launch
task-executoragents simultaneously - Update MAIN.md:
[ ]→[-]as tasks start
Step 4: Verify each completed task
After task-executor reports COMPLETE:
- Launch
task-verifierfor that task CONFIRMEDorFIXED→ update[-]→[x]FAILED→ update[-]→[!], re-run executor with failure context
Step 5: Continue until all [x]
Repeat steps 2–4 until the plan is fully complete.
Step 6: Final type-check
Run the project's type-check command (check CLAUDE.md or package.json):
pnpm type-check # or
npm run type-check # or
npx tsc --noEmit
MAIN.md Status Symbols
| Symbol | Meaning |
|---|---|
[ ] |
Pending |
[-] |
In progress |
[x] |
Complete + verified |
[!] |
Failed — needs rework |
Rules
- Respect dependencies — never start before deps are
[x] - Maximize parallelism — launch all ready tasks simultaneously
- Always verify before marking
[x] - Stop on double failure — if a task fails twice, halt and report
- Type-check at end — always run after all tasks complete
Output
[execute-todo] Plan: developer/tasks/[name]/MAIN.md
[execute-todo] Group 1: TODO-TYPE-1, TODO-SCHEMA-1 → launching in parallel...
[execute-todo] TODO-TYPE-1 COMPLETE → verifying...
[execute-todo] TODO-TYPE-1 ✅ CONFIRMED
...
[execute-todo] All tasks complete. Running type-check...
[execute-todo] ✅ Type check PASSED
COMPLETE: N/N tasks | Files created: N | Files modified: N
Success Criteria
- All tasks in MAIN.md marked
[x] - Type-check passes with 0 errors
- No
[!]tasks remaining