R103 Write conflicting practices as children of a one-of

On by default

When repositories have good reasons to work in ways that cannot hold together, write each way as a child of a one-of, not as an exception in one rule for the repositories that work otherwise.

Reason

A rule patched with an exception for each repository that works otherwise gathers conditions that each reader weighs differently (Art. VII §5); a one-of keeps each way a plain rule, and a rule set picks the one it follows without relaxing or overriding anything (Art. III §4).

Verification

An exception here is a clause that lifts the requirement for repositories that chose to work another way (“do A, except where the code goes first”), not a condition under which the requirement does not arise at all (a repository without Python, say), nor a relaxation that the constitution permits and the rule leaves room for (Art. IX §1). Rules that hold whichever child is chosen stand beside the one-of, not inside a child.

Violated when a change adds or rewrites a rule with an exception for repositories that chose another way, instead of a one-of with a child for each way.

Provisions of the constitution it cites

Relations

Parent
R96 Writing Rules
Requires
none
Conflicts with
none

Metadata

ID
103
Revision
2
Kind
rule
Status
trial
Slug
conflicting-practices-as-one-of
Default level
project
Constitution revisions
>=1
Check
none
Default
on
Uses
Instructions instructions, Review review
Original language
English en
Translations
Chinese zh