The moment
The repository says a rule is enforced. The rule is written down, the script that checks it exists, there is even a test for the script. Nothing invokes it. It has never refused anything, and no one noticed, because everything that would demonstrate the enforcement exists except the enforcement.
Why it happens
Enforcement is a chain — rule, validator, dispatch, exit code, test, CI — and every link except one can be present. Each link is added by a different change at a different time, and no single artefact represents the whole chain, so nothing can be inspected to find the missing link. Seventeen such cases were found in the material this tool was distilled from.
Why a better model does not fix it
There is no model in this failure at all. It is a structural gap between things people wrote, and it is only visible to something that walks the chain from both ends.
What it costs
Confidence that is unearned, which is worse than knowing you have no control: the team stops watching for the violation because the check "handles it", and the violations accumulate unobserved until something forces an audit.
What Majordomus does
A rule the tool enforces declares its validator, the commands that dispatch it, the exit
code a violation produces, the claims it stands behind and the tests that prove it. Nothing
selects checks by hand: the dispatcher reads the declared rules, so a rule added there runs
from that moment, and a rule whose validator does not exist is a reported failure rather than
a silent skip. doctor walks the chain in both directions — a validator no rule declares
fails too — and reconciles the policy's enforcement list against the hooks that name it,
including whether the exit code survives.
Before and after
before rule: "enforced by pre-commit" hook: absent result: green, always
after $ majordomus doctor
FAIL wiring doctor-on-commit — declared in policy, no pre-commit hook invokes it
[reproduce: majordomus doctrine status]What it does not do
It reconciles what this repository declares against what this repository runs. It cannot know that a rule ought to exist, and a rule that honestly says nobody enforces it is a passing state, not a failure.