Codex started editing files without a prompt to edit anything

Resolved 💬 2 comments Opened Dec 11, 2025 by sethjackson-cisco Closed Dec 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?

codex-cli 0.58.0

What subscription do you have?

enterprise

Which model were you using?

_No response_

What platform is your computer?

_No response_

What issue are you seeing?

I asked Codex to change to a different git branch. It changed to the branch and then just started editing code! I have no idea what it was doing or why. I didn't ask it to do anything other than change branches.

What steps can reproduce the bug?

Uploaded thread: 019b0f50-86d3-7c61-9110-549bd1440405

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 8 months ago

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

  • #7267

Powered by Codex Action

etraut-openai contributor · 8 months ago

Thanks for the bug report. We'll share the feedback with the team responsible for training our codex models. We're tracking this feedback and similar reports so we can make future models more robust and efficient. And thanks for using the /feedback command. That additional information is useful.