新增: TaskRecord加output_json产出字段+V17迁移(决策a AiNode自审闭环)

This commit is contained in:
2026-06-16 22:29:21 +08:00
parent b5a9557b50
commit 539b5ed63e
7 changed files with 45 additions and 11 deletions

View File

@@ -350,6 +350,7 @@ pub fn build_ai_tool_registry(db: &Arc<Database>) -> AiToolRegistry {
status: "todo".to_string(), priority: args["priority"].as_i64().unwrap_or(2) as i32,
branch_name: None, assignee: None, workflow_def_id: None, base_branch: None,
review_rounds: 0,
output_json: None,
created_at: now_millis(), updated_at: now_millis(),
};
let id = record.id.clone();

View File

@@ -78,6 +78,7 @@ pub async fn create_task(
workflow_def_id: None,
base_branch: None,
review_rounds: 0,
output_json: None,
created_at: now.clone(),
updated_at: now,
};