auto-sync: 2026-05-15 21:28:44

This commit is contained in:
cfdaily
2026-05-15 21:28:44 +08:00
parent 59c75471d2
commit fea1058c88
@@ -553,10 +553,22 @@ def build_reviewer_bootstrap(task, review_type):
**防止"一律照改"——反驳权(Rebuttal Phase**
审查不是单向的。审查者提交 review 后,Daemon spawn 原执行者做反驳
审查不是单向的。但不是每次都触发反驳——有跳过条件
**跳过条件**(不需 spawn 反驳):
- 审查者 verdict=approved → 直接 done,跳过 rebuttal
- 审查者 verdict=needs_revision,但 issues 全是 minor severity → 执行者自然在 comments 接受并修改,不 spawn 反驳
**触发条件**spawn 反驳):
- 审查者 verdict=needs_revision,且 issues 中有 critical 或 major severity
- 审查者 verdict=rejected
```
审查者提交 reviewissues 列表)
审查者提交 review
verdict=approved → 直接 done(跳过 rebuttal
verdict=needs_revision 且只有 minor → 执行者直接修改(跳过 rebuttal)
verdict=needs_revision 且有 critical/major → spawn 反驳
Daemon spawn 原执行者,注入反驳指令:
"你收到了一份审查意见。对每个 issue,你必须明确表态: