Commit 76650fc
feat(toolchain-readiness-grades): complete the directory — fill in templates, .a2ml, SELF-ASSESSMENT
The initial TRG commit (1880521) shipped the spec and the README but
left the five templates referenced from the spec as "forthcoming" and
omitted the machine-readable counterpart and the self-assessment.
That's exactly the "default contractile left in" pattern that should
not survive into git. This commit fixes it.
New files:
* templates/AUDIT-TEMPLATE.adoc — the canonical four-tier MoSCoW audit
template that every component audit must fill in. Mapped directly
onto the TRG grade gates (Must -> E, Should -> D, Could -> C,
Aspirational -> B). Required header and footer fields specified.
Style rules: every PASSED claim must be supported by a verifiable
artefact; the audit document is itself subject to the invariant-path
doc-claims grounder.
* templates/CANONICAL-PROOF-SUITE.adoc — the M/S/E proof suite v1.0
with 15 entries (5 mathematics, 5 science, 5 engineering). Each
entry cites where existing formal proofs exist in mathlib4, the
Coq stdlib, the Idris2 stdlib, the Agda stdlib, etc. so the porting
work is bounded. This is the gate to leave grade E. Pass condition,
versioning policy, and re-baseline cadence specified.
* templates/QUALIFYING-PROVERS.adoc — the v1 qualifying-prover set:
Idris2, Lean 4, Rocq, Agda. Qualifying criteria (active maintenance,
published kernel design, public test suite, public manual,
reproducible builds, >=1000 distinct users, no outstanding
soundness bugs, banned-construct discipline). A-grade
kernel-soundness criterion: at least one of the three provers in
cross-validation must have a published kernel-soundness proof.
As of v1.0: Lean 4 and Rocq unambiguously satisfy; Idris2 and Agda
are in the set but should not be the sole kernel-soundness anchor
until their meta-theoretic verification matures. Annual re-baseline.
* templates/FUZZING-CORPUS-FLOOR.adoc — per-grade and per-component
fuzzing minimums. D requires harness exists + 1hr CI + corpus 100;
C requires 14 days continuous + 1k corpus + 70% branch coverage;
B requires 30 days + 10k corpus + 85% coverage + structure-aware
fuzzer; A requires 90 days + 100k corpus + 95% coverage +
structure-aware AND differential fuzzer. Per-component matrix
covering lexer, parser, AST, macro expander, import resolver,
diagnostics, semantic analyser, type checker, IR, codegen, linker,
runtime, REPL, formatter, LSP, stdlib. Differential fuzzing
requirements at A-grade (the LangSec / parser-differential class).
* templates/A-GRADE-LLM-PANEL.adoc — binding composition rules for
the six-LLM panel. Vendor distinctness (one per major lab),
composition by role (2 reasoning + 2 specialist coding + 1 instruct
+ 1 MoE), reproducibility requirement (every signoff archived as
byte-reproducible session transcript with PGP-style tamper
evidence), independent submission (no coordinated prompting),
unanimous required, evidence archival. Qualifying-vendor matrix
(v1.0, 2026-Q2): Anthropic, OpenAI, Google DeepMind, Meta,
Mistral, DeepSeek, Alibaba, Cohere, xAI. Quarterly re-baseline.
Defence against the "category error" objection: the LLM panel
supplements human reviewers, never replaces them.
* SELF-ASSESSMENT.adoc — TRG applied to itself. Honest current grade:
*X (Untested)*. Standard exists and is internally consistent but
no toolchain component has yet been audited against it.
Path-to-D laid out (audit at least one hyperpolymath toolchain
component; 007 lexer is the obvious first candidate since the
TRG audit format is derived from the 007 lexer MK2 audit archived
in references/007/audit-lexer-mk2-tier-format.md).
* TOOLCHAIN-READINESS-GRADES.a2ml — machine-readable counterpart of
the spec, matching the CRG `.a2ml` pattern. Includes grade
definitions with ordinal + release stage + stability posture +
evidence required, release-stage mapping, required toolchain
components, banned constructs, standing priority order, grade
aggregation rule, qualifying provers, canonical proof suite
metadata, A-grade LLM panel composition, demotion triggers,
per-language extension hook, and self-assessment.
Modified files:
* README.adoc — replaced "Forthcoming" entry for templates/ with
the actual inventory of the five templates. Added inventory entries
for SELF-ASSESSMENT.adoc and TOOLCHAIN-READINESS-GRADES.a2ml.
Bare-filename references like `AUDIT-TEMPLATE.adoc` rewritten as
`templates/AUDIT-TEMPLATE.adoc` so the doc-claims grounder finds
them. Same fix applied to SELF-ASSESSMENT.adoc and
templates/CANONICAL-PROOF-SUITE.adoc.
Verification: re-ran invariant-path doc-claims on the directory after
this fix. Grounded count went from 0 (templates didn't exist) to
41/64 = 64% within the directory's scope. The remaining 23 ungrounded
references are all legitimate cross-estate references (memory entries,
sibling directories in standards/, per-language repo conventions) that
the v0 single-root grounder cannot follow — multi-root grounding is
on the invariant-path Phase A roadmap.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1880521 commit 76650fc
8 files changed
Lines changed: 1068 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
59 | 79 | | |
60 | 80 | | |
61 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
0 commit comments