Files
ai4se-harness-suite/agents-workflow-engine/README.md
ning-inspire 69cfaea7dc feat: 引入 agents-workflow-engine 与 5 个 SDD skill
新增 agents-workflow-engine:主会话按泳道图调度子 agent 到提测,
含 schema、preset、CLI、单测,并接入 verify.sh。

agile-team-sdd 新增 5 个模板:ba-write-prototype、ba-requirement-review、
dev-plan-review、dev-plan-amend、pm-start-iteration,已登记 catalog
并同步安装到 example-project;README/AGENTS.md 同步 skill 数量 21→26。

验证:./.agents/verify.sh 全绿(67 项,含 AWE 14 个单测)。
文档同步检查:已更新 README、AGENTS.md、agile-team-sdd/README.md 与 SKILL.md。
2026-11-19 10:05:10 +08:00

38 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# agents-workflow-engine
一个人用主会话把一条迭代从启动调度到提测。图是 YAML。人、graph-master、子 agent 分三道泳道。子 agent 调用 skill,并且可以绑不同模型做对抗验证。
## 用法
在仓库根目录:
```bash
PYTHONPATH=agents-workflow-engine python -m agents_workflow_engine validate
PYTHONPATH=agents-workflow-engine python -m agents_workflow_engine render --dry-run
PYTHONPATH=agents-workflow-engine python -m agents_workflow_engine run \
--project <目标项目> --answers answers.yaml --agent '你的子 agent 命令'
```
`answers.yaml` 里,人的节点对应一段文字或「满意 / 不满意」。同一节点要答多次时写成列表。
子 agent 命令会额外收到 `--skill`、`--node`、`--model`。批量构建还会收到 `--task`。环境变量 `WORKFLOW_TASK` 是同一条任务。门禁要在标准输出单独一行打印 `满意` 或 `不满意`。`dev-plan` 用 `TASK: <id>` 宣布一批任务。
模型用环境变量,不写进仓库:`MODEL_WRITER`、`MODEL_REVIEWER`。两个值相同,或没设,会在 `.agents/workflow/decisions.jsonl` 记下「未做对抗验证」。
## 安装预设
```bash
./agents-workflow-engine/scripts/install.sh <目标项目> --dry-run
./agents-workflow-engine/scripts/install.sh <目标项目>
```
只写 `.agents/workflow/preset.yaml`。已存在则跳过,`--force` 才覆盖。不碰 `overlay.yaml`。
## 项目怎么改图
在目标项目放 `.agents/workflow/overlay.yaml`,可以 `disable` 节点、`replace` skill、改回路的 `maxIterations`。
## 维护
预设在 `presets/iteration-to-test.yaml`。形状说明在 `schema/graph.schema.json`。泳道预览在仓库 `.agents/plan/iteration-to-test.html`。