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.326 ·

Bash safety check now flags shell keywords after a prefix, not only after a redirect

The Bash parser's test_or_group_after_redirect check became the broader reserved_word_after_prefix, with a new message and extra brace checks

Group of 2 You'll notice Improvements
JSON All of v2.1.326
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.326,
ImprovementsSection of the release

What

Before running a shell command, Claude Code reads it to check that it is safe. A command it cannot read reliably is called a misreading, and it is sent to you for approval instead of running on its own.

  • The reason test_or_group_after_redirect was renamed to reserved_word_after_prefix.
  • Its message changed from "A [[ or { after a redirect in this command can't be checked before it runs" to "A shell keyword or opening brace in this command can't be checked before it runs". The new wording covers more cases than the old one.
  • A new zshBraceDiff check looks for quotes or backslashes inside brace expressions.

Why

These are stricter safety checks. More commands that contain shell keywords or braces in unusual places will now ask for your permission instead of running automatically, and the message you see describes them in broader terms.

See this entry in the whole of v2.1.326 →

Feedback