From 85841a67dafdc25e4bda2c93fe05d51c485df4f3 Mon Sep 17 00:00:00 2001 From: Christopher Mayor Date: Sat, 7 Mar 2026 12:26:54 -0800 Subject: [PATCH] [taskboard] allow swarm worktrees on mounted repos --- lib/dispatch.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/dispatch.ts b/lib/dispatch.ts index a21fb28..6760f02 100644 --- a/lib/dispatch.ts +++ b/lib/dispatch.ts @@ -72,6 +72,8 @@ async function dispatchOpenClawTask(taskId: number) { throw new Error(`repo_not_available:${task.repo_slug}`); } + await execFileAsync("git", ["config", "--global", "--add", "safe.directory", repoPath]); + const agentName = task.preferred_agent || "codex"; const taskKey = `taskboard-${task.id}`; const repoName = path.basename(repoPath);