feat: 工作流引擎接入 QA 并行用例与 E2E 测试回路

- 预设新增 qa-write-cases 并行侧分支、qa-run-e2e 汇入点与三选一测试决策;
  提测改为里程碑,dev-plan 补充详细设计/任务清单/自测用例说明
- 引擎支持 parallel 分支、join 汇入、milestone 节点与任意选项决策
- 更新校验、Mermaid 渲染、schema、README 与 AGENTS 模块职责
- 预览图同步新节点、并行/打回走线与测试验收阶段

验证:agents-workflow-engine/tests/test_units.py 24/24;./.agents/verify.sh 67/67
文档同步检查:已更新(引擎 README、根 README、AGENTS.md、schema)
This commit is contained in:
ning-inspire
2026-11-19 11:38:53 +08:00
parent 56859ca568
commit acd62c3ab9
14 changed files with 588 additions and 96 deletions

View File

@@ -77,7 +77,7 @@ def list_states(project: str) -> list:
def open_instance(project: str, iteration: str, entry: str) -> dict:
"""没有记录就创建。已有记录就返回它,用来接着跑。已到提测则拒绝再开一条。"""
"""没有记录就创建。已有记录就返回它,用来接着跑。已到测试通过则拒绝再开一条。"""
check_iteration(iteration)
existing = load_state(project, iteration)
if not existing:
@@ -96,7 +96,7 @@ def open_instance(project: str, iteration: str, entry: str) -> dict:
return state
if existing.get("status") == "completed":
raise GraphError(
"迭代 %s 已经有一条 workflow,并且已经到提测。不能再创建一条。用 status --iteration %s 查看"
"迭代 %s 已经有一条 workflow,并且已经到测试通过。不能再创建一条。用 status --iteration %s 查看"
% (iteration, iteration)
)
return existing