diff options
| author | soryu <soryu@soryu.co> | 2026-01-29 02:30:16 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-01-29 02:30:16 +0000 |
| commit | 7af8561677cfdcfd23d099a25783c7fef51d1ba6 (patch) | |
| tree | a15cddfa7e5492c3d883419e60a1dad3c9d2d0f3 /makima/src/db/models.rs | |
| parent | cfe3ea0aae878ae8f591acdc33a48332ac875b9e (diff) | |
| download | soryu-7af8561677cfdcfd23d099a25783c7fef51d1ba6.tar.gz soryu-7af8561677cfdcfd23d099a25783c7fef51d1ba6.zip | |
Fix worktree cleanup to not run for shared worktrees
Diffstat (limited to 'makima/src/db/models.rs')
| -rw-r--r-- | makima/src/db/models.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/makima/src/db/models.rs b/makima/src/db/models.rs index d5f2814..9e624c9 100644 --- a/makima/src/db/models.rs +++ b/makima/src/db/models.rs @@ -665,6 +665,9 @@ pub struct CreateTaskRequest { pub branched_from_task_id: Option<Uuid>, /// Conversation history to initialize the task with (JSON array of messages) pub conversation_history: Option<serde_json::Value>, + /// Task ID whose worktree this task shares. When set, this task reuses the supervisor's + /// worktree instead of creating its own, and should NOT have its worktree deleted during cleanup. + pub supervisor_worktree_task_id: Option<Uuid>, } /// Request payload for updating a task |
