Skip to content

AI layer integrity

AI layer integrity

majordomus://rule/majordomus.ai-layout-integrity@1active layoutai

Rationale

The repository's AI layer is real: the manifest declares a format this executable reads and every section it names exists, the checkout-local half is ignored by git and nothing under it is tracked, and no project data remains under the pre-.ai .majordomus/ path.

Required behaviour

The repository's AI layer is real: the manifest declares a format this executable reads and names sections that exist, the local half is ignored by git with nothing under it tracked, and no project data remains under the pre-.ai path.

Failure behaviour

A violation is a FAIL finding under the category layout, 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_ai_layout decides it, dispatched from doctor, watch. The behavioural case test/cases/01_init.sh proves it, and CI runs that case.

Where this comes from

canonical file
.ai/repo/rules/vendor/majordomus/rules/ai-layout-integrity.v1.md
identity
majordomus.ai-layout-integrity@1
also served as
MCP resource majordomus://rule/majordomus.ai-layout-integrity@1 · majordomus entity show rule/majordomus-ai-layout-integrity-1 · GET /api/v1/entity?uri=majordomus://rule/majordomus.ai-layout-integrity@1
in the Cockpit
/cockpit/objects/rule/majordomus-ai-layout-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.