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

Claude Code v2.1.90 ·

PostToolUse Hook File State Sync

Entry
JSON All of v2.1.90
EntryKind: in v2.1.90,
ChangesSection of the release

When a PostToolUse hook modifies a file that Claude just edited (e.g., a formatter running after a write), Claude Code now automatically detects the change and re-syncs its internal read-file state. This prevents stale-file errors on the next Edit tool call for that file.

Evidence

Hook file sync handler (search for "PostToolUse hook modified" and "re-synced readFileState")

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

Feedback