Skip to content

Codex stops execution mid turn and answer an old unrelated question #14513

Open

Description

@nachoal

What version of Codex CLI is running?

0.114.0

What subscription do you have?

200usd pro

Which model were you using?

gpt-5.4

What platform is your computer?

Darwin 25.2.0 arm64 arm

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

ghostty 1.3.0

What issue are you seeing?

Codex randomly stops what it is doing in relation to the current turn input prompt i sent and sidelines into a totally unrelated previous message/turn input prompt. For example:

  • codex: i found the issue, it is this: blabla.
  • me: please fix the issue
  • codex: ok im going to fix the issue "tool calls here"
  • ...
  • codex: you are right i need to find this issue <-- like it just recently read another message in the conversation

What steps can reproduce the bug?

Uploaded thread: 019ce301-4b99-7df0-89b8-e26ec90271cb

What is the expected behavior?

No response

Additional information

No response

Activity

  1. qdbp commented on Mar 13, 2026

    @qdbp

    One thing to note: this usually resets if you rewind the conversation, but I'm hitting a properly stuck case now. Rewinding and re-running the prompt doesn't unstick it; cancelling and then duplicating the prompt doesn't either.

    Had to force compact manually to free it

  2. carlosGuimaraes-dev commented on Mar 13, 2026

    @carlosGuimaraes-dev

    019ce550-98a1-7b42-9a2c-08748632d6fa

    The assistant failed to follow my latest instruction and instead repeated an explanation that had already been resolved and was no longer relevant. Specifically, I had already clarified that I wanted it to proceed with the previously defined action, but it regressed to reiterating background context instead of executing the requested next step. This created unnecessary friction, wasted time, and broke the expected continuity of the interaction. Please investigate why the assistant ignored the most recent operative instruction and reverted to an earlier explanatory state, even though that discussion was already settled.

  3. qdbp commented on Mar 13, 2026

    @qdbp

    I've hit a case with this where even manual compact doesn't get this to stop and the model genuinely can't proceed -- I'm forced to go into a cold context, it seems.

    019cce30-1373-7020-9da0-d10d166907a2

  4. kolotov commented on Mar 28, 2026

    @kolotov

    I have the same problem. Codex responds to an old message, and the entire message chain following that old message is broken. It seems the problem occurs more often in large context windows.

  5. stevejoswald commented on Apr 1, 2026

    @stevejoswald

    I also have the same problem. Can't provide any more useful context, but just to add a +1 to this

  6. marked Output repeated #16639 as a duplicate of this issue on Apr 3, 2026
  7. emroot commented on Apr 6, 2026

    @emroot

    same here, keeps happening to me when above the 256k context more often.

  8. Superskyyy commented on Apr 15, 2026

    @Superskyyy

    same problem, getting more freuqently lately

  9. huri000 commented on Apr 19, 2026

    @huri000

    Same problem here. Has been the case over the past 2-3 months, and is becoming more frequent w/ 1M context window.

  10. athan614 commented on Apr 22, 2026

    @athan614

    Same issue here been getting it with gpt 5.2-codex, 5.3-codex, and now 5.4 (even on 1M context). Usually happens right after 256k context.

  11. HarryPitsillides commented on Apr 24, 2026

    @HarryPitsillides

    Same problem on gpt 5.5 it happened on 3 rounds of a conversation before compaction even so...

  12. huri000 commented on May 2, 2026

    @huri000

    Any updates on this issue?

  13. iikuzmychov commented on May 10, 2026

    @iikuzmychov

    🫠

  14. kolotov commented on May 10, 2026

    @kolotov

    I've been using 5.5 very actively since its release and can say that this issue is no longer present.

  15. navels commented on May 10, 2026

    @navels

    I've been using 5.5 very actively since its release and can say that this issue is no longer present.

    Now that you mention it, I believe I can say the same.

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

    agentIssues related to the core agent loopbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions