Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Changed handling of closing brackets in shell command paths

Claude Code changed how it trims closing brackets from the end of paths it reads out of shell commands for permission checks

Under the hood Internal Changes
JSON All of v2.1.333
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Bash ToolArea: what it touches
Internal ChangesKind: in v2.1.333,
Internal ChangesSection of the release

Unclear What practical difference the new trimming rule makes to which commands are allowed is not clear.

What

Before Claude Code runs a shell command, it picks out the file paths in that command so it can check whether the command is allowed. Part of this step trims closing brackets (), ] or }) from the end of each word. Previously any run of them at the end was trimmed. Now the trimming only applies to a run that is not preceded by another closing bracket.

Why

The paths found in a command decide which permission checks apply to it. Commands with words ending in brackets may be checked differently.

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 doubtWhat practical difference the new trimming rule makes to which commands are allowed is not clear.

See this entry in the whole of v2.1.333 →

Feedback