Expand description
Render the gate registry as the managed pre-commit block.
The registry is the one declaration and this is its one delivery: the
block an instance’s configuration carries, rendered at install time and
never committed anywhere in between. A gate reaches an instance because
it is in the registry, so it cannot reach the payload and miss the
wiring. What the registry contains is gates’ business; where the
output lands is the caller’s.
There is deliberately no second shape. A .pre-commit-hooks.yaml would
serve repositories that never adopt this framework, and most gates read
an instance layout those repositories do not have.
Structs§
- Render
Options - Everything a render depends on.
Functions§
- render_
block - Render the complete managed block an instance’s configuration carries: markers, the verifier hook, and every gate.
- selectors
- The
files:andexclude:a hook entry declares, by hook id.