LaunchDevelopersJune 19, 2026

Claude Code v2.1.183 improves auto mode safety

Blocks destructive git commands (git reset --hard, git checkout -- ., git clean -fd, git stash drop) when user didn't ask to discard local work. Also blocks git commit --amend when commit wasn't made by the agent this session.

1 source