Doubling down on bad assertion

Resolved 💬 2 comments Opened Apr 16, 2026 by TimWillebrands Closed Apr 16, 2026

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_

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗