--- description: How to work with, and change, this project's fail-closed Cursor hooks globs: ".cursor/hooks.json,.cursor/hooks/**" alwaysApply: false --- These files are the project's guard rails. Change them only when the human asks for that exact change. - Permission hooks (`beforeShellExecution`, `beforeReadFile`, `beforeMCPExecution`, `preToolUse`, `subagentStart`) must keep `"failClosed": true`. Without it, a crash, timeout or exit code other than 2 lets the action through. - Project hooks run from the project root: commands are `python3 .cursor/hooks/