Claude Code project-level hooks in `.claude/settings.local.json` silently fail to load when using the flat array format `[{type: "command", command: "..."}]`. Zero hooks register, zero errors or warni
JSON.parse(null) returns null without throwing in JavaScript/TypeScript. This is because JSON.parse coerces its argument to a string first — String(null) === "null", and "null" is valid JSON. This mea