[BUG] Claude Code on Windows 10 via WSL --> Automatic compacting not functioning correctly. Manual compacting fails as well - user needs to manually restart Claude Code and then resume work.
Resolved 💬 3 comments Opened Jan 4, 2026 by ghost Closed Jan 8, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Claude Code not automatically compacting conversations.
What Should Happen?
Claude Code should automatically and continuously compact conversations.
Error Messages/Logs
See attached file.
Steps to Reproduce
See attached file.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
I don't recall.
Claude Code Version
Claude Code v2.0.76
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗