Evidence platform and governance
ADR-0060 — A name is not a composition
- Repository path
- docs/decisions/ADR-0060-a-name-is-not-a-composition.md
- Size · SHA-256
- 6.0 KB · 99b0cc2801d897f15c72b8e6638bc62b98d28f1dd6a76bb05188c56b2e80f984
Status
Accepted, Phase 71.
Context
This programme turns toward secondary and recycled material. Before adding anything, Phase 71 counted what the corpus already had, and found more than expected.
SECONDARY_MATERIAL already exists. MATERIAL_CLASSES has carried it since Phase 27, and its
own comment names the intended scope: "Tailings, slag, red mud, process residue, waste rock, brine,
recycled feed." Six Material entities use it, and six of the corpus's seventeen process routes
are already fed on one of them.
A feed is already described. FeedProfile (Phase 48, ADR-0055) records, for one installation
and one operation, what a source says goes in — with a basis, a unit and an explicit unknown reason
on every property, numeric constraints, and a statement class.
Demonstration is already derived, not typed. ProcessCapability (Phase 45) recomputes
demonstratedScale from the route's own quantities and compares it against the maturity the route
asserts, producing CLAIM_EXCEEDS_ITS_OWN_EVIDENCE where they disagree. Its comment is explicit
that there is "no score, no rank, no readiness level."
A plan drafted from outside the repository proposed a Feedstock entity and a ProcessTechnology
record with an evidence-derived maturity. Both would have been built beside working structures that
already answer those questions. Phase 65 spent an entire package removing three parallel predicate
registries that had silently diverged; adding two more parallel structures would have recreated
that defect by hand.
What genuinely had no home was narrower, and it is the question this domain turns on.
Nothing anywhere records what a consignment of secondary material was MADE OF. The corpus holds its
own counterexample and could not express it: the entity bor-copper-slag is fed to a route whose
source describes batch flotation testwork on mixtures of that slag with old flotation tailings
added at nine per cent, compared against a pure-slag baseline. One entity, two compositions, and
no field in which the difference could be written down.
The same hole is what makes a recycling corpus dangerous. "Black mass" is a name that passes every existing check while asserting nothing: its composition depends on which cell chemistries went into the shredder, and that mixture is usually undeclared. A result obtained on one consignment would be readable as a result about the name.
Two further absences follow from it. Nothing distinguishes a material that was once a product in service from production scrap, and nothing distinguishes either from a process residue that never left the plant. And nothing prevented a record from claiming that its result applied generally when its own description supported no such reach.
Decision
Add no new entity type and no parallel maturity record.
Add three declared axes in packages/domain/src/feedstock.ts — CHEMISTRY_PROVENANCE,
FEEDSTOCK_LIFE_STAGE, RESULT_TRANSFERABILITY — and one internal record type,
FeedstockProvenance, keyed by (material, source). Add one gate,
check-feedstock-provenance.ts, and register the feedstockprovenance record kind.
Why the record is keyed by (material, source) and not by material
Because provenance is not a property of a material KIND.
Putting chemistryProvenance on Material.attributes would assert one composition history for
every description of that material, anywhere, forever — which is precisely the error the record
exists to prevent. Two sources describing "copper slag" describe two consignments. The Bor entity
proves it within this corpus today.
Folding it into FeedProfile was rejected for a different reason: that record is built around an
installation, and most evidence about recycling chemistry describes laboratory work with no
installation at all. whyNoFacility would have let such a record through, but it would have blurred
the contract Phase 48 protects rather than adding the one this phase needs.
Why PROCESS_RESIDUE exists alongside end-of-life and scrap
Every secondary material in this corpus today is a process residue — a slag, a dross, an
ore-dressing waste. None of them was ever a product in service. A vocabulary offering only
END_OF_LIFE_AGED and PRODUCTION_SCRAP would have forced each of them into a history no source
describes, and the first four records of the new store would have been wrong.
END_OF_LIFE_AGED and PRODUCTION_SCRAP are the pair a recycling corpus must never merge: scrap is
undegraded and of known make, while an aged article carries the products of its own decomposition
and a composition its manufacturer no longer controls. Both are currently unreachable in this
corpus — exercised by fixtures, asserted by no record — and the tests say so rather than implying
coverage.
Why transferability is derived and never typed
resultTransferability is computed from chemistryProvenance by one function, stored so a reader
sees it, and recomputed by the gate on every run so that storing it cannot become a way of asserting
it. A record that could type this field would be able to claim its result reaches every consignment
of a material whose inputs it never described.
The derived value is a statement about what the DESCRIPTION permits. It is never a claim that two consignments of the same declared inputs are identical: batches differ, and no field in this corpus establishes that they do not.
What this decision does not do
It adds no judgement of suitability, quality or grade, and no score — absent rather than nullable.
It does not correct the one scientific discrepancy it surfaced. The route
germanium-indium-dross-acid-leaching names an ALLOY as its feed while its source describes leaching
a DROSS obtained by oxidising that alloy, and this corpus holds a separate entity for that dross.
The provenance record states the origin of the material the route names, records the discrepancy in
its own limitations, and leaves the correction to a phase whose remit is to change a scientific
record.