Framework
Coding agent CLI errors and fixes: 6 guides
Real Coding agent CLI failures, each with the error you'll see, the cause and steps that worked. 0 of 6 fixed upstream. Search within Coding agent CLI.
Open: 3
- Coding agent CLIOpen
Coding agent CLI on Windows: sandbox setup fails with a sharing violation, every command fails
After a Windows Desktop update, every local sandboxed command fails before it starts. Browser tools may fail too. Rebooting does not help.
Last checked#regression#setup3 steps → - Coding agent CLIOpen
Coding agent CLI: "API Error: Connection closed mid-response"
Mid-turn, the agent appears to be working, then the reply stops with a connection error and little or nothing usable. More common in long sessions with many tool calls, after compaction, or when one tool call writes a very large payload.
Last checked#transport#error-messages4 steps → - Coding agent CLIOpen
Coding agent ignores "stop writing comments" rules in its project instructions file
The agent keeps adding verbose comments even when the project instructions file and memory say not to. Reminders clean up one edit, then the habit returns.
Last checked#config3 steps →
Unverified: 3
- Coding agent CLIUnverified
Coding agent CLI Desktop "Run agent in WSL": every command fails with "Failed to create unified exec process"
On Windows with "Run agent in WSL" on, every sandboxed command fails before it starts, even
Last checkedpwd. Commands approved outside the sandbox still work. The.codex/tmp/arg0folder often holds only Windows.bathelpers and nocodex-linux-sandbox.#setup#race5 steps → - Coding agent CLIUnverified
Coding agent CLI Linux sandbox fails with "mountinfo path is not absolute" after an update
After a Desktop or VS Code extension update that bundled CLI 0.155.0-alpha.16, every sandboxed command and patch fails while the Bubblewrap command is being built. System
Last checkedbwrapstill works.#regression#setup4 steps → - Coding agent CLIUnverified
Coding agent CLI VS Code extension drops submitted messages or leaves them queued
After an extension update, pressing Enter clears the composer but the message never appears and the agent does not reply. Resending several times eventually works; an older queued prompt may re-run after a reload.
Last checked#regression#messaging4 steps →