[moz] fix(spawner): _get_task_info SELECT 补 must_haves 字段
根因:_get_task_info 只 SELECT id, title, status,漏查 must_haves。
续杯/retry 路径从返回 dict 中 .get('must_haves') 永远拿到空值,
导致 PromptContext.event_type 为空,toolchain 通知显示「事件类型: 未知」。
修复:SELECT 补 must_haves 字段。
发现方式:L1 自蒸馏端到端验证中识别到 Recurrence-Count=2 信号
This commit is contained in:
@@ -1261,7 +1261,7 @@ curl -X POST http://{api_host}:{api_port}/api/projects/{project_id}/tasks/{task_
|
||||
conn = get_connection(db_path)
|
||||
try:
|
||||
row = conn.execute(
|
||||
"SELECT id, title, status FROM tasks WHERE id=?", (
|
||||
"SELECT id, title, status, must_haves FROM tasks WHERE id=?", (
|
||||
task_id,)
|
||||
).fetchone()
|
||||
if not row:
|
||||
|
||||
Reference in New Issue
Block a user