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 ·

Command checks now understand $'...' quoting and $$

Claude Code's shell command reader now treats $'...' as a quoted string and handles $$ specially when checking commands

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 It is not clear whether seeing $$ makes a command more or less likely to need permission.

What

Before running a shell command, Claude Code reads it to decide whether it needs your permission. That reader now understands two more pieces of shell syntax:

  • $'...': treated as a quoted string, with backslash escapes inside it honoured. Before, only " and ' started a quote.
  • $$: now recognised and flagged.
Why

Reading commands correctly matters for permission checks, since a misread command can be judged wrongly.

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 doubtIt is not clear whether seeing `$$` makes a command more or less likely to need permission.

See this entry in the whole of v2.1.309 →

Feedback