Skip to content

🚨 BUG: Persistent Unnecessarily Auto-Compact Triggered in an INFINITE LOOP - MAKING CLAUDE CODE USELESS! #2283

@LarsArtmann

Description

@LarsArtmann

Bug Description
"Context left until auto-compact: 169%" CLAUDE IS COMPACTING AGAIN and AGAIN and AGAIN GETTING DONE ABSOLUTELY NOTHING!!!!!!!!!!!!!
😠! It makes ZERO sense! This project had a empty CLAUDE.md, and I deleted it. BOTH no difference! RESTARTING DOESN'T WORK EITHER!!!
EVEN A fucking /init triggers auto-compact right away!!!

Environment Info

  • Platform: darwin
  • Terminal: intellij
  • Version: 1.0.29
  • Feedback ID: 7b078624-922c-4a2e-817b-a133a96795dc

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at EZ (file:///Users/larsartmann/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:659:3921)\n    at file:///Users/larsartmann/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:582:9014\n    at Q (file:///Users/larsartmann/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:526:17199)\n    at QX (file:///Users/larsartmann/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:582:8160)\n    at qS (file:///Users/larsartmann/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:582:7241)\n    at L9 (file:///Users/larsartmann/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:582:11408)","timestamp":"2025-06-19T03:30:30.454Z"},{"error":"Error: Request was aborted.\n    at so._createMessage (file:///Users/larsartmann/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:1306:6810)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-19T03:37:26.804Z"},{"error":"Error: Request was aborted.\n    at Ow.makeRequest (file:///Users/larsartmann/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:1315:3597)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-06-19T03:37:26.836Z"}]

Note: I did not edit my feedback from what /bug created.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:coreautocloseIssue will be closed automaticallybugSomething isn't workinghas reproHas detailed reproduction stepsperf:memoryplatform:macosIssue specifically occurs on macOS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions