paired: decouple unsafe host mode from fresh reviewer sessions

This commit is contained in:
ejclaw
2026-04-22 06:47:52 +09:00
parent 091f34ed23
commit 2b32b72119
6 changed files with 140 additions and 2 deletions

View File

@@ -227,6 +227,10 @@ export function loadConfig(): AppConfig {
'PAIRED_CARRY_FORWARD_LATEST_OWNER_FINAL',
false,
),
forceFreshClaudeReviewerSessionInUnsafeHostMode: readBoolean(
'PAIRED_FORCE_FRESH_CLAUDE_REVIEWER_SESSION',
false,
),
agentLanguage: readText('AGENT_LANGUAGE') ?? '',
arbiterDeadlockThreshold: readInteger('ARBITER_DEADLOCK_THRESHOLD', 2),
maxRoundTrips,

View File

@@ -54,6 +54,7 @@ export interface AppConfig {
arbiterAgentType?: AgentType;
arbiterServiceId: string | null;
carryForwardLatestOwnerFinal: boolean;
forceFreshClaudeReviewerSessionInUnsafeHostMode: boolean;
agentLanguage: string;
arbiterDeadlockThreshold: number;
maxRoundTrips: number;