{"version":"2.1.257","anchor":"hooks-module-scanning-now-flags-pretoolusepermissionrequest","canonical_anchor":"hooks-module-scanning-now-flags-pretoolusepermissionrequest","heading":"Hooks module scanning now flags PreToolUse\/PermissionRequest declared outside the hooks object","tier":"notice","area":"Hooks","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257\/e\/hooks-module-scanning-now-flags-pretoolusepermissionrequest","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.257","markdown":"### Hooks module scanning now flags PreToolUse\/PermissionRequest declared outside the hooks object\n\nPermission hooks declared at the top level of hooks.json now give a message pointing at the misconfiguration.\n\nPlugin `hooks.json` validation now has a dedicated error path for `PreToolUse`\/`PermissionRequest` entries declared at the top level instead of nested under `\"hooks\"`. This produces a clear message pointing at the misconfiguration instead of a generic schema-parse failure.\n\n- Area: Hooks\n- Names: `hooks.json`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5"}