What
A hook is a command that Claude Code runs automatically at set moments, such as before a tool is used, and a hook can carry an if condition that decides when it fires. The way that condition is matched now takes one more input. That input is true only for command hooks that come from a plugin, and only when that plugin is marked in a particular way.
- The rule matching behind
ifconditions now treats a rule with specific content as a match when that input is true. - The check against deny rules now returns a fallback answer when it cannot judge a case, instead of deciding on its own.
Why
For hooks that come from plugins, an if condition may now match in cases where it did not before, so such a hook can fire more often.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not clear what marks a plugin for this treatment or who sets that mark.