[Bug] Auto-compact buffer exceeds context window, causing infinite compaction loop on macOS

Resolved 💬 3 comments Opened Mar 17, 2026 by azizabbas Closed Mar 17, 2026

Bug Description
Subject: URGENT: Claude Code regression bug #34363 — Max plan unusable on macOS, 3 days no response

Hi Anthropic Support,

I am a Max plan subscriber ($100/mo) and Claude Code has been completely unusable on my macOS machine since upgrading to v2.1.76 (now also broken on v2.1.77).

The issue: The autocompact buffer (232.9k) exceeds the 200k context window, causing an instant infinite compaction loop on every new session. No work can be done.

GitHub issue: https://github.com/anthropics/claude-code/issues/34363

Key findings:

  • Same account works perfectly on Windows, broken only on macOS
  • Clean install (deleted ~/.claude entirely) does not fix it
  • CLAUDE_CODE_DISABLE_1M_CONTEXT=1 does not fix it
  • The issue is labeled as bug, has repro, and regression by your team but no engineer has responded in 3 days
  • Only workaround is downgrading to v2.1.74

I have client work to deliver and I am paying for a service I cannot use. I need either:

  1. An actual fix or workaround
  2. An ETA on when this will be resolved

If I do not hear back, I will be forced to cancel my subscription.

Account email: aziz.abbas@gmail.com
Plan: Claude Max ($100/mo)
Claude Code version: 2.1.77
Platform: macOS (Darwin 25.2.0, arm64)

Thank you,
Aziz Abbas

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.77
  • Feedback ID: 1a176e1b-f100-4394-9eb4-3f6b30be6bc1

Errors

[]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗