fix(skills): 补 E2E 契约对齐、规格覆盖核对、手动计划入图
iteration2 的 6 轮 E2E 返工暴露三个 harness 缺口(证据见 poc-company-a
docs/retro/iteration2.md):
- qa-write-cases:新增「自动化契约:先对齐,再写断言」。21 条红用例的根因是
用例对接口方法/状态码/错误信封/枚举、以及页面锚点做了未验证的假设;另把数据
隔离与「日期只许本地日历日」写成硬规则(UTC 日期只在本地 0:00~8:00 炸)
- qa-run-e2e:新增「规格覆盖核对」。用例全绿不等于验收通过——m-4 未实现却穿过
code-review、E2E 与人工决策,直到发版才补;现在缺口只能判 ⚠️ 未覆盖,不得登记
成「已知债务」放行
- qa-write-manual-plan + 图 preset:图里加 qa-write-manual-plan 节点
(test-decision --通过--> qa-write-manual-plan --> accepted),并把「核心链路
留 TODO 等于这一关不存在」写成硬要求
This commit is contained in:
@@ -61,6 +61,7 @@ nodes:
|
||||
- { id: qa-run-e2e, actor: subagent, kind: action, skill: qa-run-e2e, title: 编写并运行 E2E 测试, join: true }
|
||||
- { id: test-decision, actor: human, kind: decision, title: 测试决策, options: [修订, 通过, 打回开发] }
|
||||
- { id: accepted, actor: master, kind: milestone, title: 人工补测 }
|
||||
- { id: qa-write-manual-plan, actor: subagent, kind: action, skill: qa-write-manual-plan, title: 手动与冒烟用例, model: writer }
|
||||
- { id: ba-gen-facts, actor: subagent, kind: action, skill: ba-gen-facts, title: 刷新事实文档 }
|
||||
- { id: dev-release-plan, actor: subagent, kind: action, skill: dev-release-plan, title: 准备上线 }
|
||||
- { id: shipped, actor: master, kind: end, title: 可上线 }
|
||||
@@ -95,7 +96,8 @@ edges:
|
||||
- { id: qa-cases-ready, from: qa-write-cases, to: qa-run-e2e }
|
||||
- { id: e2e-to-decision, from: qa-run-e2e, to: test-decision }
|
||||
- { id: e2e-revise, from: test-decision, to: qa-run-e2e, when: 修订, back: true }
|
||||
- { id: e2e-pass, from: test-decision, to: accepted, when: 通过 }
|
||||
- { id: e2e-pass, from: test-decision, to: qa-write-manual-plan, when: 通过 }
|
||||
- { id: manual-to-accepted, from: qa-write-manual-plan, to: accepted }
|
||||
- { id: e2e-reject, from: test-decision, to: amend-input, when: 打回开发, back: true }
|
||||
- { id: accepted-to-facts, from: accepted, to: ba-gen-facts }
|
||||
- { id: facts-to-release, from: ba-gen-facts, to: dev-release-plan }
|
||||
|
||||
Reference in New Issue
Block a user