Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.136 ·

Auto Mode Hard-Deny Rules

Entry
JSON All of v2.1.136
EntryKind: in v2.1.136,
ChangesSection of the release
What

Auto mode custom rules now distinguish soft blocks from hard security blocks.

Usage
{
  "autoMode": {
    "allow": ["$defaults"],
    "soft_deny": ["$defaults"],
    "hard_deny": [
      "$defaults",
      "Never send secrets to external endpoints"
    ],
    "environment": ["$defaults"]
  }
}
Details
  • soft_deny is now described as destructive or irreversible behavior that clear user intent can authorize.
  • hard_deny is new and covers security-boundary actions that user intent does not clear.
  • claude auto-mode defaults, claude auto-mode config, and claude auto-mode critique now understand all four categories: allow, soft_deny, hard_deny, and environment.
Evidence

Auto mode schema and CLI output now include hard_deny (search for "Rules for the auto mode classifier HARD BLOCK section" and "autoMode.{allow, soft_deny, hard_deny, environment}")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.136 →

Feedback