auto-sync: 2026-06-03 08:59:03
This commit is contained in:
@@ -33,6 +33,18 @@
|
||||
### D4: B8 BUG-7 planning 暂停
|
||||
**结论**:`planning` 状态已从状态机中移除,BUG 不再存在。但前端 resume 映射为 `executing`(非法状态),应改为恢复到 `resumed_from` 记录的状态。记为后续前端修复项。
|
||||
|
||||
### D5: 司马懿评审反馈(v1.0 → v1.1)
|
||||
|
||||
**问题1:verdict 读取方式** → on_complete 回调中从 reviews 表查最新 verdict(`SELECT verdict FROM reviews WHERE task_id=? ORDER BY created_at DESC LIMIT 1`),和 ticker `_recover_review_task` 一致。
|
||||
|
||||
**问题2:review 保持状态不会被重复 dispatch** → 确认无问题,`_dispatch_reviews` 已有 `if reviews: continue` 保护。
|
||||
|
||||
**问题3:rebuttal @mention 缺 on_complete** → 选方案 1:mention spawn 带回调。触发条件:task status=review + comment_type=rebuttal → spawn 时带 `_review_on_complete` 回调。改动点在 `_process_mentions`,约 10 行。
|
||||
|
||||
**问题4:assignee 而非 current_agent** → 确认 @mention 对象用 assignee(执行者),不用 current_agent(审查者)。
|
||||
|
||||
**MAX_ROUNDS 确认**:`RebuttalManager.MAX_ROUNDS = 2`,rebuttal round 1(司马懿重审)+ rebuttal round 2(庞统仲裁)= 2 轮。对齐。
|
||||
|
||||
---
|
||||
|
||||
## 一、问题陈述
|
||||
|
||||
Reference in New Issue
Block a user