Skip to content

Codex stuck in Loops #11897

Closed
Closed

Description

@thom-heinrich

I am an ultra heavy codex user, keeping track on basically every metric you can ablate from the tool.

Currently gpt 5.2 xhigh tends to a) forget where it was b) treat it own responses as user input and c) "solves" the same problems over and over again - this happens also with plan mode.

This leads at the moment to a drastically worse performance and the resolution rate is from ~40% in my repo down to around ~10% or lower. It struggles with basic tasks like browser automation, prompt compiling etc...

I am using Codex CLI as Pro User /w GPT 5.2 xhigh and the latest release.

Activity

  1. wbdb commented on Feb 16, 2026

    @wbdb

    GPT-5.3 Codex is better at this. Generally, use /new after each task (especially very different tasks) to ensure clean context management. GPT-5.3 is coming soon, and it will certainly include improvements to avoid unnecessary repetition.

    It makes no sense to use xhigh in the standard. Especially not in long chat sequences. The OpenAI models have been very good at understanding context since 5.2, but they are not perfect yet.

  2. added
    bug
    model-behavior
    on Feb 16, 2026
  3. etraut-openai commented on Feb 16, 2026

    @etraut-openai
    Contributor

    Thanks for the bug report. We love to hear from codex power users.

    What you're describing here is model behavior, not something that's under the control of the harness. As you noted, gpt-5.3-codex is better at this than gpt-5.2, and we continue to make improvements to newer-generation models.

    If you see behaviors like this, it's helpful if you use the /feedback command to upload the session details. This helps the team responsible for training our models understand where improvements are needed. You can skip opening github bug reports for those issues.

  4. nullbio commented on Feb 28, 2026

    @nullbio

    Came here to see if this was being spoken about.

    I send my agent on some long-running task and tell it to do a sequence of steps (let's call them steps 1, 2 and 3). It completes most of those steps (1 and 2) and begins the longer-step (3).

    It gets half way through 3 and compacts.

    The agent then re-does step 1 after compacting when step 1 was already completed before, and it doesn't continue where it left-off with the half finished step 3.

  5. Sogl commented on Mar 1, 2026

    @Sogl

    At any size, reasoning constantly goes into an endless loop of analysis instead of writing code according to plan... model 5.3, sent feedback with ID 019caa2c-4ae3-7090-97e5-2d3fe438d8b6.

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