2 ms·
OpenAI Codex CLI + MCP users: beware of silent truncation in recent releases >=v0.56.0 ↳ Aug 23 2025 (commit 957d449): Codex introduced a head+tail cap (256 li
by sascha_heyer 1y ago
OpenAI Codex CLI + MCP users: beware of silent truncation in recent releases >=v0.56.0
↳ Aug 23 2025 (commit 957d449): Codex introduced a head+tail cap (256 lines / 10 KiB) on the stdout/stderr summary it feeds back into the conversation. Front-ends still see full logs, but the model only gets the truncated version.
↳ Oct 31 2025 (commit 1c8507b / PR #5979): a second cap was added that walks every tool-call content block (including MCP responses) and enforces that same ~10 KiB limit across the entire payload. Once the budget is exceeded, Codex drops the rest and replaces it with “[omitted …]”.
Problematic Commit:
https://lnkd.in/dMGCBSvC https://lnkd.in/dMGCBSvC
Problematic PR:
https://lnkd.in/dznEYwYX https://lnkd.in/dznEYwYX
Impact just a few examples:
- Context7 or other retrieval plugins can’t deliver full research briefs; Codex only ingests the first/last slices and misses the core.
- Linear MCP issues/PRDs are chopped mid-plan, so agents never read the requirements.
- Build/test logs, migration scripts, or large code diffs lose the middle sections, forcing manual paging and repeated tool calls.
Workarounds
1. Pin to ≤ 0.55.0 if you rely on "large" tool outputs.
2. Upvote/comment on GitHub issue https://lnkd.in/dm2z_KFh https://lnkd.in/dm2z_KFh so the engineering team sees how widespread the breakage is