Skip to content

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

Open

Description

@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

Activity

  1. added
    bug
    on Mar 9, 2026
  2. github-actions commented on Mar 9, 2026

    @github-actions
    Contributor
  3. etraut-openai commented on Mar 9, 2026

    @etraut-openai
    Contributor

    If you are able to repro this, please use /feedback to upload the session details and include the thread ID below in this thread so we can investigate further.

  4. sipsma commented on Mar 11, 2026

    @sipsma

    @etraut-openai I have been experiencing this quite a bit lately (may have started a few days ago, not sure). I have submitted a few bug reports via /feedback, most recent one was 019cda75-f8f5-79c2-ac36-3024df60e4ea.

  5. georgestander commented on Mar 23, 2026

    @georgestander

    happens more often than not for me in codex app and cli on macos

  6. added
    agent
    on Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agentbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions