Claude Code adds idle compaction before prompt-cache expiry

Claude Code now summarizes long idle sessions shortly before the prompt cache expires (about one hour), reducing context reprocessing when work resumes. It continues from a summary rather than the full conversation. Lydia’s follow-up says idle compaction can be disabled with "idleCompaction": false in settings.json; CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS adjusts the default 200,000-token minimum. No fixed usage saving is promised.

Read the original

Checked · October 15, 2026

Advertisements