Layers
What a project layer is and what it consists of, the "Where things lie" map and the norm "one kind of record, one place" with a check.
Layers
The package explains what a layer is and what it consists of, and puts the placement map /base/ontology/placement.md: the kind of record, the only place, who writes, who reads. The check placement compares all collections and records of the project with the map.
Where the boundary is
- Here: the definition of a layer, the placement map and the norm "one kind, one place".
- The layers themselves (business, work, norms ...) are installed by their own packages; they depend on this one.
- The ontology of a project (which layers it consists of) is the package
ontology.
The map already has the lines for the kinds of the Basic set: Contour (the collection /base/contours, the contours themselves in <layer>/contours/) and twelve kinds from the packages norms-core, tasks, decisions, owner, bugs. The line of a kind whose package is not installed gets in nobody's way. A package that brings another collection must add the line of its kind to the map, otherwise the check will not pass.
The check s04_placement.ts lies in the package; it takes the shared part of parsing from the package collections (it lies next to it in .shtukbase/packages/).