{"version":"2.1.330","anchor":"unset-deny-rule-check-reworked","canonical_anchor":"unset-deny-rule-check-reworked","heading":"Deny rules handle commands that read $! before any background job","tier":"notice","area":"Permissions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/unset-deny-rule-check-reworked","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Deny rules handle commands that read $! before any background job\n\nDeny rules are now checked against commands that read $! before any background job by treating the empty value as empty, with a clearer message\n\n**What**\n\n`$!` 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.\n\nThe message shown when this blocks a command now says the line reads `$!` before any background job.\n\n**Why**\n\nThis closes off a way of slipping a blocked command past a deny rule by using `$!`, and does it more precisely than before.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}