[BUG] Migration from Claude code 4.5 to 4.6 re-establishes the issue where the /compact command does not function, and requires the /clear command in order to continue, which creates disruption in workflow
Resolved 💬 3 comments Opened Feb 6, 2026 by montyleblanc Closed Feb 10, 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 4.6 reaches limits very quickly, and then does not self-compact. issuing the /compact command results in an error, which requires the /clear command, which imparts delays in workflows
What Should Happen?
Claude should continue to self-compact successfully, as in version 4.5
Error Messages/Logs
Steps to Reproduce
Run development across a complex multi-file project. Once 4.6 reaches saturation, the issue occurs
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
4.5
Claude Code Version
2.1.20 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PyCharm terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗