LaunchDevelopersJune 19, 2026
Claude Code v2.1.183 improves auto mode safety
Claude Code v2.1.183 blocks destructive git commands (git reset --hard, git checkout -- ., git clean -fd, git stash drop) in auto mode when the user didn't ask to discard local work. git commit --amend is also blocked if the commit wasn't made by the agent this session.