diff options
| author | soryu <soryu@soryu.co> | 2026-02-09 16:26:00 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-02-09 16:26:00 +0000 |
| commit | 268cdce19b1e17128cb8806bee7e0ead1afaa95b (patch) | |
| tree | 2757518e17cdbdf9c1a01a936460302ef9240d34 | |
| parent | 339c1769379a851c4126021132573bd4b7994cf2 (diff) | |
| download | soryu-268cdce19b1e17128cb8806bee7e0ead1afaa95b.tar.gz soryu-268cdce19b1e17128cb8806bee7e0ead1afaa95b.zip | |
Fix autostarting for directives
| -rw-r--r-- | makima/src/db/repository.rs | 7 |
1 files changed, 5 insertions, 2 deletions
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 } |
