Skip to content
LITHOEN

Critical minerals, lithium and battery materials · Phase 55

Record

Phase 55 gate audit amendment phase 61

Repository path
data/internal/studies/phase55-gate-audit-amendment-phase61.json
Size · SHA-256
9.7 KB · 5a747d4559e23f939a14d27efbc150d7dd2c9f616fc08b4de3c548eba41e719e
Identifier
study:phase55-gate-audit-amendment-phase61
Schema version
1.0.0
Opened at
2026-09-18
{
  "schemaVersion": "1.0.0",
  "id": "study:phase55-gate-audit-amendment-phase61",
  "amends": "study:phase55-gate-audit",
  "openedAt": "2026-09-18",
  "frozen": false,
  "carriesNoHash": "Deliberate. This record exists to grow as validators are wired, and a frozen hash on a record designed to grow would be a hash that means nothing.",
  "why": "The Phase 55 audit lists every validator wired into `validate` at its own date, and a test holds that list to the wired set. Phase 61 wired a new gate and that test failed — the invariant working exactly as intended. The frozen audit is NOT edited to absorb it: a correction to a completed phase goes through an amendment, so the audit stays what it was when it was made and the census stays current.",
  "aNoteOnMergeOrder": "PR #54 carries its own amendment to the same audit, listing the validators wired by Phases 56–60. The two are separate files on purpose and the test unions every amendment it finds rather than naming one, so whichever branch merges second needs no edit to the assertion.",
  "validatorsAddedAfterTheAudit": [
    {
      "script": "scripts/check-source-type-integrity.ts",
      "addedByPhase": 61,
      "regexAppliedToRecordText": true,
      "classification": "ASSERTING_FIELD",
      "note": "One regex family, applied to two asserting fields and never to a denial-bearing one. It tests whether an analyte is a BARE ELEMENT SYMBOL (^[A-Z][a-z]?$) so that Cl cannot be recorded on an oxide basis, and it extracts the instrument token from a claim's stated method to check that token appears in the evidence that claim cites. Both are identity tests on short symbolic values, not searches for words in prose: a record cannot express Fe2O3 or an instrument model without them, so neither rule can punish a correct statement. The method rule fired on two pre-existing corpus records the day it was written."
    },
    {
      "script": "scripts/check-retained-artefact-census.ts",
      "addedByPhase": 62,
      "regexAppliedToRecordText": false,
      "classification": "NO_PROSE_RULE",
      "note": "Structural throughout. It joins the census against the source, evidence and claim stores: every RETAINED artefact must have exactly one row; a row claiming captured provenance must point at an evidence record that carries one of the techniques it lists; a row excused as holding no measurement must genuinely back no measurement-predicate claim; and the outcome's counts must recompute from the rows. The only string operation is a substring test between a technique name and an evidence statement, which is a join between two recorded values rather than a search for words in prose."
    },
    {
      "script": "scripts/check-predicate-registry.ts",
      "addedByPhase": 65,
      "regexAppliedToRecordText": false,
      "classification": "NO_PROSE_RULE",
      "note": "Structural throughout, and deliberately so: a registry classified by the words in its keys would be the Phase 63 lexical mistake with a wider blast radius. It tests declared fields against each other — whether a table-shaped predicate declared a role at all, whether a measurement-bearing predicate answered IN or OUT of composition scope, whether an exclusion gave a reason, and whether every claim under a measurement-bearing predicate is either audited or dispositioned. The only length test is on a reason string, which asks that an exclusion be explained rather than that it be explained in particular words."
    },
    {
      "script": "scripts/check-cohort-membership.ts",
      "addedByPhase": 66,
      "regexAppliedToRecordText": false,
      "classification": "NO_PROSE_RULE",
      "note": "Structural throughout. It compares a positive membership manifest against each store and against the addedByPhase markers in BOTH directions — a member that went missing, a member marked as a later addition, an addition that lost its marker, a marker naming a phase this repository does not record, and a marker claiming a phase at or before the freeze. The only string comparison is the manifest's own provenanceClass against the single value that describes it honestly."
    },
    {
      "script": "scripts/check-material-role-provenance.ts",
      "addedByPhase": 67,
      "regexAppliedToRecordText": true,
      "classification": "ASSERTING_FIELD",
      "note": "One regex, and it tests IDENTITY rather than wording: whether a recovered sample identifier contains this corpus's own record id as a whole token. It was written as a plain substring test and a fixture exposed it — the claim id `claim:a` matched the identifier «Sample 1» because the string contains an «a» — so it now matches the prefixed id, a record-kind prefix, or a slug of at least eight characters bounded as a token. Every other rule is structural: whether an anchored phrase is really present in the evidence record named, whether that record is one the claim cites, and whether a role asserting a route position is anchored at all."
    },
    {
      "script": "scripts/check-bounded-recovery.ts",
      "addedByPhase": 68,
      "regexAppliedToRecordText": true,
      "classification": "ASSERTING_FIELD",
      "note": "One regex, applied to the DETAIL of a context reported ACCESS_BLOCKED, testing whether it asserts that the source lacks the field. That field asserts; it is not where this corpus writes its denials, and the rule exists because a blocked channel doubling as a statement about content is the one confusion the phase's result could collapse into. Everything else is structural: every frozen context answered, every answer from the frozen list, every answer naming its channels, the phase verdict following from the contexts, and ledger totals recomputing from contiguous rows."
    },
    {
      "script": "scripts/check-coverage-audit.ts",
      "addedByPhase": 70,
      "regexAppliedToRecordText": true,
      "classification": "ASSERTING_FIELD",
      "note": "One regex, applied to the validate script in package.json to extract the list of validators that actually run — a manifest of the build, not a record field, and not a place this corpus writes denials. Everything else is structural: every numeric figure in the audit is recomputed from the corpus and compared, and every area claiming coverage must name a validator present in that extracted list. Where no package.json exists the wiring question is left unjudged rather than answered negatively."
    },
    {
      "script": "scripts/check-feedstock-provenance.ts",
      "addedByPhase": 71,
      "regexAppliedToRecordText": false,
      "classification": "ASSERTING_FIELD",
      "note": "Structural throughout. Every rule compares declared fields against each other or against the corpus: a record's material must be SECONDARY_MATERIAL, every route fed on such a material must have a record for (material, source), the origin quote must be a verbatim substring of an evidence statement belonging to that same source, and resultTransferability is recomputed from chemistryProvenance rather than read. The one substring test is an inclusion check of a stored quote inside a stored statement, not a search for meaning in prose, and it can only refuse a quote — never supply one."
    },
    {
      "script": "scripts/check-quantity-contract.ts",
      "addedByPhase": 72,
      "regexAppliedToRecordText": false,
      "classification": "ASSERTING_FIELD",
      "note": "Entirely structural: every rule compares declared enum fields against each other. A quantity about a substance must name one, a setting must name none, a recovery must state the form its target reports into, and an empty denominator must say which kind of empty it is. No rule reads prose, and none can supply a value - each can only refuse a combination of declared fields."
    },
    {
      "script": "scripts/check-patent-families.ts",
      "addedByPhase": 73,
      "regexAppliedToRecordText": true,
      "classification": "ASSERTING_FIELD",
      "note": "One regex, applied to a source's URL to detect a patent-database host, and one substring scan for patent family identifiers across the stores that decide measurements and comparisons. Both look for the PRESENCE of something that must be absent, so neither can supply a value and neither reads prose for meaning. Everything else compares declared fields: date ordering, route distinctness, and the correspondence between a truncated quote and its stated edge."
    },
    {
      "script": "scripts/check-lfp-coverage.ts",
      "addedByPhase": 74,
      "regexAppliedToRecordText": true,
      "classification": "REFUSING_FIELD",
      "note": "One regex, applied to the generated map's own text, searching for words that would turn an empty cell into a free one - NOT_ATTEMPTED, UNOCCUPIED, WHITE_SPACE, NO_PRIOR_ART and their neighbours. It can only REFUSE: it never supplies a value and never decides what a cell means, and it is applied to a file this build generates rather than to a source's prose. Everything else is recomputation: every number in the map is derived again from the records and must match, and every UNKNOWN must name the population it rests on."
    },
    {
      "script": "scripts/check-vocabulary-census.ts",
      "addedByPhase": 77,
      "regexAppliedToRecordText": true,
      "classification": "REFUSING_FIELD",
      "note": "One regex, applied to the generated census's own text, refusing wording that would turn a count into an instruction - dead code, should be removed, must be used. It can only refuse. Everything else is recomputation and a partition invariant: the three kinds of reach must account for every declared value exactly, and no value may be in two of them. Where the checkout carries no TypeScript source the gate reads the record and does NOT check it, because without source a wired value cannot be told from an unbacked one and answering would answer wrongly."
    }
  ]
}