Skip to content

Doctrine wiring integrity

Doctrine wiring integrity

majordomus://rule/majordomus.doctrine-wiring-integrity@1active doctrinewiring

it references

Rationale

Every doctrine in this registry resolves to a validator that exists, is reached from every command it names, propagates failure, is proved by a test, and is run by CI — and every validator in the source is declared here.

Required behaviour

Every enforced rule resolves to a validator that exists, is reached from every command it names, propagates failure, is proved by a test that CI runs; and every validator is declared by a rule.

Failure behaviour

A violation is a FAIL finding under the category doctrine, and the command that found it exits 10. Under watch the same violation is reported as drift and the command exits 11.

Verification

mj_validate_doctrine_wiring decides it, dispatched from doctor. The behavioural case test/cases/18_doctrine_wiring.sh proves it, and CI runs that case.

Where this comes from

canonical file
.ai/repo/rules/vendor/majordomus/rules/doctrine-wiring-integrity.v1.md
identity
majordomus.doctrine-wiring-integrity@1
also served as
MCP resource majordomus://rule/majordomus.doctrine-wiring-integrity@1 · majordomus entity show rule/majordomus-doctrine-wiring-integrity-1 · GET /api/v1/entity?uri=majordomus://rule/majordomus.doctrine-wiring-integrity@1
in the Cockpit
/cockpit/objects/rule/majordomus-doctrine-wiring-integrity-1

This page is generated from the file above by scripts/generate-site-data; editing the page changes nothing, editing the file changes every surface. The relations above are edges of docs/generated/graph.json, which the executable writes from the same index.

Searches the titles and descriptions of every page this site publishes.