Claude Code v2.1.219 ·
Compaction hook plumbing reworked
Automatic compaction passes more context when rebuilding attachments and handles failures on a dedicated path.
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
CompactionArea: what it touches
Internal ChangesKind: in v2.1.219,
Internal ChangesSection of the release
What
The reactive-compaction path passes more context into attachment building and handles failures through a dedicated path.
Details
- The attachment builder is now called with the message list and an agent-context descriptor in addition to its previous arguments.
- Errors go through a dedicated handler rather than a generic catch that logged and returned empty attachments.
Evidence
reactive_compact
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.219 →