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

Claude Code v2.1.223 ·

Bash [[ ]] conditionals: two new bail-outs for shell-lexer divergence

Tricky bash double-bracket conditions are now treated as too complex instead of being misread.

You'll notice Bug Fixes
JSON All of v2.1.223
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
Bash PermissionsArea: what it touches
Bug FixesKind: in v2.1.223,
Bug FixesSection of the release
What

The command parser now refuses to parse two [[ ]] shapes where zsh's cond-lexer disagrees with the parser, classifying them as too-complex differential cases instead.

Details
  • a [[ ]] pattern leaf containing && now bails out, because zsh splits the word there
  • a pattern leaf containing a potential standalone ]] closer also bails out, because zsh closes the conditional differently
  • the nodeType field was dropped from the unbalanced-parentheses result
Evidence

shell cond-lexer divergence (zsh splits the word there)

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.223 →

Feedback