Loading the catalog…
Claude Code handles this as a draft: A long terminal session can be compacted while you are away. Version 2.1.302 adds an Idle compaction row in /config so you can turn that off, and the notice after a compaction says how. You decide whether the raw chat still has to be there.
The 16 Oct 2026 release adds an Idle compaction row to /config for turning idle compaction off or back on. The notices shown after an idle compaction say how to turn it off.
The 14 Oct 2026 release (2.1.299) says a terminal conversation above 200K tokens left idle for about 54 minutes is compacted before the one-hour prompt cache expires. If you still need that raw chat, turn idle compaction off. If a summary is enough, leave it on.
You change the setting. The agent does not edit settings.json and does not compact the session as part of this playbook.
These are editorial labels so you can compare playbooks. They are not measurements.
No. Status is unverified. The v2.1.302 and v2.1.299 release pages were checked on 18 Oct 2026. The prompt is an adaptation.
The decision to turn idle compaction off. The release adds the control. It does not say a person must keep every session verbatim.
GitHub release v2.1.302, published 16 Oct 2026 by ashwin-ant. The page returned HTTP 200 on 18 Oct 2026. It adds an Idle compaction row to /config and says the notices after an idle compaction explain how to turn it off. The 200K-token and about-54-minute description is from release v2.1.299, published 14 Oct 2026, which also names CLAUDE_CODE_IDLE_COMPACT_MIN_TOKENS and "idleCompaction": false (both need v2.1.290 or later): https://github.com/anthropics/claude-code/releases/tag/v2.1.299. That page returned HTTP 200 on 18 Oct 2026. Prompt and stop rules are an AI Playbook Gems adaptation, not a vendor quote; unverified.
Machine-readable copy: JSON