Contours
What a contour is: the life cycle of one kind of record: states, the moves between them and the conditions of the moves. A collection of all contours of the project and three norms with checks: a state is from the contour, a contour is connected as a whole, a move is only an allowed one.
Contours
A contour is the life cycle of one kind of record: states (phases), the allowed moves between them and the conditions of the moves. The package puts the collection /base/contours, which gathers the contours of all layers, uses it to explain how a contour is written, and brings three norms; their enforcers are the package checks.
Where the boundary is
- Here: the format of a contour and a phase, the collection of contours, the checks of states, of the integrity of a contour and of moves.
- The contours themselves (tasks, decisions, bugs ...) are brought by the layer packages: each puts its own in
<layer>/contours/. - A board by states and a diagram of a contour are lenses; the package does not carry them yet.
- A state that is computed from data (overdue, done) is never a contour.
All three checks live in this package: c01_states.ts: the state of a record is a phase of its contour (CNT-R01); c02_contour.ts: the contour is whole (CNT-R02); c03_moves.ts: the move is allowed (CNT-R03). The move check looks at one step: from the last git commit to the working copy. The checks take the shared part of parsing from the package collections (it lies next to it in .shtukbase/packages/).