receipt-ledger: tariff version 6 prices an endpoint and a third party's usage, and bills an upscale and a tone mapping by what re-derives them #591
Merged
dcharlot
merged 1 commit from 2026-11-03 02:26:57 -05:00
wai/tariff-v6-b into main 2026-11-02
receipt-ledger: tariff version 6 prices an endpoint and a third party's usage, and bills an upscale and a tone mapping by what re-derives them
All checks were successful
wai-audit collector and player integration / collector, player integration and the browser end to end · macos (pull_request) Successful in 1m34s
joule-moq-web browser client / joule-moq-web · browser end-to-end (macos) (pull_request) Successful in 12m30s
wai-quantum docs, course and locales / every command and snippet in the docs · linux (pull_request) Successful in 22m48s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 18m55s
WAI conformance / cross-arch byte-equality · macos (pull_request) Successful in 21s
WAI conformance / codec wrappers · fuzz smoke, text decode limits, C entry points, provenance, the semantic path (pull_request) Successful in 55s
WAI conformance / cargo-class corpora · macos (pull_request) Successful in 11m30s
wai-fleet service / service · macos (pull_request) Successful in 35s
WAI energy receipts / energy receipts · macos (pull_request) Successful in 24m43s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 36m14s
WAI examples / WAI examples · the archive, the readiness check, the browser and Apple · macos (pull_request) Successful in 10m27s
wai-ledger service / service · macos (pull_request) Successful in 51s
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Successful in 5m47s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 1m59s
wai-ops-gpu integer operators on GPUs / Metal GPU and browser WebGPU (macos) (pull_request) Successful in 8m14s
WAI conformance / each feature of the independent verifiers' steps compiles alone (pull_request) Successful in 27m33s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 3m7s
wai-quantum studio and desktop / desktop app · macos (pull_request) Successful in 3m41s
wai-pack / wai-pack · macos (pull_request) Successful in 9m35s
wai-pack / wai-pack · linux-arm64 (pull_request) Successful in 4m17s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (pull_request) Successful in 5m23s
wai-pack / wai-pack · the floor through a media prober (pull_request) Successful in 2m4s
standards workspaces build + test / macOS energy backends (pull_request) Successful in 50m58s
wai-pack / wai-pack · dependency licences (pull_request) Successful in 2m38s
WAI examples / WAI examples · android-app · linux-arm64 (pull_request) Successful in 10m2s
wai-pack / wai-pack · independent verifier (Python) (pull_request) Successful in 10m15s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (pull_request) Successful in 12m0s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Successful in 7m44s
WAI Studio / Studio in Chromium and Firefox · macos (pull_request) Successful in 40m4s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Successful in 1h45m21s
Two providers of one capability have different list prices, and one price per capability overprices one or underprices the other. A job price now names an endpoint, or none for every endpoint. A price of any endpoint beside a price of one is refused: it would bill one job at both. A third party's hop is billed by what its record states the provider bills (route-record §6.2), in a new unit, `usage`, at the price of its endpoint and its unit. Only the billed hop's record reaches a line: what a provider billed for a failed hop is what the router's operator owes, and no line reads it. A record's `charge` reaches no line either, since a line adds jobs and a provider's figure is in its own terms; the line cites the record, which states it signed. The proposal to put it on the line is dropped. An upscale and a tone mapping get their own output forms. Each record is proved by its own extension's verifier from what it read, and what the hop delivered is held to what that proves, so the subpixels billed are what the derivation gives. Their records are evidence, as an output receipt is, and a new hop's run may cite them again. These three moves share one version, so a buyer signs one new tariff and not two. The tariff of versions 1 to 5 reads and bills as before. The corpus's `invoice_version` control used version 6 as unknown, and now uses 7. The fixtures are small enough that the corpus's debug test takes as long as it did without them, about 11.5 minutes on the Framework, and the README's commands use a release build, which regenerates it in about a minute. Co-Authored-By: Claude Opus 5.5 <[email protected]>