← sources

Has anyone noticed sessions auto-compacting themselves if you leave them alone?

source: reddit (reddit:ClaudeCode)published 2026-10-12 15:31ingested 2026-10-13 02:41

retained text

Recently started noticing code sessions compacting themselves even though they are nowhere near the auto-compact setting or close to maxing out the context window. Like I will have a session at 35% context, walk away for a couple hours (the session was already complete anyway), then come back and see it compacted to 10% or less.

I’m assuming it’s a way to reduce usage if resuming the session after the cache expires? For example, if Claude code compacts itself before the cache expires, then resuming it would be “cheaper” in a sense since it’s smaller. Just spitballing here.

document fetched 2026-10-13 00:41 · canonical https://reddit.com/r/ClaudeCode/comments/1x44yiu/has_anyone_noticed_sessions_autocompacting