Doubling down on bad assertion
Resolved 💬 2 comments Opened Apr 16, 2026 by TimWillebrands Closed Apr 16, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex CLI is running?
codex-cli 0.120.0
What subscription do you have?
max
Which model were you using?
gpt-5.4
What platform is your computer?
Darwin 25.3.0 arm64 arm
What terminal emulator and version are you using (if applicable)?
ghostty
What issue are you seeing?
The model adding a bad assertion and then after me pointing this out making the code math the bad assertion.
What steps can reproduce the bug?
Uploaded thread: 019d9573-c71d-7260-bcb8-5b0d66363381
What is the expected behavior?
Dropping the bad assertion instead of adding code
Additional information
_No response_
2 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
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 improve future models. And thanks for using the
/feedbackcommand. That additional information is useful.