Loading...
Loading...
Compare original and translation side by side
clarificationclarificationclarificationclarificationundefinedundefinedundefinedundefinedrun_in_background: trueisolation: "worktree"maxTurns: 200run_in_background: trueisolation: "worktree"maxTurns: 200You are a feasibility analyst reviewing a problem decomposition.You are a feasibility analyst reviewing a problem decomposition.undefinedundefinedYou are an architecture analyst reviewing a problem decomposition.You are an architecture analyst reviewing a problem decomposition.undefinedundefinedYou are a risk analyst reviewing a problem decomposition.You are a risk analyst reviewing a problem decomposition.undefinedundefinedYou are a dependency analyst reviewing a problem decomposition.You are a dependency analyst reviewing a problem decomposition.M1 (no deps) ─┬─→ M3 (depends on M1, M2)
M2 (no deps) ─┘ │
└─→ M4 (depends on M3)| File | Milestones | Ordering constraint |
|---|---|---|
| path/to/file | M1, M3 | M1 before M3 |
undefinedM1 (no deps) ─┬─→ M3 (depends on M1, M2)
M2 (no deps) ─┘ │
└─→ M4 (depends on M3)| File | Milestones | Ordering constraint |
|---|---|---|
| path/to/file | M1, M3 | M1 before M3 |
undefinedYou are a user value analyst reviewing a problem decomposition.You are a user value analyst reviewing a problem decomposition.undefinedundefined{..._OUTPUT}You are a milestone synthesis agent. You have received analyses from 5
independent reviewers who each examined the same problem from a different
angle. Your job is to produce the final milestone decomposition.{..._OUTPUT}You are a milestone synthesis agent. You have received analyses from 5
independent reviewers who each examined the same problem from a different
angle. Your job is to produce the final milestone decomposition.| Conflict | Resolution | Rationale |
|---|---|---|
| [description] | [decision] | [why] |
| Conflict | Resolution | Rationale |
|---|---|---|
| [description] | [decision] | [why] |
Phase 1 (parallel): M1, M2
Phase 2 (after Phase 1): M3
Phase 3 (parallel): M4, M5Phase 1 (parallel): M1, M2
Phase 2 (after Phase 1): M3
Phase 3 (parallel): M4, M5| Proposal | Source | Reason for rejection |
|---|---|---|
| [what was proposed] | [which reviewer] | [why rejected] |
undefined| Proposal | Source | Reason for rejection |
|---|---|---|
| [what was proposed] | [which reviewer] | [why rejected] |
undefinedundefinedundefined
**Verification Discovery:** During Phase 1 (Problem Framing), run the same verification discovery as plan-crafting:
1. Search for e2e tests → integration tests → verification skills/agents → test suite → build+lint
2. Record the result in the Problem Brief under a `Verification Strategy` section
3. The Integration Verification Milestone uses this discovered verification as its primary check
**If no verification infrastructure exists:** The Integration Verification Milestone's plan-crafting phase (during long-run execution) will create the necessary verification as Task 0, same as plan-crafting's behavior.
**验证发现:** 在阶段1(问题框架构建)中,执行与规划构建相同的验证发现流程:
1. 搜索e2e测试→集成测试→验证技能/Agent→测试套件→构建+代码检查
2. 将结果记录在Problem Brief的`Verification Strategy`部分
3. 集成验证里程碑将此发现的验证作为主要检查手段
**如果没有验证基础设施:** 集成验证里程碑的规划构建阶段(长期执行期间)会创建必要的验证作为任务0,与规划构建的行为一致。docs/engineering-discipline/harness/<session-slug>/
├── state.md # Master state file
├── milestones/
│ ├── M1-<name>.md # Individual milestone definition
│ ├── M2-<name>.md
│ └── ...
└── reviews/
├── feasibility.md
├── architecture.md
├── risk.md
├── dependency.md
├── user-value.md
└── synthesis.mdundefineddocs/engineering-discipline/harness/<session-slug>/
├── state.md # 主状态文件
├── milestones/
│ ├── M1-<name>.md # 单个里程碑定义
│ ├── M2-<name>.md
│ └── ...
└── reviews/
├── feasibility.md
├── architecture.md
├── risk.md
├── dependency.md
├── user-value.md
└── synthesis.mdundefined| ID | Name | Status | Attempts | Dependencies | Plan File | Review File |
|---|---|---|---|---|---|---|
| M1 | [name] | pending | 0 | — | — | — |
| M2 | [name] | pending | 0 | M1 | — | — |
| M3 | [name] | pending | 0 | M1, M2 | — | — |
| ID | Name | Status | Attempts | Dependencies | Plan File | Review File |
|---|---|---|---|---|---|---|
| M1 | [name] | pending | 0 | — | — | — |
| M2 | [name] | pending | 0 | M1 | — | — |
| M3 | [name] | pending | 0 | M1, M2 | — | — |
| Timestamp | Event | Details |
|---|---|---|
| YYYY-MM-DD HH:MM | milestones-locked | N milestones approved by user |
**Individual milestone file (M1-<name>.md) format:**
```markdown| Timestamp | Event | Details |
|---|---|---|
| YYYY-MM-DD HH:MM | milestones-locked | N milestones approved by user |
**单个里程碑文件(M1-<name>.md)格式:**
```markdownundefinedundefined| Anti-Pattern | Why It Fails |
|---|---|
| Running reviewers sequentially | Wastes time; reviewers are independent |
| Skipping synthesis and just merging reviewer outputs | Conflicts go unresolved; milestone boundaries are incoherent |
| Accepting milestones without measurable success criteria | Cannot validate completion; "done" becomes subjective |
| Creating milestones too large (>12 tasks each) | Exceeds single plan-crafting cycle; risk of context loss |
| Creating milestones too small (1-2 tasks each) | Overhead of plan-crafting + run-plan + review-work exceeds the work itself |
| Creating more than 10 milestones without user approval | Compounding risk across milestones; likely needs project split |
| Ignoring reviewer conflicts | Unresolved conflicts surface during execution when they're expensive to fix |
| Not saving reviewer outputs | Loses the reasoning behind milestone decisions; cannot audit later |
| Letting user skip approval | User discovers misalignment mid-execution after days of work |
| 反模式 | 失败原因 |
|---|---|
| 顺序运行评审Agent | 浪费时间;评审Agent是独立的 |
| 跳过综合阶段直接合并评审Agent输出 | 冲突未解决;里程碑边界不连贯 |
| 接受无衡量标准的里程碑 | 无法验证完成;“完成”变得主观 |
| 创建过大的里程碑(每个超过12个任务) | 超出单个规划周期;存在上下文丢失风险 |
| 创建过小的里程碑(每个1-2个任务) | 规划构建+运行规划+评审工作的开销超过任务本身 |
| 未获用户批准创建超过10个里程碑 | 跨里程碑的复合风险增加;可能需要拆分项目 |
| 忽略评审Agent的冲突 | 未解决的冲突会在执行阶段暴露,此时修复成本极高 |
| 不保存评审Agent输出 | 丢失里程碑决策的推理依据;无法事后审计 |
| 允许用户跳过批准步骤 | 用户在执行数天后才发现偏差,浪费工作 |
long-runclarificationplan-craftinglong-runclarificationplan-crafting