Codex refuses implementation of large requests, citing non-existent "session time limitations"
What version of Codex is running?
codex-cli 0.39.0
Which model were you using?
got-5-codex high
What platform is your computer?
Darwin 24.6.0 arm64 arm
What steps can reproduce the bug?
After the recent update, I have had issues where Codex believes it is in a different environment ("session time-limited, sandboxed") and will refuse to implement large refactors. It will refuse multiple times until finally relenting, and when questioned it told me that it got "confused about what environment it was in" and "is used to an environment that has more limits". There seems to be some issue with the agent's awareness of its environment with the newest update.
Additionally, it has refused to initiate training runs of models because it doesn't believe it has "enough time in the session for a long training run". This has made things very difficult to continue development when I have to re-explain to Codex that it is running tests on my hardware and that we have no session time limit. I believe that there is a testing environment that Codex has somehow learned habits from and carried over into prod.
What is the expected behavior?
Agent should implement code and not refuse based on non-existent "session time limits".
What do you see instead?
Codex refuses to implement large refactors or feature additions, citing sandbox issues that do not align with the actual development environment.
Additional information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗