feat(guide): 角色泳道图 + 编排图落到模块 + iframe 嵌入与 Pages 入口
改了什么
- 新增 team-workflow-guide/flow.html:角色 × 阶段泳道图(JointJS),3 条打回边、3 道人工闸门。
dev-build 用单节点 + 框内四步清单(实现 → 自测 → UI 对照 → 代码评审),
overnight-runner 用卡片堆表示可一直追加的队列(只收已确认 Plan)
- index.html 首屏 #lane 段用 iframe 嵌入泳道图,导航与 lead 指向锚点;
flow.html「返回指南」加 target="_top",从 iframe 里也能跳出
- 编排图从 .agents/plan/iteration-to-test.html 移到 agents-workflow-engine/graph.html
(git mv 保留历史);标题由「版本到提测」改为「迭代编排图」(图早已到「可上线」)
- 预设延伸到交付与上线:accepted 里程碑 → ba-gen-facts → dev-release-plan → shipped,
单元测试同步;QA 用例与技术高阶并行、E2E 回路补齐
- README / AGENTS.md 补 L3 vs L4 两种协作模式;两个模块 README 给出 GitHub Pages 链接
为什么
- 图是模块产物,不该留在计划目录;读者也不该为了看一眼图跳出主文档
- L3(人编排)与 L4(人决策)共用同一套 26 个 skill,差异只在谁调度,需要一张对照表说清
怎么验证
- ./.agents/verify.sh 全部通过(68 项;163 条相对链接有效;engine 25/25,runner 44/44 + 13/13)
- 浏览器实测:index.html 的 iframe 内 58 个 cell / 18 个实心节点,0 console 报错,无横向溢出;
flow.html 18 节点 / 21 连线 / 0 重叠 / 0 文字溢出 / 0 连线穿框;graph.html 92 cell 正常出图
- Pages 从 main 构建,推送后两条链接生效
文档同步检查
- 已更新:根 README、AGENTS.md §1/§3/§8/§13、agents-workflow-engine/README、team-workflow-guide/{README,index.html}
- 占位符与 catalog.json:不涉及
This commit is contained in:
@@ -60,7 +60,10 @@ nodes:
|
||||
- { id: handoff, actor: master, kind: milestone, title: 提测 }
|
||||
- { id: qa-run-e2e, actor: subagent, kind: action, skill: qa-run-e2e, title: 编写并运行 E2E 测试, join: true, model: writer }
|
||||
- { id: test-decision, actor: human, kind: decision, title: 测试决策, options: [修订, 通过, 打回开发] }
|
||||
- { id: accepted, actor: master, kind: end, title: 人工补测 }
|
||||
- { id: accepted, actor: master, kind: milestone, title: 人工补测 }
|
||||
- { id: ba-gen-facts, actor: subagent, kind: action, skill: ba-gen-facts, title: 刷新事实文档, model: writer }
|
||||
- { id: dev-release-plan, actor: subagent, kind: action, skill: dev-release-plan, title: 准备上线, model: writer }
|
||||
- { id: shipped, actor: master, kind: end, title: 可上线 }
|
||||
edges:
|
||||
- { id: e0, from: graph-start, to: start-version }
|
||||
- { id: e1, from: start-version, to: pm-start-iteration }
|
||||
@@ -93,4 +96,7 @@ edges:
|
||||
- { 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-reject, from: test-decision, to: amend-input, when: 打回开发, back: true }
|
||||
- { 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 }
|
||||
- { id: release-to-shipped, from: dev-release-plan, to: shipped }
|
||||
|
||||
Reference in New Issue
Block a user