wai-quantum 0.3.41: the fabric — members, parity against the CPU reference, certificates, placement by joules, and the gate kernel in 32-bit lanes #195

Merged
dcharlot merged 6 commits from wai-quantum-fabric into main 2026-10-10 09:38:01 -04:00

2026-10-09

Transaction Science
wai-quantum fabric: the second review round
Some checks failed
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Successful in 8s
WAI conformance / cross-arch byte-equality · linux (pull_request) Successful in 24s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 45s
WAI energy receipts / energy receipts · linux (pull_request) Successful in 1m47s
standards workspaces build + test / joulecontract-rs (pull_request) Successful in 5m43s
standards workspaces build + test / map-rs (pull_request) Successful in 5m0s
standards workspaces build + test / mesh-rs (pull_request) Successful in 4m49s
standards workspaces build + test / openpay (pull_request) Successful in 22m8s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 10m6s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 1m32s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 3m41s
WAI HTTP delivery / HTTP corpus · falsification and differential (pull_request) Successful in 1h19m36s
WAI HTTP delivery / cache rules · controls and labelled caches (pull_request) Successful in 1m3s
WAI JPEG-AI whole decode (pinned inputs, required) / fetch pinned JPEG-AI inputs → whole decode + pixel hash, required (pull_request) Successful in 1m1s
WAI neural sink gates / model-free refusals of the neural sink (pull_request) Successful in 1m7s
wai-pack / wai-pack · does this change touch it (pull_request) Successful in 5s
WAI section references / cited sections exist (pull_request) Successful in 10s
wai-pack / wai-pack · linux-arm64 (pull_request) Successful in 3m42s
WAI mbt2018_mean integer decode (regenerated vectors) / regenerate mbt2018_mean integer vectors → Rust decode, required (pull_request) Successful in 4m15s
wai-web wasm32 / wai-web wasm32 build · corpus, menu and writers (pull_request) Successful in 2m39s
wai-pack / wai-pack · linux (pull_request) Successful in 1m2s
wai-pack / wai-pack · independent verifier (Python) (pull_request) Successful in 1m42s
wai-pack / wai-pack · the floor through a media prober (pull_request) Successful in 16s
wai-pack / wai-pack · dependency licences (pull_request) Successful in 1m6s
standards workspaces build + test / jouledesk-rs (pull_request) Has been cancelled
standards workspaces build + test / macOS energy backends (pull_request) Has been cancelled
WAI conformance / cargo-class corpora · macos (pull_request) Has been cancelled
WAI conformance / cross-arch byte-equality · macos (pull_request) Successful in 23m0s
WAI energy receipts / energy receipts · macos (pull_request) Successful in 2h23m35s
wai-pack / wai-pack · macos (pull_request) Successful in 1h7m26s
- The energy class is encoded as energy-measurement §2.7 does: tag 0 for
  an unmetered zero, otherwise the class's own tag, with no byte before
  it (a leading 1 read as the legacy HwShunt tag).
- The fabric receipt has its figure profile, wai:quantum-fabric-id, in
  the §6.1 table, the Rust profiles, the Python verifier, and an
  EnergyFigures view with a test.
- certify_sampling certifies a sampling device from its counts, with the
  weights and counts in the corpus digest.
- Corpus inputs length-prefix the control count; non-finite floats
  certify nothing even when they match; the lane multiply's exact range
  is stated and tested on both sides of its edge; detection names the
  units it probes on targets it cannot ask.
- The docs say a certificate names the member it ran on, so only its
  parity and corpus digest agree across platforms.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-09 04:41:30 -04:00
Transaction Science
wai-quantum 0.3.41
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-09 04:01:33 -04:00
Transaction Science
wai-quantum fabric: certificates bind what they certify; receipts encode without ambiguity
From a five-lens review with three skeptics per finding:

- A certificate now names its kernel, implementation, member and corpus
  generator (with the seed), all in its hash. Placement relies only on a
  certificate that is for that kernel, implementation and member, and
  earned on a corpus unless it is a CPU's own reference.
- A bound no longer stands in for a fidelity.
- The receipt and certificate encodings length-prefix every string, so
  bytes cannot move between fields under one signature. The corpus digest
  length-prefixes every output.
- The receipt carries the joules' acquisition class: required for a
  non-zero figure, absent for zero, checked by the crate's label rule.
- statistical() normalises the reference, refuses a shot total past 64
  bits, and cannot exceed one. compare() refuses a scale of 64 bits or
  more. lanes::simulate refuses what the native simulator refuses.
- A known energy figure of any size comes before none.
- Detection asks the running CPU for its vector units on x86-64 and
  aarch64 and says when it reports what the binary was compiled for.
- The docs claim no more than the gate kernel for lanes.
- The CLI labels by implementation and prints the generator; its doc says
  fabric describes the host while its certificate agrees everywhere.
- wai.quantum.fabric joins the registry's unregistered receipt labels.

Native aarch64 and wasm32-wasip2 give the same certificate, corpus digest
included, for the same seed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-09 03:59:54 -04:00