diff options
| author | soryu <soryu@soryu.co> | 2026-02-09 15:55:01 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-02-09 15:55:01 +0000 |
| commit | 339c1769379a851c4126021132573bd4b7994cf2 (patch) | |
| tree | 8a9a3cdc9d86b3dc2e6883853fb7b22c21dd9e99 /makima/src/server/handlers/mesh_supervisor.rs | |
| parent | bfa7bd8d7609397f570f1cd9b83d2269abc0ed63 (diff) | |
| download | soryu-339c1769379a851c4126021132573bd4b7994cf2.tar.gz soryu-339c1769379a851c4126021132573bd4b7994cf2.zip | |
Set directive env vars correctly for daemon
Diffstat (limited to 'makima/src/server/handlers/mesh_supervisor.rs')
| -rw-r--r-- | makima/src/server/handlers/mesh_supervisor.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/makima/src/server/handlers/mesh_supervisor.rs b/makima/src/server/handlers/mesh_supervisor.rs index 8bf2534..c9cb849 100644 --- a/makima/src/server/handlers/mesh_supervisor.rs +++ b/makima/src/server/handlers/mesh_supervisor.rs @@ -410,6 +410,7 @@ pub async fn try_start_pending_task( auto_merge_local: contract.auto_merge_local, // For retried tasks, use their own worktree (they already have state from previous attempt) supervisor_worktree_task_id: None, + directive_id: updated_task.directive_id, }; if let Err(e) = state.send_daemon_command(daemon.id, cmd).await { @@ -732,6 +733,7 @@ pub async fn spawn_task( auto_merge_local: contract.auto_merge_local, // All tasks share the supervisor's worktree supervisor_worktree_task_id: Some(supervisor_id), + directive_id: updated_task.directive_id, }; if let Err(e) = state.send_daemon_command(daemon.id, cmd).await { @@ -2239,6 +2241,7 @@ pub async fn resume_supervisor( local_only: contract.local_only, auto_merge_local: contract.auto_merge_local, supervisor_worktree_task_id: None, // Supervisor uses its own worktree + directive_id: supervisor_task.directive_id, }; if let Err(e) = state.send_daemon_command(target_daemon_id, command).await { |
