auto-sync: 2026-05-30 09:00:58

This commit is contained in:
cfdaily
2026-05-30 09:00:58 +08:00
parent 9bf8e3fcb7
commit ffadcadfe9
+4 -4
View File
@@ -1,8 +1,8 @@
# 02-main-session-delegation.md — Main Session + Delegation 架构
**日期**: 2026-05-29
**日期**: 2026-05-30
**作者**: 庞统
**状态**: 评审
**状态**: 评审(司马懿 2026-05-30),v1.1 修订中
**前置**: `01-four-phase-loop.md`(四相循环 E2E 验证暴露 session 爆炸问题)
---
@@ -384,8 +384,8 @@ def _task_verify_completion(self, task_id, db_path) -> bool:
row = conn.execute(
"SELECT status FROM tasks WHERE id=?", (task_id,)
).fetchone()
if not row or row["status"] != "working":
return True # Agent 自己标了终态
if not row or row["status"] == "working":
return None # 还在执行中,不算完成
# 信号 2outputs 表有产出
output_count = conn.execute(