{"version":"2.1.314","anchor":"sessionend-hooks-from-an-untrusted-checkout-are-skipped","canonical_anchor":"sessionend-hooks-from-an-untrusted-checkout-are-skipped","heading":"SessionEnd hooks from a project you have not trusted are skipped","tier":"notice","area":"Hooks","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314\/e\/sessionend-hooks-from-an-untrusted-checkout-are-skipped","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.314","markdown":"### SessionEnd hooks from a project you have not trusted are skipped\n\nClaude Code now leaves out a project's SessionEnd hooks when you have not accepted workspace trust for that project\n\n**What**\n\nA `SessionEnd` hook is a command that runs automatically when a session ends. A project folder can define its own. Workspace trust is the prompt where you confirm you trust a project folder before Claude Code acts on its settings.\n\nWhen you have not accepted workspace trust for the project, Claude Code now leaves out that project's `SessionEnd` hooks and logs that it did so. It also logs when it could not read the workspace trust setting.\n\n**Why**\n\nA project you have not trusted can no longer run its own commands when the session ends.\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}