Skip to content

After compacting context, model replies to old messages #34862

Open

Description

@uKER

What version of Codex CLI is running?

codex-cli 0.145.0

What subscription do you have?

Pro

Which model were you using?

Terra medium

What platform is your computer?

Windows

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

cmd

Codex doctor report

What issue are you seeing?

After compacting context, model replies to old messages, probably from re-reading the compacted content.

What steps can reproduce the bug?

Uploaded thread: 019f8a9d-e765-7063-8271-17ea812542d5

What is the expected behavior?

No response

Additional information

No response

Activity

  1. added
    bugSomething isn't working
    on Jul 23, 2026
  2. added
    CLIIssues related to the Codex CLI
    contextIssues related to context management (including compaction)
    model-behaviorIssues related to behaviors exhibited by the model
    windows-osIssues related to Codex on Windows systems
    on Jul 23, 2026
  3. github-actions commented on Jul 23, 2026

    @github-actions
    Contributor
  4. coloboxp commented on Jul 28, 2026

    @coloboxp

    Just reported it, didn't know it was here already, adding my feedback id: 019fa9d1-de98-79c1-a714-0edf1d23b0f3

    This in MacOS, please update the labels to include it.

  5. uKER commented on Jul 28, 2026

    @uKER
    Author

    Just reported it, didn't know it was here already, adding my feedback id: 019fa9d1-de98-79c1-a714-0edf1d23b0f3

    This in MacOS, please update the labels to include it.
    I don't think I'm allowed to edit the tags.

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

    CLIIssues related to the Codex CLIbugSomething isn't workingcontextIssues related to context management (including compaction)model-behaviorIssues related to behaviors exhibited by the modelwindows-osIssues related to Codex on Windows systems

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions