From 268cdce19b1e17128cb8806bee7e0ead1afaa95b Mon Sep 17 00:00:00 2001 From: soryu Date: Mon, 9 Feb 2026 16:26:00 +0000 Subject: Fix autostarting for directives --- makima/src/db/repository.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'makima') diff --git a/makima/src/db/repository.rs b/makima/src/db/repository.rs index 930a73e..323e74e 100644 --- a/makima/src/db/repository.rs +++ b/makima/src/db/repository.rs @@ -1109,9 +1109,10 @@ pub async fn create_task_for_owner( owner_id, contract_id, parent_task_id, depth, name, description, plan, priority, is_supervisor, repository_url, base_branch, target_branch, merge_mode, target_repo_path, completion_action, continue_from_task_id, copy_files, - branched_from_task_id, conversation_state, supervisor_worktree_task_id + branched_from_task_id, conversation_state, supervisor_worktree_task_id, + directive_id, directive_step_id ) - VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20) + VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) RETURNING * "#, ) @@ -1135,6 +1136,8 @@ pub async fn create_task_for_owner( .bind(&req.branched_from_task_id) .bind(&req.conversation_history) .bind(&req.supervisor_worktree_task_id) + .bind(&req.directive_id) + .bind(&req.directive_step_id) .fetch_one(pool) .await } -- cgit v1.2.3