
Claude Code compacted my session on its own after an hour idle: how to turn off idle compaction
After an hour idle, a Claude Code session swaps the conversation for a summary. See when it happens and how to turn it off, with the exact key and variable.










