From 7af8561677cfdcfd23d099a25783c7fef51d1ba6 Mon Sep 17 00:00:00 2001 From: soryu Date: Thu, 29 Jan 2026 02:30:16 +0000 Subject: Fix worktree cleanup to not run for shared worktrees --- makima/src/server/handlers/contract_chat.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'makima/src/server/handlers/contract_chat.rs') diff --git a/makima/src/server/handlers/contract_chat.rs b/makima/src/server/handlers/contract_chat.rs index 98787be..c1ca3ed 100644 --- a/makima/src/server/handlers/contract_chat.rs +++ b/makima/src/server/handlers/contract_chat.rs @@ -1366,6 +1366,7 @@ async fn handle_contract_request( checkpoint_sha: None, branched_from_task_id: None, conversation_history: None, + supervisor_worktree_task_id: None, // Not spawned by supervisor }; match repository::create_task_for_owner(pool, owner_id, create_req).await { @@ -1463,6 +1464,7 @@ async fn handle_contract_request( checkpoint_sha: None, branched_from_task_id: None, conversation_history: None, + supervisor_worktree_task_id: None, // Not spawned by supervisor }; match repository::create_task_for_owner(pool, owner_id, create_req).await { @@ -2197,6 +2199,7 @@ async fn handle_contract_request( checkpoint_sha: None, branched_from_task_id: None, conversation_history: None, + supervisor_worktree_task_id: None, // Not spawned by supervisor }; match repository::create_task_for_owner(pool, owner_id, create_req).await { @@ -2717,6 +2720,7 @@ async fn handle_contract_request( checkpoint_sha: None, branched_from_task_id: None, conversation_history: None, + supervisor_worktree_task_id: None, // Not spawned by supervisor }; if repository::create_task_for_owner(pool, owner_id, task_req).await.is_ok() { -- cgit v1.2.3