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 ·

More shell variable patterns are flagged as too complex to check

Shell commands using some ${...} variable patterns are now treated as too complex, so they are less likely to run without asking you

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 this stricter check is switched on for you is not known.

What

Before running a shell command, Claude Code analyses it to decide whether it is safe to run without asking you. A ${...} expression inserts a variable's value into a command. Claude Code now treats two more kinds of ${...} as too complex to analyse:

  • a name or subscript that different shells read differently
  • a quote or brace inside a ${...} that sits within double quotes

The message suggests rewriting the command, for example putting the text into a variable first, outside the braces.

Why

The permission checks on shell commands are stricter. Commands with these patterns are more likely to need your approval before they run.

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 this stricter check is switched on for you is not known.

See this entry in the whole of v2.1.331 →

Feedback