Claude Code 2.1.326 adds an 'execute with care' system prompt section governing destructive agent actions

ClaudeCodeLog · x · 2026-11-18

Claude Code CLI 2.1.326 (367 CLI changes) includes a notable system prompt update: a new "Executing actions with care" section. It instructs the agent to weigh reversibility and blast radius, defaulting to user confirmation before destructive or shared-impact actions (deletes, force-push, git reset --hard, CI/CD changes, sending messages, infra/permission edits). It adds git safety rules (run git status before discard-prone ops, avoid destructive shortcuts like --no-verify, prefer resolving conflicts over discarding, inspect staged files for secrets) and a scope principle: one-time approval never extends beyond the requested scope unless durably authorized in CLAUDE.md. A useful reference template for anyone designing agent safety guardrails.

Related event: Claude Code 2.1.326 System Prompt Adds Cautious Execution Rule for Destructive Actions(2 posts)→

Original post →

More from coding & agent

coding & agent channel →