Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.311 ·

Some unusual bash commands are now treated as unclear and may ask for permission

Claude Code's bash reader now treats more ambiguous array and bracket forms as unclear, so some commands may ask for permission

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

Before running a shell command, Claude Code reads it to work out whether it is simple and safe or needs your permission. That reader now treats more constructs as unclear, meaning different shells could read them differently. These include:

  • text straight after the ) that closes an array assignment such as name=( ... )
  • a [ in a word that is still open at a space, tab, line break or one of ; & | < > ( )
  • an assignment such as a[1]=(x)

It also reads the value given to ruby -F in a special way when looking for which script a ruby command runs.

Why

The permission check becomes more cautious. Some commands that used to be judged simple and run without asking may now ask for your permission.

See this entry in the whole of v2.1.311 →

Feedback