Skip to content

Context corruption / attention issue #14408

Closed

Description

@0x484558

What version of Codex CLI is running?

codex-cli 0.113.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.4

What platform is your computer?

Linux 6.12.76 x86_64 unknown

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

No response

What issue are you seeing?

I've caught on multiple occasions a very odd and hard to explain bug which appears as some sort of context corruption or unexpected dip in attention (?) that causes AI to "loose the plot", answering older question and being unable to pay attention to a particular message. I asked multiple questions as a follow-up stressing if the AI can provide an explanation for why it answered the way it did but it could not recall the existence of message. In fact, I found this peculiar:

• Your immediately preceding message was:

  > Wait why are you responding like this? What did I say, reproduce. Cease any activity, new task: understand why
  > you responded what you responded. Was there something in any of explored files that prompted you to make this
  > response? Why did you say what you say, on meta-level, not w.r.t. the subject of your answer.

  And the message before that was:

  > Wait why are you responding like this? What did I say, reproduce. Cease any activity, new task: understand why
  > you responded what you responded. Was there something in any of explored files that prompted you to make this
  > response? Why did you say what you say, on meta-level, not w.r.t. the subject of your answer.

  If you mean the message before the one that triggered my “No. pi is not being treated as a desktop” reply, that
  was:

  > Why do you mention desktop dependencies? As in, are you implying that Pi is treated as desktop?

The "And the message before was:" is wrong. The actual message was "Let's use that ergonomics, understand and make proposals by editing the workspace". In fact, the AI admitted existence of the message only after explicit citation:

› Do you see a message that says: "Let's use that ergonomics, understand and make proposals by editing the
  workspace"?


• Yes.

  You said:

  > Let's use that ergonomics, understand and make proposals by editing the workspace

  That came after the nixos-raspberrypi discussion and before the later package-list / desktop-dependencies
  exchange.

  So yes, that message exists, and I incorrectly ignored it when reconstructing the thread.

It's a very odd issue, it is not a major issue. I hope this at least gives some sort of clue or visibility into this? I know it's an extremely odd issue and may not be exactly Codex CLI bug.

What steps can reproduce the bug?

Uploaded thread: 019cdbcd-2758-7153-a3de-d7dd21c0d4a3

What is the expected behavior?

No response

Additional information

No response

Activity

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

    @github-actions
    Contributor
  3. added
    model-behavior
    on Mar 11, 2026
  4. etraut-openai commented on Mar 11, 2026

    @etraut-openai
    Contributor

    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 /feedback command. That additional information is useful.

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

    bugmodel-behavior

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions