Skip to content

[BUG] Context limit reached · /compact or /clear to continue #19018

@xlsi

Description

@xlsi

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Auto-compact is off, but claude stops when there are still 30% context left.

Image

What Should Happen?

It should allow me to keep working with the warning showing but non-blocking

Error Messages/Logs

Steps to Reproduce

  1. turn off auto-compact,
  2. use 2.1.7 and above version.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.6 (Claude Code)

Claude Code Version

2.1.12 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:corebugSomething isn't workinghas reproHas detailed reproduction stepsmemoryplatform:macosIssue specifically occurs on macOS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions