R81 Let the code and the design change apart, and mark where they differ

Default option

Change the code and the design in either order, and mark each point where they differ: the design marks a part not built yet as rule 19 asks, and a change to the code that runs ahead of the design says so in its description and leaves a follow-up to update the design.

Reason

A design is often written before the code that builds it, and when the work has to move fast the code goes first; holding either to the other’s change would slow both. What must not happen is that a reader takes a design that has not caught up for fact (Art. VII §1(2)), so each difference is marked where a reader meets it.

Verification

Code here is every file of the repository other than the design, instruction files included.

  • Design ahead of the code: the design marks what is not built yet as rule 19 asks.
  • Code ahead of the design: the description of the change to the code names the sections of the design that no longer match it, and the follow-up that will update them, for example an issue or a pull request; the follow-up is open when the change is merged.

Violated when a merged change to the code leaves a section of the design describing the repository as it was before the change, and its description does not name that section, names no follow-up, or names one that is not open when the change is merged.

Provisions of the constitution it cites

Relations

Parent
R79 Keep the design in step with the code
Requires
R19 Say what is built, what is planned and what is open
Conflicts with
none

Metadata

ID
81
Revision
3
Kind
rule
Status
trial
Slug
design-lag-marked
Default level
project
Constitution revisions
>=1
Check
none
Uses
Instructions instructions, Review review
Original language
English en
Translations
Chinese zh