R99 Keep a rule self-contained

On by default

Make a rule stand on its own: name other rules only through parent, requires, conflicts, overrides and rule citations in its text, the constitution only through authority and citations of the constitution in its text, and no other text as part of what it requires.

Reason

A rule is compiled, with the rules it names and the constitution, into the instructions of every repository whose rule set enables it (Art. VIII §7(1)). A guide, a document or another repository it points to does not come with it, may change without it, and may not be readable there.

Verification

The text of the rule does not send the reader elsewhere for part of its requirement: no “as the guide says”, no item number of another body of instructions, no file or address outside its source’s rules and the constitution. A tool, a command or a file named as the object of the requirement (the repository’s commit hook configuration, say) is not such a pointer.

Violated when a change adds or rewrites a rule that refers to text other than rules and the constitution for part of what it requires, or names a rule or a provision other than through these fields and citations.

Provisions of the constitution it cites

Relations

Parent
R96 Writing Rules
Requires
none
Conflicts with
none

Metadata

ID
99
Revision
2
Kind
rule
Status
trial
Slug
self-contained-rule
Default level
project
Constitution revisions
>=1
Check
none
Default
on
Uses
Instructions instructions, Review review
Original language
English en
Translations
Chinese zh