Wait what, didn't know claude code can do that:
Compacted while idle, before the prompt cache expired · turn off with "idleCompaction": false in settings.json
commit 3f6efbf
that kinda made my session dumber... had to re-explain a bunch of things to it. Have you noticed a change in its responses before / after compaction?