[BUG] Turning auto-compact OFF won't allow to continue until you fill the 200K tokens window anymore (it worked before).

Open 💬 15 comments Opened Jan 14, 2026 by alessandroavenali

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?

[BUG] Turning auto-compact OFF won't allow to continue until you fill the 200K tokens window anymore (it worked before).

What Should Happen?

You should continue conversation until you fill the 200K tokens window, not when you reach the recommended limit to run /compact! It used to work prior to 2.1.7 maybe even < 2.1.5

Error Messages/Logs

Steps to Reproduce

Just keep clauding until you reach the 0% remaining threshold and check the context.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.7

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

WSL (Windows Subsystem for Linux)

Additional Information

<img width="830" height="143" alt="Image" src="https://github.com/user-attachments/assets/f97400c3-f0b3-44a6-9d2a-94062c0455a3" />

View original on GitHub ↗

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