#!/usr/bin/env bash # install-hooks.sh — activate the repo-versioned git hooks (#190). # Idempotent; safe to re-run after cloning or when hooks go missing. # Trust note: versioned hooks mean repo content executes at push time — # install only in repos whose code you already build and run. set -euo pipefail cd "$(dirname "$0")/.." git config core.hooksPath scripts/hooks echo "core.hooksPath -> scripts/hooks (pre-push lint gate active)"