Blocks destructive git and infrastructure commands unless explicitly
Anthropic's Claude adds safety blocks for destructive git and infrastructure commands unless explicitly requested by users.
What's changed Improved auto mode safety: destructive git commands (`git reset --hard`, `git checkout -- .`, `git clean -fd`, `git stash drop`) are now blocked when you didn't ask to discard local work, `git commit --amend` is blocked when the commit wasn't made by the agent this session, and `terraform destroy`/`pulumi destroy`/`cdk destroy` are blocked unless you asked for the specific stack Added a warning when the requested model is deprecated or automatically updated to a newer model, shown on stderr in print mode (`-p`) and now also covering models set in agent frontmatter Added `attribution.sessionUrl` setting to omit the claude.ai session link from commits and PRs in web and Remote Control sessions Added `/config --help` to list all available shorthand keys for `/config key=value` Changed `/config` toggle behavior: Enter and Space both change the selected setting, and Esc now saves and closes instead of reverting Removed the startup "setup issues" line under the logo — run `/doctor` to see configuration issues or use `--debug` Fixed `thinking.disabled.display: Extra inputs are not permitted` 400 errors on subagent spawns and session-title generation for affected…
- github.comClaude Code v2.1.183primary