Proposing a change
What a change owes depends on where it lands, and the layout of the repositories answers it.
A first contribution
One toolchain: the language of the repository you change, and just (The verbs).
| You change | You also owe |
|---|---|
| the Core, the manager, the guardian, the composer | nothing outside yoke |
| the gate | nothing outside yoke: the three binaries rebuild from that commit |
| the protocol definitions | a conformance case in the same change; each SDK follows at its own pace |
| one SDK | nothing at all |
A defect
The common case: one change in one repository, and one publication. A red case reproduces the defect, the fix makes it pass (Tested first), and nothing else moves.
What checks it
| Check | Where |
|---|---|
| build, lint, format and test what the change affects | the repository holding it |
| the conformance suite | yoke, where a contract or the Core moved |
| the two statements of a contract's version agree | yoke, whenever the definitions move |
Every repository checks itself, so a change is checked where it is proposed (Continuous integration).
How a change is written
- One feature, one planning item, and the change names the item.
- The description and its tests come first, and fail (Tested first).
- Comments explain the code in front of them; what lies behind the code — why a rule holds, what it answers — is in this documentation, and a comment links to its page.