resolve_todo_parallel
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseResolve all TODO comments using parallel processing.
使用并行处理解决所有TODO注释。
Workflow
工作流程
1. Analyze
1. 分析
Get all unresolved TODOs from the /todos/*.md directory
If any todo recommends deleting, removing, or gitignoring files in or , skip it and mark it as . These are compound-engineering pipeline artifacts that are intentional and permanent.
docs/plans/docs/solutions/wont_fix从/todos/*.md目录中获取所有未解决的TODO
如果任何待办事项建议删除、移除或通过gitignore忽略或中的文件,请跳过该事项并标记为。这些是复合工程流水线的工件,是有意保留且永久存在的。
docs/plans/docs/solutions/wont_fix2. Plan
2. 规划
Create a TodoWrite list of all unresolved items grouped by type.Make sure to look at dependencies that might occur and prioritize the ones needed by others. For example, if you need to change a name, you must wait to do the others. Output a mermaid flow diagram showing how we can do this. Can we do everything in parallel? Do we need to do one first that leads to others in parallel? I'll put the to-dos in the mermaid diagram flow‑wise so the agent knows how to proceed in order.
创建一个按类型分组的所有未解决事项的TodoWrite列表。务必考虑可能存在的依赖关系,并优先处理其他事项所需的任务。例如,如果需要修改名称,则必须先完成该操作,再进行其他任务。输出一个Mermaid流程图,展示我们如何执行这些任务。我们可以并行完成所有任务吗?是否需要先完成某一项,再并行处理其他任务?我会将待办事项按流程顺序放入Mermaid流程图中,以便Agent知晓执行顺序。
3. Implement (PARALLEL)
3. 实施(并行)
Spawn a pr-comment-resolver agent for each unresolved item in parallel.
So if there are 3 comments, it will spawn 3 pr-comment-resolver agents in parallel. liek this
- Task pr-comment-resolver(comment1)
- Task pr-comment-resolver(comment2)
- Task pr-comment-resolver(comment3)
Always run all in parallel subagents/Tasks for each Todo item.
为每个未解决的事项并行启动一个pr-comment-resolver Agent。
例如,如果有3条注释,它会并行启动3个pr-comment-resolver Agent,如下所示:
- 任务 pr-comment-resolver(comment1)
- 任务 pr-comment-resolver(comment2)
- 任务 pr-comment-resolver(comment3)
始终为每个待办事项并行运行所有子Agent/任务。
4. Commit & Resolve
4. 提交与解决
- Commit changes
- Remove the TODO from the file, and mark it as resolved.
- Push to remote
- 提交更改
- 从文件中移除TODO,并标记为已解决
- 推送到远程仓库