Codex refuses to run git commit
Resolved 💬 6 comments Opened Oct 28, 2025 by cmyk Closed Nov 11, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
019a29d8-2a59-78d1-bdb3-cb3ec657ded8
What subscription do you have?
Pro
Which model were you using?
5 high
What platform is your computer?
Darwin 24.6.0 arm64 arm
What issue are you seeing?
condex keeps flip flopping on what it can do in sandbox.
Now all of a sudden it claims it cannot commit, whereas in just the previous session and all sessions before that, it could.
What steps can reproduce the bug?
Uploaded thread: 019a29d8-2a59-78d1- bdb3-cb3ec657ded8
What is the expected behavior?
That it can issue git commit command, obviously.
Additional information
_No response_
6 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I wanted to add to this that I often have the same problem. Codex refuses to supply edits for approval saying it's in a read only sandbox and can't do anything at all. It seems to not know that it can supply code that I can approve.
Thanks for the bug report. We've shared the feedback with the team members who are responsible for training our codex models. We're tracking this feedback and similar reports so we can make the model more robust in future iterations.
If you see other model behavior that you'd like to report, please use the recently-added
/feedbackcommand in the CLI. That will provide us with additional details including logs and conversation text.I am getting the same thing, saying its in a sandbox and can not commit
Why was this closed? It's an existing issue even in the latest
codexcli.@timmyjose, this is model behavior, not an issue in the Codex harness.