{"version":"2.1.333","anchor":"plugin-hook-events-validated-built-in-plugin-environments","canonical_anchor":"plugin-hook-events-validated-built-in-plugin-environments","heading":"Built-in plugin hooks must now name real events","tier":"internal","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/plugin-hook-events-validated-built-in-plugin-environments","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Built-in plugin hooks must now name real events\n\nLoading a built-in plugin's hooks now fails with an \"is not an event\" error if a hook does not name a recognised event\n\n**Unclear.** Whether this check also covers plugins you install yourself, or only built-in ones, is not clear.\n\n**What**\n\nHooks are pieces of a plugin that run when something happens in Claude Code, such as an event. When Claude Code loads the hooks of a built-in plugin, it now checks that each one names a real event, and stops with an \"is not an event\" error if one does not. Before, there was no such check at load time.\n\n**Why**\n\nA plugin whose hooks name events that do not exist now fails to load instead of loading with hooks that never run.\n\n- Area: Plugins\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}