fix: prepare CLAUDE.md and roomRoleContext for container reviewer

Container reviewer was running without prompts because the container
path in agent-runner.ts skipped prepareGroupEnvironment() entirely.
This meant no CLAUDE.md (platform + paired room prompts + memory
briefing) and no roomRoleContext were passed to the container.

- Add prepareContainerSessionEnvironment() to write CLAUDE.md, sync
  skills, and ensure settings.json for the reviewer session directory
- Pass roomRoleContext through ReviewerContainerInput so the runner
  can prepend the [ROOM_ROLE] header
- Add roomRoleContext field to ReviewerContainerInput interface
This commit is contained in:
Eyejoker
2026-03-30 01:12:47 +09:00
parent cb66510378
commit d024b763f0
3 changed files with 76 additions and 1 deletions

View File

@@ -58,6 +58,7 @@ export interface ReviewerContainerInput {
runId: string;
isMain: boolean;
assistantName?: string;
roomRoleContext?: import('./types.js').RoomRoleContext;
}
interface VolumeMount {