ShtukbaseStandard
package page→ /base/ontology.md

pages/base/ontology.md

71 lines, 5.4 KB. As a page.

  1. ---
  2. type: Page
  3. title: "Project ontology"
  4. icon: "🧬"
  5. description: "What layers a project consists of: two groups, project and meta. How the layers are linked and by what laws."
  6. ---
  7. This page describes what a project is made of and how its parts refer to each other. The page is maintained by the "Base structure" layer ([the layer's ontology](/base/ontology/base.md)). We edit this markdown; the HTML ontology lens is built from it.
  8. Layers fall into two groups. **Project layers** describe the customer's product and the working conditions. **Meta layers** describe how the project is run and produced. Each layer is installed by its own package; the layer's page and its ontology appear together with the package. A project may not have all the layers. A layer without a package in the registry can be assembled by the project itself; then the project places the link to its ontology.
  9. ## Project layers
  10. | Layer | Package | Answers the question | Who changes it | Ontology |
  11. |---|---|---|---|---|
  12. | Business | `business` | Why all this, and what the business must be able to do, without words about the solution | The customer; for an internal project, the owner | [business](/business/ontology.md) |
  13. | Deal | `deal` | On what terms: scope, deadlines, acceptance, obligations | Only by agreement of the parties | [deal](/deal/ontology.md) |
  14. | Product | `product` | How the product serves the business: behavior, surfaces, evidence | We do, except what the contract fixes | [product](/product/ontology.md) |
  15. | Software Architecture | `tech`, `tech-ai` | What the product is built of: components, interfaces, data, models | We do | will appear with the package |
  16. | Design | `design` | What visible parts the interface is built of | We do | will appear with the package |
  17. | Development | `dev` | How we write and check code | We do | will appear with the package |
  18. | Quality | `quality` | How well the product is useful | We do | will appear with the package |
  19. | Operations | `ops` | How the product lives at the customer | We and the customer | [operations](/ops/ontology.md) |
  20. | Research | `research` | What was studied and what conclusions were drawn | We do | [research](/research/ontology.md) |
  21. | Knowledge base | `knowledge` | What we know and decided: documents, decisions, questions | Everyone | [knowledge base](/knowledge/ontology.md) |
  22. ## Meta layers
  23. | Layer | Package | Answers the question | Who changes it | Ontology |
  24. |---|---|---|---|---|
  25. | Norms | `norms` | By what rules we and the agents work | The owner and the norms stream | [norms](/norms/ontology.md) |
  26. | Project compilation | `compilation` | What came out: progress, passes, measurements | The compilation stream | will appear with the package |
  27. | Work | `work` | What to do and in what state | The performers | [work](/work/ontology.md) |
  28. | Factory | `factory` | Who does it: streams, briefs, handoffs | The streams | [factory](/factory/ontology.md) |
  29. | Base structure | `frame`, `collections`, `layers`, `contours`, `lenses`, `ontology` | How the base itself is arranged and whether it holds | The base structure stream | [base structure](/base/ontology/base.md) |
  30. There is no separate "Performer" layer: the norms of our side live in the "Norms" layer.
  31. ## Law of links
  32. A link always leads to the "why". A link field is written in the lower record and points upward:
  33. - task → requirement → capability → business requirement → goal;
  34. - task → stage → agreement.
  35. Each link has one stored direction. Reverse links are computed and not written by hand. Pairs of "forward" and "backward" fields for one link must not be created.
  36. A bridge works only if both layers are installed. If there is no "Deal" layer, the task's `stage` and `fulfills` fields are simply empty.
  37. ## Bridges between layers
  38. A bridge is a link field that leads from a record of one layer to a record of another. The field lies in the record that stands lower by "why".
  39. | From | To | Fields |
  40. |---|---|---|
  41. | Work | Product, Deal, Business | `implements`, `violates`, `stage`, `fulfills`, `waitsFor`, `mitigates`, `goal` |
  42. | Product | Business, Deal | `realizes`, `derivedFrom…`, `represents`, `serves`, `supports`, `provider` |
  43. | Deal | Business, Product | `covers`, `parties`, `deliversBR`, `checks`, `provedBy…`, `imposedBy`, `debtor`, `creditor`, `threatens…`, `affects…`, `for` |
  44. | Business | Product | `dataFrom` on a metric |
  45. | Knowledge base | Any layer | `about` on decisions and questions: text with record paths |
  46. | Any layer | People and sources | `sourceDocs`, `sourceMeetings`, `owner`, `acceptor`, `giver`, `requestedBy` |
  47. The full list of bridges with their required status is in the standard. On the layer pages each bridge is described next to its field.
  48. ## Where things live
  49. Each kind of record lives in exactly one place. The map is [Where things live](/base/ontology/placement.md): kind of record → place → who writes → who reads. Record states are described by contours; all contours are gathered in one collection, [Contours](/base/contours.md).
  50. ## Ontology lenses
  51. From this page, the layer ontologies, the contours and the placement map, a program builds two lenses: `/base/ontology/layers.html` for layers, bridges, contours and where things live (the `build` action of the `ontology` package, no kit needed) and `/base/ontology/graph.html` for one graph of types and links of all layers (the `graph` action, the kit is needed). HTML is not edited by hand: edit the markdown and rebuild.