feature-guard.mjs
- Event: Stop · PostToolUse Bash
- Type: wall: blocks the action and says why (exits with code 2)
What it does
Section titled “What it does”Backend. BLOCKS closing (once per set of files) if the session touched backend code and no test, if it created or touched migrations without running them or without testing their rollback (it records the migrate commands that run), or if the code uses new environment variables that are not in .env.example.