ShtukbaseStandard
page/base/ontology.md

Project ontology

What layers a project consists of: two groups, project and meta. How the layers are linked and by what laws.

Page fields (1)
icon🧬

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). 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

LayerPackageAnswers the questionWho changes itOntology
BusinessbusinessWhy all this, and what the business must be able to do, without words about the solutionThe customer; for an internal project, the ownerbusiness
DealdealOn what terms: scope, deadlines, acceptance, obligationsOnly by agreement of the partiesdeal
ProductproductHow the product serves the business: behavior, surfaces, evidenceWe do, except what the contract fixesproduct
Software Architecturetech, tech-aiWhat the product is built of: components, interfaces, data, modelsWe dowill appear with the package
DesigndesignWhat visible parts the interface is built ofWe dowill appear with the package
DevelopmentdevHow we write and check codeWe dowill appear with the package
QualityqualityHow well the product is usefulWe dowill appear with the package
OperationsopsHow the product lives at the customerWe and the customeroperations
ResearchresearchWhat was studied and what conclusions were drawnWe doresearch
Knowledge baseknowledgeWhat we know and decided: documents, decisions, questionsEveryoneknowledge base

Meta layers

LayerPackageAnswers the questionWho changes itOntology
NormsnormsBy what rules we and the agents workThe owner and the norms streamnorms
Project compilationcompilationWhat came out: progress, passes, measurementsThe compilation streamwill appear with the package
WorkworkWhat to do and in what stateThe performerswork
FactoryfactoryWho does it: streams, briefs, handoffsThe streamsfactory
Base structureframe, collections, layers, contours, lenses, ontologyHow the base itself is arranged and whether it holdsThe base structure streambase structure

There is no separate "Performer" layer: the norms of our side live in the "Norms" layer.

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".

FromToFields
WorkProduct, Deal, Businessimplements, violates, stage, fulfills, waitsFor, mitigates, goal
ProductBusiness, Dealrealizes, derivedFrom…, represents, serves, supports, provider
DealBusiness, Productcovers, parties, deliversBR, checks, provedBy…, imposedBy, debtor, creditor, threatens…, affects…, for
BusinessProductdataFrom on a metric
Knowledge baseAny layerabout on decisions and questions: text with record paths
Any layerPeople and sourcessourceDocs, 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: kind of record → place → who writes → who reads. Record states are described by contours; all contours are gathered in one collection, Contours.

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.

The package Common ontology puts this page at /base/ontology.md.Source text