Install guards
Use an initialized Git repository and Python 3.9 or newer. Run from the GSD Path clone when installing project contracts for the first time:Understand enforcement
The installer resolves the effective Git hooks directory, including
core.hooksPath and linked worktrees. Native guards reject malformed events
or events they cannot validate.
Codex requires you to review and trust the project hook configuration in
/hooks. Until activation is complete, treat the installation as Git-only
enforcement. Review changed hook definitions again after updates.