Skip to content

claude code Auto compact not triggered even after reaching autocompact buffer threshold #363

@wo0d

Description

@wo0d

Describe the bug
While using Claude Code, I noticed that once the context size reaches the autocompact_buffer threshold, auto-compact does not trigger as expected.
• Running /context shows the correct remaining context size.
• The remaining context clearly indicates that the buffer threshold has been hit.
• However, no compacting action is performed automatically.
• Manual /compact still works normally.

CLI Type
gemini-cli, iflow cli

Model Name
glm-4.6, minimax, kimi-k2-thinking, gemini-3-pro-preview

LLM Client
claude code

Expected behavior
When the remaining context reaches the configured autocompact buffer level, Claude Code should automatically trigger compacting.

Screenshots
If applicable, add screenshots to help explain your problem.

OS Type

  • macOS
  • 15.7.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions