@aipper/aiws-spec 0.0.33 → 0.0.36

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.
Files changed (178) hide show
  1. package/docs/aiws-bootstrap-routing-design.md +5 -50
  2. package/docs/aiws-governance-positioning.md +1 -1
  3. package/docs/cli-interface.md +13 -73
  4. package/docs/collaboration-artifacts.md +2 -2
  5. package/docs/opencode-autonomous-swarm.md +0 -2
  6. package/docs/opencode-omo-adapter.md +0 -2
  7. package/docs/opencode-omo-validation-checklist.md +0 -1
  8. package/docs/spec-contract.md +10 -36
  9. package/docs/workflow-router-rules.json +2 -2
  10. package/docs/workflow-router-rules.md +2 -2
  11. package/docs/ws-goal-contract.md +153 -33
  12. package/package.json +1 -1
  13. package/templates/workspace/.aiws/continuation/CONTINUATION_PROTOCOL.md +101 -0
  14. package/templates/workspace/.aiws/manifest.json +2 -10
  15. package/templates/workspace/.opencode/command/ws-finish.md +4 -0
  16. package/templates/workspace/.opencode/command/ws-goal.md +132 -20
  17. package/templates/workspace/.opencode/commands/ws-finish.md +4 -0
  18. package/templates/workspace/.opencode/skills/ws-goal/SKILL.md +32 -0
  19. package/templates/workspace/AGENTS.md +1 -3
  20. package/templates/workspace/AI_PROJECT.md +6 -1
  21. package/templates/workspace/AI_WORKSPACE.md +1 -1
  22. package/templates/workspace/manifest.json +179 -446
  23. package/templates/workspace/.agents/skills/p-aiws-change-archive/SKILL.md +0 -24
  24. package/templates/workspace/.agents/skills/p-aiws-change-finish/SKILL.md +0 -24
  25. package/templates/workspace/.agents/skills/p-aiws-change-list/SKILL.md +0 -18
  26. package/templates/workspace/.agents/skills/p-aiws-change-new/SKILL.md +0 -26
  27. package/templates/workspace/.agents/skills/p-aiws-change-next/SKILL.md +0 -19
  28. package/templates/workspace/.agents/skills/p-aiws-change-start/SKILL.md +0 -33
  29. package/templates/workspace/.agents/skills/p-aiws-change-status/SKILL.md +0 -19
  30. package/templates/workspace/.agents/skills/p-aiws-change-sync/SKILL.md +0 -19
  31. package/templates/workspace/.agents/skills/p-aiws-change-templates-init/SKILL.md +0 -18
  32. package/templates/workspace/.agents/skills/p-aiws-change-templates-which/SKILL.md +0 -18
  33. package/templates/workspace/.agents/skills/p-aiws-change-validate/SKILL.md +0 -23
  34. package/templates/workspace/.agents/skills/p-aiws-hooks-install/SKILL.md +0 -30
  35. package/templates/workspace/.agents/skills/p-aiws-hooks-status/SKILL.md +0 -18
  36. package/templates/workspace/.agents/skills/p-aiws-init/SKILL.md +0 -27
  37. package/templates/workspace/.agents/skills/p-aiws-rollback/SKILL.md +0 -18
  38. package/templates/workspace/.agents/skills/p-aiws-update/SKILL.md +0 -26
  39. package/templates/workspace/.agents/skills/p-aiws-validate/SKILL.md +0 -22
  40. package/templates/workspace/.agents/skills/p-tasks-plan/SKILL.md +0 -37
  41. package/templates/workspace/.agents/skills/using-aiws/SKILL.md +0 -112
  42. package/templates/workspace/.agents/skills/ws-analyze/SKILL.md +0 -26
  43. package/templates/workspace/.agents/skills/ws-bugfix/SKILL.md +0 -111
  44. package/templates/workspace/.agents/skills/ws-commit/SKILL.md +0 -18
  45. package/templates/workspace/.agents/skills/ws-delegate/SKILL.md +0 -75
  46. package/templates/workspace/.agents/skills/ws-deliver/SKILL.md +0 -18
  47. package/templates/workspace/.agents/skills/ws-dev/SKILL.md +0 -109
  48. package/templates/workspace/.agents/skills/ws-dev-lite/SKILL.md +0 -58
  49. package/templates/workspace/.agents/skills/ws-finish/SKILL.md +0 -22
  50. package/templates/workspace/.agents/skills/ws-frontend-design/SKILL.md +0 -126
  51. package/templates/workspace/.agents/skills/ws-goal/SKILL.md +0 -89
  52. package/templates/workspace/.agents/skills/ws-handoff/SKILL.md +0 -18
  53. package/templates/workspace/.agents/skills/ws-intake/SKILL.md +0 -106
  54. package/templates/workspace/.agents/skills/ws-migrate/SKILL.md +0 -18
  55. package/templates/workspace/.agents/skills/ws-plan/SKILL.md +0 -144
  56. package/templates/workspace/.agents/skills/ws-plan-verify/SKILL.md +0 -18
  57. package/templates/workspace/.agents/skills/ws-preflight/SKILL.md +0 -56
  58. package/templates/workspace/.agents/skills/ws-pull/SKILL.md +0 -18
  59. package/templates/workspace/.agents/skills/ws-push/SKILL.md +0 -18
  60. package/templates/workspace/.agents/skills/ws-quality-review/SKILL.md +0 -56
  61. package/templates/workspace/.agents/skills/ws-req-change/SKILL.md +0 -41
  62. package/templates/workspace/.agents/skills/ws-req-contract-sync/SKILL.md +0 -17
  63. package/templates/workspace/.agents/skills/ws-req-contract-validate/SKILL.md +0 -12
  64. package/templates/workspace/.agents/skills/ws-req-flow-sync/SKILL.md +0 -28
  65. package/templates/workspace/.agents/skills/ws-req-review/SKILL.md +0 -32
  66. package/templates/workspace/.agents/skills/ws-research/SKILL.md +0 -56
  67. package/templates/workspace/.agents/skills/ws-review/SKILL.md +0 -55
  68. package/templates/workspace/.agents/skills/ws-rule/SKILL.md +0 -23
  69. package/templates/workspace/.agents/skills/ws-spec-review/SKILL.md +0 -57
  70. package/templates/workspace/.agents/skills/ws-submodule-setup/SKILL.md +0 -18
  71. package/templates/workspace/.agents/skills/ws-verify-before-complete/SKILL.md +0 -18
  72. package/templates/workspace/.claude/commands/p-aiws-change-archive.md +0 -24
  73. package/templates/workspace/.claude/commands/p-aiws-change-finish.md +0 -24
  74. package/templates/workspace/.claude/commands/p-aiws-change-list.md +0 -23
  75. package/templates/workspace/.claude/commands/p-aiws-change-new.md +0 -24
  76. package/templates/workspace/.claude/commands/p-aiws-change-next.md +0 -24
  77. package/templates/workspace/.claude/commands/p-aiws-change-start.md +0 -24
  78. package/templates/workspace/.claude/commands/p-aiws-change-status.md +0 -24
  79. package/templates/workspace/.claude/commands/p-aiws-change-sync.md +0 -24
  80. package/templates/workspace/.claude/commands/p-aiws-change-templates-init.md +0 -23
  81. package/templates/workspace/.claude/commands/p-aiws-change-templates-which.md +0 -23
  82. package/templates/workspace/.claude/commands/p-aiws-change-validate.md +0 -24
  83. package/templates/workspace/.claude/commands/p-aiws-hooks-install.md +0 -23
  84. package/templates/workspace/.claude/commands/p-aiws-hooks-status.md +0 -23
  85. package/templates/workspace/.claude/commands/p-aiws-init.md +0 -20
  86. package/templates/workspace/.claude/commands/p-aiws-rollback.md +0 -13
  87. package/templates/workspace/.claude/commands/p-aiws-update.md +0 -19
  88. package/templates/workspace/.claude/commands/p-aiws-validate.md +0 -14
  89. package/templates/workspace/.claude/commands/using-aiws.md +0 -25
  90. package/templates/workspace/.claude/commands/ws-analyze.md +0 -27
  91. package/templates/workspace/.claude/commands/ws-bugfix.md +0 -32
  92. package/templates/workspace/.claude/commands/ws-commit.md +0 -67
  93. package/templates/workspace/.claude/commands/ws-deliver.md +0 -55
  94. package/templates/workspace/.claude/commands/ws-dev-lite.md +0 -31
  95. package/templates/workspace/.claude/commands/ws-dev.md +0 -33
  96. package/templates/workspace/.claude/commands/ws-finish.md +0 -72
  97. package/templates/workspace/.claude/commands/ws-goal.md +0 -34
  98. package/templates/workspace/.claude/commands/ws-handoff.md +0 -23
  99. package/templates/workspace/.claude/commands/ws-intake.md +0 -19
  100. package/templates/workspace/.claude/commands/ws-migrate.md +0 -22
  101. package/templates/workspace/.claude/commands/ws-plan-verify.md +0 -25
  102. package/templates/workspace/.claude/commands/ws-plan.md +0 -21
  103. package/templates/workspace/.claude/commands/ws-preflight.md +0 -27
  104. package/templates/workspace/.claude/commands/ws-pull.md +0 -84
  105. package/templates/workspace/.claude/commands/ws-push.md +0 -90
  106. package/templates/workspace/.claude/commands/ws-quality-review.md +0 -24
  107. package/templates/workspace/.claude/commands/ws-req-change.md +0 -42
  108. package/templates/workspace/.claude/commands/ws-req-contract-sync.md +0 -18
  109. package/templates/workspace/.claude/commands/ws-req-contract-validate.md +0 -13
  110. package/templates/workspace/.claude/commands/ws-req-flow-sync.md +0 -20
  111. package/templates/workspace/.claude/commands/ws-req-review.md +0 -33
  112. package/templates/workspace/.claude/commands/ws-review.md +0 -31
  113. package/templates/workspace/.claude/commands/ws-rule.md +0 -24
  114. package/templates/workspace/.claude/commands/ws-spec-review.md +0 -24
  115. package/templates/workspace/.claude/commands/ws-submodule-setup.md +0 -54
  116. package/templates/workspace/.claude/commands/ws-verify-before-complete.md +0 -24
  117. package/templates/workspace/.claude/settings.json.example +0 -26
  118. package/templates/workspace/.claude/skills/p-aiws-change-archive/SKILL.md +0 -24
  119. package/templates/workspace/.claude/skills/p-aiws-change-finish/SKILL.md +0 -24
  120. package/templates/workspace/.claude/skills/p-aiws-change-list/SKILL.md +0 -18
  121. package/templates/workspace/.claude/skills/p-aiws-change-new/SKILL.md +0 -26
  122. package/templates/workspace/.claude/skills/p-aiws-change-next/SKILL.md +0 -19
  123. package/templates/workspace/.claude/skills/p-aiws-change-start/SKILL.md +0 -33
  124. package/templates/workspace/.claude/skills/p-aiws-change-status/SKILL.md +0 -19
  125. package/templates/workspace/.claude/skills/p-aiws-change-sync/SKILL.md +0 -19
  126. package/templates/workspace/.claude/skills/p-aiws-change-templates-init/SKILL.md +0 -18
  127. package/templates/workspace/.claude/skills/p-aiws-change-templates-which/SKILL.md +0 -18
  128. package/templates/workspace/.claude/skills/p-aiws-change-validate/SKILL.md +0 -23
  129. package/templates/workspace/.claude/skills/p-aiws-hooks-install/SKILL.md +0 -30
  130. package/templates/workspace/.claude/skills/p-aiws-hooks-status/SKILL.md +0 -18
  131. package/templates/workspace/.claude/skills/p-aiws-init/SKILL.md +0 -27
  132. package/templates/workspace/.claude/skills/p-aiws-rollback/SKILL.md +0 -18
  133. package/templates/workspace/.claude/skills/p-aiws-update/SKILL.md +0 -26
  134. package/templates/workspace/.claude/skills/p-aiws-validate/SKILL.md +0 -22
  135. package/templates/workspace/.claude/skills/p-tasks-plan/SKILL.md +0 -37
  136. package/templates/workspace/.claude/skills/using-aiws/SKILL.md +0 -87
  137. package/templates/workspace/.claude/skills/ws-analyze/SKILL.md +0 -26
  138. package/templates/workspace/.claude/skills/ws-bugfix/SKILL.md +0 -111
  139. package/templates/workspace/.claude/skills/ws-commit/SKILL.md +0 -18
  140. package/templates/workspace/.claude/skills/ws-deliver/SKILL.md +0 -18
  141. package/templates/workspace/.claude/skills/ws-dev/SKILL.md +0 -79
  142. package/templates/workspace/.claude/skills/ws-dev-lite/SKILL.md +0 -58
  143. package/templates/workspace/.claude/skills/ws-finish/SKILL.md +0 -22
  144. package/templates/workspace/.claude/skills/ws-frontend-design/SKILL.md +0 -126
  145. package/templates/workspace/.claude/skills/ws-handoff/SKILL.md +0 -18
  146. package/templates/workspace/.claude/skills/ws-intake/SKILL.md +0 -53
  147. package/templates/workspace/.claude/skills/ws-migrate/SKILL.md +0 -18
  148. package/templates/workspace/.claude/skills/ws-plan/SKILL.md +0 -138
  149. package/templates/workspace/.claude/skills/ws-plan-verify/SKILL.md +0 -18
  150. package/templates/workspace/.claude/skills/ws-preflight/SKILL.md +0 -55
  151. package/templates/workspace/.claude/skills/ws-pull/SKILL.md +0 -18
  152. package/templates/workspace/.claude/skills/ws-push/SKILL.md +0 -18
  153. package/templates/workspace/.claude/skills/ws-quality-review/SKILL.md +0 -56
  154. package/templates/workspace/.claude/skills/ws-req-change/SKILL.md +0 -41
  155. package/templates/workspace/.claude/skills/ws-req-contract-sync/SKILL.md +0 -17
  156. package/templates/workspace/.claude/skills/ws-req-contract-validate/SKILL.md +0 -12
  157. package/templates/workspace/.claude/skills/ws-req-flow-sync/SKILL.md +0 -28
  158. package/templates/workspace/.claude/skills/ws-req-review/SKILL.md +0 -32
  159. package/templates/workspace/.claude/skills/ws-review/SKILL.md +0 -55
  160. package/templates/workspace/.claude/skills/ws-rule/SKILL.md +0 -23
  161. package/templates/workspace/.claude/skills/ws-spec-review/SKILL.md +0 -57
  162. package/templates/workspace/.claude/skills/ws-submodule-setup/SKILL.md +0 -18
  163. package/templates/workspace/.claude/skills/ws-verify-before-complete/SKILL.md +0 -18
  164. package/templates/workspace/.codex/prompts/aiws-init.md +0 -23
  165. package/templates/workspace/.codex/prompts/aiws-rollback.md +0 -16
  166. package/templates/workspace/.codex/prompts/aiws-update.md +0 -22
  167. package/templates/workspace/.codex/prompts/aiws-validate.md +0 -17
  168. package/templates/workspace/.codex/prompts/ws-analyze.md +0 -32
  169. package/templates/workspace/.codex/prompts/ws-dev.md +0 -36
  170. package/templates/workspace/.codex/prompts/ws-migrate.md +0 -27
  171. package/templates/workspace/.codex/prompts/ws-preflight.md +0 -32
  172. package/templates/workspace/.codex/prompts/ws-req-change.md +0 -39
  173. package/templates/workspace/.codex/prompts/ws-req-contract-sync.md +0 -23
  174. package/templates/workspace/.codex/prompts/ws-req-contract-validate.md +0 -18
  175. package/templates/workspace/.codex/prompts/ws-req-flow-sync.md +0 -25
  176. package/templates/workspace/.codex/prompts/ws-req-review.md +0 -38
  177. package/templates/workspace/.codex/prompts/ws-review.md +0 -32
  178. package/templates/workspace/.codex/prompts/ws-rule.md +0 -29
@@ -1,18 +0,0 @@
1
- ---
2
- name: p-aiws-rollback
3
- description: 私有:回滚工作区(从备份恢复)
4
- ---
5
-
6
- 目标:
7
- - 从 `.aiws/backups/` 恢复到某次备份快照
8
-
9
- 执行(在仓库根目录):
10
- ```bash
11
- if [[ -x "./node_modules/.bin/aiws" ]]; then
12
- ./node_modules/.bin/aiws rollback . latest
13
- elif command -v aiws >/dev/null 2>&1; then
14
- aiws rollback . latest
15
- else
16
- npx @aipper/aiws rollback . latest
17
- fi
18
- ```
@@ -1,26 +0,0 @@
1
- ---
2
- name: p-aiws-update
3
- description: 私有:更新工作区(刷新模板与托管块)
4
- ---
5
-
6
- 目标:
7
- - 基于当前 `@aipper/aiws-spec` 刷新模板与 tool-native 文件
8
- - 更新前备份到 `.aiws/backups/<timestamp>/`
9
-
10
- 执行(在仓库根目录):
11
- ```bash
12
- if [[ -x "./node_modules/.bin/aiws" ]]; then
13
- ./node_modules/.bin/aiws update .
14
- ./node_modules/.bin/aiws validate .
15
- elif command -v aiws >/dev/null 2>&1; then
16
- aiws update .
17
- aiws validate .
18
- else
19
- npx @aipper/aiws update .
20
- npx @aipper/aiws validate .
21
- fi
22
- ```
23
-
24
- 约束:
25
- - 不写入任何 secrets
26
- - 只更新托管块或 spec 指定的 `replace_file` 文件
@@ -1,22 +0,0 @@
1
- ---
2
- name: p-aiws-validate
3
- description: 私有:校验工作区(漂移检测 + 门禁)
4
- ---
5
-
6
- 目标:
7
- - 作为 CI/本地门禁:校验 required 文件结构、托管块、`.aiws/manifest.json` 漂移
8
- - 强门禁:缺 `python3`/缺 required 脚本也应失败
9
-
10
- 执行(在仓库根目录):
11
- ```bash
12
- if [[ -x "./node_modules/.bin/aiws" ]]; then
13
- AIWS_VALIDATE_STAMP=1 ./node_modules/.bin/aiws validate .
14
- elif command -v aiws >/dev/null 2>&1; then
15
- AIWS_VALIDATE_STAMP=1 aiws validate .
16
- else
17
- AIWS_VALIDATE_STAMP=1 npx @aipper/aiws validate .
18
- fi
19
- ```
20
-
21
- 证据(可选):
22
- - stamp:`.agentdocs/tmp/aiws-validate/*.json`(由 `.gitignore` 忽略)
@@ -1,37 +0,0 @@
1
- ---
2
- name: p-tasks-plan
3
- description: 原子:tasks 同步(从 changes/<id>/tasks.md 生成 update_plan payload)
4
- ---
5
-
6
- 用中文输出(命令/路径/代码标识符保持原样不翻译)。
7
-
8
- 目标:
9
- - 用 `changes/<change-id>/tasks.md` 的 checkbox 任务作为“步骤真值”
10
- - 生成可直接用于 `update_plan` 的 JSON payload(`pending/in_progress/completed`)
11
- - 输出当前进度摘要(done/total + 当前 in_progress)
12
-
13
- 约束:
14
- - 不写入任何 secrets(token、账号、内网端点等不得进入 git)
15
- - 只读 `changes/<id>/tasks.md`(不自动改写 tasks 文件)
16
- - 未运行不声称已运行
17
-
18
- 执行步骤(建议):
19
- 1) 先运行 `$ws-preflight`。
20
- 2) 推断 `change-id`:
21
- - 优先从当前分支名读取:`git rev-parse --abbrev-ref HEAD`(期望形如 `change/<change-id>`)
22
- - 若无法推断:让用户明确本次要同步的 `<change-id>`
23
- 3) 检查 tasks 文件存在:`test -f changes/<change-id>/tasks.md`
24
- 4) 输出进度摘要:
25
- ```bash
26
- python3 tools/ws_tasks_plan.py status --file changes/<change-id>/tasks.md
27
- ```
28
- 5) 生成 `update_plan` payload(JSON 输出到 stdout):
29
- ```bash
30
- python3 tools/ws_tasks_plan.py plan --file changes/<change-id>/tasks.md --explanation "sync tasks.md -> update_plan"
31
- ```
32
- 6) 调用 `update_plan`,将上一步 JSON 原样作为入参(确保任意时刻最多 1 条 `in_progress`)。
33
-
34
- 输出要求:
35
- - `Change_ID:` <change-id>
36
- - `Tasks:` `changes/<change-id>/tasks.md`
37
- - `Next:` 推荐下一步(通常为继续完善 tasks 或进入 `$ws-dev`)
@@ -1,87 +0,0 @@
1
- ---
2
- name: using-aiws
3
- description: 默认 workflow bootstrap/router:先读真值,再路由到正确的 ws-* 入口
4
- ---
5
-
6
- 用中文输出(命令/路径/代码标识符保持原样不翻译)。
7
-
8
- 目标:
9
- - 作为默认入口,先读取 `AI_PROJECT.md` / `REQUIREMENTS.md` / `AI_WORKSPACE.md`
10
- - 先判定当前任务属于哪个 workflow,再进入具体 `ws-*` skill
11
- - 若任务意图、归因或验证入口不明确:先澄清,不直接进入实现
12
-
13
- 阶段定位:
14
- - bootstrap/router 阶段;负责 workflow 分流,而不是直接完成实现。
15
-
16
- 必需输入:
17
- - 当前任务描述
18
- - `AI_PROJECT.md`
19
- - `REQUIREMENTS.md`
20
- - `AI_WORKSPACE.md`
21
- - 若已存在:当前 `change/<change-id>` 上下文、`plan/...`、`changes/<change-id>/...`
22
-
23
- 必需输出:
24
- - `Root:` 当前项目根
25
- - `Found:` 实际读取到的真值文件
26
- - `Task intent:` 当前任务意图分类
27
- - `Binding:` `Req_ID` / `Problem_ID` / change 上下文是否清晰
28
- - `Route:` 选中的下一步 skill
29
- - `Why:` 选择该 route 的原因
30
- - `Next:` 进入对应 skill,或先提澄清问题
31
-
32
- 阻断条件:
33
- - 无法确定项目根目录
34
- - 缺失任一真值文件
35
- - 无法明确当前任务意图
36
- - 无法明确归因或验证入口,且不能安全推断
37
-
38
- 完成判定:
39
- - 已经明确给出单一路由结果,并进入对应 `ws-*` skill;或已提出关键澄清问题并停止。
40
-
41
- 执行步骤(强制):
42
- 1) 先遵守 `$ws-preflight` 的真值读取要求:
43
- - 定位项目根目录
44
- - 读取 `AI_PROJECT.md` / `REQUIREMENTS.md` / `AI_WORKSPACE.md`
45
- - 输出 `Root:` / `Found:` / `Missing:`
46
- 2) 若缺失任一真值文件:
47
- - 不进入实现
48
- - 输出下一步:先 `aiws init .`(或 `npx @aipper/aiws init .`),然后重新执行 `$using-aiws`
49
- - 此时 route 视为 `$ws-preflight`
50
- 3) 根据 `packages/spec/docs/workflow-router-rules.json` 判定任务属于哪一类:
51
- - 需求/验收/合同变更:`$ws-req-review`
52
- - 评审/审计/找风险:`$ws-review`
53
- - finish / merge / push / cleanup:`$ws-finish`
54
- - handoff / archive summary:`$ws-handoff`
55
- - 中大型实现、需要方案、需要 change/worktree:`$ws-plan`
56
- - 小步明确实现/修复/配置调整:`$ws-dev`(若是 simple/local 单点修复,且用户明确希望走轻量入口,可显式进入 `$ws-dev-lite`)
57
- 4) 若任务意图或归因不明确:
58
- - 只问 1-3 个关键澄清问题
59
- - 明确写出缺的是什么:意图、`Req_ID` / `Problem_ID`、verify、change 上下文
60
- - 然后停止;不要直接写代码
61
- 5) 若已确定 route:
62
- - 先输出:
63
- - `Task intent:`
64
- - `Binding:`
65
- - `Route:`
66
- - `Why:`
67
- - 若 `Route: $ws-dev` 且任务属于 simple/local 单点修复:
68
- - `Next:` 可优先进入 `$ws-dev-lite`
69
- - 否则:
70
- - `Next:` 进入对应主 skill
71
- - 然后在同一轮中继续遵循对应 skill 的契约
72
- 6) 路由约束:
73
- - router 自己不是实现阶段;不要在给出 route 之前直接改代码
74
- - 除非用户只想听判断结果,否则给出 route 后应继续按对应 skill 的规则推进
75
- - 一次只选择一个主 route;不要把 `ws-plan` / `ws-dev` / `ws-review` / `ws-finish` 混成并行终态
76
- 7) 若执行过程中发现复杂度升高:
77
- - 从 `$ws-dev` 回退到 `$ws-plan`
78
- - 从 `$ws-finish` 回退到前置门禁而不是硬推完成
79
-
80
- 输出模板:
81
- - `Root:` <path>
82
- - `Found:` <files>
83
- - `Task intent:` <分类>
84
- - `Binding:` <清晰 / 缺失项>
85
- - `Route:` <$ws-... 或 clarify>
86
- - `Why:` <一句到三句>
87
- - `Next:` <继续执行对应 skill,或提出澄清问题>
@@ -1,26 +0,0 @@
1
- ---
2
- name: ws-analyze
3
- description: 分析(定位问题与收集上下文)
4
- ---
5
-
6
- 用中文输出(命令/路径/代码标识符保持原样不翻译)。
7
-
8
- 目标:在开始实现/修复前做一次技术分析,产出可执行的最小行动清单,并把证据落盘到 `.agentdocs/tmp/analyze/`。
9
-
10
- 输入:
11
- - 主题/需求:用户在本次消息中提供的主题(若不明确,先问一句“本次分析主题是什么?”)
12
-
13
- 步骤(建议):
14
- 1) 先做 preflight:定位项目根目录,读取 `AI_PROJECT.md` / `REQUIREMENTS.md` / `AI_WORKSPACE.md`,输出约束摘要。
15
- 2) 基于真值文件与当前代码现状,输出:
16
- - 目标 / 非目标
17
- - 现状证据(文件路径/接口路径)
18
- - 推荐方案(1 个)+ 备选(可选)
19
- - 风险与回滚(3–8 条)
20
- - 最小验证命令(可复现)
21
- 3) 将分析落盘到:`.agentdocs/tmp/analyze/codex-analysis.md`(目录不存在则创建)。
22
- 4) 回复中必须包含:`Evidence:` 证据文件路径。
23
-
24
- 安全:
25
- - 不打印 secrets(尤其 `secrets/test-accounts.json`)。
26
- - 不执行破坏性命令。
@@ -1,111 +0,0 @@
1
- ---
2
- name: ws-bugfix
3
- description: 缺陷修复(通过禅道 MCP 拉取 bug 与附件,下载图片证据,汇总到 issues/fix_bus_issues.csv,并绑定到 changes/<change-id>/)
4
- ---
5
-
6
- 用中文输出(命令/路径/代码标识符保持原样不翻译)。
7
-
8
- 目标:
9
- - 用禅道 MCP 拉取 bug 详情与附件(尤其图片)
10
- - 把证据落盘到 `changes/<change-id>/bug/`(避免只停留在对话)
11
- - 把修复任务汇总/更新到 `issues/fix_bus_issues.csv`
12
- - 与 `ws-dev` / `aiws change` 流程绑定,确保可追溯、可验证
13
-
14
- 非目标(强制):
15
- - 不自动 commit / push
16
- - 不写入任何 secrets(token、cookie、内网地址)
17
- - 不在无法复现时直接改代码(先产出阻塞信息)
18
-
19
- 前置:
20
- 1) 先运行 `$ws-preflight`。
21
- 2) 准备 `change-id`(建议:`bug-<bug-id>` 或 `bugfix-<bug-id>-<slug>`)。
22
- 3) 建立 change 上下文(推荐先于任何落盘):
23
- - 若当前还不在 `change/<change-id>` 分支 / worktree,先调用 `aiws change start`
24
- - 工作区必须先干净;否则不要先写 `changes/<change-id>/bug/` 或 `issues/fix_bus_issues.csv`,避免后续切 worktree 时工件留在原工作区
25
- - 仓库已有提交:优先 `--worktree`
26
- - superproject + submodule:优先 `--worktree --submodules`
27
- - 仓库尚无提交 / 不满足 worktree 前置条件:回退 `--no-switch`
28
- ```bash
29
- if [[ -n "$(git status --porcelain)" ]]; then
30
- echo "error: working tree dirty before ws-bugfix creates change context"
31
- exit 2
32
- fi
33
-
34
- if git rev-parse --verify HEAD >/dev/null 2>&1; then
35
- if [[ -f .gitmodules ]] && git config --file .gitmodules --get-regexp '^submodule\\..*\\.path$' >/dev/null 2>&1; then
36
- aiws change start <change-id> --hooks --worktree --submodules
37
- else
38
- aiws change start <change-id> --hooks --worktree
39
- fi
40
- else
41
- aiws change start <change-id> --hooks --no-switch
42
- fi
43
- ```
44
- - 若上一步创建了 worktree:后续 bug 证据、CSV 更新、`$ws-dev` 修复都必须在该 worktree 中继续;不要回原工作区重复创建 change
45
- - 若该 change 涉及 submodule:
46
- - 优先复用 `$ws-dev` 的 `submodules.targets` 生成/确认流程
47
- - detached HEAD 时默认建议取 `.gitmodules` 声明的分支
48
- - 已附着在某个本地分支时默认建议取当前分支
49
- - 以上都只是建议值,最终必须显式写入 `changes/<change-id>/submodules.targets`
50
-
51
- 建议流程(按顺序):
52
-
53
- ## 1) 通过禅道 MCP 拉取 bug
54
- - 使用当前会话中已启用的 zentao MCP 工具获取:
55
- - `bug_id`、标题、优先级/严重级、模块、状态、指派人
56
- - 重现步骤、期望结果、实际结果
57
- - 附件列表(含图片 URL/文件名)
58
- - 若当前环境没有 zentao MCP 工具:立即停止并提示用户先配置,不要猜数据。
59
-
60
- ## 2) 证据落盘(强制)
61
- 在当前 active change 上下文的 `changes/<change-id>/bug/` 下落盘:
62
- - `zentao-bug-<bug-id>.json`:原始字段快照(避免信息丢失)
63
- - `zentao-bug-<bug-id>.md`:人类可读摘要(复现步骤/期望/实际/风险)
64
- - `images/<bug-id>/...`:下载的图片附件(保留原扩展名)
65
-
66
- 建议目录:
67
- ```text
68
- changes/<change-id>/bug/
69
- zentao-bug-<bug-id>.json
70
- zentao-bug-<bug-id>.md
71
- images/<bug-id>/
72
- ```
73
-
74
- ## 3) 汇总到 issues/fix_bus_issues.csv(upsert)
75
- - 目标文件:当前 active change 上下文中的 `issues/fix_bus_issues.csv`
76
- - 若文件不存在,先创建表头:
77
- ```csv
78
- Bug_ID,Title,Severity,Module,Status,Assigned_To,Change_ID,Image_Count,Image_Paths,Evidence_Path,Verify_Command,Fix_Status,Updated_At,Notes
79
- ```
80
- - 以 `Bug_ID` 为主键 upsert:
81
- - 已存在:更新状态/证据/图片路径
82
- - 不存在:新增一行
83
-
84
- 字段约束:
85
- - `Change_ID`:必须等于当前 `change-id`
86
- - `Evidence_Path`:指向 `changes/<change-id>/bug/zentao-bug-<bug-id>.md`
87
- - `Image_Paths`:多个路径用 `;` 分隔
88
- - `Fix_Status`:`TODO|DOING|DONE|BLOCKED`
89
-
90
- ## 4) 修复执行与回填
91
- - 进入 `$ws-dev` 做最小改动修复;若 `ws-bugfix` 创建了 worktree,则必须在该 worktree 中继续。
92
- - 完成后回填 `issues/fix_bus_issues.csv`:
93
- - `Fix_Status`
94
- - `Verify_Command`
95
- - `Updated_At`
96
- - `Notes`(必要时写阻塞原因)
97
-
98
- ## 5) 验证与交付
99
- ```bash
100
- aiws change validate <change-id> --strict
101
- aiws validate . --stamp
102
- ```
103
- - 需要提交时走 `$ws-commit`。
104
- - 需要收尾合并时走 `$ws-finish`(或在 superproject + submodule 场景走 `$ws-deliver`)。
105
-
106
- 输出要求:
107
- - `Change_ID:` `<change-id>`
108
- - `Change context:` `<当前分支或 worktree 路径>`
109
- - `CSV:` `issues/fix_bus_issues.csv` 中对应 `Bug_ID` 行的关键字段
110
- - `Evidence:` `changes/<change-id>/bug/zentao-bug-<bug-id>.md` + 图片目录
111
- - `Verify:` 实际运行命令与结果(未运行不声称已运行)
@@ -1,18 +0,0 @@
1
- ---
2
- name: ws-commit
3
- description: `aiws commit` 的薄包装入口
4
- ---
5
-
6
- # ws-commit
7
-
8
- `aiws commit` 的薄包装入口。
9
-
10
- ```bash
11
- if [[ -x "./node_modules/.bin/aiws" ]]; then
12
- ./node_modules/.bin/aiws commit
13
- elif command -v aiws >/dev/null 2>&1; then
14
- aiws commit
15
- else
16
- npx @aipper/aiws commit
17
- fi
18
- ```
@@ -1,18 +0,0 @@
1
- ---
2
- name: ws-deliver
3
- description: `aiws deliver` 的薄包装入口
4
- ---
5
-
6
- # ws-deliver
7
-
8
- `aiws deliver` 的薄包装入口。
9
-
10
- ```bash
11
- if [[ -x "./node_modules/.bin/aiws" ]]; then
12
- ./node_modules/.bin/aiws deliver
13
- elif command -v aiws >/dev/null 2>&1; then
14
- aiws deliver
15
- else
16
- npx @aipper/aiws deliver
17
- fi
18
- ```
@@ -1,79 +0,0 @@
1
- ---
2
- name: ws-dev
3
- description: 开发(按需求实现并验证;适用于任何需要修改代码/配置的任务)
4
- ---
5
-
6
- 用中文输出(命令/路径/代码标识符保持原样不翻译)。
7
-
8
- 目标:在 AIWS 约束下完成一个可回放、可验证的小步交付。
9
-
10
- 阶段定位:implementation 阶段。
11
-
12
- ## 必需输入
13
-
14
- - 真值文件:`AI_PROJECT.md` / `REQUIREMENTS.md` / `AI_WORKSPACE.md`
15
- - 当前任务的归因目标(`Req_ID` 或 `Problem_ID`)
16
- - 若为 medium/complex:已通过 `$ws-plan` / `$ws-plan-verify` 的计划
17
- - 当前 `change/<change-id>` 上下文或等价变更归因
18
-
19
- ## 必需输出
20
-
21
- - `变更文件(Changed):` 实际改动清单
22
- - `验证(Verify):` 实际运行的命令与结果说明
23
- - `证据(Evidence):` `plan/...`、`changes/<change-id>/...`、`.agentdocs/tmp/...` 等证据路径
24
- - `Next:` 若准备提交,建议 `$ws-review` 或 `$ws-commit`
25
-
26
- ## 阻断条件
27
-
28
- - 无法把改动归因到 `REQUIREMENTS.md` 或问题单
29
- - 没有可复现验证入口
30
- - 需要创建 change 上下文但当前工作区状态不允许安全切换
31
-
32
- ## 完成判定
33
-
34
- 改动已落盘、验证已执行或明确未执行原因、证据路径可回放,并可进入 review/commit 阶段。
35
-
36
- ## 建议流程
37
-
38
- ### 1. Preflight
39
-
40
- 定位项目根目录,读取 `AI_PROJECT.md` / `REQUIREMENTS.md` / `AI_WORKSPACE.md`,输出约束摘要。
41
-
42
- - 中大型任务:建议先用 `$ws-plan` 生成 `plan/` 工件。
43
- - 已有计划:先 `$ws-plan-verify`,通过后进入实现。
44
- - `$ws-plan` 已创建 worktree:直接在该 worktree 中继续。
45
-
46
- ### 2. 建立变更归因
47
-
48
- - 若 `git status --porcelain` 仅有计划/工件文件,属于预期行为,继续即可。
49
- - 若需创建新 change:`aiws change start <change-id> --hooks --no-switch`
50
- - 若需切换分支:先确认无额外未提交改动,再 `git switch change/<change-id>`
51
- - 若存在 submodule(`.gitmodules`):进入编码前必须准备好 `changes/<change-id>/submodules.targets`。`aiws change start` 的 `--submodules` 标志会自动处理。参考 `changes/README.md` 和 `changes/<change-id>/submodules.targets` 格式。
52
-
53
- ### 3. 实现策略:默认 dispatch aiws-worker(Subagent-First)
54
-
55
- 详细执行循环见 `packages/spec/docs/opencode-subagent-first.md`。
56
-
57
- - 主 session **默认不直接写实现代码**;通过 `$ws-delegate` 派发 `aiws-worker`
58
- - `task()` 调用中指定 `role: worker`,让 `aiws-inject-context` 插件自动注入 JSONL 上下文
59
- - worker 返回后,派发 `aiws-reviewer` 做独立审查
60
- - 根据 review 结果决定 fix 或收敛 evidence
61
- - **Inline escape hatch**:如果用户明确说"你直接改"或"do it inline",主 session 可直接写代码,但必须落盘 evidence 记录理由
62
-
63
- ### 4. 其他规则
64
-
65
- - 需求调整:先 `$ws-req-review` → 确认后 `$ws-req-change`
66
- - 最小改动:每处改动必须归因到 `REQUIREMENTS.md` 或 `issues/problem-issues.csv`
67
- - 验证:运行 `AI_WORKSPACE.md` 声明的命令;未运行不声称已运行
68
- - 多步任务:使用 `update_plan` 工具跟踪状态
69
- - 提交前门禁:
70
- ```bash
71
- aiws validate .
72
- ```
73
- - 交付收尾:`$ws-finish`
74
-
75
- ## 输出要求
76
-
77
- - `变更文件(Changed):` 文件清单
78
- - `验证(Verify):` 实际运行的命令 + 期望结果
79
- - `证据(Evidence):` 证据路径
@@ -1,58 +0,0 @@
1
- ---
2
- name: ws-dev-lite
3
- description: 轻量开发(simple/local 单点修复;最小改动 + 最小验证)
4
- ---
5
-
6
- 用中文输出(命令/路径/代码标识符保持原样不翻译)。
7
-
8
- 目标:在不引入完整重流程的前提下,完成一次 simple/local 小问题修复,并保持可验证、可追溯。
9
-
10
- 定位:
11
- - `ws-dev` 的轻量入口,不是新的 workflow stage。
12
- - 适用于单点修复、局部配置调整、明确回归修复;不适用于中大型任务。
13
-
14
- 适用前提:
15
- - 目标明确,且能归因到 `Req_ID` 或 `Problem_ID`
16
- - 验证入口明确,且能做最小可复现验证
17
- - 一般只影响单文件或紧密相关的小范围文件
18
- - 不需要先改 `REQUIREMENTS.md`,也不需要先单独做 review
19
-
20
- 立即升级回主流程的情形:
21
- - 发现任务其实是 medium/complex、跨模块、跨目录或需要方案设计
22
- - 无法明确归因、verify、change 上下文
23
- - 需要新建复杂 change/worktree 或处理 submodule 目标分支真值
24
- - 修复过程中出现连锁改动、需要补系统性测试或需求调整
25
-
26
- 默认约束:
27
- - 先做 `$ws-preflight`
28
- - 默认不创建 `plan/...`
29
- - 默认不跑 `$ws-plan-verify`
30
- - 默认不要求先做双 review
31
- - 若后续准备提交/交付,仍需进入 `$ws-review` / `$ws-commit` / `$ws-finish`
32
-
33
- 执行步骤:
34
- 1) 先读取 `AI_PROJECT.md` / `REQUIREMENTS.md` / `AI_WORKSPACE.md`,输出约束摘要。
35
- 2) 先判断自己是否真的属于 lite:
36
- - 用一句话写清 `Goal`
37
- - 用一句话写清 `Why lite`
38
- - 若说不清,立刻回退到 `$ws-dev` 或 `$ws-plan`
39
- 3) 在当前 change 上下文内实施最小改动:
40
- - 不为“形式完整”额外扩 scope
41
- - 不默认补与本问题无关的重构或测试矩阵
42
- 4) 运行最小可复现验证:
43
- - 优先使用 `AI_WORKSPACE.md` 已声明的命令
44
- - 若只需局部回归,允许运行更窄的验证,但要说明为什么足够
45
- 5) 留下至少一个可追溯证据:
46
- - 实际改动文件
47
- - 或 `.agentdocs/tmp/...`
48
- - 或 `changes/<change-id>/...`
49
- 6) 输出:
50
- - `变更文件(Changed):`
51
- - `验证(Verify):`
52
- - `证据(Evidence):`
53
- - `Next:` 若准备提交,进入 `$ws-review` 或 `$ws-commit`
54
-
55
- 输出要求:
56
- - 明确说明为什么这是 lite,而不是完整 `ws-dev`
57
- - 未运行不声称已运行
58
- - 一旦发现复杂度升高,立刻停止 lite 叙事,切回 `$ws-dev` 或 `$ws-plan`
@@ -1,22 +0,0 @@
1
- ---
2
- name: ws-finish
3
- description: `aiws finish` 的收尾入口(finish_resume_required)
4
- ---
5
-
6
- # ws-finish
7
-
8
- `aiws finish` 的收尾入口。
9
-
10
- 关键契约:
11
- - 若 `aiws change status <change-id>` 输出 `governance_rule: finish_resume_required`,继续执行 `aiws change finish <change-id> --push`
12
- - 普通 finish 的 `validate/evidence/state` 仍应在 `change/<change-id>` worktree 完成,不要在目标 worktree 里跑 `aiws validate . --stamp`
13
-
14
- ```bash
15
- if [[ -x "./node_modules/.bin/aiws" ]]; then
16
- ./node_modules/.bin/aiws finish
17
- elif command -v aiws >/dev/null 2>&1; then
18
- aiws finish
19
- else
20
- npx @aipper/aiws finish
21
- fi
22
- ```
@@ -1,126 +0,0 @@
1
- ---
2
- name: ws-frontend-design
3
- description: 前端设计实现(用于视觉型 landing page / 网站 / 应用界面 / demo / prototype;强调构图、层级、图像、动效与克制,不做通用卡片墙)
4
- ---
5
-
6
- 用中文输出(命令/路径/代码标识符保持原样不翻译)。
7
-
8
- 目标:
9
- - 在 AIWS 约束下交付一个可运行、可验证、视觉方向明确的前端界面
10
- - 先做信息层级与构图,再做组件细节;避免“先堆卡片再补样式”
11
- - 在品牌页与产品页之间做正确取舍:品牌页重视觉锚点,产品页重可操作性
12
-
13
- 非目标(强制):
14
- - 不绕过 `$ws-preflight`、`REQUIREMENTS.md`、`AI_WORKSPACE.md`
15
- - 不因为“追求设计感”而重写无关页面、改动无关设计系统或新增大面积依赖
16
- - 不默认把已有产品后台改成营销页;dashboard / admin / workspace 优先 utility copy
17
- - 不把 prompt 语言、设计说明、占位废话直接写进 UI
18
-
19
- 适用场景:
20
- - 用户要做 landing page、品牌站、活动页、marketing 页面、demo、prototype、game UI
21
- - 用户要把现有前端界面做成“视觉主导、层级清晰、记忆点强”的版本
22
- - 用户明确要求美化、重做、提质、增强 art direction / hierarchy / motion
23
-
24
- 前置(建议顺序):
25
- 1) 先运行 `$ws-preflight`。
26
- 2) 判断任务类型(必须选一个):
27
- - `landing`:品牌/营销/活动页
28
- - `app-ui`:dashboard / admin / workspace / 工具界面
29
- - `polish-only`:不改信息架构,只做视觉提质
30
- 3) 判断设计边界(必须说明):
31
- - `net-new`:全新页面,可建立完整视觉语言
32
- - `existing-system`:已有设计系统/品牌规范,优先复用
33
- 4) 若任务达到 medium / complex:先用 `$ws-plan` 落盘计划,再进入实现。
34
-
35
- 开始编码前,先写三项(不要跳过):
36
- - `Visual thesis:` 一句话写清 mood / material / energy
37
- - `Content plan:` `hero -> support -> detail -> final CTA`(若是 app-ui,则改为 `workspace -> nav -> context -> action`)
38
- - `Interaction thesis:` 2-3 个动效想法;说明它们如何改善层级/氛围/可感知性
39
-
40
- 设计默认值:
41
- - 从构图开始,不从组件库开始
42
- - 第一屏优先做成海报感(poster),不是文档感(document)
43
- - 默认先找一个强视觉锚点:大图、主视觉平面、关键产品画面、主数据工作区
44
- - 默认不做卡片墙;优先 section、column、divider、media block、list、plain layout
45
- - 默认最多两套字体、一种强调色;若已有品牌系统,优先跟随现有 token
46
- - 优先靠留白、尺度、裁切、对比、对齐建立层级,再考虑装饰
47
-
48
- landing 规则:
49
- 1) 默认结构:
50
- - Hero:品牌/产品名、承诺、CTA、一个主视觉
51
- - Support:一个具体能力 / 证明点 / offer
52
- - Detail:氛围、流程、产品深度或故事
53
- - Final CTA:开始、注册、联系、访问
54
- 2) Hero 强约束:
55
- - 一个 section 只承载一个 dominant idea
56
- - 默认使用 full-bleed hero;只有内层文字列需要约束宽度
57
- - 品牌名优先级高于 headline;headline 高于 body;body 高于 CTA
58
- - 默认不要 hero cards、stat strips、logo clouds、pill soup、floating dashboards
59
- - headline 在 desktop 约 2-3 行;mobile 一眼读完
60
- - 若有固定 header,它占用首屏预算;不要让 header + hero 超出初始 viewport
61
- - 若去掉主视觉后首屏仍几乎成立,说明图像太弱
62
-
63
- app-ui 规则:
64
- - 默认偏克制:少颜色、少 chrome、清晰栅格、密度适中、信息可扫读
65
- - 优先组织为:`primary workspace -> navigation -> secondary context/inspector -> action`
66
- - 只有当 card 本身就是交互容器时才用 card;否则尽量改回 plain layout
67
- - 不要把 routine product UI 做成营销落地页
68
- - 文案优先 orientation / status / action:
69
- - 好例子:`Selected KPIs`、`Plan status`、`Last sync`
70
- - 差例子:首页口号、情绪化隐喻、执行摘要横幅
71
-
72
- 图像与媒体:
73
- - 图像必须承担叙事任务,不能只是补背景
74
- - 品牌页/空间页/生活方式产品优先真实感强的图,而不是抽象 3D / 假 dashboard
75
- - 选图时优先有稳定明暗区,便于文字落位
76
- - 避免图里自带抢戏的 logo、signage、碎字、边框 UI
77
- - 若需要多个场景,优先多张图,不要拼贴大杂烩
78
-
79
- 文案:
80
- - 用产品语言,不用设计评论语言
81
- - headline 负责主要意义;supporting copy 通常一句话够了
82
- - 每个 section 只负责一件事:explain / prove / deepen / convert
83
- - 如果删掉 30% 文案后更清楚,就继续删
84
-
85
- 动效:
86
- - 视觉型页面至少给 2-3 个“有感但克制”的动效:
87
- - 一个 hero 入场序列
88
- - 一个 scroll-linked / sticky / depth 效果
89
- - 一个 hover / reveal / layout transition
90
- - 动效必须改善层级或氛围,不能只是热闹
91
- - 要兼顾 mobile 流畅度;支持 `prefers-reduced-motion`
92
-
93
- 工程约束(强制):
94
- - 先读现有代码,再决定是否沿用已有 design tokens / 组件 / 动效库
95
- - `existing-system` 场景下,优先复用已有视觉语言;不要无故“整站改头换面”
96
- - 不新增字体、图片资源、动画库、运行时依赖,除非明确写出原因、来源、license/成本与回滚方式
97
- - 所有文字覆盖在图像上时,必须保证对比度与点击区域可用
98
- - 必须同时考虑 desktop / mobile;不要只调一个 viewport
99
- - 未运行不声称已运行;验证命令优先引用 `AI_WORKSPACE.md`
100
-
101
- 硬规则:
102
- - No cards by default
103
- - No hero cards by default
104
- - No generic SaaS card grid as first impression
105
- - No more than one dominant idea per section
106
- - No more than two typefaces without a clear reason
107
- - No more than one accent color unless the existing product already has a strong system
108
- - No decorative gradients behind routine product UI
109
- - No busy imagery behind text
110
- - No filler copy
111
-
112
- 实现检查(交付前自检):
113
- - 第一屏能否一眼看出品牌/产品是什么
114
- - 是否存在一个明确视觉锚点
115
- - 只扫标题是否能理解页面
116
- - 每个 section 是否只有一个职责
117
- - card 是否真有必要
118
- - 动效是否真的提升层级/氛围
119
- - 去掉装饰阴影后,页面是否仍然成立
120
-
121
- 输出要求:
122
- - `Mode:` `landing | app-ui | polish-only`
123
- - `Visual thesis:` 一句话
124
- - `Changed:` 改动文件清单
125
- - `Verify:` 实际运行命令 + 预期结果
126
- - `Evidence:` 相关 `plan/...`、`changes/<change-id>/...` 或截图/审计路径