route-record: version 2 prices per operation, ranks by measured failure, binds a hop receipt to its output #552

Merged
dcharlot merged 4 commits from wai/route-physics into main 2026-10-31 08:05:26 -04:00

2026-10-31

Transaction Science
Merge origin/main (#553: two arm64-heavy conformance jobs build without debuginfo) into wai/route-physics
All checks were successful
WAI examples / WAI examples · the archive, the readiness check, the browser and Apple · macos (pull_request) Successful in 11m1s
WAI conformance / cargo-class corpora · macos (pull_request) Successful in 13m0s
joule-moq-room room service / joule-moq-room, every target (pull_request) Successful in 4m27s
wai-pack / wai-pack · macos (pull_request) Successful in 4m3s
standards workspaces build + test / macOS energy backends (pull_request) Successful in 15m0s
WAI examples / WAI examples · portable · linux (pull_request) Successful in 12m54s
wai-quantum studio and desktop / desktop app · linux (pull_request) Successful in 5m29s
wai-quantum studio and desktop / desktop app · macos (pull_request) Successful in 5m19s
WAI conformance / cargo-class corpora · linux (pull_request) Successful in 16m16s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (pull_request) Successful in 5m17s
wai-web wasm32 / wai-web wasm32 build · corpus, menu and writers (pull_request) Successful in 7m3s
wai-quantum docs, course and locales / every command and snippet in the docs · linux (pull_request) Successful in 15m33s
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Successful in 7m14s
WAI conformance / v2 vocabulary · manifests validate as stated (pull_request) Successful in 18s
WAI Studio / Studio in WebKit · linux (pull_request) Successful in 11m6s
WAI Studio / Studio in Chromium and Firefox · macos (pull_request) Successful in 12m46s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (pull_request) Successful in 15m34s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 19m52s
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Successful in 20s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 39s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 2m43s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 10m0s
WAI conformance / each feature of the independent verifiers' steps compiles alone (pull_request) Successful in 15m46s
wai-pack / wai-pack · linux-arm64 (pull_request) Successful in 2m0s
WAI examples / WAI examples · android-app · linux-arm64 (pull_request) Successful in 5m44s
wai-pack / wai-pack · the floor through a media prober (pull_request) Successful in 23s
wai-pack / wai-pack · dependency licences (pull_request) Successful in 1m24s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Successful in 2m42s
wai-pack / wai-pack · independent verifier (Python) (pull_request) Successful in 7m3s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Successful in 1h3m52s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 06:10:48 -04:00
Transaction Science
route-record corpus: the version-2 request's doc says what it is
Some checks failed
wai-quantum for JavaScript / javascript · linux (pull_request) Successful in 2m54s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (pull_request) Successful in 8m16s
wai-quantum studio and desktop / studio · browser (pull_request) Successful in 4m0s
WAI Studio / Studio in Chromium and Firefox · macos (pull_request) Successful in 7m3s
WAI examples / WAI examples · portable · linux (pull_request) Successful in 9m52s
WAI Studio / the catalogue's actions, the unit tests and the core · linux (pull_request) Successful in 56s
joule-moq-remote host agent / joule-moq-remote, every target (linux-arm64) (pull_request) Successful in 1m25s
WAI energy receipts / energy receipts · linux (pull_request) Successful in 11m22s
wai-quantum studio and desktop / desktop app · linux (pull_request) Successful in 4m52s
joule-moq-room room service / joule-moq-room, every target (pull_request) Successful in 4m13s
WAI conformance / cargo-class corpora · linux (pull_request) Successful in 18m41s
wai-web wasm32 / wai-web wasm32 build · corpus, menu and writers (pull_request) Successful in 6m20s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (pull_request) Failing after 18m5s
WAI Studio / Studio in WebKit · linux (pull_request) Successful in 11m14s
wai-quantum docs, course and locales / every command and snippet in the docs · linux (pull_request) Successful in 19m24s
WAI conformance / v2 vocabulary · manifests validate as stated (pull_request) Successful in 17s
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Successful in 8m12s
WAI conformance / each feature of the independent verifiers' steps compiles alone (pull_request) Successful in 12m48s
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Successful in 11s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 30s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 1m57s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 23m10s
WAI examples / WAI examples · android-app · linux-arm64 (pull_request) Successful in 6m28s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 9m25s
wai-pack / wai-pack · linux-arm64 (pull_request) Successful in 2m4s
wai-pack / wai-pack · the floor through a media prober (pull_request) Successful in 25s
wai-pack / wai-pack · dependency licences (pull_request) Successful in 1m26s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Successful in 2m37s
wai-pack / wai-pack · independent verifier (Python) (pull_request) Successful in 7m3s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Successful in 1h6m31s
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 02:42:25 -04:00
Transaction Science
route-record: version 2 prices per operation, ranks by measured failure, binds a hop to its output
A price book of version 2 prices each operation of an endpoint in its own entry, and a job's
candidates are the entries of its operation, so an encode and a decode are estimated, capped and
ranked at their own prices. An entry states its measured failures over a basis (hops, period),
and a candidate carries its expected cost and expected time to first byte per successful job
(the list figure plus failed/(hops - failed) failures' worth), which the price, ttfb and targets
keys read first: the order that minimises the expected spend over the attempts. A basis under
100 hops is too thin; thin or null failures are unknown, their expected figures null and ranked
by the existing rule for null. The job pays the list price: the limits read it and a line bills
the billed attempt. A record of version 2 states the served hop's outputs, and its OER/2
receipt's subject.output must be their commitment (oer-receipts §3 Output: the content hash of
one, the jwp-receipts §2.2 root over several), or receipt_output_mismatch.

Version 1 documents and records verify exactly as before; the corpus keeps every version-1
vector byte for byte but the unknown-version control (now version 3) and adds 36 of version 2.
route_record_verify.py reads version 2 from the text.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-31 02:37:33 -04:00