Skip to content

[Question]: Inquiry about infinite loop phenomenon #2995

@chrythjin

Description

@chrythjin

Prerequisites

  • I will write this issue in English (see our Language Policy)
  • I have searched existing issues and discussions
  • I have read the documentation or asked an AI coding agent with this project's GitHub URL loaded and couldn't find the answer
  • This is a question (not a bug report or feature request)

Question

Since this is the first time I've experienced this, I thought it was normal, but I don't think so, so I am asking this question.

Using the GitHub Copilot Pro plan, most components except CISSP are automatically configured to the Copilot Opus 4.6 model.

The same phenomenon occurs regardless of the command issued.

  • Phenomenon -
  1. A specific command is issued.
  • A simple command to pull from Git
  1. Action is initiated after understanding the user's intent.

  2. Task proceeds.

  3. During the process: 1) Context becomes full, 2) Compaction begins, 3) After compaction, the task restarts from the beginning (starting from the goal).

  4. Steps 4 1) through 3) repeat indefinitely (until the usage limit is reached).

  5. The process does not stop even when a stop command is entered (/cancel-ralph, /stop-continuation).

  6. Even if the process is interrupted by pressing Esc twice, step 5 repeats again upon entering any command.

  • There are no problems at all when using a different model (the free Open Code Zen model).

I wonder if this phenomenon is natural.

Add content

Upon reproducing the issue, it appears that the Claude model displays the summarized content in the context immediately after compression, without allowing any time for the work to proceed. As soon as the summarized content is visible, the context fills up, performing compression again, displaying the next summary, and compressing; this process repeats in an infinite loop.

OpenCode repeats this process indefinitely until the GitHub Copilot Premium request usage is exhausted.

Context

  1. State after installation with no further action taken
  2. State after logging into Copilot with no further action taken
  3. Copilot login, OpenCodeGo API registration

Doctor Output (Optional)

Question Category

Configuration

Additional Information

Copilot Usage Premium requests were exhausted within 1 hour of subscription, making reproduction impossible.

OhMyOpenCode unknown
Sisyphus on steroids is steering OpenCode.

This is displayed in the top right corner immediately after entering the command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions