{"version":"2.1.334","anchor":"compaction-message-assembly-keeps-summary-and-boundary-ahead","canonical_anchor":"compaction-message-assembly-keeps-summary-and-boundary-ahead","heading":"After compaction, the summary comes before the messages Claude Code keeps","tier":"internal","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/compaction-message-assembly-keeps-summary-and-boundary-ahead","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### After compaction, the summary comes before the messages Claude Code keeps\n\nCompaction now puts the summary and its boundary marker first, then the kept messages after an extra processing step\n\n**What**\n\nCompaction is when Claude Code summarises the earlier part of a conversation so it fits in what the model can read. When it builds the shortened conversation, it now places the summary and the marker for where compaction happened first, followed by the messages it keeps. The kept messages now pass through an extra processing step before they are added.\n\n**Why**\n\nThe shape of the conversation after compaction may differ slightly from before.\n\n- Area: Compaction\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}