coding-agent-harness 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/LICENSE +21 -0
- package/README.md +141 -0
- package/SKILL.md +423 -0
- package/docs-release/README.md +30 -0
- package/docs-release/architecture/overview.md +52 -0
- package/docs-release/guides/agent-installation.md +139 -0
- package/examples/minimal-project/.harness-capabilities.json +8 -0
- package/examples/minimal-project/AGENTS.md +4 -0
- package/examples/minimal-project/CLAUDE.md +3 -0
- package/examples/minimal-project/docs/09-PLANNING/TASKS/demo-task/execution_strategy.md +10 -0
- package/examples/minimal-project/docs/09-PLANNING/TASKS/demo-task/progress.md +11 -0
- package/examples/minimal-project/docs/09-PLANNING/TASKS/demo-task/review.md +27 -0
- package/examples/minimal-project/docs/09-PLANNING/TASKS/demo-task/task_plan.md +14 -0
- package/examples/minimal-project/docs/09-PLANNING/TASKS/demo-task/visual_roadmap.md +11 -0
- package/examples/minimal-project/docs/Harness-Ledger.md +6 -0
- package/package.json +34 -0
- package/references/adversarial-review-standard.md +173 -0
- package/references/agents-md-pattern.md +140 -0
- package/references/cadence-ledger.md +55 -0
- package/references/ci-cd-standard.md +90 -0
- package/references/delivery-operating-model-standard.md +145 -0
- package/references/docs-directory-standard.md +125 -0
- package/references/harness-ledger.md +148 -0
- package/references/lessons-governance.md +157 -0
- package/references/long-running-task-standard.md +209 -0
- package/references/module-parallel-standard.md +292 -0
- package/references/planning-loop.md +192 -0
- package/references/project-onboarding-audit.md +167 -0
- package/references/regression-system.md +89 -0
- package/references/repo-governance-standard.md +131 -0
- package/references/review-routing-standard.md +103 -0
- package/references/ssot-governance.md +111 -0
- package/references/walkthrough-closeout.md +135 -0
- package/references/worktree-parallel.md +184 -0
- package/scripts/check-harness.mjs +728 -0
- package/scripts/harness.mjs +201 -0
- package/scripts/lib/dashboard-writer.mjs +95 -0
- package/scripts/lib/harness-core.mjs +1318 -0
- package/scripts/smoke-dashboard.mjs +70 -0
- package/scripts/test-harness.mjs +482 -0
- package/templates/AGENTS.md.template +82 -0
- package/templates/CLAUDE.md.template +12 -0
- package/templates/dashboard/assets/app.css +399 -0
- package/templates/dashboard/assets/app.js +435 -0
- package/templates/dashboard/assets/i18n.js +47 -0
- package/templates/dashboard/assets/markdown-reader.js +116 -0
- package/templates/dashboard/assets/mermaid-renderer.js +59 -0
- package/templates/dashboard/index.html +18 -0
- package/templates/ledger/Harness-Ledger.md +39 -0
- package/templates/lessons/lesson-arch-process-change.md +47 -0
- package/templates/lessons/lesson-new-doc.md +50 -0
- package/templates/lessons/lesson-ref-change.md +45 -0
- package/templates/planning/execution_strategy.md +40 -0
- package/templates/planning/findings.md +24 -0
- package/templates/planning/long-running-task-contract.md +69 -0
- package/templates/planning/module_plan.md +36 -0
- package/templates/planning/module_session_prompt.md +39 -0
- package/templates/planning/optional/artifacts/INDEX.md +12 -0
- package/templates/planning/optional/references/INDEX.md +13 -0
- package/templates/planning/optional/slices/_slice-template/brief.md +27 -0
- package/templates/planning/optional/slices/_slice-template/evidence.md +9 -0
- package/templates/planning/optional/slices/_slice-template/review.md +31 -0
- package/templates/planning/progress.md +33 -0
- package/templates/planning/review.md +48 -0
- package/templates/planning/task_plan.md +86 -0
- package/templates/planning/visual_roadmap.md +28 -0
- package/templates/reference/adversarial-review-standard.md +28 -0
- package/templates/reference/ci-cd-standard.md +28 -0
- package/templates/reference/delivery-operating-model-standard.md +28 -0
- package/templates/reference/docs-library-standard.md +28 -0
- package/templates/reference/engineering-standard.md +29 -0
- package/templates/reference/execution-workflow-standard.md +29 -0
- package/templates/reference/harness-ledger-standard.md +26 -0
- package/templates/reference/long-running-task-standard.md +28 -0
- package/templates/reference/regression-ssot-governance.md +28 -0
- package/templates/reference/repo-governance-standard.md +29 -0
- package/templates/reference/review-routing-standard.md +29 -0
- package/templates/reference/testing-standard.md +28 -0
- package/templates/reference/walkthrough-standard.md +28 -0
- package/templates/reference/worktree-standard.md +28 -0
- package/templates/regression/Cadence-Ledger.md +41 -0
- package/templates/ssot/Delivery-SSoT.md +43 -0
- package/templates/ssot/Feature-SSoT.md +43 -0
- package/templates/ssot/Lessons-SSoT.md +44 -0
- package/templates/ssot/Module-Registry.md +43 -0
- package/templates/ssot/Regression-SSoT.md +51 -0
- package/templates/verifier/verifier-output.md +43 -0
- package/templates/walkthrough/Closeout-SSoT.md +43 -0
- package/templates/walkthrough/walkthrough-template.md +63 -0
- package/templates-zh-CN/AGENTS.md.template +92 -0
- package/templates-zh-CN/CLAUDE.md.template +12 -0
- package/templates-zh-CN/dashboard/assets/app.css +399 -0
- package/templates-zh-CN/dashboard/assets/app.js +435 -0
- package/templates-zh-CN/dashboard/assets/i18n.js +47 -0
- package/templates-zh-CN/dashboard/assets/markdown-reader.js +116 -0
- package/templates-zh-CN/dashboard/assets/mermaid-renderer.js +59 -0
- package/templates-zh-CN/dashboard/index.html +18 -0
- package/templates-zh-CN/ledger/Harness-Ledger.md +50 -0
- package/templates-zh-CN/lessons/lesson-arch-process-change.md +47 -0
- package/templates-zh-CN/lessons/lesson-new-doc.md +49 -0
- package/templates-zh-CN/lessons/lesson-ref-change.md +59 -0
- package/templates-zh-CN/planning/execution_strategy.md +37 -0
- package/templates-zh-CN/planning/findings.md +24 -0
- package/templates-zh-CN/planning/long-running-task-contract.md +118 -0
- package/templates-zh-CN/planning/module_plan.md +43 -0
- package/templates-zh-CN/planning/module_session_prompt.md +70 -0
- package/templates-zh-CN/planning/optional/artifacts/INDEX.md +13 -0
- package/templates-zh-CN/planning/optional/references/INDEX.md +13 -0
- package/templates-zh-CN/planning/optional/slices/_slice-template/brief.md +35 -0
- package/templates-zh-CN/planning/optional/slices/_slice-template/evidence.md +12 -0
- package/templates-zh-CN/planning/optional/slices/_slice-template/review.md +37 -0
- package/templates-zh-CN/planning/progress.md +29 -0
- package/templates-zh-CN/planning/review.md +69 -0
- package/templates-zh-CN/planning/task_plan.md +116 -0
- package/templates-zh-CN/planning/visual_roadmap.md +24 -0
- package/templates-zh-CN/reference/adversarial-review-standard.md +89 -0
- package/templates-zh-CN/reference/ci-cd-standard.md +72 -0
- package/templates-zh-CN/reference/delivery-operating-model-standard.md +79 -0
- package/templates-zh-CN/reference/docs-library-standard.md +59 -0
- package/templates-zh-CN/reference/engineering-standard.md +80 -0
- package/templates-zh-CN/reference/execution-workflow-standard.md +81 -0
- package/templates-zh-CN/reference/harness-ledger-standard.md +91 -0
- package/templates-zh-CN/reference/long-running-task-standard.md +156 -0
- package/templates-zh-CN/reference/regression-ssot-governance.md +82 -0
- package/templates-zh-CN/reference/repo-governance-standard.md +84 -0
- package/templates-zh-CN/reference/review-routing-standard.md +82 -0
- package/templates-zh-CN/reference/testing-standard.md +72 -0
- package/templates-zh-CN/reference/walkthrough-standard.md +83 -0
- package/templates-zh-CN/reference/worktree-standard.md +116 -0
- package/templates-zh-CN/regression/Cadence-Ledger.md +48 -0
- package/templates-zh-CN/ssot/Delivery-SSoT.md +60 -0
- package/templates-zh-CN/ssot/Feature-SSoT.md +49 -0
- package/templates-zh-CN/ssot/Lessons-SSoT.md +49 -0
- package/templates-zh-CN/ssot/Module-Registry.md +48 -0
- package/templates-zh-CN/ssot/Regression-SSoT.md +51 -0
- package/templates-zh-CN/verifier/verifier-output.md +38 -0
- package/templates-zh-CN/walkthrough/Closeout-SSoT.md +42 -0
- package/templates-zh-CN/walkthrough/walkthrough-template.md +62 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# 项目 Harness 总账 - [项目名称]
|
|
2
|
+
|
|
3
|
+
> 本文件记录非平凡任务是否完成了必要的 harness 上下文回写。它不是变更日志,也不替代 Feature SSoT、Regression SSoT、Lessons SSoT 或 walkthrough。
|
|
4
|
+
|
|
5
|
+
## 使用约定
|
|
6
|
+
|
|
7
|
+
- 开始任务时,为需要跨文件、跨模块、跨会话或影响发布质量的工作创建一行。
|
|
8
|
+
- 收口任务时,更新任务计划、审查、回归、walkthrough、Lessons 检查和残余路由。
|
|
9
|
+
- 不把聊天记录当证据;证据必须指向文件、命令输出、测试报告、PR、commit 或运行时验证记录。
|
|
10
|
+
- 其他 worker 同时工作时,只更新自己负责的行;共享行由协调者或明确负责人更新。
|
|
11
|
+
|
|
12
|
+
## 活跃任务
|
|
13
|
+
|
|
14
|
+
| Harness ID | 日期 | 任务 | 负责人 | 任务计划 | 审查 | 回归 | Walkthrough / Closeout | Lessons 检查 | 证据 | 残余路由 | 状态 |
|
|
15
|
+
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
16
|
+
| HL-YYYY-MM-DD-001 | YYYY-MM-DD | [任务名称] | [负责人] | `docs/09-PLANNING/TASKS/[task]/task_plan.md` | `review.md` / `n/a` | `Regression-SSoT: RG-...` / `n/a` | `docs/10-WALKTHROUGH/[file].md` / 允许的跳过原因 | `checked-created: L-YYYY-MM-DD-001` / `checked-none: [原因]` | [测试、命令、PR、commit 或运行时证据] | `none` / [负责人 + 路径] | [open / closed / blocked] |
|
|
17
|
+
|
|
18
|
+
## 归档索引
|
|
19
|
+
|
|
20
|
+
> 活跃表超过 50 行,或一次 release / wave 完成后,将 `closed`、`closed-with-residual`、`closed-local-only`、`superseded` 条目移入季度归档:`docs/01-GOVERNANCE/_archive/Harness-Ledger-archive-YYYY-QN.md`。
|
|
21
|
+
|
|
22
|
+
| 归档文件 | 覆盖范围 | 移入日期 | 说明 |
|
|
23
|
+
| --- | --- | --- | --- |
|
|
24
|
+
| `docs/01-GOVERNANCE/_archive/Harness-Ledger-archive-YYYY-QN.md` | HL-... 至 HL-... | YYYY-MM-DD | [说明] |
|
|
25
|
+
|
|
26
|
+
## 状态说明
|
|
27
|
+
|
|
28
|
+
- `open`:任务仍在进行,当前行可以继续更新。
|
|
29
|
+
- `blocked`:任务或上下文回写被阻塞,必须在“残余路由”写清负责人、下一步和证据。
|
|
30
|
+
- `closed`:任务完成,所需上下文和证据已回写,无未路由残余。
|
|
31
|
+
- `closed-with-residual`:任务完成,但仍有已接受或已路由的残余。
|
|
32
|
+
- `closed-local-only`:本地工作完成但尚未合并、发布或上线;必须写清后续负责人。
|
|
33
|
+
- `superseded`:本行被后续 Harness ID 取代,必须指向新行。
|
|
34
|
+
|
|
35
|
+
## 字段取值
|
|
36
|
+
|
|
37
|
+
- `任务计划`:填任务计划路径;轻量任务可写 `n/a: [原因]`。
|
|
38
|
+
- `审查`:填审查文件、PR review、人工确认,或 `n/a: [原因]`。
|
|
39
|
+
- `回归`:填触发的 Regression Gate、Cadence Ledger 批次,或 `n/a: [原因]`。
|
|
40
|
+
- `Walkthrough / Closeout`:已关闭任务必须对应 `Closeout-SSoT.md` 行;实现类任务应写 walkthrough。
|
|
41
|
+
- `Lessons 检查`:只能写 `checked-created: L-YYYY-MM-DD-NNN` 或 `checked-none: [一句话原因]`。
|
|
42
|
+
- `残余路由`:无残余写 `none`;否则写负责人、目标文件或任务、预期处理时间。
|
|
43
|
+
|
|
44
|
+
## 路由规则
|
|
45
|
+
|
|
46
|
+
1. 功能进度写入 Feature SSoT,不在本表展开。
|
|
47
|
+
2. 回归覆盖面、证据深度和失败项写入 Regression SSoT / Cadence Ledger。
|
|
48
|
+
3. 复用性流程经验写入 Lessons SSoT,并创建 lesson 详情文档。
|
|
49
|
+
4. 收口证据写入 `docs/10-WALKTHROUGH/Closeout-SSoT.md`。
|
|
50
|
+
5. 任意 `closed`、`closed-with-residual`、`closed-local-only` 行都必须能从本表追溯到任务计划、证据和 closeout。
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# L-[ID]: [一句话标题]
|
|
2
|
+
|
|
3
|
+
## 元信息
|
|
4
|
+
|
|
5
|
+
- **ID**: L-[YYYY-MM-DD-NNN]
|
|
6
|
+
- **日期**: YYYY-MM-DD
|
|
7
|
+
- **来源**: `docs/10-WALKTHROUGH/[walkthrough文件名].md`
|
|
8
|
+
- **类型**: arch-change / process-change
|
|
9
|
+
- **目标**: [受影响的模块、流程、reference、template 或 checker]
|
|
10
|
+
- **提出者**: [agent session / model / human]
|
|
11
|
+
|
|
12
|
+
## 背景
|
|
13
|
+
|
|
14
|
+
[说明为什么提出这个架构或流程改动。写清实际任务中遇到的问题、触发场景和影响范围,不写泛泛的原则。]
|
|
15
|
+
|
|
16
|
+
## 共性问题
|
|
17
|
+
|
|
18
|
+
[说明这个问题是否跨多轮、多个模块、多个 agent 或多个阶段反复出现。若不是重复问题,说明为什么仍值得沉淀为流程或架构规则。]
|
|
19
|
+
|
|
20
|
+
## 现状分析
|
|
21
|
+
|
|
22
|
+
[描述当前架构或流程如何工作,问题出在哪里。可以从职责边界、文件归属、review 顺序、checker 缺口、模板缺字段、并行冲突等角度分析。]
|
|
23
|
+
|
|
24
|
+
## 建议方案
|
|
25
|
+
|
|
26
|
+
[具体写出建议怎么改。包括新职责、新顺序、新 gate、新负责人、新文档位置或新检查方式。避免只写“加强规范”。]
|
|
27
|
+
|
|
28
|
+
## 影响范围
|
|
29
|
+
|
|
30
|
+
| 范围 | 影响 | 需要更新的文件 / 流程 | 负责人 |
|
|
31
|
+
| --- | --- | --- | --- |
|
|
32
|
+
| [模块、目录或流程] | [影响说明] | [路径或流程名] | [负责人] |
|
|
33
|
+
|
|
34
|
+
## 采纳后的触发点
|
|
35
|
+
|
|
36
|
+
[说明下次 agent 在什么动作点会被提醒或拦截,例如任务计划阶段、review 后、closeout 前、checker 运行时、协调者合并前。]
|
|
37
|
+
|
|
38
|
+
## 验证方式
|
|
39
|
+
|
|
40
|
+
[说明采纳后如何确认它真的生效:检查器、模板字段、review 清单、回归 gate、人工审查或一次试运行。]
|
|
41
|
+
|
|
42
|
+
## 冲突声明
|
|
43
|
+
|
|
44
|
+
- 当前是否有其他 pending 条目涉及相同范围:是 / 否
|
|
45
|
+
- 如果有,涉及条目:L-[XXX]
|
|
46
|
+
- 本建议是否已考虑兼容:是 / 否
|
|
47
|
+
- 需要人工决策的问题:[无 / 列出]
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# L-[ID]: [一句话标题]
|
|
2
|
+
|
|
3
|
+
## 元信息
|
|
4
|
+
|
|
5
|
+
- **ID**: L-[YYYY-MM-DD-NNN]
|
|
6
|
+
- **日期**: YYYY-MM-DD
|
|
7
|
+
- **来源**: `docs/10-WALKTHROUGH/[walkthrough文件名].md`
|
|
8
|
+
- **类型**: new-doc
|
|
9
|
+
- **建议路径**: `docs/11-REFERENCE/[建议文件名].md`
|
|
10
|
+
- **提出者**: [agent session / model / human]
|
|
11
|
+
|
|
12
|
+
## 背景
|
|
13
|
+
|
|
14
|
+
[说明为什么需要新增文档。写清在哪个任务或 walkthrough 中发现缺失,以及缺失导致了什么执行风险。]
|
|
15
|
+
|
|
16
|
+
## 共性问题
|
|
17
|
+
|
|
18
|
+
[说明这个缺失是否跨多轮、多个模块、多个 agent 或多个阶段反复出现。若不是重复问题,说明为什么仍值得新增正式文档。]
|
|
19
|
+
|
|
20
|
+
## 现有文档为什么不够
|
|
21
|
+
|
|
22
|
+
[说明为什么现有 reference、template、checker 或 SSoT 无法承载这条规则。若可以合入现有文档,应改用 `ref-change` 类型。]
|
|
23
|
+
|
|
24
|
+
## 建议路径
|
|
25
|
+
|
|
26
|
+
`docs/11-REFERENCE/[建议文件名].md`
|
|
27
|
+
|
|
28
|
+
## 建议文档内容
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
# [新文档标题]
|
|
32
|
+
|
|
33
|
+
[完整的新文档内容。内容应能直接合入,不要只写提纲。]
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## 采纳后的触发点
|
|
37
|
+
|
|
38
|
+
[说明下次 agent 在什么动作点会读取或使用这份文档,例如任务计划阶段、模块拆分前、review 后、closeout 前、checker 运行时。]
|
|
39
|
+
|
|
40
|
+
## 验证方式
|
|
41
|
+
|
|
42
|
+
[说明新增文档如何被发现和执行:AGENTS.md 索引、checker、模板引用、review 清单或一次试运行。]
|
|
43
|
+
|
|
44
|
+
## 冲突声明
|
|
45
|
+
|
|
46
|
+
- 当前是否有其他 pending 条目涉及相同范围:是 / 否
|
|
47
|
+
- 如果有,涉及条目:L-[XXX]
|
|
48
|
+
- 本建议是否已考虑兼容:是 / 否
|
|
49
|
+
- 如果不新增文档,替代方案是什么:[无 / 说明]
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# L-[ID]: [一句话标题]
|
|
2
|
+
|
|
3
|
+
## 元信息
|
|
4
|
+
|
|
5
|
+
- **ID**: L-[YYYY-MM-DD-NNN]
|
|
6
|
+
- **日期**: YYYY-MM-DD
|
|
7
|
+
- **来源**: `docs/10-WALKTHROUGH/[walkthrough文件名].md`
|
|
8
|
+
- **类型**: ref-change
|
|
9
|
+
- **目标**: `docs/11-REFERENCE/[目标文件].md`
|
|
10
|
+
- **提出者**: [agent session / model / human]
|
|
11
|
+
|
|
12
|
+
## 背景
|
|
13
|
+
|
|
14
|
+
[说明为什么提出这个 reference 改动。写清在哪个 walkthrough 中发现问题、具体场景是什么、现有规则为什么没有让 agent 做对。]
|
|
15
|
+
|
|
16
|
+
## 共性问题
|
|
17
|
+
|
|
18
|
+
[说明这个问题是否跨多轮、多个文件、多个 agent 或多个阶段反复出现。若不是重复问题,说明为什么仍值得沉淀到正式 reference。]
|
|
19
|
+
|
|
20
|
+
## 现行规范缺口
|
|
21
|
+
|
|
22
|
+
[引用当前 reference 的相关段落或规则,说明缺口属于措辞不清、顺序错误、模板缺字段、checker 没拦住、负责人不明确,还是路由规则缺失。]
|
|
23
|
+
|
|
24
|
+
## 建议改动
|
|
25
|
+
|
|
26
|
+
[具体写出要改什么。可以使用 diff、前后对比或要点列表,但必须足够具体,能直接落到目标文件。]
|
|
27
|
+
|
|
28
|
+
## 改动理由
|
|
29
|
+
|
|
30
|
+
[说明为什么这个改动比现状更好。引用实际任务证据、review 发现、失败案例或重复返工情况。]
|
|
31
|
+
|
|
32
|
+
## 采纳后的触发点
|
|
33
|
+
|
|
34
|
+
[说明下次 agent 在什么动作点会被提醒或拦截,例如读 AGENTS.md 后、写任务计划时、review 后、closeout 前、checker 运行时。]
|
|
35
|
+
|
|
36
|
+
## 验证方式
|
|
37
|
+
|
|
38
|
+
[说明合入后如何确认它生效:模板字段、checker、review 清单、一次试运行或人工确认。]
|
|
39
|
+
|
|
40
|
+
## 冲突声明
|
|
41
|
+
|
|
42
|
+
- 当前是否有其他 pending 条目指向同一目标:是 / 否
|
|
43
|
+
- 如果有,涉及条目:L-[XXX]
|
|
44
|
+
- 本文档是否已考虑冲突:是 / 否
|
|
45
|
+
- 基于版本:当前正式 reference(`docs/11-REFERENCE/[目标文件].md`)@ YYYY-MM-DD
|
|
46
|
+
|
|
47
|
+
## 完整副本
|
|
48
|
+
|
|
49
|
+
> 以下是修改后的完整 reference 副本。副本必须基于当前正式版本独立编写,不基于其他 pending 副本。若存在冲突,必须在“冲突声明”中说明。
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
<!-- 完整副本开始 -->
|
|
53
|
+
<!-- 基于: docs/11-REFERENCE/[目标文件].md @ YYYY-MM-DD -->
|
|
54
|
+
<!-- 本副本独立于其他 pending 改动 -->
|
|
55
|
+
|
|
56
|
+
[完整的修改后文档内容]
|
|
57
|
+
|
|
58
|
+
<!-- 完整副本结束 -->
|
|
59
|
+
---
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# 执行策略
|
|
2
|
+
|
|
3
|
+
## 决策表
|
|
4
|
+
|
|
5
|
+
| 决策 | 选择 | 说明 |
|
|
6
|
+
| --- | --- | --- |
|
|
7
|
+
| 主执行者 | coordinator | coordinator 负责编排顺序、冲突判断和最终收口。 |
|
|
8
|
+
| Subagent 模式 | none / reviewer-only / worker-worktree | 选择能满足任务的最小协作模式。 |
|
|
9
|
+
| 审查模型 | self-check / predefined verifier / adversarial review | 说明为什么该审查层级足够。 |
|
|
10
|
+
| Worktree 策略 | same checkout / dedicated worktree | 会改代码的 subagent 必须使用独立 worktree,并提交 handoff commit。 |
|
|
11
|
+
| 冲突控制 | coordinator owns shared files | subagent 不得直接编辑 coordinator 管理的全局表或共享文件,除非获得明确锁。 |
|
|
12
|
+
| 证据深度 | L0 / L1 / L2 / L3 | 按变更风险匹配证据深度。 |
|
|
13
|
+
|
|
14
|
+
## 子代理 / Worker 合同
|
|
15
|
+
|
|
16
|
+
如使用 subagent 或 worker,在这里写清楚输入包、写入范围、handoff 格式和最终集成 owner。
|
|
17
|
+
|
|
18
|
+
| 角色 | 输入包 | 写入范围 | 交接要求 | 负责人 |
|
|
19
|
+
| --- | --- | --- | --- | --- |
|
|
20
|
+
| reviewer / worker / n/a | C-001 | read-only / path list / n/a | report / commit SHA / n/a | coordinator |
|
|
21
|
+
|
|
22
|
+
## 证据计划
|
|
23
|
+
|
|
24
|
+
| 证据层级 | 计划命令或检查 | 记录位置 | 完成条件 |
|
|
25
|
+
| --- | --- | --- | --- |
|
|
26
|
+
| L0 | [静态检查 / 小范围自检] | `progress.md` | [通过标准] |
|
|
27
|
+
| L1 | [单元测试 / targeted check] | `progress.md` 或 `artifacts/INDEX.md` | [通过标准] |
|
|
28
|
+
| L2 | [集成 / 浏览器 / 真实数据冒烟] | `artifacts/INDEX.md` | [通过标准] |
|
|
29
|
+
| L3 | [发布前 / 生产等价验证 / 外部审查] | `review.md` 与 walkthrough | [通过标准] |
|
|
30
|
+
|
|
31
|
+
## 暂停 / 升级条件
|
|
32
|
+
|
|
33
|
+
- 所需工作超出已批准写入范围。
|
|
34
|
+
- 共享表需要更新,但没有 coordinator lock。
|
|
35
|
+
- 实际风险高于原计划,证据深度需要升级。
|
|
36
|
+
- reviewer 发现会改变范围或方案的 P0/P1/P2 问题。
|
|
37
|
+
- 环境无法提供关键证据,继续执行会变成猜测。
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# [任务名称] - 发现记录
|
|
2
|
+
|
|
3
|
+
本文件记录任务执行中形成的判断、事实和技术决策。它不是审查报告;阻塞性问题请写入 `review.md`。
|
|
4
|
+
|
|
5
|
+
## 研究发现
|
|
6
|
+
|
|
7
|
+
### [发现主题 1]
|
|
8
|
+
|
|
9
|
+
- 背景:[为什么需要调查这个问题]
|
|
10
|
+
- 发现:[查到了什么事实,证据来自哪里]
|
|
11
|
+
- 影响:[这会如何改变计划、范围、实现或验证]
|
|
12
|
+
- 后续:[需要继续跟进的动作;如无写“无”]
|
|
13
|
+
|
|
14
|
+
## 技术决策
|
|
15
|
+
|
|
16
|
+
| 决策 | 选择 | 原因 | 替代方案 | 状态 |
|
|
17
|
+
| --- | --- | --- | --- | --- |
|
|
18
|
+
| [决策 1] | [选了什么] | [为什么这样选] | [未采用的方案] | proposed / accepted / superseded |
|
|
19
|
+
|
|
20
|
+
## 待确认问题
|
|
21
|
+
|
|
22
|
+
| 问题 | 当前判断 | Owner | 截止点 |
|
|
23
|
+
| --- | --- | --- | --- |
|
|
24
|
+
| [问题] | [当前可用判断] | [负责人] | [什么时候必须确认] |
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
# [任务名称] - 长程任务合同
|
|
2
|
+
|
|
3
|
+
## 目标
|
|
4
|
+
|
|
5
|
+
[一句话说明本轮要完整收掉的主问题。只保留一个主目标。]
|
|
6
|
+
|
|
7
|
+
## 范围
|
|
8
|
+
|
|
9
|
+
### 范围内
|
|
10
|
+
|
|
11
|
+
- [允许修改的目录、模块、能力面]
|
|
12
|
+
|
|
13
|
+
### 范围外
|
|
14
|
+
|
|
15
|
+
- [本轮明确不做的事项]
|
|
16
|
+
|
|
17
|
+
### 共享文件 / 冲突风险
|
|
18
|
+
|
|
19
|
+
- [可能与其他任务冲突的共享文件;如无写“无”]
|
|
20
|
+
|
|
21
|
+
## 主调用入口(Primary Caller / Entry)
|
|
22
|
+
|
|
23
|
+
- 主调用方(Primary caller):[CLI / 本地 agent / UI / API / automation / integration / 其他]
|
|
24
|
+
- 本任务必须支持的入口:[列出]
|
|
25
|
+
- 明确不要求的入口:[列出]
|
|
26
|
+
|
|
27
|
+
## 执行授权(Execution Permission)
|
|
28
|
+
|
|
29
|
+
- 是否允许连续执行(Continuous execution):[allowed / not allowed]
|
|
30
|
+
- 是否允许每轮后不再询问直接继续:[yes / no]
|
|
31
|
+
- 是否允许启动审查 agent / 子代理:[yes / no]
|
|
32
|
+
- 是否需要审查报告:[yes / no;如 yes,必须写 `review.md`]
|
|
33
|
+
- 仍需人工批准的动作:
|
|
34
|
+
- [高风险操作,例如 destructive migration / production deploy / secret change]
|
|
35
|
+
|
|
36
|
+
## 必需循环
|
|
37
|
+
|
|
38
|
+
每一轮至少包含:
|
|
39
|
+
|
|
40
|
+
1. 实现、编辑或配置。
|
|
41
|
+
2. 本地运行。
|
|
42
|
+
3. 测试、冒烟或检查。
|
|
43
|
+
4. 执行 Confidence Challenge。
|
|
44
|
+
5. 如合同要求审查者或子代理,更新 `review.md`。
|
|
45
|
+
6. 修复 findings。
|
|
46
|
+
7. 重新收集证据。
|
|
47
|
+
8. 重跑 Confidence Challenge,直到没有 open 重要发现。
|
|
48
|
+
9. 更新 `progress.md`。
|
|
49
|
+
|
|
50
|
+
最低循环次数或无重要发现要求:
|
|
51
|
+
|
|
52
|
+
- [例如:至少 2 轮;或自审 + 审查者均无重要发现]
|
|
53
|
+
|
|
54
|
+
## 审查者 / 子代理合同(Reviewer / Subagent)
|
|
55
|
+
|
|
56
|
+
- 审查者角色(Reviewer role):[只读审查 / 改代码 worker / 测试验证者]
|
|
57
|
+
- 审查范围(Reviewer scope):[文件 / 模块 / 问题域]
|
|
58
|
+
- 如果是 code-change worker:
|
|
59
|
+
- Worktree path:[路径 / 不适用]
|
|
60
|
+
- Branch:[分支 / 不适用]
|
|
61
|
+
- 任务目录:[路径 / 不适用]
|
|
62
|
+
- 交接前提交(Commit before handoff):[yes / no / 不适用]
|
|
63
|
+
- 交接必须包含:[worktree path / branch / commit SHA / checks / residual risks]
|
|
64
|
+
- Reviewer 必须报告:
|
|
65
|
+
- [缺陷]
|
|
66
|
+
- [回归]
|
|
67
|
+
- [缺失测试]
|
|
68
|
+
- [未验证假设]
|
|
69
|
+
- [`review.md` 中的重要发现或无重要发现声明]
|
|
70
|
+
- Reviewer 不得:
|
|
71
|
+
- [越权改动 / 重写不相关模块 / 擅自扩大 scope]
|
|
72
|
+
|
|
73
|
+
## 证据
|
|
74
|
+
|
|
75
|
+
完成前必需证据:
|
|
76
|
+
|
|
77
|
+
- [ ] [lint / typecheck / build command]
|
|
78
|
+
- [ ] [unit / integration / e2e test command]
|
|
79
|
+
- [ ] [本地冒烟命令]
|
|
80
|
+
- [ ] [浏览器 / UI / 人工检查]
|
|
81
|
+
- [ ] [线上环境冒烟]
|
|
82
|
+
- [ ] [审查者无重要发现]
|
|
83
|
+
- [ ] [如要求审查,`review.md` 已完成]
|
|
84
|
+
- [ ] [walkthrough / PR / 发布说明]
|
|
85
|
+
|
|
86
|
+
## 完成条件(Stop Condition)
|
|
87
|
+
|
|
88
|
+
任务只有在以下条件满足后才可停止并声明完成:
|
|
89
|
+
|
|
90
|
+
- [ ] [关键路径通过]
|
|
91
|
+
- [ ] [必需测试或回归门禁通过]
|
|
92
|
+
- [ ] [runtime / console / request 错误已清除,或已记录为非阻塞残余]
|
|
93
|
+
- [ ] [如要求审查者,审查者无 open 重要发现]
|
|
94
|
+
- [ ] [如要求审查,`review.md` 无 open P0/P1 发现]
|
|
95
|
+
- [ ] [残余风险已记录,且不阻塞本轮目标]
|
|
96
|
+
|
|
97
|
+
## 暂停条件(Pause Conditions)
|
|
98
|
+
|
|
99
|
+
遇到以下情况必须暂停并汇报:
|
|
100
|
+
|
|
101
|
+
- [ ] 目标或范围已经失效。
|
|
102
|
+
- [ ] 需要高风险的产品、架构、安全或数据决策。
|
|
103
|
+
- [ ] 未知的无关改动与本任务冲突。
|
|
104
|
+
- [ ] 环境阻断了所有有用证据的收集。
|
|
105
|
+
- [ ] 审查者发现改变了任务方向。
|
|
106
|
+
|
|
107
|
+
## 交付物(Deliverables)
|
|
108
|
+
|
|
109
|
+
- [ ] 代码 / 配置改动
|
|
110
|
+
- [ ] 测试 / 回归证据
|
|
111
|
+
- [ ] 文档更新
|
|
112
|
+
- [ ] 如要求审查,`review.md` 报告
|
|
113
|
+
- [ ] `progress.md` / `findings.md` 更新
|
|
114
|
+
- [ ] Harness Ledger 更新
|
|
115
|
+
- [ ] 收口记录
|
|
116
|
+
- [ ] Lessons 反思与检查(`checked-created` 或 `checked-none`)
|
|
117
|
+
- [ ] PR / commit / 发布说明
|
|
118
|
+
- [ ] 残余风险摘要
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# [模块名] Module Plan
|
|
2
|
+
|
|
3
|
+
## 基本信息
|
|
4
|
+
|
|
5
|
+
- Key:[module key]
|
|
6
|
+
- PREFIX:[step ID prefix]
|
|
7
|
+
- Branch:[长期分支名,例如 `codex/reader`]
|
|
8
|
+
- 写入范围:[该模块可修改的目录或文件范围]
|
|
9
|
+
- Shared surfaces:[与其他模块共享、需要协调的文件或能力面;无则写“无”]
|
|
10
|
+
|
|
11
|
+
## 步骤序列
|
|
12
|
+
|
|
13
|
+
| 步骤 ID | 名称 | 状态 | 任务计划 | 依赖 |
|
|
14
|
+
| --- | --- | --- | --- | --- |
|
|
15
|
+
| XXX-01 | [步骤名] | planned | — | — |
|
|
16
|
+
| XXX-02 | [步骤名] | planned | — | XXX-01 |
|
|
17
|
+
|
|
18
|
+
## 执行与可视化文件
|
|
19
|
+
|
|
20
|
+
模块级 `execution_strategy.md` 和 `visual_roadmap.md` 应放在本模块目录,与 `module_plan.md` 同级,不嵌入本文件。
|
|
21
|
+
|
|
22
|
+
| 合同文件 | 是否必需 | 用途 |
|
|
23
|
+
| --- | --- | --- |
|
|
24
|
+
| `execution_strategy.md` | yes | 模块执行模式、写入边界、subagent 使用、全局同步 owner、验证深度 |
|
|
25
|
+
| `visual_roadmap.md` | yes | 模块阶段图、状态、完成度、证据状态、阻塞风险 |
|
|
26
|
+
|
|
27
|
+
旧模块目录可以保留历史嵌入式段落作为 fallback;新模块目录必须使用独立文件。
|
|
28
|
+
|
|
29
|
+
## 状态定义
|
|
30
|
+
|
|
31
|
+
- `planned`:尚未开始
|
|
32
|
+
- `in-progress`:正在开发
|
|
33
|
+
- `done`:已完成并合并
|
|
34
|
+
- `blocked`:被依赖或外部条件阻塞
|
|
35
|
+
- `superseded`:已被其他步骤替代
|
|
36
|
+
|
|
37
|
+
## 当前状态
|
|
38
|
+
|
|
39
|
+
[用 1-3 句话描述当前进度,供新会话快速接手。每次会话结束时更新。]
|
|
40
|
+
|
|
41
|
+
## 完成标准
|
|
42
|
+
|
|
43
|
+
[写清模块整体完成条件。所有步骤 `done` 不等于模块完成,可能仍需集成测试、性能验证、文档收口或 coordinator 同步。]
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# 模块会话提示词(Module Session Prompt)
|
|
2
|
+
|
|
3
|
+
用于为模块并行项目启动一个长程模块会话。交给新 agent 前,coordinator 必须先用真实项目事实替换占位符。
|
|
4
|
+
|
|
5
|
+
```text
|
|
6
|
+
你正在 <repo-path> 中处理 <module-key> 模块。
|
|
7
|
+
|
|
8
|
+
子代理 worker 不变量:
|
|
9
|
+
- 如果这个提示词被交给会改代码的 worker 子代理,coordinator 必须先分配独立 worktree 和分支。
|
|
10
|
+
- Worker 只能在 <worktree-path> 内编辑,必须提交自己的改动,并交接 worktree path、branch、commit SHA、checks、residual risks。
|
|
11
|
+
- Reviewer 子代理默认只读;除非明确升级为 worker,并遵守同一套 worktree 合同。
|
|
12
|
+
- Coordinator 负责集成 worker commit 并运行最终门禁;不要在一个 checkout 中混合多个 worker 的未提交改动。
|
|
13
|
+
|
|
14
|
+
目标:
|
|
15
|
+
- 执行 docs/09-PLANNING/Module-Registry.md 与 docs/09-PLANNING/MODULES/<module-key>/module_plan.md 中为 <module-key> 标记的当前步骤。
|
|
16
|
+
- 除非触发 stop condition,否则持续推进到该步骤已实现、已验证、已记录,并可进入审查。
|
|
17
|
+
|
|
18
|
+
冷启动:
|
|
19
|
+
1. 阅读 AGENTS.md。
|
|
20
|
+
2. 阅读 docs/09-PLANNING/Module-Registry.md。
|
|
21
|
+
3. 阅读 docs/09-PLANNING/MODULES/Session-Prompt-Pack.md 或 docs/09-PLANNING/MODULES/<module-key>/session_prompt.md。
|
|
22
|
+
4. 阅读 docs/09-PLANNING/MODULES/<module-key>/module_plan.md。
|
|
23
|
+
5. 按项目任务阅读矩阵读取本任务涉及文件对应的标准文档。
|
|
24
|
+
|
|
25
|
+
启动门禁:
|
|
26
|
+
- 确认 registry 中 <module-key> 的 branch、current step、status、write scope 与本 prompt 一致。
|
|
27
|
+
- 确认当前 checkout/worktree path 是 <worktree-path>,当前分支是 <branch-name>。
|
|
28
|
+
- 编辑前检查 dirty state,不要 revert 无关改动。
|
|
29
|
+
- 如果另一个活跃会话拥有该模块或必需共享文件,停止并记录冲突。
|
|
30
|
+
- 代码编辑前,基于项目 planning 模板创建或更新 docs/09-PLANNING/MODULES/<module-key>/TASKS/<current-step>-<short-name>/task_plan.md,写清范围、验收、验证、分支/worktree 和共享协调。
|
|
31
|
+
- 代码编辑前,确认模块任务目录含有 `execution_strategy.md` 与 `visual_roadmap.md`。如缺失,先补齐再实现。
|
|
32
|
+
- 如果 docs/09-PLANNING/MODULES/<module-key>/ 缺少模块级 `execution_strategy.md` 或 `visual_roadmap.md`,在派发 worker 前补齐或更新。
|
|
33
|
+
|
|
34
|
+
分支与工作树:
|
|
35
|
+
- Worktree path: <worktree-path>.
|
|
36
|
+
- Branch: <branch-name>.
|
|
37
|
+
- Base branch: <base-branch>.
|
|
38
|
+
- Remote: <remote-name>.
|
|
39
|
+
- 只在 <module-key> 的模块 worktree 中工作。若 worktree 不存在,按项目 worktree 标准创建。
|
|
40
|
+
|
|
41
|
+
写入范围:
|
|
42
|
+
- 允许:<module-write-scope>.
|
|
43
|
+
- 未明确协调前禁止:<shared-or-forbidden-scope>.
|
|
44
|
+
- 共享协调产物:docs/09-PLANNING/MODULES/_shared/TASKS/<id>/task_plan.md,或模块任务计划中的“共享协调”段,必须写明 owner、涉及文件、允许改动、reviewer 和 merge 顺序。
|
|
45
|
+
- 如果实现需要触碰允许范围之外的文件,停止并记录所需协调,不要直接编辑。
|
|
46
|
+
|
|
47
|
+
验证:
|
|
48
|
+
- Project harness check: <project-harness-check-command>.
|
|
49
|
+
- 运行模块 targeted checks: <targeted-checks>.
|
|
50
|
+
- 改动代码或 UI 行为时,运行 lint/build/smoke checks。
|
|
51
|
+
- 将精确命令和结果记录到模块任务 progress 或 walkthrough。
|
|
52
|
+
|
|
53
|
+
收口:
|
|
54
|
+
- 更新模块计划和模块任务进度。
|
|
55
|
+
- 除非 coordinator 明确分配共享锁,worker session 不得更新 docs/09-PLANNING/Module-Registry.md、docs/Harness-Ledger.md、Closeout SSoT、Regression SSoT 或 Cadence Ledger。
|
|
56
|
+
- 如果需要全局表更新,在 task_plan.md 或 progress.md 写 Coordinator 交接,并标记 `Global sync status: pending-coordinator-pass`。
|
|
57
|
+
- 只有 coordinator pass 或明确的 shared-lock owner 可以更新 docs/09-PLANNING/Module-Registry.md。
|
|
58
|
+
- 更新 docs/09-PLANNING/MODULES/<module-key>/module_plan.md。
|
|
59
|
+
- 写 review.md,或记录 review skipped-with-reason。
|
|
60
|
+
- 步骤完成时写 walkthrough,并包含 Lessons 反思。
|
|
61
|
+
- Coordinator pass 在任务关闭时更新 Closeout SSoT 和 Lessons 检查。
|
|
62
|
+
- Coordinator pass 在行为、测试、架构或流程改变时更新 Regression SSoT 和 Harness Ledger。
|
|
63
|
+
- 验证未通过前不得声明完成;无法解决的残余必须记录 owner 和原因。
|
|
64
|
+
|
|
65
|
+
暂停条件:
|
|
66
|
+
- 必需工作超出模块写入范围,且尚未选择 owner。
|
|
67
|
+
- 用户数据或私密数据需要被提交。
|
|
68
|
+
- 回归检查失败,且根因在本模块之外。
|
|
69
|
+
- 任务需要 module plan 中没有写明的产品范围变更。
|
|
70
|
+
```
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# 任务产物索引
|
|
2
|
+
|
|
3
|
+
仅在任务产生较多证据或大体量产物时使用,例如命令输出、截图、fixture、生成报告、review transcript、导出的数据文件等。核心任务文件只引用这里的 ID,不粘贴长输出。
|
|
4
|
+
|
|
5
|
+
| ID | 类型 | 路径 | 摘要 | Produced By |
|
|
6
|
+
| --- | --- | --- | --- | --- |
|
|
7
|
+
| ART-001 | command / diff / fixture / screenshot / review / report | PUBLIC:path 或 PRIVATE:path 或 TARGET:path 或 EXTERNAL:path 或 URL:https://example.com | [该产物证明了什么] | coordinator |
|
|
8
|
+
|
|
9
|
+
## 使用规则
|
|
10
|
+
|
|
11
|
+
- 路径必须可复查;临时终端输出应先保存为稳定文件再登记。
|
|
12
|
+
- 产物如果包含敏感信息,先脱敏或改为记录复查方式,不要提交原始敏感内容。
|
|
13
|
+
- 与 `review.md`、`progress.md`、walkthrough 互相引用时,使用 `ART-xxx` ID。
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# 任务参考资料索引
|
|
2
|
+
|
|
3
|
+
仅在任务需要外部资料、跨仓上下文、reviewer 输入包或生成参考材料时使用。不要把无关背景资料堆进来。
|
|
4
|
+
|
|
5
|
+
| ID | 类型 | 路径 | 摘要 | Used By |
|
|
6
|
+
| --- | --- | --- | --- | --- |
|
|
7
|
+
| REF-001 | public-doc / private-plan / external / code | PUBLIC:path 或 PRIVATE:path 或 TARGET:path 或 EXTERNAL:path 或 URL:https://example.com | [这份资料为什么影响本任务] | coordinator |
|
|
8
|
+
|
|
9
|
+
## 使用规则
|
|
10
|
+
|
|
11
|
+
- 每条参考资料都要说明用途,否则不要登记。
|
|
12
|
+
- 外部链接需要写清访问日期或版本线索,避免后续复查时语境漂移。
|
|
13
|
+
- reviewer 或 worker 只应读取与其 scope 相关的条目。
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# 切片简报
|
|
2
|
+
|
|
3
|
+
## 切片 ID
|
|
4
|
+
|
|
5
|
+
SL-001
|
|
6
|
+
|
|
7
|
+
## 所属阶段(Parent Phase)
|
|
8
|
+
|
|
9
|
+
| 父阶段 ID | 依赖 | 状态 | 负责人 / 交接 |
|
|
10
|
+
| --- | --- | --- | --- |
|
|
11
|
+
| PH-01 | none | planned | coordinator |
|
|
12
|
+
|
|
13
|
+
## 目标
|
|
14
|
+
|
|
15
|
+
[说明该切片完成后交付什么可验证结果。]
|
|
16
|
+
|
|
17
|
+
## 范围
|
|
18
|
+
|
|
19
|
+
- 允许写入:[目录、文件或能力面]
|
|
20
|
+
- 明确排除:[不属于本切片的内容]
|
|
21
|
+
- 共享协调:[涉及共享文件时写 owner、锁和 merge 顺序;如无写“无”]
|
|
22
|
+
|
|
23
|
+
## 输入(Inputs)
|
|
24
|
+
|
|
25
|
+
- [引用 `references/INDEX.md`、`artifacts/INDEX.md`、任务计划或上游切片 ID]
|
|
26
|
+
|
|
27
|
+
## 必需证据
|
|
28
|
+
|
|
29
|
+
- [ ] [该切片关闭前必须提供的命令、diff、截图、review 或报告]
|
|
30
|
+
|
|
31
|
+
## 关闭条件
|
|
32
|
+
|
|
33
|
+
- [ ] 范围内工作完成。
|
|
34
|
+
- [ ] 必需证据已登记到 `evidence.md`。
|
|
35
|
+
- [ ] 如需审查,`review.md` 无 open blocking finding。
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# 切片证据
|
|
2
|
+
|
|
3
|
+
| 证据 ID | 类型 | 路径 | 摘要 | 状态 |
|
|
4
|
+
| --- | --- | --- | --- | --- |
|
|
5
|
+
| E-001 | command / diff / fixture / screenshot / review / report | PUBLIC:path 或 PRIVATE:path 或 TARGET:path 或 EXTERNAL:path 或 URL:https://example.com | [这份证据证明了什么] | missing |
|
|
6
|
+
|
|
7
|
+
## 状态说明
|
|
8
|
+
|
|
9
|
+
- `missing`:证据尚未收集。
|
|
10
|
+
- `partial`:已有部分证据,但不足以关闭切片。
|
|
11
|
+
- `present`:证据完整,可复查。
|
|
12
|
+
- `waived`:证据被明确豁免,并有原因。
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# 切片审查
|
|
2
|
+
|
|
3
|
+
本文件只记录当前切片的审查结论。任务级发布判断仍以任务目录根部的 `review.md` 为准。
|
|
4
|
+
|
|
5
|
+
## 审查者身份(Reviewer Identity)
|
|
6
|
+
|
|
7
|
+
| Reviewer | Type | Scope |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| [name] | self / subagent / external / human | [切片范围] |
|
|
10
|
+
|
|
11
|
+
## 信心挑战(Confidence Challenge)
|
|
12
|
+
|
|
13
|
+
直接回答:你是否对这个切片有 100% 信心?
|
|
14
|
+
|
|
15
|
+
- Verdict:yes / no
|
|
16
|
+
- 如果不是 100%,列出剩余漏洞和修复建议。
|
|
17
|
+
|
|
18
|
+
## 重要发现(Material Findings)
|
|
19
|
+
|
|
20
|
+
| ID | Severity | Finding | Evidence Checked | Required Action | Open | Disposition | Blocks Release | Follow-up |
|
|
21
|
+
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
|
|
22
|
+
|
|
23
|
+
不要保留示例 finding。若没有重要发现,只保留表头,并补全 Final Confidence Basis。
|
|
24
|
+
|
|
25
|
+
## 已检查证据(Evidence Checked)
|
|
26
|
+
|
|
27
|
+
| Evidence ID | Type | Path | Summary |
|
|
28
|
+
| --- | --- | --- | --- |
|
|
29
|
+
| SE-001 | command / file / runtime | [路径或命令] | [检查了什么,结论是什么] |
|
|
30
|
+
|
|
31
|
+
## 残余风险
|
|
32
|
+
|
|
33
|
+
- [切片级残余风险;如无写“无”]
|
|
34
|
+
|
|
35
|
+
## 最终信心依据(Final Confidence Basis)
|
|
36
|
+
|
|
37
|
+
[说明为什么这个切片可以合并,或写清剩余限制和负责人。]
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# [任务名称] - 进度
|
|
2
|
+
|
|
3
|
+
## 状态:未开始
|
|
4
|
+
|
|
5
|
+
## 进度记录
|
|
6
|
+
|
|
7
|
+
证据使用 `type:path:summary` 格式。
|
|
8
|
+
|
|
9
|
+
允许的 `type`:`command`, `diff`, `fixture`, `screenshot`, `review`, `report`。
|
|
10
|
+
|
|
11
|
+
证据较长或数量较多时,不要粘贴全文;放入 `artifacts/INDEX.md` 并在这里引用 ID。
|
|
12
|
+
|
|
13
|
+
### [YYYY-MM-DD HH:MM] - [阶段名称]
|
|
14
|
+
|
|
15
|
+
- 做了什么:[具体操作]
|
|
16
|
+
- 验证结果:[运行了什么检查,结果如何]
|
|
17
|
+
- 下一步:[下一步动作]
|
|
18
|
+
- 证据:[type:path:summary]
|
|
19
|
+
|
|
20
|
+
## 残余
|
|
21
|
+
|
|
22
|
+
- [遗留问题;如无写“无”]
|
|
23
|
+
|
|
24
|
+
## 协调者交接(Coordinator,启用模块并行时填写)
|
|
25
|
+
|
|
26
|
+
- Global sync status:pending-coordinator-pass / synced / n/a
|
|
27
|
+
- Registry update needed:[module key, step, status, branch, updated / 不适用]
|
|
28
|
+
- Harness Ledger update needed:[task plan path, review path, closeout status / 不适用]
|
|
29
|
+
- 负责人:coordinator / 不适用
|