Skip to content

Scope integrity

A task touches only the paths it claimed; work found elsewhere is not accepted as done.

blockingA violation stops the command with exit 10.

The chain

A rule is enforced only when every link below holds. majordomus doctor resolves each one from the source on every run; this page shows what it resolved.

  1. 1 Declared majordomus.scope-integrity
  2. 2 Validator mj_validate_scope
  3. 3 Runs under check, finish, watch
  4. 4 On violation exit 10
  5. 5 Proved by test/cases/04_start_check.sh
  6. 6 Run by CI .github/workflows/validate.yml

Where it runs

A repository selects this line of the finish contract by naming scope_respected in verification.finish_requires. A requirement the policy names that no doctrine defines is reported and refuses.

What it lets us promise

Read it here

read one rule
majordomus doctrine show majordomus.scope-integrity
majordomus check --rule majordomus.scope-integrity