From 484c0d7316606e038d8def9eb4d5a4dc0c7a16ca Mon Sep 17 00:00:00 2001 From: Eyejoker Date: Mon, 30 Mar 2026 01:50:29 +0900 Subject: [PATCH] fix: mount reviewer session dir matching CLAUDE_CONFIG_DIR path Container mounted data/sessions/{folder}/ but CLAUDE.md was written to data/sessions/{folder}-reviewer/.claude/ by paired-execution-context. The reviewer never saw its prompts (verdict protocol, paired room rules). Now mounts {folder}-reviewer/ to match, so the CLAUDE.md with platform and paired room prompts is visible inside the container. --- src/container-runner.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/container-runner.ts b/src/container-runner.ts index 9b6bc35..94e8f29 100644 --- a/src/container-runner.ts +++ b/src/container-runner.ts @@ -261,8 +261,14 @@ export function buildReviewerMounts( }); } - // Session directory for Claude/Codex state - const groupSessionsDir = path.join(DATA_DIR, 'sessions', group.folder); + // Session directory for Claude/Codex state. + // Use the reviewer-suffixed path to match paired-execution-context.ts + // which writes CLAUDE.md (prompts) to {folder}-reviewer/.claude/. + const groupSessionsDir = path.join( + DATA_DIR, + 'sessions', + `${group.folder}-reviewer`, + ); fs.mkdirSync(groupSessionsDir, { recursive: true }); mounts.push({ hostPath: groupSessionsDir,