Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.335 ·

Session transcripts are no longer recreated after they are deleted

The transcript writer can now append only to a file that still exists, so late writes no longer bring back deleted or cleared session files

Group of 2 You'll notice Bug Fixes
JSON All of v2.1.335
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SessionsArea: what it touches
Bug FixesKind: in v2.1.335,
Bug FixesSection of the release

What

Claude Code saves each session's conversation to a transcript file. The transcript writer gains a way to add to that file only if it still exists:

  • A new ifExists path calls appendEntryIfExists. Before, appendEntry always created the file.
  • Lines written again at exit, and queued operations, no longer create a transcript file that is gone.
  • New hasQueuedWrites and drainLateRows methods handle writes that arrive late.

The same release also adds groundwork that is not visible yet: a helper that caches an observerReportFence setting from a flag (default false), a helper that strips a prefix from your message text, and new internal names for permission prompt titles, MCP consent keys and reporting a permission prompt as unwanted.

Why

After you delete a session or clear it, writes that arrive late should no longer bring back an empty or stale session file.

See this entry in the whole of v2.1.335 →

Feedback