codex not being given the correct messages in the payload (thus responding to an old request)

Open 💬 4 comments Opened Mar 9, 2026 by jamesheinlein

What version of Codex CLI is running?

0.112

What subscription do you have?

Pro

Which model were you using?

5.4-xhigh 1m context

What platform is your computer?

darwin

What terminal emulator and version are you using (if applicable)?

_No response_

What issue are you seeing?

I ask a question, and codex answers an older question in the thread, instead of the one I just asked. then I ask "what did I just ask you?" and it repeats that same older message, instead of the one it should have seen and responded to

What steps can reproduce the bug?

the burden is not on me to sit here trying to repro this. codex is a commercial product, and I don't understand what a "code snippet to reproduce it" means for a TUI application or why you would request something so bizarre.

however, in the thread affected, some possible factors were:

  • started with codex --resume and passed cli args to enable 1m context window (since it is entirely broken without 1m context due to infinite compaction loop - had to enable 1m context to get it to )
  • did a few rewind operations earlier in the thread
  • did a few steers earlier in the thread
  • I think one of the rewinds may have spanned over a steer, so any flimsy array splicing could potentially be weird depending on if steers are treated the same as normal messages or not

What is the expected behavior?

codex responds to the message I sent in all scenarios

Additional information

_No response_

View original on GitHub ↗

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