Configure auto mode changedauto-mode-config
Nearest release: v2.1.327, published 2 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 17 Nov 2026 23:02 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 17 Nov 2026 23:07 UTC.
Upstream edited
Recorded here
Lines+17added
Lines−0removed
From line
409
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits38to this page, all time
### Fix `Destructive or Unwanted Actions` and other policy denials
The whole hunk
from line 409, old and new numbered
/
from line 409
409409
410410The text in square brackets names what the classifier matched. If it's a rule built into Claude Code, pass its name without the brackets to [`claude auto-mode defaults --label`](#inspect-the-defaults-and-your-effective-config) to read the full wording.
411411
412### Fix `Destructive or Unwanted Actions` and other policy denials
413
414If a denial shows one of these names, the [server-side classifier](https://code.claude.com/docs/en/permission-modes.md#server-side-classifier-review) blocked the call and gave a broad policy as its reason:
415
416* `[Destructive or Unwanted Actions]`
417* `[Unauthorized Access]`
418* `[Undermining Oversight]`
419* `[Unsanctioned Communication]`
420
421The policy name is only a category, and `claude auto-mode defaults` doesn't list its wording. Read the blocked call in the conversation, or run `/permissions` in your terminal session and look under **Recently blocked**. If it's what you meant Claude to do, give the classifier more context:
422
423* **For this call only**: tell Claude to do it, naming the action and its target, such as "overwrite `data/seed.json`"
424* **For a destination you trust, such as a package registry**: add it to [`autoMode.environment`](#define-trusted-infrastructure)
425* **For a routine action you want allowed from now on**: describe it in an [`autoMode.allow`](#override-the-block-and-allow-rules) entry
426
427After you add an entry, ask Claude to retry so the classifier checks the call again.
428
412429### Fix repeated denials
413430
414431Repeated denials for the same destination usually mean the classifier is missing context. Add that destination to `autoMode.environment`, or [run `/auto-mode-setup`](#generate-environment-entries) to have Claude Code draft the entries, then run `claude auto-mode config` to confirm the change took effect.
No line in this hunk matches that.