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.330,
ImprovementsSection of the release
What
$! is a shell variable that holds the process number of the most recent background job. A deny rule is a permission rule that blocks a command from running. When a command line reads $! before any background job has started, Claude Code now works through the line again, treating $! as empty, and then checks it against your deny rules. Before, it matched deny rules by leaving unknown values such as $! out.
The message shown when this blocks a command now says the line reads $! before any background job.
Why
This closes off a way of slipping a blocked command past a deny rule by using $!, and does it more precisely than before.