The full patch hit the Windows command-length limit

Open 💬 1 comment Opened Apr 9, 2026 by doublemover

What version of Codex CLI is running?

codex-cli 0.118.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.4 high

What platform is your computer?

win 11 x64

What terminal emulator and version are you using (if applicable)?

PS7.x

What issue are you seeing?

Chat constantly attempts to create or modify one or more files totalling more than approx 1500? characters, which hits some arbitrary limit in its file editing (presumably because file contents are being passed along literally as part of the command) and then has to spend several additional turns manually editing each file, sometimes multiple times if it is large enough.

What steps can reproduce the bug?

Have chat work on something big enough

What is the expected behavior?

It can write/edit/remove any number of lines or chars to a new file or within an existing one without ever hitting this error and causing countless wasted turns and tokens

Additional information

_"who wishes to fight must first count the cost" - Sun Tzu_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗