{"version":"2.1.257","anchor":"hooks-declared-outside-the-hooks-key-or-pretoolusepermis","canonical_anchor":"hooks-declared-outside-the-hooks-key-or-pretoolusepermis","heading":"Hooks declared outside the \"hooks\" key (or PreToolUse\/PermissionRequest nested arrays) now fail to load with a clear error","tier":"notice","area":"Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257\/e\/hooks-declared-outside-the-hooks-key-or-pretoolusepermis","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257","markdown":"### Hooks declared outside the \"hooks\" key (or PreToolUse\/PermissionRequest nested arrays) now fail to load with a clear error\n\nA plugin or agent declaring PreToolUse or PermissionRequest hooks in the wrong place is now rejected with a clear error.\n\nPlugin manifests, marketplace entries, and agent frontmatter that declare `PreToolUse`\/`PermissionRequest` hooks at the top level, under an unrecognized key, or nested in arrays this build cannot parse, now cause the plugin or agent to be rejected as \"unloadable\" with an explicit message, instead of failing validation silently elsewhere.\n\n- Area: Hooks\n- Names: `PreToolUse`, `PermissionRequest`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}