Where things lie
The placement map: each kind of record has exactly one place, and it says who writes it and who reads it.
Why: each kind of record has one place. Before you create a record, find its kind here and write only there. The placement header is a machine copy of the table: [{itemType, path, writer, reader}]. The check uses it to catch duplicates: a collection with the same itemType in another place, or a record of a kind outside its place, is an error. The table and the header are edited together.
pathis the full path of the collection from the root of the base, for example/business/goals.recordsis where the records themselves lie, if not inpath:*is one folder of the address. This is how the collection/base/contoursgathers the contours, while they live in the layer folders<layer>/contours/.unmapped(optional) are folders the check does not look at.writer,readerare short names of layers or agents, comma-separated:owneris the owner,allis any agent of the project, a layer name is a person or an agent of that layer.
The lines of the kinds from the Basic set are already there: the line of a kind whose package is not installed gets in nobody's way. A package that brings another collection brings its kind too: on install, add the kind's line here, otherwise the placement check will not pass. If the needed kind is not here, do not create a collection yourself: first check whether an existing kind fits. If not, add the collection and the line here at the same time.
| Kind of record | itemType | The only place | Who writes | Who reads | Note |
|---|---|---|---|---|---|
| Contours | Contour | /base/contours; the contours themselves are in <layer>/contours/ | layer packages | all | the collection is brought by the package contours |
| Tasks | AgentTask | /work/tasks | all | all | the collection is brought by the package tasks |
| Initiatives | Initiative | /work/initiatives | all | all | the collection is brought by the package tasks |
| Directions | Direction | /work/directions | all | all | the collection is brought by the package tasks |
| Owner tasks | OwnerTask | /work/owner-tasks | all | all | the collection is brought by the package owner |
| Bugs | Bug | /work/bugs | all | all | the collection is brought by the package bugs |
| Decisions | Decision | /knowledge/decisions | all | all | the collection is brought by the package decisions |
| Questions | Question | /knowledge/questions | all | all | the collection is brought by the package owner |
| Rules | Rule | /norms/rules | all | all | the collection is brought by the package norms-core |
| Principles | Principle | /norms/principles | all | all | the collection is brought by the package norms-core |
| Defaults | Default | /norms/defaults | all | all | the collection is brought by the package norms-core |
| Tenets | Tenet | /norms/tenets | all | all | the collection is brought by the package norms-core |
| Waivers | Waiver | /norms/waivers | all | all | the collection is brought by the package norms-core |
/base/ontology/placement.md.Source text