Skip to content

Scope integrity

Scope integrity

majordomus://rule/majordomus.scope-integrity@1active scopeverification

Rationale

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

Required behaviour

Work outside the paths a task claimed is not accepted as that task's work.

Failure behaviour

A violation is a FAIL finding under the category scope, 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_scope decides it, dispatched from check, finish, watch. The behavioural case test/cases/04_start_check.sh proves it, and CI runs that case.

Where this comes from

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