{"version":"2.1.333","anchor":"hook-gating-for-unvouched-folders","canonical_anchor":"hook-gating-for-unvouched-folders","heading":"Hooks get an extra check in folders that have not been vouched for","tier":"notice","area":"Hooks","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/hook-gating-for-unvouched-folders","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Hooks get an extra check in folders that have not been vouched for\n\nHooks other than PreToolUse now go through an extra check when the folder has not been vouched for\n\n**Unclear.** Whether hooks other than PreToolUse still run in folders that have not been vouched for is not known.\n\n**What**\n\nHooks are commands you set up to run automatically at certain points while Claude Code works. Before running a hook for any event other than `PreToolUse`, Claude Code now adds a check for whether the current folder has not been vouched for. It also passes extra information when it looks up permission for the hook.\n\n**Why**\n\nThis can change whether hooks run in folders that have not been vouched for.\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}