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

Writes re-check that the path still lands in an allowed directory

Writes re-check the path still lands in an allowed directory right before applying.

You'll notice New Features
JSON All of v2.1.251
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
File ToolsArea: what it touches
New FeaturesKind: in v2.1.251,
New FeaturesSection of the release
What

Just before applying a write, the tool re-resolves the file path and confirms it still falls inside the directories edits are permitted to touch, refusing the write with an explicit message if it does not.

Details
  • Runs unconditionally on the write path, as part of the permission check used in accept-edits mode.
  • Refusal message: the path resolved outside the directories edits may land in, and the edit is not applied.
Evidence

when this edit was checked the path resolved outside the directories edits may land in; not applying it

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

Feedback