{"version":"2.1.101","anchor":"hook-event-validation","canonical_anchor":"hook-event-validation","heading":"Hook Event Validation","tier":null,"area":null,"scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.101\/e\/hook-event-validation","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.101","markdown":"### Hook Event Validation\n\n**What**\n\nSettings files now validate hook event names and produce clear warnings for unrecognized events, helping users catch typos in their configuration.\n\n**Details**\n\n- Unknown hook events are removed from the parsed configuration and a warning is emitted\n- Warning messages include the invalid event name, valid events list, and a link to documentation\n- Applies to all settings sources: local, project, remote managed, and SDK inline settings\n- Example warning: `Unknown hook event \"PreTooluse\" was ignored. Valid events: PreToolUse, PostToolUse, UserPromptSubmit, SessionStart, SessionEnd, Stop`\n\n**Evidence**\n\nHook validation (search for `\"Unknown hook event\"` and `\"Not a recognized hook event\"`)"}