Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.228 ·

Transcript cleanup prunes a new sidecar file and refuses risky directory names

Cleanup now deletes leftover per-directory sync files so they stop piling up next to transcripts.

You'll notice Improvements
JSON All of v2.1.228
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
ImprovementsKind: in v2.1.228,
ImprovementsSection of the release
What

Retention cleanup now recognises and deletes the per-directory sync-state file written next to a transcript as <name>.dir-sync.json, along with its temporary variants, so these no longer accumulate.

Details
  • The check made before recursively removing a session's companion directory was tightened. It previously only rejected empty, . and .. names.
  • It now also rejects names containing path separators, reserved or device-like names, names ending in a dot or space, and names ending in .jsonl.
Evidence

.dir-sync.json

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.228 →

Feedback