{"version":"2.1.321","anchor":"compaction-metadata-check-and-summarizekeptrounds-option","canonical_anchor":"compaction-metadata-check-and-summarizekeptrounds-option","heading":"Conversation-size counting after a compaction now needs a recorded size","tier":"internal","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321\/e\/compaction-metadata-check-and-summarizekeptrounds-option","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.321","markdown":"### Conversation-size counting after a compaction now needs a recorded size\n\nAfter a compaction, Claude Code reports no token count unless the compaction recorded the new size, and compaction requests pass a new option\n\n**What**\n\nCompaction is when Claude Code summarizes earlier parts of a conversation to free up room. Tokens are the small chunks of text the model counts to measure length.\n\n- When Claude Code looks back for the latest token count and reaches a compaction, it now stops there. If that compaction did not record the size of the conversation after it, Claude Code reports no count. Before, it returned a count at any compaction.\n\n- A compaction request now passes along a `summarizeKeptRounds` option.\n\n**Why**\n\nThis affects how Claude Code works out how full the conversation is right after a compaction.\n\n- Area: Compaction\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}