Skip to content

The command surface is declared and reconciled

Every command the binary dispatches is described by the shipped registry, every command the registry declares public is dispatched, and a command is public exactly when the usage text lists it.

blocking A 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.command-surface
  2. 2 Validator mj_validate_command_surface
  3. 3 Runs under doctor, watch
  4. 4 On violation exit 10
  5. 5 Proved by test/cases/30_command_registry.sh
  6. 6 Run by CI .github/workflows/validate.yml

Where it runs

What it lets us promise

Read it here

read one rule
majordomus doctrine show majordomus.command-surface
majordomus check --rule majordomus.command-surface