Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.317 ·

Bash deny and ask rules now also check the full command text

Claude Code now also checks a shell command's raw text against your deny and ask rules, so a match blocks it or asks you first

You'll notice Improvements
JSON All of v2.1.317
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.317,
ImprovementsSection of the release

Unclear The further condition that decides whether this text check runs is not stated.

What

Permission rules are settings that tell Claude Code which actions to block (deny rules) or to confirm with you first (ask rules). The Bash tool is what Claude uses to run shell commands.

Before, Claude Code split a command line into its separate commands and checked only those pieces against deny rules. It now also searches the raw command text for deny and ask rules:

  • A match with a deny rule refuses the command.
  • A match with an ask rule shows you a permission prompt.

This extra check runs only when you have deny or ask rules, and only when a further internal condition is met.

Why

Rules become harder to get around with unusual quoting or with several commands strung together on one line.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe further condition that decides whether this text check runs is not stated.

See this entry in the whole of v2.1.317 →

Feedback