fix(design): §17 M1 verify_completion 列名 content→body(司马懿 Review)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user