-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
What version of Codex is running?
0.19.0
Which model were you using?
gpt-5
What platform is your computer?
Darwin 25.0.0 arm64 arm
What steps can reproduce the bug?
- Fresh install Codex
- Login with ChatGPT
- Run in sandbox mode (second option)
- Ask it to make a random edit to a random file
- Observe that:
- Codex may fail to apply_patch
- The apply_patch command lacks a proper diff—raw file content is injected instead
What is the expected behavior?
The expected behavior is that I receive a legible diff to approve.
What do you see instead?
Codex attempts to run the patch command option through the terminal, producing an illegible diff, instead of using tools available to itself and asking for approval.


Additional information
I could be assuming the correct behavior, but I seem to remember this not being a problem before the sandbox prompt added recently.
vmotta8, ishikawa, xangma, overthetop, timtody and 1 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working