Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
CompactionArea: what it touches
Internal ChangesKind: in v2.1.300,
Internal ChangesSection of the release
What
Compaction is when Claude Code shrinks a long conversation into a summary so it fits. There is a setting mode that caps how long the model's reply can be just after compaction. The check for whether that cap applies used to look directly for a user message after the compaction. It now hands that check to a shared helper.
Why
This reorganises an existing check rather than adding anything new.