Yep, idle compaction kicks in after about 54 minutes for 200K+ token sessions using the 1h cache.
You can disable it with "idleCompaction": false or adjust the threshold with CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS.
I’d keep it on for multi-day sessions where I’m fine with a summary potentially losing details while I’m away.
I’d keep it off for short, focused sessions where I want to preserve context and get a warning before the cache expires so I can keep working while it’s warm.
Prompt Cache Control is useful in both. Cache monitoring and auto-compaction solve different problems.
commit 8878672