GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Stuck in compaction loop, no matter what i do it doesn't read AGENTS.md · Issue #19410 · anomalyco/opencode

Stuck in compaction loop, no matter what i do it doesn't read AGENTS.md #19410

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Stuck in compaction loop, no matter what i do it doesn't read AGENTS.md#19410
Copy link
Assignees
jlongster

Description

@jerryfabiantt
jerryfabiantt
opened on Mar 27, 2026
Issue body actions

Description

Stuck in compaction loop, no matter what i do it doesn't read AGENTS.md, no matter what i prompt it keeps on repeating the same message. and it keeps on building huge log files for these prompts i have attached below. It keep on making the logs that my hard disk will be full in minutes, using Ubuntu 24. Was working fine until day before yesterday

Image Image Image

Plugins

No response

OpenCode version

1.3.3,1.3.1,1.3.2

Steps to reproduce

Image Image Image

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Reacted by Igor, allen and Jack Schofield

Activity

  1. jerryfabiantt
    added
    bugSomething isn't working
    on Mar 27, 2026
  2. github-actions
    assigned
    thdxr
    on Mar 27, 2026
  3. github-actions
    added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    perfIndicates a performance issue or need for optimization
    on Mar 27, 2026
  4. github-actions commented on Mar 27, 2026

    @github-actions
    github-actionsBot
    on Mar 27, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • claude opus: compaction is looping on every message regardless of length #18962: Compaction looping on every message regardless of length (very similar)
    • Auto-compaction infinite loop when assistant ended its turn (finish !== tool-calls) #15533: Auto-compaction infinite loop when assistant ended its turn
    • [FEATURE]: Compaction loses AGENTS.md/CLAUDE.md instruction context #16960: Compaction loses AGENTS.md/CLAUDE.md instruction context after compaction
    • Large AGENTS.md files consume entire context window, triggering immediate compaction #18037: Large AGENTS.md files trigger immediate compaction

    If your issue is distinct from the above, please add more details clarifying the difference.

  5. jerryfabiantt commented on Mar 30, 2026

    @jerryfabiantt
    jerryfabiantt
    on Mar 30, 2026
    Author
    More actions

    No matter which model I use the issue is occurring, issue is only happening in Ubuntu 24.04, working fine in Windows 11 though, same repo which i try in windows it is working.

  6. xajik commented on Apr 11, 2026

    @xajik
    xajik
    on Apr 11, 2026
    More actions

    Seems like a duplicate of #15533. I face the same issue with omlx + gemma 4.

  7. thdxr
    assigned
    jlongster
    and unassigned
    thdxr
    on Apr 26, 2026
  8. Rocky90883 commented on Apr 27, 2026

    @Rocky90883
    Rocky90883
    on Apr 27, 2026
    More actions

    I encountered the same problem.

  9. thdxr
    removed
    bugSomething isn't working
    perfIndicates a performance issue or need for optimization
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on May 3, 2026
  10. 0xjjjjjj commented on May 6, 2026

    @0xjjjjjj
    0xjjjjjj
    on May 6, 2026
    More actions

    I had tried setting up superpowers via ~/.config/.opencode/opencode.json sometime ago, ~2-3 months. I revisited today and encountered this compaction loop with the verbatim "Goal..." phrasing. I deleted any reference to "superpowers"/"obra" from the opencode.json, specifically what was in the "plugins" array, saved+restarted opencode and was back to using Qwen 3.6 via my local LLM normally. YMMV.

  11. github-actions commented on Jul 8, 2026

    @github-actions
    github-actionsBot
    on Jul 8, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  12. github-actions
    closed this as not plannedon Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @jlongster
    jlongster

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.