Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.277 ·

Hardened file-identity check for storage reads, using /proc/self/fd where available

File-identity checks for storage reads now use /proc/self/fd on supporting systems, falling back to stat comparison

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaInternalswhat it touches
KindBug Fixesin v2.1.277,
You'll notice

File-identity checks for storage reads now use /proc/self/fd on supporting systems, falling back to stat comparison

What

After opening a file for a storage read, Claude Code now verifies the file's identity by checking, where available, that /proc/self/fd/<fd> still points at the expected path and isn't marked '(deleted)'. On systems where /proc isn't readable, it falls back to comparing stat information (link count, inode, and device) instead, and logs a one-time notice when it has to use that fallback.

Why

This strengthens protection against a file being swapped out from under Claude Code between opening it and reading it, while still working on systems that lack a readable /proc.

See this entry in the whole of v2.1.277 →