{"version":"2.1.333","anchor":"bash-denyask-rule-matching-skips-work-when-no-rules-exist","canonical_anchor":"bash-denyask-rule-matching-skips-work-when-no-rules-exist","heading":"PowerShell permission checks skip rule matching when you have no rules","tier":"notice","area":"PowerShell","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/bash-denyask-rule-matching-skips-work-when-no-rules-exist","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### PowerShell permission checks skip rule matching when you have no rules\n\nPermission checks on PowerShell commands now skip deny and ask rule matching when no such rules exist\n\n**Unclear.** Whether any PowerShell command is now allowed or refused differently is not clear.\n\n**What**\n\nDeny and ask rules are settings that tell Claude Code to refuse a command or to ask you first. When Claude Code checks a PowerShell command, it now gathers your deny and ask rules once at the start. If there are none, it skips the matching step. Before, it compared every part of the command against all rules. Special handling for the `Remove-Item` command now happens only once for each part of a command.\n\n**Why**\n\nThis makes permission checks less work, especially when you have no deny or ask rules.\n\n- Area: PowerShell\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}