{"version":"2.1.336","anchor":"checkout-hooks-can-now-be-left-out-without-workspace-trust-f","canonical_anchor":"checkout-hooks-can-now-be-left-out-without-workspace-trust-f","heading":"A setting can now leave out a project's hooks for every event until you trust the folder","tier":"notice","area":"Hooks","scope":"both","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/checkout-hooks-can-now-be-left-out-without-workspace-trust-f","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### A setting can now leave out a project's hooks for every event until you trust the folder\n\nWith checkoutHooksWithoutTrustDisabled set, a project's hooks are skipped for every event, not just SessionEnd, until the folder is trusted\n\n**Unclear.** It is not clear which settings file `checkoutHooksWithoutTrustDisabled` has to be set in.\n\n**What**\n\nA project can carry its own hooks, scripts that run when Claude Code does something. Workspace trust is the prompt where you confirm you trust a folder. Before, Claude Code left out a project's hooks for an untrusted folder only for `SessionEnd`, the event when a session ends. With `checkoutHooksWithoutTrustDisabled` set, it now leaves them out for every event until workspace trust is accepted. This also depends on another trust check and an internal feature check.\n\n**Why**\n\nThis extends the trust check beyond the end of a session. With the setting on, hooks in a folder you have not trusted cannot run at any point.\n\n- Area: Hooks\n- Names: `checkoutHooksWithoutTrustDisabled`, `SessionEnd`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: both\n- Heads-up: no"}