[BUG] "Stop and wait for limit to reset" after /compact, despite being at 75% of usage limit
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?
Recently (for about a month, so maybe from 2.0.6? version), I'm getting often "Stop and wait for limit to reset" dialog after running /compact, despite still having usage left.
I confirm the usage is left after I dismiss that dialog, by choosing "Stop and wait for limit to reset".
<img width="1718" height="604" alt="Image" src="https://github.com/user-attachments/assets/edafefb6-ac3a-4030-8851-c1dfa0bf9f53" />
<img width="1718" height="604" alt="Image" src="https://github.com/user-attachments/assets/20d41afc-c08b-48c7-b03b-d550e2154e76" />
What Should Happen?
/compact should not trigger incorrectly the dialog about usage limit reached.
Error Messages/Logs
Steps to Reproduce
In Pro plan, with Haiku, work until there is Context low (1% remaining) · Run /compact to compact & continue, and run /compact.
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.3 (Claude Code)
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗