shtukbasehub

Quality

The Quality layer: work benefit, potential indicators, assumptions between them, datasets, runs and measurements — collections with schemas and contours, the layer ontology and nine norms with enforcers.

Packagequalityv0.2.052 files

Quality

The Quality layer answers the question: how well can the product deliver benefit, and how do we measure and improve that while we build. Two planes: potential (we measure it ourselves on datasets and in runs) and work benefit (the effect at the customer; we describe it, instrument it and hand it over). Between them stand explicit assumptions. The page Quality ontology holds the words, types, links and rules.

The layer was invented and tried in an earlier product (26.11.2026) and is generalized here: sales specifics remain only in examples.

What it installs

  • The layer page /quality.md and the ontology /quality/ontology.md.
  • Six collections with schemas: work benefit (Outcome), indicators (Indicator), assumptions (Assumption), datasets (Dataset), runs (QualityRun: the kind is named so that it does not clash with Run, the agent run log of the runs package), measurements (Measurement).
  • Four contours with phases: benefit, indicators, assumptions, datasets. Runs and measurements have no contour: they are history.
  • Nine norms QLT-R01…R09. Eight are held by the package's checks (check: true); QLT-R09 is observed by the sensor goals-coverage (shtuk run quality goals-coverage).
  • On install and update the action placement adds the layer's six kinds to the placement map; without it the placement check of the layers package will not pass. It removes the line Run → /quality/runs that versions before 0.2.0 left behind.

The shared part of the checks is checks/lib/qlib.ts: it adds the layer's types to the type map of the collections package library. The risks and testing packages use it.

Where the boundary is

  • The risk register /quality/risks is the risks package. Tests, risk coverage and check runs are the testing package.
  • Bridge fields into the Business, Product, Deal and Knowledge layers stand in the schemas and sleep until those layers exist.
  • The package adds no bridges from other layers into this one (the moves field on initiatives, indicator on hypotheses): the package does not change other packages' schemas.
  • The source layer's rules "change a model or a prompt only after a run without regression" and "a P0–P1 initiative moves an indicator" are not norms here: the first is in the testing package, the second needs the moves field on initiatives (a proposal for the tasks package).

Which lenses are needed

The package carries no lenses. Needed: an indicator board by health (green, yellow, red, no data) with the last value and the target; a chart of an indicator's measurements over time; a map "goal → benefit → assumptions → indicators"; a gallery of runs with results.