package page→ /base/ontology.md
pages/base/ontology.md
71 lines, 5.4 KB. As a page.
- ---
- type: Page
- title: "Project ontology"
- icon: "🧬"
- description: "What layers a project consists of: two groups, project and meta. How the layers are linked and by what laws."
- ---
- 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.
- 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.
- ## Project layers
- | Layer | Package | Answers the question | Who changes it | Ontology |
- |---|---|---|---|---|
- | 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) |
- | Deal | `deal` | On what terms: scope, deadlines, acceptance, obligations | Only by agreement of the parties | [deal](/deal/ontology.md) |
- | Product | `product` | How the product serves the business: behavior, surfaces, evidence | We do, except what the contract fixes | [product](/product/ontology.md) |
- | Software Architecture | `tech`, `tech-ai` | What the product is built of: components, interfaces, data, models | We do | will appear with the package |
- | Design | `design` | What visible parts the interface is built of | We do | will appear with the package |
- | Development | `dev` | How we write and check code | We do | will appear with the package |
- | Quality | `quality` | How well the product is useful | We do | will appear with the package |
- | Operations | `ops` | How the product lives at the customer | We and the customer | [operations](/ops/ontology.md) |
- | Research | `research` | What was studied and what conclusions were drawn | We do | [research](/research/ontology.md) |
- | Knowledge base | `knowledge` | What we know and decided: documents, decisions, questions | Everyone | [knowledge base](/knowledge/ontology.md) |
- ## Meta layers
- | Layer | Package | Answers the question | Who changes it | Ontology |
- |---|---|---|---|---|
- | Norms | `norms` | By what rules we and the agents work | The owner and the norms stream | [norms](/norms/ontology.md) |
- | Project compilation | `compilation` | What came out: progress, passes, measurements | The compilation stream | will appear with the package |
- | Work | `work` | What to do and in what state | The performers | [work](/work/ontology.md) |
- | Factory | `factory` | Who does it: streams, briefs, handoffs | The streams | [factory](/factory/ontology.md) |
- | 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) |
- There is no separate "Performer" layer: the norms of our side live in the "Norms" layer.
- ## Law of links
- A link always leads to the "why". A link field is written in the lower record and points upward:
- - task → requirement → capability → business requirement → goal;
- - task → stage → agreement.
- 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.
- 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.
- ## Bridges between layers
- 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".
- | From | To | Fields |
- |---|---|---|
- | Work | Product, Deal, Business | `implements`, `violates`, `stage`, `fulfills`, `waitsFor`, `mitigates`, `goal` |
- | Product | Business, Deal | `realizes`, `derivedFrom…`, `represents`, `serves`, `supports`, `provider` |
- | Deal | Business, Product | `covers`, `parties`, `deliversBR`, `checks`, `provedBy…`, `imposedBy`, `debtor`, `creditor`, `threatens…`, `affects…`, `for` |
- | Business | Product | `dataFrom` on a metric |
- | Knowledge base | Any layer | `about` on decisions and questions: text with record paths |
- | Any layer | People and sources | `sourceDocs`, `sourceMeetings`, `owner`, `acceptor`, `giver`, `requestedBy` |
- 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.
- ## Where things live
- 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).
- ## Ontology lenses
- 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.