docs(review): add risk-based read-only agent gates
Harness governance / validate (push) Has been cancelled

This commit is contained in:
chengma
2026-07-16 19:04:02 +08:00
parent 1d3428a288
commit e9e6dede7a
18 changed files with 200 additions and 13 deletions
+6 -1
View File
@@ -32,7 +32,12 @@ write_paths:
## 协作约束
(启用 Gitea 时填写对应 Issue、领取时的 `context_ref`、claim / 工作分支;任何新增写路径先检查与其他活跃任务是否重叠。)
- review_mode: 【none | test | dual】
- writer: 【唯一写入 agent-id;未领取时为 null】
- test_reviewer: 【只读测试评审 agent-id;不适用时为 null】
- risk_reviewer: 【只读安全/架构评审 agent-id;不适用时为 null】
(启用 Gitea 时填写对应 Issue、领取时的 `context_ref`、claim / 工作分支。只有 writer 可以修改和提交仓库;评审角色只读。任何新增写路径先检查与其他活跃任务是否重叠。候选 SHA 由 PR / 评审报告记录,避免任务文件自引用;分支产生任何新提交后重新评审。)
## 执行记录