{"version":"2.1.333","anchor":"agent-filtering-by-agent-deny-rules-now-uses-a-name-exp","canonical_anchor":"agent-filtering-by-agent-deny-rules-now-uses-a-name-exp","heading":"Agent deny rules can now match more than an agent's exact type name","tier":"notice","area":"Permissions","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/agent-filtering-by-agent-deny-rules-now-uses-a-name-exp","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Agent deny rules can now match more than an agent's exact type name\n\nWhen an Agent(...) deny rule removes agents, Claude Code now checks several names derived from each agent's type, not only the type itself\n\n**Unclear.** Which extra names a deny rule now matches is not stated.\n\n**What**\n\nIn your permission settings, a deny rule written as `Agent(...)` stops Claude from using a given agent. An agent here is a helper with its own instructions that Claude can hand work to. Earlier, an agent was removed only when its exact type name was in your deny rules. Claude Code now works out a set of names from the agent's type and removes the agent if any of them is in your deny rules.\n\n**Why**\n\nA deny rule may now also catch other names for the same agent, such as an alias or a name with a prefix.\n\n- Area: Permissions\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: both\n- Heads-up: yes"}