{"version":"2.1.311","anchor":"compact-after-long-context-refusal-and-request-size-telemetr","canonical_anchor":"compact-after-long-context-refusal-and-request-size-telemetr","heading":"Groundwork for compacting after an oversized request is refused","tier":"internal","area":"Compaction","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311\/e\/compact-after-long-context-refusal-and-request-size-telemetr","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311","markdown":"### Groundwork for compacting after an oversized request is refused\n\nClaude Code has new checks for whether to compact the conversation after a long request is refused, plus logging of request sizes\n\n**Unclear.** It is not clear whether anything uses these checks yet or whether they are switched on.\n\n**What**\n\nClaude Code has new checks that decide whether to compact the conversation after the model refuses a request for being too long. Compacting means summarising older conversation to free up space. The checks apply when the conversation is at or below the size where long-context pricing begins.\n\nThere is also new logging for requests that are too long. It records their size and how the actual size compares with Claude Code's estimate.\n\n**Why**\n\nThis points towards Claude Code recovering by itself when a request is refused as too long.\n\n- Area: Compaction\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}