You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.335,
ImprovementsSection of the release
What
Permission rules decide which shell commands Claude may run without asking. When a command is wrapped in another command, such as env, timeout or nice, Claude Code strips the wrapper to find the real command before checking the rules. That stripping is now more careful.
It now handles --, environment variable assignments, short flags that take a value, and timeout durations. Before, it only skipped flags and numeric arguments for timeout and nice.
The env options that take a value now include -a and --argv0, alongside -u, -C, -S, --unset and --chdir.
Why
This changes which wrapped commands match your allow or deny rules. For example, env -a x cmd could previously be read as the wrong command; it is now matched against the rules for cmd.