synthesis-git-hooks
Synthesis Git Hooks
A YAML-driven pre-commit policy engine. Part of the synthesis-engineering operational layer — deterministic enforcement that catches credential leaks and exposure-sensitive content at the commit boundary, before the diff persists.
The engine is a Bash boundary plus standard-library Python sidecars. The policy
is data — a YAML file at ~/.synthesis/git-hook-config.yaml that anyone
adopting synthesis engineering fills in with personal-remote patterns, client
names, internal URLs, and optionally a coordination-board path.
v2.6.0 — Cached pattern validation
The sidecar validates the configured pattern set once per config digest and
grep identity and reuses that result on later commits instead of re-running
every pattern through grep -E at each commit boundary; a changed config or
grep invalidates the cache. Install writes the cache directory with the
engine. Refusals and surface classes are unchanged.