Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.265 ·

New approval-record checks for pinned/edit database writes

Certain database writes now require a matching prior approval, tracked per session, before they're allowed

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaArtifactswhat it touches
KindImprovementsin v2.1.265,
You'll notice

Certain database writes now require a matching prior approval, tracked per session, before they're allowed

What

Some database writes that first read back the stored document — such as string-replace style edits, or writes pinned to a specific version using if_version — now must match a prior approval recorded earlier in the same session. This is tracked in a new map called dbWriteOpSights. If no matching approval record exists, or the recorded operation or version doesn't match what's being written, the write is refused with a new error.

Why

This closes a gap where a write could otherwise happen without the approval that was supposed to govern it, ensuring a write only proceeds when it matches what was actually approved.

See this entry in the whole of v2.1.265 →

Feedback