Nothing to try yetTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PluginsArea: what it touches
Internal ChangesKind: in v2.1.280,
In DevelopmentSection of the release
What
The CLI's claude plugin test --file and claude plugin test commands now use a single shared helper, pluginTestRefusal, to decide why a plugin's hook-module tests can't run, replacing scattered inline conditional logic. The helper reports one of two reasons:
If the feature is enabled but hook modules are disabled locally (for example via disableAllHooks, allowManagedHooksOnly, or an organization policy), it reports that instead.
Why
This gives a consistent, accurate explanation when plugin test refuses to run, instead of an unclear or inconsistent message, making it easier to figure out whether the fix is an environment variable or a local/managed policy setting.