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 ·

Path checks handle .. after a command substitution differently

When checking command paths for permissions, Claude Code now trims a trailing /.. after a command substitution only at the very end

You'll notice Improvements
JSON All of v2.1.333
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.333,
ImprovementsSection of the release

Unclear Which commands or paths are now matched differently by permission rules is not stated.

What

A command substitution is a part of a shell command, such as $(...), that is replaced by another command's output. When Claude Code checks a command's file paths against your permission rules, it handles path pieces that follow a command substitution in a set way.

A run of /.. after a command substitution is now trimmed only when it reaches the end of the path. Before, it was trimmed in more cases. Some paths are therefore checked differently.

Why

Permission matching on some unusual paths may now come out 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 doubtWhich commands or paths are now matched differently by permission rules is not stated.

See this entry in the whole of v2.1.333 →

Feedback