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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user