Case study 1.A guardrail that keeps names out of a repository's history
A working repository must never carry certain identifiers: maker names, part numbers, customer names and person names. The first guard held its denylist in plain text, so the guard itself published every name it existed to hide.
An identity guard that blocks a token without naming it. The denylist is stored as hashes; four callers share one list so they cannot drift; a commit-msg hook covers the commit message, which a content scan cannot see; an oem-allow: marker lets a test name an identifier deliberately, and every exemption is listed in the output; with its list absent, the guard fails loudly rather than passing. A test proves the guard catches something, because a guard nobody has seen fail is not a guard.
Public: github.com/SPH73/pix-harness, Apache-2.0, with 24 tests.