LaunchDevelopersJune 20, 2026
Claude Code 2.1.185 adds safety blocks for destructive git commands
The update blocks destructive git commands (reset --hard, checkout --, clean -fd, stash drop) in auto mode unless the user explicitly asked to discard work. Stream-stall hint now triggers after 20s instead of 10s, and terraform/pulumi/cdk destroy are blocked unless targeting the specific stack.