Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Conversation summaries keep their analysis section when the summary comes first

When compaction output has its summary section before the analysis section, Claude Code now leaves the text as it is

You'll notice Bug Fixes
JSON All of v2.1.331
You'll noticeTier: 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.331,
Bug FixesSection of the release
What

Compaction is how Claude Code shortens a long conversation by replacing earlier parts with a summary. The summary text can contain an analysis section that Claude Code removes before using it. Now, if a <summary> section appears before the analysis section starts, Claude Code leaves the text unchanged. Before, it always cut the analysis section out. The earlier version also referred to a value that did not exist.

Why

This fixes how analysis is removed from compaction summaries, so the summary is not cut in the wrong place.

See this entry in the whole of v2.1.331 →

Feedback