You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
PermissionsArea: what it touches
ImprovementsKind: in v2.1.290,
ImprovementsSection of the release
What
Before Claude Code runs a shell command, it checks the command to decide whether it is safe to run without asking you. It now also treats a redirect whose target is a variable name, such as {fd}>file, as too complex to judge. Claude Code asks for your permission before running such a command, and gives the reason that it modifies a shell variable as a side effect.
Why
A redirect written this way changes a shell variable as well as sending output to a file. Asking first closes a way for a command to change shell variables without a permission prompt.