You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SessionsArea: what it touches
ImprovementsKind: in v2.1.248,
ImprovementsSection of the release
What
Before reading the start and end of a transcript file, Claude Code now checks that the path is a regular file and returns empty content otherwise. This closes a case where a resume candidate that was a directory, device or named pipe could hang or return garbage.
Details
The check runs on both the path and the opened handle, and only on read-only opens.
Resolving resume paths now goes through a shared helper that falls back to the original path when the real path cannot be determined.
Evidence
{ head: "", tail: "" }
Strings lifted out of the shipped bundle, so the claim above can be checked against them.