{"version":"2.1.331","anchor":"hook-cwd-warning-also-covers-directories-that-cannot-be-ente","canonical_anchor":"hook-cwd-warning-also-covers-directories-that-cannot-be-ente","heading":"Hooks also fall back when their folder cannot be entered","tier":"notice","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/hook-cwd-warning-also-covers-directories-that-cannot-be-ente","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Hooks also fall back when their folder cannot be entered\n\nHooks now run from a fallback folder when their working folder cannot be entered, not only when it no longer exists\n\n**What**\n\nHooks are your own commands that Claude Code runs at set points in a session. They run from a working folder. When that folder no longer exists, Claude Code runs them from another folder and warns you. The warning now says the folder no longer exists or cannot be entered.\n\n**Why**\n\nHooks fall back to another folder when they are not allowed into their usual one, as well as when it is missing, so they still run.\n\n- Area: Hooks\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}