How it works
On every commit the hook runstruecourse analyze --diff against the repo’s last full analysis and blocks if any newly-introduced violation matches the configured block severities.
The hook diffs against .truecourse/LATEST.json, so you need a committed baseline first; see Baselines & diff. Without it the hook has nothing to diff against.
Bypass: git commit --no-verify (standard git).
Configuration
hooks install seeds <repo>/.truecourse/hooks.yaml with starter defaults; commit the file so your team shares one policy. The hook reads only from this file. If you delete it, the hook warns and passes every commit (no hidden code-level defaults). Current shape:
Next steps
Claude Code skills
Drive analysis, fixes, and hooks conversationally from Claude Code.
Dashboard
Review what the hook caught, visually.