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.