Follow Discord
Sweep 09 Oct 2026 · 17:27Z Build v2.1.296 517 read Stable v2.1.287 Latest v2.1.296 Next v2.1.296 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.296 ·

Transcript compaction can skip rewrites that would free little space

Claude Code can now skip compacting a session transcript when little space would be reclaimed, through a store flag that starts out on

Group of 2 Nothing to try yet Internal Changes
JSON All of v2.1.296
Nothing to try yetTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SessionsArea: what it touches
Internal ChangesKind: in v2.1.296,
Internal ChangesSection of the release

What

Claude Code saves each session's conversation as a transcript file on disk, and it periodically compacts that file, which means rewriting it to remove material it no longer needs. Compaction now works out up front how many bytes it would reclaim.

  • lowYieldCompactSkipEnabled: a new field on the session store, which is initialised to true. When it is set and the expected saving is low, Claude Code skips the rewrite instead of doing it.
  • recordCompactYield: the step that raises the size threshold for the next compaction now lives in this shared helper. It doubles the threshold after a compaction that freed little. Before, the threshold was only raised after a compaction had actually run.

Why

Large session files are no longer rewritten when the rewrite would barely shrink them. In practice this can change when compaction runs on long sessions.

See this entry in the whole of v2.1.296 →

Feedback