From 25cec18ce81aa51c0dff693a15471b6c66ab7789 Mon Sep 17 00:00:00 2001 From: Eyejoker Date: Mon, 30 Mar 2026 22:30:42 +0900 Subject: [PATCH] fix: clear arbiter session on each invocation to prevent verdict bias --- src/paired-execution-context.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/paired-execution-context.ts b/src/paired-execution-context.ts index faae14a..b71259c 100644 --- a/src/paired-execution-context.ts +++ b/src/paired-execution-context.ts @@ -324,6 +324,9 @@ export function preparePairedExecutionContext(args: { 'sessions', `${group.folder}-arbiter`, ); + // Clear arbiter session each invocation — each deadlock is a fresh + // judgment call, previous verdicts should not bias the decision. + fs.rmSync(arbiterSessionDir, { recursive: true, force: true }); fs.mkdirSync(arbiterSessionDir, { recursive: true }); envOverrides.CLAUDE_CONFIG_DIR = arbiterSessionDir; }