Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Stricter reading of ${...} in shell commands may bring more permission prompts

Claude Code now checks names, nested quotes and subscripts inside ${...} in shell commands, and asks permission when it cannot read them clearly

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

Unclear Whether the stricter reading is switched on depends on a remote switch whose fallback is not known.

What

Before Claude Code runs a terminal command for you, it reads the command to decide whether it understands it well enough to run without asking. Parameter expansion is the part of a shell command written as ${...}, which inserts the value of a variable.

Claude Code now reads these parts more strictly. It checks:

  • the variable name inside the braces
  • quotes nested inside the braces
  • subscripts, which pick one item out of a list

A name it cannot read clearly is marked as unreadable. Previously it only kept track of how deep the braces went and where quotes were. This stricter reading is controlled by a remote switch.

Why

It narrows which commands Claude Code treats as understood, so more commands may stop and ask for your permission instead of running straight away.

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 doubtWhether the stricter reading is switched on depends on a remote switch whose fallback is not known.

See this entry in the whole of v2.1.331 →

Feedback