# Claude Code 2.1.183: auto mode blocks destructive git and IaC destroy commands

> Auto mode now refuses a set of destructive commands unless you actually asked for them — hard git resets, unrequested `--amend`, and terraform/pulumi/cdk destroy. Also adds a deprecated-model warning and an `attribution.sessionUrl` setting to keep claude.ai session links out of commits and PRs.

| | |
|---|---|
| **Tool** | Claude Code |
| **Version** | 2.1.183 |
| **Kind** | release |
| **Published** | 2026-06-19 |
| **Observed** | 2026-08-11 |
| **Significance** | 3/5 |
| **Breaking** | no |
| **Categories** | security, feature, fix |

## What changed


- Auto mode blocks `git reset --hard`, `git checkout -- .`, `git clean -fd`, `git stash drop` when discarding local work wasn't requested
- Auto mode blocks `git commit --amend` when the commit wasn't made by the agent this session
- Auto mode blocks `terraform destroy` / `pulumi destroy` / `cdk destroy` unless the specific stack was requested
- Warning on stderr in `-p` when the requested model is deprecated or auto-upgraded; now also covers models set in agent frontmatter
- New `attribution.sessionUrl` setting omits the claude.ai session link from commits and PRs in web and Remote Control sessions
- `/config --help` lists shorthand keys for `/config key=value`
- Changed: in `/config`, Enter and Space both change the selected setting; Esc saves and closes instead of reverting
- Removed the startup "setup issues" line under the logo — use `/doctor` or `--debug`
- Fix: `thinking.disabled.display: Extra inputs are not permitted` 400s on subagent spawns and session-title generation
- Fix: WebSearch returning empty results in subagents
- Fix: MCP servers requiring auth exposing auth-stub tools to the model in headless/SDK mode
- Fix: turns silently completing when the model returned only a thinking block; now re-prompts once
- Fix: background tasks started by a teammate killed when that teammate finished a turn
- Fix: scheduled task and webhook deliveries treated as keyboard input — they can no longer approve a pending action or set the session title in auto mode


## Sources

- [changelog_md](https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md) — retrieved 2026-08-11

## Community

_No curated reactions recorded. Facts and community takes are kept in separate layers
and never blended._

---
Canonical: https://changelogs.info/claude-code/2-1-183
Entity: https://changelogs.info/claude-code
Event ID: `evt_2026-06-19_claude-code_2-1-183`
Licence: event synthesis © changelogs.info, CC BY 4.0. Linked sources belong to their vendors.
