From 368b80d46108e582cc1e7f348125e69d104dcff4 Mon Sep 17 00:00:00 2001 From: mkorwel Date: Thu, 19 Mar 2026 00:50:32 -0700 Subject: [PATCH] fix(workspaces): restore authEnv variable in orchestrator --- .gemini/skills/workspaces/scripts/orchestrator.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gemini/skills/workspaces/scripts/orchestrator.ts b/.gemini/skills/workspaces/scripts/orchestrator.ts index 0e4697ee77..950bf1e526 100644 --- a/.gemini/skills/workspaces/scripts/orchestrator.ts +++ b/.gemini/skills/workspaces/scripts/orchestrator.ts @@ -123,6 +123,8 @@ export async function runOrchestrator(args: string[], env: NodeJS.ProcessEnv = p ? `gemini` : `tsx ${persistentScripts}/entrypoint.ts ${prNumber} . ${remotePolicyPath} ${action}`; + const authEnv = `${remoteApiKey ? `-e GEMINI_API_KEY=${remoteApiKey} ` : ''}${remoteGhToken ? `-e GITHUB_TOKEN=${remoteGhToken} -e GH_TOKEN=${remoteGhToken} ` : ''}`; + // PERSISTENCE: Wrap the entire execution in a tmux session inside the container const tmuxStyle = ` tmux set -g status-bg colour238;