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

Claude Code v2.1.309 ·

More commands with unusual shell quoting are treated as unreadable

Claude Code now marks more commands with $'...' strings, escaped line breaks or odd $[ and ${ forms as ones it could not parse

You'll notice Improvements
JSON All of v2.1.309
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.309,
ImprovementsSection of the release

Unclear Whether a command that cannot be parsed always leads to a permission prompt is not confirmed.

What

Before running a shell command, Claude Code reads its structure to check it against your permission rules. It now marks a command as one it could not parse when it contains any of these:

  • a $ or a backtick inside a double-quoted part of a string, including inside an ANSI-C string written as $'...'
  • a backslash followed by a line break inside an expansion
  • $[
  • ${ followed by a space or |

Before, $'...' strings were scanned without this check for nested expansions. Claude Code also now recognises a list of read-only shell variable names, such as BASHPID and BASH_SOURCE.

Why

Commands written with this kind of quoting now land in the could-not-parse case, which is where Claude Code tends to ask for permission rather than rely on a rule.

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 a command that cannot be parsed always leads to a permission prompt is not confirmed.

See this entry in the whole of v2.1.309 →

Feedback