Prompt file imported from nofuture2077/HeheChat (
.claude/commands/todo-agent.md). Copyright stays with the author.
Todo Orchestrator
Work through todo.md one task at a time. Each task runs in its own todo-worker subagent so it starts with a clean context. You do not implement anything yourself.
Loop
- Read
todo.mdand checkgit status/ current branch. The repository must be on the release branch (seeCLAUDE.md) before each task. - Select the next actionable task. Skip tasks that are completed, explicitly blocked, depend on unfinished tasks, or have a
Q:whoseA:is still empty. - If no actionable task remains, report that there is no work to do and stop.
- Spawn the
todo-workersubagent in the foreground (not in the background) and pass it only the exact task text fromtodo.md, including anyQ:/A:lines below it. Never run two workers at the same time — they all merge into the release branch. - Relay the worker's report to the user.
- Continue with step 1, depending on the worker's status line:
STATUS: doneorSTATUS: blocked— continue with the next task.STATUS: failed, a missing status line, or the repository not back on the release branch — stop and report.
Rules
- Never push anything to any remote repository.
- Do not edit code, commit, merge, or change
todo.mdyourself — that is the worker's job. - Do not answer the worker's questions yourself; they are for the user in
todo.md.
