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
Bug FixesKind: in v2.1.269,
Bug FixesSection of the release
What
When Claude Code adds a user message or a compact_boundary marker (used when a conversation is compacted, or shortened, to save space) to the ongoing conversation, that step is now wrapped so a cleanup function always runs afterward, even if something goes wrong partway through.
Why
This guards against internal state being left inconsistent if an error occurs while recording one of these messages.