Skip to content
LITHOEN

Evidence platform and governance

Document

ADR-0047 — Quality is a derived view, and a requirement's dimension is declared

Repository path
docs/decisions/ADR-0047-quality-is-derived-and-its-dimension-is-declared.md
Size · SHA-256
6.5 KB · a1a39917fde1d261cc6169ec69b9652b3b71b13409b1f26fd55c42c6273260ff

Status: Accepted · Date: 2026-09-10 · Phase: 37 Extends: ADR-0045 and ADR-0046. Nothing earlier is superseded.

Context

Phases 33 to 36 built a comparison that can decide a requirement. What they could not do is say what KIND of thing had been decided. A ceiling on tantalum, a floor on niobium pentoxide, a limit on how much of the vanadium is under-oxidised and a maximum particle size were all rows with a comparator, and every summary of them collapsed into a purity number.

The phase brief offered a first-class MaterialQualityProfile, a QualityEnvelope entity and an ImpurityFamily concept. It also required that none be created without repeated empirical pressure. Three questions were asked in that order.

Decision 1 — no new first-class object; the envelope is a derived internal view

qualityenvelope:* under data/internal/quality-envelopes/, one per comparison, entirely recomputed by its gate in the manner ADR-0045 established for overallStatus. Nothing in it may be authored.

It is not an Entity, for the same reason a comparison is not: nothing in the world corresponds to it. It is an act this corpus performed over records it already held.

It earns storage rather than being computed on demand for one reason — a stored file that has drifted, because a comparison moved and nobody regenerated, fails instead of quietly producing a different answer next time anyone asks. The gate compares the stored copy against a fresh derivation from the primary records, which is a real check and not a tautology: the generator and the gate share one body of logic precisely so that the only thing being tested is whether the snapshot still matches the sources.

MaterialQualityProfile was not created. A product-scoped profile would aggregate one sample's performance into an object that outlives its comparison, and the phase's whole discipline is that a result does not travel without its specification.

ImpurityFamily was not created. Family grouping is a pure function used for cross-family description. Making it a record would put a label where an analyte identity belongs, and the first time somebody joined on it, Fe would answer a limit written on Fe₂O₃.

Decision 2 — the quality dimension is DECLARED on the requirement

qualityDimension, from a vocabulary of eight, on every requirement. A field on an object that already exists, not a new record.

It is declared rather than inferred because inference demonstrably fails on data this corpus holds today. Arcadium prints a row named H2O, wt. %; its own footnote defines the figure as a weight per cent loss on drying at 500 ºC for thirty minutes. It is a loss on heating wearing the name of moisture, and any classifier keyed on the property name gets it wrong. So does V in total as V2O5, a major component whose name contains a basis statement, and Соединения Fe в пересчете на Fe2O3, an oxide-basis iron limit whose name is a Russian sentence.

The vocabulary was read off the 181 requirements the corpus holds, not imported. Four commonly expected dimensions — moisture, phase composition, morphology, density — are recorded as deliberately absent, each with the reason it would be a category with no member.

Two defects were exposed within minutes of the field existing:

  • one document carried its two loss-on-heating rows on different bases;
  • two particle-size metrics shared one basis, so a measurement of either would have satisfied a limit on the other.

Neither was visible while quality was a purity number.

Decision 3 — PARTICLE_SIZE becomes two bases, and needs no new rule

A d(90) below 50 µm says nothing about the largest particle present; a top size below 1 mm says nothing about the distribution beneath it. They are two quantities, and the corpus already has a mechanism for two quantities that must never answer each other: the basis equality that stops Fe answering Fe₂O₃.

Splitting the basis reuses it exactly. No comparison logic changed.

Decision 4 — the basis belongs to the requirement, not to the comparison citing it

A mutation asked whether the same issuer could be made to imply the same analyte basis. It could: specBasis was authored per assessment and no rule looked at the specification, so an element limit could be relabelled an oxide limit until a measurement became comparable.

basis now lives on the printed requirement, and the drift check that already caught a changed property, operator, value or unit catches a changed basis. 140 of 181 bases were lifted from comparisons that had read them; the remaining 41 belong to specifications nothing has ever been compared against — which is exactly where a misreading would have waited unexamined.

Decision 5 — a limiting parameter is derived, scope-bound, and may not touch the process layer

Derived: exactly the requirements that are decisively DOES_NOT_SATISFY, recomputed on every run. UNKNOWN cannot be limiting, NOT_COMPARABLE cannot be limiting, and a stored list that disagrees by one entry fails.

Scope-bound: product, specification, comparison, measured value with basis, limit with basis.

Separated: no BottleneckAssessment may cite a specification comparison or a quality envelope, and no envelope may cite a bottleneck. A bottleneck attached to a grade rather than a stream is refused. Nothing prevents a bottleneck resting on real process evidence — what is prevented is a specification failure becoming a technical diagnosis because two records sat side by side.

What this does not do

There is no score, and no field a score could be written into: the envelope schema is strict, so a score is refused by the shape of the record rather than by a rule about it. That is a stronger protection than a rule, and it is worth distinguishing from one.

Nothing here identifies a process cause, and nothing here generalises. The corpus's own data makes the second point cheaply: one iron measurement of one product fails two grades of one issuer and satisfies the third.

Consequences

  • One new record kind, qualityenvelope, and one new gate, check-material-quality.ts.
  • Two new fields on an existing object; no new entity types.
  • MEASUREMENT_BASES gains one member and loses one.
  • 38 mutation assertions, of which two record that the protection is the absence of a field rather than the presence of a rule.