Claude Code's idle compaction resumes from a summary; it can be disabled with idleCompaction and the threshold customized
Claude Code's idle compaction makes Claude continue from a summary rather than the full context. The author notes it can be turned off by setting "idleCompaction": false in settings, and the threshold can be customized via CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS, which defaults to 200k.
The original post gives the specific parameter for disabling Claude Code's idle compaction and how to set the threshold, which readers can apply directly to their own settings configuration.
It does mean that Claude continues from a summary instead of your full context though. You can turn it off with "idleCompaction": false in settings.json, and you can set a custom threshold (default is 200k) with CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS
Source: Lydia Hallie ✨ · x.com