feat(design): §17 ToolchainHandler 强约束设计(取代 action Mail 类型) #63

Merged
pangtong-fujunshi merged 2 commits from feat/17-toolchain-handler-enforcement into main 2026-06-13 14:10:20 +00:00
Showing only changes of commit 71bab93308 - Show all commits
@@ -332,7 +332,7 @@ def verify_completion(self, task_id: str, db_path: Path) -> VerifyResult:
# 3. fallback:检查有实质内容的 comment(向后兼容)
comment_count = conn.execute(
"SELECT COUNT(*) FROM comments WHERE task_id=? "
"AND author != 'system' AND LENGTH(content) >= 20",
"AND author != 'system' AND LENGTH(body) >= 20",
(task_id,)
).fetchone()[0]
if comment_count > 0: