[Bug] Context Management Inconsistent Between CLI and UI Indicators
Bug Description Context control has never worked for me. Maybe theres something wrong with my account, but it just doesnt work. When I run the /context command, it says my free space is 46k (23%). Okay. But in the UI, it shows: “Context low (8% remaining) · Run /compact to compact & continue.” A little while ago, it even showed “0% remaining.” Whats happening? Is this a bug?
Environment Info
- Platform: linux
- Terminal: wsl-Ubuntu
- Version: 2.0.14
- Feedback ID: a9bb6265-7042-4015-84a0-1be429562f30
<img width="1247" height="489" alt="Image" src="https://github.com/user-attachments/assets/a36f2131-c4a8-427a-9705-d83e5960caa8" />
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/8792
- https://github.com/anthropics/claude-code/issues/6537
- https://github.com/anthropics/claude-code/issues/6288
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
This issue has been automatically closed as a duplicate of #8792.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.