feat: support codex runner in reviewer container

- Build both agent-runner and codex-runner into container image
- Select runner path based on group.agentType at docker exec time
- Update README to role-centric overview, generic MoA references
- Add MoA reference opinions guidance to arbiter prompt
This commit is contained in:
Eyejoker
2026-04-01 04:50:05 +09:00
parent 73156bf375
commit 404cbd6b04
4 changed files with 41 additions and 20 deletions

View File

@@ -484,7 +484,11 @@ export async function runReviewerContainer(args: {
}
}
}
execArgs.push(containerName, 'bun', '/app/dist/index.js');
const isCodexAgent = (group.agentType || 'claude-code') === 'codex';
const runnerPath = isCodexAgent
? '/app/codex/dist/index.js'
: '/app/agent/dist/index.js';
execArgs.push(containerName, 'bun', runnerPath);
return new Promise<AgentOutput>((resolve) => {
const proc = spawn(CONTAINER_RUNTIME_BIN, execArgs, {