diff --git a/runners/agent-runner/src/index.ts b/runners/agent-runner/src/index.ts index 17e4efe..85c5394 100644 --- a/runners/agent-runner/src/index.ts +++ b/runners/agent-runner/src/index.ts @@ -950,9 +950,7 @@ async function main(): Promise { process.env.EJCLAW_REVIEWER_RUNTIME === '1' || isReviewerRuntime(containerInput.roomRoleContext); const readonlyRuntime = - reviewerRuntime || - process.env.EJCLAW_ARBITER_RUNTIME === '1' || - containerInput.roomRoleContext?.role === 'arbiter'; + reviewerRuntime || process.env.EJCLAW_ARBITER_RUNTIME === '1'; const guardedSdkEnv = buildReviewerGitGuardEnv(sdkEnv, reviewerRuntime); assertReadonlyWorkspaceRepoConnectivity(guardedSdkEnv, readonlyRuntime); diff --git a/runners/codex-runner/src/index.ts b/runners/codex-runner/src/index.ts index 037a2d8..7bb37ec 100644 --- a/runners/codex-runner/src/index.ts +++ b/runners/codex-runner/src/index.ts @@ -407,9 +407,7 @@ async function runAppServerSession( process.env.EJCLAW_REVIEWER_RUNTIME === '1' || isReviewerRuntime(containerInput.roomRoleContext); const readonlyRuntime = - reviewerRuntime || - process.env.EJCLAW_ARBITER_RUNTIME === '1' || - containerInput.roomRoleContext?.role === 'arbiter'; + reviewerRuntime || process.env.EJCLAW_ARBITER_RUNTIME === '1'; const clientEnv = buildReviewerGitGuardEnv(process.env, reviewerRuntime); assertReadonlyWorkspaceRepoConnectivity(clientEnv, readonlyRuntime); const client = new CodexAppServerClient({