Repository navigation
v1.6.0
Kit v1.6.0 corrects a divergence between the kit and draft-zambo-aer1-26, caught by Mikhail Sergeev's WEXP interop check (WEXP-dev/interop-test-lab #40; results merged in WEXP-dev/wexp-interop #25).
Draft-26 Table 1 makes metadata_hash REQUIRED when receipt_schema_version is "0.4" or later, and Section 6 step 4 states it without condition: a "0.4" receipt without metadata_hash MUST fail. The kit's runners recomputed metadata_hash whenever it was present but never failed its absence, and the corpus pinned ten pre-binding 0.4 receipts as valid without one.
What changed:
- Both runners (base/conformance.py, base/conformance.cjs) now fail a "0.4"-or-later receipt that carries no metadata_hash, with the Section 6 step 4 rule. "0.3" and earlier receipts are unchanged: they still verify under the prior rules and report as legacy acceptances, never as plain current-schema passes.
- The ten vectors (bound-04, deep-nesting, edge-numbers, empty-members, input-hash-multikey-20, large-payload, maximum-offset-timestamp, optional-members-18, typographic-unicode, uuid-v1-core) now carry the metadata_hash computed over their own stored member values with the kit's Section 3.1 implementation. Their edge-case intent is unchanged; no other member, canonical_bytes, or output_hash was touched.
- Every other evaluated file is byte-identical to v1.5.7. Counts are unchanged: 143 vectors, 146 checks.
- New evaluated-set digest: sha256:4ea44dc07125a6f9b7fa472450a30fb56265771cfe87b1772a02b03d1fc166f2
Kit v1.5.7 and its evaluated-set digest (sha256:60bf73f325793e16843370cfa24903bb0d017525cb297e42bebc35857e2db0d2) stay frozen and untouched: merged third-party records pin them, and nothing that cites them moves.
Verification: full conformance passes in both runners with byte-identical output, the metadata probe suite passes, and each corrected receipt with its metadata_hash stripped now fails on exactly the Section 6 step 4 rule (the same stripped receipts pass the frozen v1.5.7 runners, which is the divergence this release closes).