Permission decisions from hooks now require exact string and boolean types instead of loose truthy checks
Hooks (custom scripts that can intercept and influence Claude Code's actions) can return values that tell Claude Code to allow, ask about, or deny an action. The code that builds these deny/ask/allow decisions now checks values more strictly: it requires typeof e === "string", typeof n === "string", and r === true explicitly, rather than accepting any value that happens to be truthy.
This tightens how hook output is validated, so a hook returning an unexpected value type (like a number or an object) won't be silently treated as if it meant "allow" or "deny." It makes permission decisions driven by hooks more predictable.