Loading...
Loading...
Compare original and translation side by side
Quick Ref: Decompose goal into trackable issues with waves. Output:+ bd issues..agents/plans/*.md
.agents/plans/快速参考: 将目标分解为分阶段的可追踪Issue。输出:+ bd议题。.agents/plans/*.md
.agents/plans//plan <goal>/plan <目标>mkdir -p .agents/plansmkdir -p .agents/plansls -la .agents/research/ 2>/dev/null | head -10.agents/ls -la .agents/research/ 2>/dev/null | head -10.agents/Tool: Task
Parameters:
subagent_type: "Explore"
description: "Understand codebase for: <goal>"
prompt: |
Explore the codebase to understand what's needed for: <goal>
1. Find relevant files and modules
2. Understand current architecture
3. Identify what needs to change
Return: key files, current state, suggested approachTool: Task
Parameters:
subagent_type: "Explore"
description: "理解代码库以支持:<目标>"
prompt: |
探索代码库以了解实现<目标>所需的内容:
1. 找到相关文件和模块
2. 理解当前架构
3. 确定需要修改的部分
返回:关键文件、当前状态、建议方案.agents/plans/YYYY-MM-DD-<goal-slug>.mdundefined.agents/plans/YYYY-MM-DD-<目标缩写>.mdundefined/crank/implement <issue>undefined/crank/implement <issue>undefinedTool: TaskCreate
Parameters:
subject: "<issue title>"
description: |
<Full description including:>
- What to do
- Acceptance criteria
- Dependencies: [list task IDs that must complete first]
activeForm: "<-ing verb form of the task>"Tool: TaskUpdate
Parameters:
taskId: "<task-id>"
addBlockedBy: ["<dependency-task-id>"]undefinedTool: TaskCreate
Parameters:
subject: "<issue标题>"
description: |
<完整描述包含:>
- 需要完成的内容
- 验收标准
- 依赖关系:[必须先完成的任务ID列表]
activeForm: "<任务的现在进行时动词形式>"Tool: TaskUpdate
Parameters:
taskId: "<任务ID>"
addBlockedBy: ["<依赖任务ID>"]undefined
**Waves are formed by `blocks` dependencies:**
- Issues with NO blockers → Wave 1 (appear in `bd ready` immediately)
- Issues blocked by Wave 1 → Wave 2 (appear when Wave 1 closes)
- Issues blocked by Wave 2 → Wave 3 (appear when Wave 2 closes)
**`bd ready` returns the current wave** - all unblocked issues that can run in parallel.
Without bd issues, the ratchet validator cannot track gate progress. This is required for `/crank` autonomous execution and `/post-mortem` validation.
**通过`blocks`依赖关系划分执行阶段:**
- 无阻塞的Issue → Wave 1(会立即出现在`bd ready`结果中)
- 被Wave 1阻塞的Issue → Wave 2(Wave 1完成后出现)
- 被Wave 2阻塞的Issue → Wave 3(Wave 2完成后出现)
**`bd ready`返回当前可执行阶段** - 所有未被阻塞、可并行执行的议题。
如果没有bd议题,ratchet验证器无法追踪阶段进度,这是`/crank`自动执行和`/post-mortem`验证的必要条件。Tool: AskUserQuestion
Parameters:
questions:
- question: "Plan complete with N tasks in M waves. Approve to proceed?"
header: "Gate 2"
options:
- label: "Approve"
description: "Proceed to /pre-mortem or /crank"
- label: "Revise"
description: "Modify the plan before proceeding"
- label: "Back to Research"
description: "Need more research before planning"
multiSelect: falseTool: AskUserQuestion
Parameters:
questions:
- question: "计划已完成,包含M个阶段共N个任务。是否批准继续?"
header: "第二阶段闸门"
options:
- label: "批准"
description: "继续执行/pre-mortem或/crank"
- label: "修改"
description: "先修改计划再继续"
- label: "返回研究阶段"
description: "需要更多研究再进行规划"
multiSelect: false/pre-mortem/crank/pre-mortem/crank.agents/plans/.agents/plans/