Skip to content
Cockpit0.29.0
A snapshot: read at commit 707a04c7ce8 on 2026-10-18T00:06:01Z by majordomus 0.29.0. Nothing on this page is read again. See it live

majordomus.project-integrity@1

Project model integrity

What it is

URI
majordomus://rule/majordomus.project-integrity@1
Kind
rule
Identity
majordomus.project-integrity@1
Path
.ai/repo/rules/vendor/majordomus/rules/project-integrity.v1.md
Provenance
declared
Media type
text/markdown
As a capability
rule.majordomus.project-integrity@1

Front matter

{
  "id": "majordomus.project-integrity",
  "version": 1,
  "kind": "rule",
  "title": "Project model integrity",
  "description": "Every milestone and issue file parses, carries the id its filename claims, and contains no key nobody reads.",
  "statement": "Every milestone and issue file parses, carries the id its filename claims, and contains no key nobody reads.",
  "status": "active",
  "class": "blocking",
  "depends_on": [
    "majordomus.sessions-are-workers@1"
  ],
  "tags": [
    "plan"
  ],
  "x-majordomus": {
    "validator": "project",
    "category": "project",
    "enforced_by": [
      "doctor",
      "watch"
    ],
    "exit_code": 10,
    "claims": [
      "project-schema",
      "project-status-derived"
    ],
    "tests": [
      "test/cases/44_model_doctrine.sh"
    ]
  }
}

Content

---
id: majordomus.project-integrity
version: 1
kind: rule
title: Project model integrity
description: Every milestone and issue file parses, carries the id its filename claims, and contains no key nobody reads.
statement: Every milestone and issue file parses, carries the id its filename claims, and contains no key nobody reads.
status: active
class: blocking
depends_on: [majordomus.sessions-are-workers@1]
tags: [plan]

x-majordomus:
  validator: project
  category: project
  enforced_by: [doctor, watch]
  exit_code: 10
  claims: [project-schema, project-status-derived]
  tests: [test/cases/44_model_doctrine.sh]
---

# Rationale

Every milestone and issue file parses, carries the id its filename claims, and contains no key nobody reads.

# Required behaviour

Every milestone and issue file parses, carries the id its filename claims, and contains no key nobody reads.

# Failure behaviour

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