{"version":"2.1.314","anchor":"compaction-retry-helper-k9e-added","canonical_anchor":"compaction-retry-helper-k9e-added","heading":"Compaction now trims what it summarizes in stages","tier":"notice","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314\/e\/compaction-retry-helper-k9e-added","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314","markdown":"### Compaction now trims what it summarizes in stages\n\nWhen compacting, Claude Code now drops messages, then cuts the start, and removes media on its last try, stopping after a set number of passes\n\n**What**\n\nCompaction is how Claude Code frees up room in a long conversation by summarizing older parts of it. The step that prepares the content to be summarized has changed. It now trims that content in stages:\n\n- First it leaves out some messages.\n\n- Then it cuts text from the beginning.\n\n- On its final pass it removes images and other attached media.\n\nIt stops after a fixed number of passes.\n\n**Why**\n\nThis could let compaction recover when the content to summarize is too long to send, instead of failing outright.\n\n- Area: Compaction\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}