Skip to content

Model went on an infinite loop when running /goal #22158

Closed as not planned
Closed as not planned

Description

@Microck

What version of Codex CLI is running?

codex-cli 0.130.0

What subscription do you have?

Plus/Business

Which model were you using?

gpt-5.5

What platform is your computer?

Linux 6.8.0-1050-oracle aarch64 aarch64

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

tmux

What issue are you seeing?

Codex CLI /goal got stuck in a repeated “blocked” state: it kept saying live verification was required but unavailable/unwaived, while also refusing to call update_goal or take a next action. I had to interrupt the loop manually.

What steps can reproduce the bug?

thread ID 019e1692-3e53-7243-9831-1f5847a4cc23

What is the expected behavior?

No response

Additional information

Image

Activity

  1. added
    bug
    on May 11, 2026
  2. added
    CLI
    model-behavior
    on May 11, 2026
  3. etraut-openai commented on May 11, 2026

    @etraut-openai
    Contributor

    Yes, this is the intended behavior when /goal is enabled. The /goal feature pushes the model to keep trying until the goal is achieved.

  4. Tuo-Luo commented on May 16, 2026

    @Tuo-Luo

    I documented a related workaround here: #23067.

    The approach is to make repeated blocking conditions part of the goal completion criteria up front, so /goal can terminate the continuation loop when it keeps hitting the same blocker, without treating the blocked action itself as completed.

  5. bobozai2019 commented on Jul 22, 2026

    @bobozai2019

    I meet the same problem , does it has been fixed?

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

    CLIbugmodel-behavior

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions