Codex CLI installation fixed - #153
Conversation
Code reviewThis PR fixes a real SDK/CLI drift problem and the handwritten change is much smaller than GitHub's raw numbers suggest. The raw diff is 505 files / 43,502 additions / 14,253 deletions, but 487 files and 57,502 changed lines are generated Codex App Server protocol artifacts. Another 2 files are lockfiles. The reviewable handwritten portion is 16 files / 171 changed lines: Docker wiring, protocol compatibility updates, tests, and docs. Must fix
Should fix
Context gates
Positive notes
Verdict: REQUEST_CHANGES — pin the default version/rollout, then this becomes a focused and reviewable protocol upgrade despite the generated diff. |
Code review — follow-upResponse pass
The requested fixes are complete and all current checks are green. However, the follow-up delta now contains two substantial, unrelated behavior changes, and both add rollout/correctness risk that was not present in the reviewed Codex version fix. Must fix
Should fix
Nits
Context gates
Positive notes
Verdict: REQUEST_CHANGES — the prior findings are fixed, but the newly added concerns need decomposition, runtime validation, and off-by-default rollout guards before this PR is safe to merge. |
Code review — follow-upResponse pass
The new commit closes the previous blockers and current CI is green. The default-off paths retain the stable effort allowlists and legacy WebSocket strategy, so the two follow-ups below do not block merging; the model-effort flag should remain disabled until the OpenRouter case is corrected. Must fix
Should fix
Nits
Context gates
Positive notes
Verdict: APPROVE — the previous blockers are resolved. Keep model-effort discovery disabled until the OpenRouter |
Summary
latesttag while supporting exact versions and semver ranges.Changes
CODEX_VERSIONDocker build argument and Compose configuration.@openai/codex-sdkand its matching CLI in an isolated Docker stage.CODEX_CLI_PATHandPATHto use the SDK-provided CLI.^0.118.0to*.Formatting, linting, tests, runtime coverage, protocol validation, TypeScript builds, and
docker compose buildpass. The fullai:validatecommand remains blocked by the existingai:perfreadiness timeout despite Vite reporting that it is ready.Before
After
AI Model
Which AI model was used to generate or assist with this code?
Test Plan
npm test)npm run lint)