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_

View original on GitHub ↗

6 Comments

github-actions[bot] contributor · 10 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #5824
  • #5202
  • #5038
  • #5228

Powered by Codex Action

Dekadinious · 10 months ago

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.

etraut-openai contributor · 9 months ago

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 /feedback command in the CLI. That will provide us with additional details including logs and conversation text.

perrymsb · 8 months ago

I am getting the same thing, saying its in a sandbox and can not commit

timmyjose · 6 months ago

Why was this closed? It's an existing issue even in the latest codex cli.

etraut-openai contributor · 6 months ago

@timmyjose, this is model behavior, not an issue in the Codex harness.