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.181 ·

File Write Verification Against Silent Truncation

Entry
JSON All of v2.1.181
EntryKind: in v2.1.181,
ImprovementsSection of the release

After writing a file, Claude Code now stat()s the result and compares the on-disk size against the expected byte count. If they differ, it throws immediately rather than silently leaving a truncated file.

This catches a class of failure that commonly occurs on network drives, NFS mounts, and cloud-sync folders (Dropbox, OneDrive, etc.) where the OS kernel reports write success even though the backing store silently truncated the data.

Error text: "Write verification failed: <path> is <N> bytes on disk, expected <M>. The filesystem may have silently truncated the write (network drive / cloud sync)."

Evidence

Post-write check (search for "writeTextContent: on-disk size mismatch after write") — YSe() at line ~55365

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.181 →

Feedback