Skip to content

Define done before executing

Define done before executing

majordomus://rule/majordomus.define-done-first@1active principle

it references

Nothing. This object declares no reference.

Rationale

When done means the worker said so, every task is done. A contract written first is what makes a refusal possible, and a refusal is the whole point of supervision.

Required behaviour

Know the contract a task must meet before starting it, and let the contract, not the worker's word, decide whether it is finished.

Failure behaviour

Nothing decides this rule directly, so a violation is reported by nobody; it is the rules that depend on it that decide what a machine can decide and stop or warn accordingly.

Verification

The enforced rules whose depends_on names this one carry the validators, the tests and the CI wiring. majordomus doctrine list shows them.

Where this comes from

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