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.
This commit is contained in:
Eyejoker
2026-03-30 01:50:29 +09:00
parent 1e9e69ed23
commit 484c0d7316

View File

@@ -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,