Thing 2.0 build spec: the 1x check is each suite reading the committed stores

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-11-28 06:36:27 +01:00
commit a69ff7e849

View file

@ -277,10 +277,10 @@ This spec adds no contract change. Rulings that bind the packages:
- **Test (per package):** the shared golden fixtures decode and re-encode
byte-identical (M1, M3); the refusal goldens (`seq` 0, extra slot, unknown union
arm) are refused; a hand-built object with seq 0 is refused at encode.
- **1x cross-store check:** the C# package opens a `.cc` store the TS package wrote
and the reverse, and both open Rust's. The check lives in `thing-testkit` as a
scripted cross-runtime job run on Yggdrasil's verify stopgap
(`tools/stopgap/ygg-verify.sh`), because only that image has all three runtimes.
- **1x cross-store check:** each runtime's own suite reads the other two runtimes'
committed stores in `tests/thing-contract-parity` (`written-by-cs.cc`,
`written-by-ts.cc`, `written-by-rs.cc`), each asserting the five records re-encode
to the shared goldens under the other runtimes' keys. No scripted cross-runtime job.
It proves the catalog type names agree (map cut 1 waiting line).
- **Prior art:** CultCache wire parity against the C# reference is the standing
CultLib rule; probe P12-P13 are the evidence **[read, map]**; golden-file