Claude Code 2.1.330 adds a "measure twice, cut once" rule to its system prompt
ClaudeCodeLog · x · 2026-11-21
The single system prompt change in Claude Code 2.1.330 adds an "Executing actions with care" section: Claude must now weigh reversibility and blast radius, and ask for confirmation before destructive, hard-to-reverse, shared-state, or public actions.
- Destructive ops: deleting files/branches, truncating tables, killing processes, rm -rf, overwriting uncommitted changes
- Hard-to-reverse ops: force-push, git reset --hard, amending published commits, downgrading dependencies, modifying CI/CD
- Visible/shared-state ops: pushing, PR/issue actions, Slack/email/GitHub messages, infrastructure or permission changes
- Third-party uploads: consider caching/indexing risk before sending
The rules also prohibit using destructive actions as shortcuts, prefer reversible steps (mv, stash), require git status/stash checks, and warn to inspect suspicious files for secrets before pushing. Pre-authorization covers only the specified scope, not all contexts.
Related event: Claude Code system prompt adds 'measure twice, cut once' safety rule(2 posts)→
More from coding & agent
- App plus new database cluster deployed in 12 seconds with Cloud Run --no-build and AlloyDB Express — rseroter · 2026-11-21
- Claude Code 2.1.330 ships with 142 CLI changes and confirm-before-risky-actions policy — ClaudeCodeLog · 2026-11-21
- Claude builds Miami-style town with 2,538 Blender assets, rendered in Unreal in 74 minutes — piotrbinkowski · 2026-11-21
- Antigravity harness restrictions spark ban-risk concerns for Gemini subscribers — jeremyphoward · 2026-11-21
- Alchemy adds Decision primitive: atomic commands across aggregates, formally verified — samgoodwin89 · 2026-11-21
- Hamel Husain and sh_reya launch O'Reilly book 'Evals for AI Engineers' — sh_reya · 2026-11-21