Adds setup-hooks.sh and check-manifests.sh as the deterministic enforcement layer described in docs/research/governance_principles/CONTROLS.md. - commit-msg: conventional commits pattern check (hard block) - pre-commit: shellcheck on .sh, jq on .json, yq on .yaml/.yml, SKILL.md frontmatter validation; optional tools degrade gracefully - pre-push: full test suite + manifest cross-reference check - check-manifests.sh: validates marketplace.json plugin sources, plugin.json skill/hooks/mcpServers path references - Marker-based blocks (idempotent, composable with gitleaks) - 33 integration tests across two test scripts Run scripts/setup-hooks.sh to install into any repo's .git/hooks/. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TP4EGbBg3XMcyF28Lx78XJ
4.0 KiB
4.0 KiB