Codex reverts changes made to `constant values` during a second prompt / task

Resolved 💬 2 comments Opened Nov 5, 2025 by guidedways 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?

0.55.0

What subscription do you have?

Pro

Which model were you using?

gpt-5-codex-high

What platform is your computer?

macOS

What issue are you seeing?

  • Ask Codex to perform some work such as adding animation to some existing code
  • After it's done, manually change the animation timing to something else, e.g. if it chose 0.35 seconds, change it to 0.25 seconds.
  • Now ask Codex to add a new improvement - it notices the change to 0.25 and _reverts_ it back to 0.35! This is a trivial example but many times it's more than this.

This is related to https://github.com/openai/codex/issues/6187 but not entirely. This is where it's performing _new_ work but insists on keeping the code exactly how it was when it finished working on it. Any deviation and it thinks this is unwanted and changes it back. Often you wan manual and complete control over the final code but the only solution is to always /new to avoid this.

What steps can reproduce the bug?

See above.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 9 months ago

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

  • #6187
  • #5904
  • #5807

Powered by Codex Action

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.