Auto-compact circuit breaker prevents compaction on Haiku (v2.1.65+)

Resolved 💬 1 comment Opened Jun 5, 2026 by WhoReallyKnowsAnything Closed Jul 12, 2026

Issue

Auto-compact not triggering on Haiku, allowing context to reach 90%+ without attempting compaction.

Environment

  • Model: Haiku 4.5
  • Version: v2.1.65
  • OS: macOS

Behavior

  • Earlier session today: auto-compact worked correctly
  • New session opened 40m ago: auto-compact never triggered
  • Context reached 90%+ threshold (autoCompactThreshold set to 0.8)
  • Never attempted any compaction in this session
  • Manual /compact works as expected

Root Cause

Likely circuit breaker issue (v2.1.116+) stopping after 3 failed auto-compact attempts. gsd-context-monitor.js warns about regression since v2.1.62.

Workaround

Manual /compact command restores compaction ability.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗