You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
CompactionArea: what it touches
ImprovementsKind: in v2.1.328,
ImprovementsSection of the release
What
Compaction is how Claude Code shrinks a long conversation, replacing earlier parts with a shorter version so there is room to keep going. Before replacing anything, it checks that the shorter version covers what it is meant to cover.
That check used to refuse only when memory content had been withdrawn. It now also refuses when tool results (the output of the actions Claude ran, such as commands or file reads) have been withdrawn. The check of whether everything fits now measures the messages received instead of the messages sent.
Why
Compaction gives up in more cases instead of going ahead with a conversation that is missing tool results.