[BUG] Forcing a user to compact even when there’s ample context to use it.

Resolved 💬 4 comments Opened Mar 21, 2026 by Cerebrovinny Closed Apr 20, 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?

The user is repeatedly forced to compact even though there is ample context window available.
<img width="596" height="295" alt="Image" src="https://github.com/user-attachments/assets/d51aaaf3-2348-4479-adbd-a1cccc185f1e" />

What Should Happen?

Use the context window of 1M

Error Messages/Logs

Context limit reached · /compact or /clear to continue

Steps to Reproduce

Just use the latest version

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

v2.1.81

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗