Critical minerals, lithium and battery materials · Phase 55
Record
Phase 55 gate audit protocol v1
- Repository path
- data/internal/studies/phase55-gate-audit-protocol-v1.json
- Size · SHA-256
- 5.6 KB · 9954e44db817ecec2bd514144357bae2976f6627caa0955eee890fb52b14992b
- Identifier
- study:phase55-gate-audit-protocol-v1
- Phase
- 55
- Schema version
- 1.0.0
- Frozen at
- 2026-09-17
- Protocol hash
- 603813ad27d6dc36
{
"schemaVersion": "1.0.0",
"id": "study:phase55-gate-audit-protocol-v1",
"phase": 55,
"frozenAt": "2026-09-17",
"checkpoint": "A+B — classification rules and the finding set frozen before any gate is edited.",
"baselineCommit": "59a4db4b00c5ab2c6d189384d015093845e7c7a1",
"baselineNote": "Baseline = the Phase 54 commit on this branch. verify:fast exit 0, 1404 tests, 68 files.",
"researchQuestion": "Do this repository's own validators exhibit the defect shapes this programme keeps finding in the corpus — and does every frozen outcome still recompute from the records it summarises?",
"theRecurringShapes": {
"note": "Named from this programme's own history. Each has been met more than once.",
"WORD_NOT_MEANING": "A rule checking whether a WORD appears, where the error would be in the MEANING. Met at least six times: a form rule firing on a source's own units, a cause rule firing on the corpus's denial, an independence rule firing on the sentence declaring no independence, a suitability test firing on a limitation that denies suitability, and a forbidden-render grep counting page-layout CSS.",
"REQUIRED_INCANTATION": "A rule demanding an exact phrase to certify a meaning. A record that refuses correctly in different words fails; a record that contains the phrase and refuses nothing passes.",
"COMMENT_WITHOUT_MECHANISM": "A comment claiming the code checks structure while the code checks spelling.",
"RULE_THAT_CANNOT_FIRE": "A rule no record can violate, whose passing therefore says nothing.",
"COUNT_PIN_NOT_INVARIANT": "A test pinning a number rather than the property that produces it."
},
"priorOutcomeExposure": {
"exposed": true,
"what": "Before freezing, the author enumerated the 27 wired validators, extracted every regex applied to record text, and read the surrounding code of the six gates that carry one. The three findings below were identified BEFORE this freeze and are declared here rather than presented afterwards as discoveries.",
"thereforeNot": "Not outcome-blind, not independent validation, not a replication. The author wrote most of these gates."
},
"findingsIdentifiedBeforeFreeze": [
{
"gate": "scripts/check-material-chain.ts",
"rule": "!/not\\b/i.test(b.notAnOpportunity)",
"shape": "WORD_NOT_MEANING",
"why": "The rule demands the word «not» to certify that a refusal refuses. A record refusing in other words — never, no case for, cannot be read as — would fail while refusing perfectly. The field's NAME is the denial and the schema already requires forty characters of it.",
"alsoNoteworthy": "All five current records happen to contain the word, so the rule has never fired. Its passing has never meant anything."
},
{
"gate": "scripts/check-source-intake.ts",
"rule": "/file ?name|called|named .../i.test(d.howIdentityWasEstablished)",
"shape": "WORD_NOT_MEANING",
"why": "A record stating that identity was NOT established from the filename, and naming the printed report number instead, trips a rule written to catch the opposite. The prose field is where such a denial would be written."
},
{
"gate": "scripts/check-specification-failures.ts",
"rule": "!/\\bestablishes no cause\\b/i.test(r.limitations)",
"shape": "REQUIRED_INCANTATION",
"why": "An exact phrase is demanded in a prose field. It fails CLOSED — a record must contain the words — so it is weaker evidence of a defect than the two above, and it is recorded rather than changed."
}
],
"classificationRules": {
"note": "Every regex applied to record text is classified. The classification is about what the regex is APPLIED TO, not about whether it currently passes.",
"DENIAL_BEARING_FIELD": "Applied to a field where the corpus writes its refusals — limitations, notes, missing, whyNo-anything, notAnOpportunity. Highest risk.",
"ASSERTING_FIELD": "Applied to a field that asserts. Legitimate, and the form every prose rule should take.",
"IDENTIFIER_OR_ENUM": "Applied to an id, a status, a verdict string or an anchored prefix. Safe.",
"CODE_TEXT": "Applied to source code rather than to records. A different risk and not this one.",
"NAME_CONVENTION": "Applied to a name, where the word IS the thing regulated. Defensible."
},
"repairRule": "A rule found defective is REPLACED by a structural check that catches at least as much, never deleted to make a count. Where no structural form exists, the finding is recorded and the rule is left standing with its weakness named.",
"outcomeRecomputation": "Every frozen outcome record carrying machine-checkable totals is recomputed from the records it summarises. A record whose totals no longer follow is a finding, not a fix.",
"admissibleOutcomes": {
"note": "Frozen with precedence.",
"precedence": [
"1. NO_DEFECT_FOUND — no wired validator exhibits any recurring shape.",
"2. DEFECTS_FOUND_AND_REPAIRED — at least one was found and every one admitting a structural form was replaced by one.",
"3. DEFECTS_FOUND_NOT_ALL_REPAIRABLE — at least one has no structural form and stands with its weakness recorded."
],
"alsoReportable": [
"ALL_FROZEN_OUTCOMES_RECOMPUTE",
"AN_OUTCOME_NO_LONGER_RECOMPUTES"
]
},
"forbiddenConclusions": [
"A gate that passes is not a corpus that is correct.",
"An audited rule is not a proven rule; this audit reads code and records, and runs no exhaustive search.",
"A shape classified as safe today is safe for the fields it is applied to today.",
"No count here is a quality score for the repository."
],
"protocolHash": "603813ad27d6dc36"
}