## Hook Lifecycle

Hooks fire deterministically on every matching event — enforcement that can't be skipped or forgotten.
PreToolUse
`block-git-push.sh` guards remotes · `protect-config.sh` guards build/lint configs
PostToolUse
`notify-file-changed.sh` verify reminder · `post-commit-review.sh` review nudge
PreCompact
`precompact-state.sh` serializes working state before the context window compacts
Stop / SessionEnd
Last-line security check · cost tracking · `session-checkpoint.sh` final save