| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
Some checks failed
joule-moq-room room service / joule-moq-room · does this change touch it (pull_request) Successful in 7s
joule-moq-remote host agent / joule-moq-remote · does this change touch it (pull_request) Successful in 9s
joule-moq-web browser client / joule-moq-web · does this change touch it (pull_request) Successful in 8s
wai-app and Create / wai-app · does this change touch it (pull_request) Successful in 9s
joule-code conformance gate / joule-moq-relay, its own energy on a counter (macos) (pull_request) Successful in 1m3s
joule-code conformance gate / Build + round-trip C1-C4 vectors (pull_request) Successful in 1m21s
wai-quantum on every processor / emulated · aarch64-unknown-linux-gnu (pull_request) Successful in 2m30s
joule-moq-remote host agent / joule-moq-remote, every target (macos) (pull_request) Successful in 2m40s
wai-quantum on every processor / emulated · powerpc64-unknown-linux-gnu (pull_request) Successful in 4m2s
wai-quantum on every processor / emulated · armv7-unknown-linux-gnueabihf (pull_request) Successful in 4m36s
wai-app and Create / wai-app · Create, browser end-to-end (macos) (pull_request) Successful in 5m0s
wai-quantum on every processor / emulated · loongarch64-unknown-linux-gnu (pull_request) Successful in 6m58s
wai-web reach builds / wai-web reach · does this change touch it (pull_request) Successful in 6s
joule-code conformance gate / joule-moq-relay, every target (pull_request) Successful in 7m57s
wai-quantum on every processor / emulated · powerpc64le-unknown-linux-gnu (pull_request) Successful in 8m5s
joule-code conformance gate / joule-moq-ingest, every target (pull_request) Failing after 8m16s
wai-app and Create / wai-app · tests, clippy, the line language's verifier (linux) (pull_request) Successful in 27s
standards workspaces build + test / which workspaces this change touches (pull_request) Successful in 35s
wai-quantum WebGPU member / member · DX12 and Vulkan (cbio-windows) (pull_request) Successful in 12m27s
WAI breaking changes and the conformance runner / WAI breaking · does this change touch WAI (pull_request) Successful in 40s
wai-audit collector and player integration / does this change touch it (pull_request) Successful in 53s
WAI conformance / does this change touch it (pull_request) Successful in 18s
WAI operation catalogue / does this change touch it (pull_request) Successful in 19s
WAI energy receipts / does this change touch it (pull_request) Successful in 22s
WAI examples / WAI examples · does this change touch them (pull_request) Successful in 24s
wai-quantum on every processor / emulated · riscv64gc-unknown-linux-gnu (pull_request) Successful in 8m58s
wai-fleet service / does this change touch it (pull_request) Successful in 20s
WAI JPEG-AI whole decode (pinned inputs, required) / does this change touch it (pull_request) Successful in 25s
wai-web reach builds / wai-web reach builds · the package of record, every output as recorded (pull_request) Successful in 2m22s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (pull_request) Successful in 10m40s
wai-key-proxy / does this change touch it (pull_request) Successful in 37s
wai-ledger service / does this change touch it (pull_request) Successful in 36s
WAI neural sink gates / does this change touch it (pull_request) Successful in 25s
wai-ops-gpu integer operators on GPUs / does this change touch it (pull_request) Successful in 19s
wai-pack / wai-pack · does this change touch it (pull_request) Successful in 31s
wai-quantum on every processor / emulated · sparc64-unknown-linux-gnu (pull_request) Successful in 7m31s
wai-quantum command line / does this change touch it (pull_request) Successful in 36s
wai-quantum contract / does this change touch it (pull_request) Successful in 34s
wai-quantum CUDA member / does this change touch it (pull_request) Successful in 41s
wai-quantum docs, course and locales / does this change touch it (pull_request) Successful in 30s
wai-quantum dataflow member / does this change touch it (pull_request) Successful in 39s
WAI conformance / fast integer kernels, every x86_64 kernel set (AVX-512 silicon) (pull_request) Successful in 3m2s
wai-audit collector and player integration / collector · linux (pull_request) Successful in 1m4s
wai-quantum signal processor / does this change touch it (pull_request) Successful in 31s
wai-quantum editors / does this change touch it (pull_request) Successful in 28s
wai-quantum resource estimation / does this change touch it (pull_request) Successful in 26s
wai-audit collector and player integration / collector, player integration and the browser end to end · macos (pull_request) Successful in 2m54s
wai-quantum other formats / does this change touch it (pull_request) Successful in 28s
wai-web reach builds / wai-web reach builds · this tree's wai-web, every rung on its engine line (pull_request) Successful in 4m58s
wai-quantum FPGA member / does this change touch it (pull_request) Successful in 29s
wai-quantum HIP member / does this change touch it (pull_request) Successful in 31s
WAI conformance / cross-arch byte-equality · macos (pull_request) Successful in 21s
wai-quantum for JavaScript / does this change touch it (pull_request) Successful in 35s
wai-quantum OpenQASM reader / does this change touch it (pull_request) Successful in 34s
wai-quantum Metal member / does this change touch it (pull_request) Successful in 33s
wai-quantum CUDA member / member · CUDA (jetson-hub) (pull_request) Successful in 1m46s
wai-quantum on every processor / emulated · s390x-unknown-linux-gnu (pull_request) Successful in 11m40s
wai-quantum CUDA member / member · CUDA (thor) (pull_request) Successful in 2m6s
standards workspaces build + test / macOS energy backends (pull_request) Successful in 5m56s
wai-quantum HIP member / member · HIP (framework-128gb) (pull_request) Successful in 1m5s
wai-quantum neural-processor member / does this change touch it (pull_request) Successful in 34s
wai-quantum npu-cores member / does this change touch it (pull_request) Successful in 37s
WAI conformance / codec wrappers · fuzz smoke, text decode limits, C entry points, provenance, the semantic path (pull_request) Successful in 54s
wai-quantum OpenCL member / does this change touch it (pull_request) Successful in 35s
WAI breaking changes and the conformance runner / WAI breaking · wire, record and API against main · linux (pull_request) Successful in 2m3s
wai-quantum OpenCL member / member · OpenCL GPU and CPU (jetson-hub) (pull_request) Successful in 44s
wai-quantum error correction and mitigation / does this change touch it (pull_request) Successful in 51s
wai-quantum pulse and dynamics / does this change touch it (pull_request) Successful in 51s
wai-quantum for Python / does this change touch it (pull_request) Successful in 54s
wai-quantum OpenCL member / member · OpenCL GPU and CPU (thor) (pull_request) Successful in 57s
wai-quantum-qpu / does this change touch it (pull_request) Successful in 10s
wai-quantum extension points / does this change touch it (pull_request) Successful in 13s
wai-quantum service / does this change touch it (pull_request) Successful in 11s
WAI breaking changes and the conformance runner / WAI breaking and conform · their tests, and the independent verifiers through wai conform · linux (pull_request) Successful in 2m38s
wai-quantum on every processor / emulated · i686-unknown-linux-gnu (pull_request) Successful in 11m10s
wai-quantum matrix-extension member / does this change touch it (pull_request) Successful in 14s
wai-quantum npu-cores member / member · npu-cores, neural processor (framework-128gb silicon) (pull_request) Successful in 1m17s
wai-quantum studio and desktop / does this change touch it (pull_request) Successful in 15s
wai-quantum tensor-engine member / does this change touch it (pull_request) Successful in 14s
wai-quantum portable tensor program / does this change touch it (pull_request) Successful in 14s
wai-quantum variational and algorithm library / does this change touch it (pull_request) Successful in 14s
WAI conformance / cross-arch byte-equality · linux (pull_request) Successful in 31s
wai-quantum CPU vector units / does this change touch it (pull_request) Successful in 13s
wai-quantum OpenCL member / member · OpenCL GPU (framework-128gb) (pull_request) Successful in 25s
wai-quantum portable tensor program / tensor program · integrated GPU (framework-128gb) (pull_request) Successful in 14s
wai-quantum verdicts and repairs / does this change touch it (pull_request) Successful in 26s
wai-quantum views in agent hosts / does this change touch it (pull_request) Successful in 28s
wai-quantum WebGPU member / does this change touch it (pull_request) Successful in 29s
WAI conformance / faces from keypoints under wasm32-wasip2 (wasmtime) (pull_request) Successful in 2m0s
wai-quantum CPU vector units / member · vector units, avx2 and avx512 (framework-128gb silicon) (pull_request) Successful in 18s
wai-sink-android native sink library / does this change touch it (pull_request) Successful in 18s
wai-sink-swift native sink package / does this change touch it (pull_request) Successful in 27s
WAI mbt2018_mean integer decode (regenerated vectors) / does this change touch it (pull_request) Successful in 28s
WAI Studio / does this change touch it (pull_request) Successful in 23s
wai-quantum service / service energy · linux packages (pull_request) Successful in 1m47s
WAI conformance / quantum core and corpus under wasm32-wasip2 (wasmtime) (pull_request) Successful in 3m27s
wai-web wasm32 / does this change touch it (pull_request) Successful in 23s
wai-quantum portable tensor program / tensor program · GPUs (jetson-hub) (pull_request) Successful in 32s
wai-fleet service / service · linux (pull_request) Successful in 2m4s
wai-key-proxy / proxy · linux (pull_request) Successful in 1m11s
WAI operation catalogue / the catalogue and every door · linux (pull_request) Successful in 4m54s
wai-ledger service / service · linux (pull_request) Successful in 1m29s
WAI energy receipts / energy receipts · macos (pull_request) Successful in 7m17s
wai-fleet service / service · macos (pull_request) Successful in 41s
WAI neural sink gates / model-free refusals of the neural sink (pull_request) Successful in 1m50s
wai-ledger service / service · macos (pull_request) Successful in 47s
joule-moq-remote host agent / joule-moq-remote, every target (linux-arm64) (pull_request) Successful in 3m1s
WAI JPEG-AI whole decode (pinned inputs, required) / fetch pinned JPEG-AI inputs → whole decode + pixel hash, required (pull_request) Successful in 6m43s
wai-pack / wai-pack · linux (pull_request) Successful in 2m2s
wai-quantum studio and desktop / desktop app · windows (pull_request) Successful in 9m50s
wai-quantum WebGPU member / member · integrated GPU, Vulkan (framework-128gb) (pull_request) Successful in 8m57s
WAI examples / WAI examples · the archive, the readiness check, the browser and Apple · macos (pull_request) Successful in 11m34s
wai-ops-gpu integer operators on GPUs / builds · no adapter is not a pass (linux) (pull_request) Successful in 4m34s
WAI examples / WAI examples · portable · linux (pull_request) Successful in 10m18s
wai-quantum contract / the policy is linked, and the deprecations page reads (pull_request) Successful in 5s
joule-moq-room room service / joule-moq-room, every target (pull_request) Successful in 6m3s
wai-quantum command line / command line · linux (pull_request) Successful in 3m1s
wai-quantum CUDA member / member · CUDA absent (linux) (pull_request) Successful in 1m50s
wai-pack / wai-pack · macos (pull_request) Successful in 2m27s
wai-quantum command line / command line · macos (pull_request) Successful in 1m2s
wai-quantum contract / API compatibility · linux (pull_request) Successful in 5m17s
wai-quantum dataflow member / member · dataflow device absent (macos) (pull_request) Successful in 28s
wai-quantum docs, course and locales / the Studio's words in every locale · linux (pull_request) Successful in 19s
WAI energy receipts / energy receipts · linux (pull_request) Successful in 14m52s
wai-quantum docs, course and locales / the course and the command line's languages · linux (pull_request) Successful in 2m15s
joule-moq-web browser client / joule-moq-web · browser end-to-end (macos) (pull_request) Successful in 30m47s
wai-ops-gpu integer operators on GPUs / Metal GPU and browser WebGPU (macos) (pull_request) Successful in 8m3s
wai-quantum editors / editors · macos (pull_request) Successful in 1m6s
WAI conformance / cargo-class corpora · linux (pull_request) Successful in 18m34s
WAI conformance / v2 vocabulary · manifests validate as stated (pull_request) Successful in 1m27s
wai-quantum OpenCL member / member · OpenCL GPU (macos) (pull_request) Successful in 22s
wai-quantum contract / schemas and the committed tool lists · linux (pull_request) Successful in 6m15s
wai-quantum pulse and dynamics / the same bits · macos (pull_request) Successful in 53s
wai-quantum FPGA member / member · FPGA datapath, simulated (macos) (pull_request) Successful in 2m54s
wai-quantum editors / editors · linux (pull_request) Successful in 2m32s
wai-quantum resource estimation / estimation and calibration · linux, release (pull_request) Successful in 2m4s
wai-quantum dataflow member / member · dataflow device, simulated (pci 1e52:b140) (pull_request) Successful in 3m54s
wai-quantum for Python / python · macos (pull_request) Successful in 1m54s
wai-quantum neural-processor member / member · neural processor (macos) (pull_request) Successful in 4m21s
wai-quantum FPGA member / member · FPGA simulation absent (linux) (pull_request) Successful in 31s
wai-quantum Metal member / member · Metal (macos) (pull_request) Successful in 2m4s
wai-quantum dataflow member / member · dataflow device, simulated (pci 1e52:401e) (pull_request) Successful in 5m7s
wai-quantum-qpu / credentials in the keychain (macos) (pull_request) Successful in 31s
wai-quantum portable tensor program / tensor program · Metal and the arm64 CPU (macos) (pull_request) Successful in 22s
wai-quantum other formats / the set under wasm32-wasip2 (wasmtime) (pull_request) Successful in 2m4s
wai-quantum CPU vector units / member · vector unit absent (macos) (pull_request) Successful in 14s
wai-quantum matrix-extension member / member · matrix extension absent (macos) (pull_request) Successful in 59s
wai-quantum OpenQASM reader / corpus under wasm32-wasip2 (wasmtime) (pull_request) Successful in 40s
wai-quantum Metal member / member · Metal absent (linux) (pull_request) Successful in 28s
wai-quantum OpenQASM reader / reader and corpus · linux (pull_request) Successful in 2m0s
wai-quantum neural-processor member / member · neural processor absent (linux) (pull_request) Successful in 21s
wai-quantum OpenCL member / member · OpenCL absent (linux) (pull_request) Successful in 25s
wai-quantum other formats / readers, writers and the set · linux (pull_request) Successful in 4m13s
wai-quantum WebGPU member / member · Metal (macos) (pull_request) Successful in 2m5s
wai-quantum for JavaScript / javascript · linux (pull_request) Successful in 3m18s
wai-quantum studio and desktop / desktop app · macos (pull_request) Successful in 3m45s
wai-quantum pulse and dynamics / reader, simulator and pulse jobs under wasm32-wasip2 (wasmtime) (pull_request) Successful in 1m6s
wai-quantum pulse and dynamics / reader, simulator and pulse jobs · linux, release (pull_request) Successful in 1m26s
wai-quantum WebGPU member / member · GPU, Vulkan (jetson-hub) (pull_request) Successful in 22m53s
wai-quantum error correction and mitigation / codes, decoders, texts and mitigation · linux, release (pull_request) Successful in 2m34s
wai-quantum-qpu / clients against their contracts (linux) (pull_request) Successful in 1m1s
wai-quantum WebGPU member / member · browser WebGPU (macos) (pull_request) Successful in 4m12s
standards workspaces build + test / joule-code-rs (joule-code/joule-code-rs, joule-code-rs, linux-arm64, true) (pull_request) Successful in 15m39s
wai-quantum WebGPU member / member · GPU, Vulkan (thor) (pull_request) Successful in 25m9s
wai-quantum for Python / python · linux (pull_request) Successful in 2m54s
wai-quantum extension points / the registry under wasm32-wasip2 (wasmtime) (pull_request) Successful in 1m15s
wai-quantum service / service · macos (pull_request) Successful in 7m10s
wai-quantum matrix-extension member / member · matrix extension, emulated (aarch64 Linux) (pull_request) Successful in 19s
wai-quantum extension points / the registry and the example · linux (pull_request) Successful in 2m53s
WAI conformance / cargo-class corpora · macos (pull_request) Successful in 30m36s
wai-quantum docs, course and locales / every command and snippet in the docs · linux (pull_request) Failing after 16m44s
wai-quantum signal processor / processor and member · signal processor, emulated (pull_request) Successful in 13m54s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (pull_request) Successful in 5m29s
wai-quantum portable tensor program / tensor program · CPU, mutants, GPU builds (pull_request) Successful in 44s
wai-quantum CPU vector units / member · vector unit, rvv 1024-bit (riscv64, emulated) (pull_request) Successful in 23s
wai-quantum studio and desktop / studio · browser (pull_request) Failing after 3m5s
wai-quantum CPU vector units / member · vector unit, sve 128-bit (aarch64, emulated) (pull_request) Successful in 30s
wai-quantum CPU vector units / member · vector unit, sve 2048-bit (aarch64, emulated) (pull_request) Successful in 12s
wai-quantum service / service · linux (pull_request) Successful in 4m42s
wai-quantum CPU vector units / member · vector unit, avx2 (x86_64 silicon) (pull_request) Successful in 21s
wai-quantum CPU vector units / member · vector unit, rvv 128-bit (riscv64, emulated) (pull_request) Successful in 35s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux, release (pull_request) Successful in 1m45s
wai-quantum CPU vector units / member · vector unit, sve 512-bit (aarch64, emulated) (pull_request) Successful in 33s
wai-quantum views in agent hosts / views · the page and its engine (pull_request) Failing after 23s
wai-quantum verdicts and repairs / the intent set and the verdict under wasm32-wasip2 (wasmtime) (pull_request) Successful in 1m25s
wai-quantum verdicts and repairs / verdicts, repairs and the intent set · linux (pull_request) Successful in 1m44s
wai-quantum tensor-engine member / member · tensor engine, the kernel toolchain's simulator (linux) (pull_request) Successful in 4m57s
wai-quantum studio and desktop / desktop app · linux (pull_request) Successful in 5m46s
WAI Studio / the catalogue's actions, the unit tests and the core · linux (pull_request) Successful in 1m0s
wai-quantum WebGPU member / member · software Vulkan (linux) (pull_request) Successful in 2m7s
wai-quantum views in agent hosts / views · a scripted host (pull_request) Successful in 3m42s
wai-quantum WebGPU member / shader checks · browser build · wasip2 inertness · MSRV (pull_request) Successful in 3m47s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (pull_request) Successful in 11m42s
WAI mbt2018_mean integer decode (regenerated vectors) / regenerate mbt2018_mean integer vectors → Rust decode, required (pull_request) Successful in 6m0s
wai-web wasm32 / wai-web wasm32 build · corpus, menu and writers (pull_request) Successful in 6m45s
WAI Studio / Studio in WebKit · linux (pull_request) Successful in 12m28s
WAI conformance / cargo-class corpora · linux-arm64 (pull_request) Successful in 35m25s
WAI Studio / Studio in Chromium and Firefox · macos (pull_request) Successful in 24m56s
WAI conformance / delivery telemetry · CMCD and CMSD against an independent library (pull_request) Successful in 3m51s
WAI conformance / each feature of the independent verifiers' steps compiles alone (pull_request) Successful in 28m3s
WAI conformance / cross-arch byte-equality · linux-arm64 (pull_request) Successful in 3m38s
WAI conformance / C2PA manifest emission · signed, read back, validated (pull_request) Successful in 4m37s
WAI examples / WAI examples · android-app · linux-arm64 (pull_request) Successful in 18m48s
wai-pack / wai-pack · linux-arm64 (pull_request) Successful in 3m20s
WAI energy receipts / energy receipts · linux-arm64 (pull_request) Successful in 28m49s
wai-pack / wai-pack · the floor through a media prober (pull_request) Successful in 59s
wai-pack / wai-pack · dependency licences (pull_request) Successful in 2m41s
wai-quantum HIP member / member · HIP absent (linux-arm64) (pull_request) Successful in 1m58s
wai-quantum npu-cores member / member · npu-cores absent (linux-arm64) (pull_request) Successful in 1m12s
wai-quantum pulse and dynamics / the same bits · linux-arm64 (pull_request) Successful in 3m21s
wai-pack / wai-pack · independent verifier (Python) (pull_request) Successful in 13m13s
wai-quantum tensor-engine member / member · tensor engine absent (linux-arm64) (pull_request) Successful in 37s
wai-quantum variational and algorithm library / parameters, gradients, optimisers, VQE, QAOA and builders · linux-arm64, release (pull_request) Successful in 3m14s
wai-quantum extension points / the registry and the example · linux-arm64 (pull_request) Successful in 4m38s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (pull_request) Successful in 5m16s
WAI conformance / independent verifiers · claims, JWP, key discovery and integer payloads (Python) (pull_request) Successful in 1h59m52s
The engine moves to its next 0.y, a major bump before 1.0 (VERSIONING.md): two of the entries it carries change engine::schema::FILES, a public array whose length is part of its type. wai-quantum-qpu, whose functions take the engine's types, moves with it to 0.4.0. The command line, the job service, the Python package and the JavaScript package only gain, so each moves its last number. Every dependent's requirement names the new versions, both server.json files and the JavaScript README follow, and the seventeen lockfiles that resolve any of them move with them, each read with --locked. The desktop app stays 0.1.0. cargo-semver-checks keeps its baselines at the versions last published. The engine's version is among the sealed bytes of a stamped result, so the page's pinned digests move (the course check's 969b2c1c... to 1a9aa0ad..., the compile's ac948133... to beffb3cb..., the estimate's 8715e76b... to db90b147...), the answer set's stored seal is written again (WAI_ANSWER_BUNDLE_WRITE=1), and the notebooks' stored outputs are stored again. The job pins strip the engine and schema and do not move. Co-Authored-By: Claude Opus 5.5 <[email protected]> |
||
| .. | ||
| src | ||
| tests | ||
| Cargo.lock | ||
| Cargo.toml | ||
| openapi.json | ||
| README.md | ||
| room.example.toml | ||
joule-moq-room
A room service for WAI live rooms (wai/extensions/live-rooms.md) over
joule-moq-relay. Its binary is wai-room (the crate keeps its name). It holds one room's
authority and clock keys and:
-
issues grants. A visitor's page makes an Ed25519 key and asks for a grant for it (
POST /grant). The service signs a short-livedWRG1grant: a publisher's (its own audio and video, one of the room's places) or a viewer's (the room to watch). A grant is public, so it is useless without its key: the relay, configured with the authority's key ([[auth.authorities]]), honours it only beside a proof of possession over the relay's own challenge (§10.5), which only the page that holds the key can make. Grants are bounded per client address and overall, and publishers per room. Every role, and so every grant, holds the seek power (live-rooms §3.3, bit 4): a visitor may fetch a track below its live edge (§10.6), from the relay's cache or its DVR window, as a late joiner does for the groups before it joined. A relay refuses such a fetch to a grant without it. -
authors the lifecycle (§7.2). The service's clock is a session on the relay. It watches each publisher's video track (a SUBSCRIBE that asks for no objects): when the track appears the clock signs
joinandpublishfor the publisher on its events track (live-events §8.1), and when the relay ends the track (the publisher's session closed) it signsleave. Pages author none of it. The events track is published with the room's first grant, before anything is signed on it, so a viewer who enters a room nobody has joined subscribes to a track that is there. -
serves the room.
GET /roomgives the signed descriptor, the composition descriptor and the publishers' grants, which a page verifies the room with (live-rooms §9). -
keeps remote desktop rooms (
[remote], WAIextensions/remote-desktop.md). Every room is then one host's screen shared into it, its descriptor's roles a host (it publishes thescreenkind and holds the direct power), a controller and a viewer, and every grant's policy permitsmeta, so that each principal sends the extension's statements. The host's grant carriesremote_host; a controller's the control power,remote_control=control; a viewer's neither. The host is the keyhostnames or, when it names none, the first key that presents an invitation the room's authority signed (wai-room invite), to which the invitation is then bound. Who may ask for a controller's grant isallow:all,listed(the keyscontrollerslists) ornone. The host hands control over by a grant exchange (POST /remote/control, its grant and a proof over the service's challenge), which takes effect at a tick at leastlead_msahead, so that every party holds the clock'sgrant_exchangebefore the instant it governs. The clock watches the host's screen track (itsjoinand itspublishof the screen when the track appears, itsleavewhen it ends) and every other principal's events track, and follows every principal's events: it takes each record in its chain's order, under the policy of its author's grant in effect and after itsjoin, each statement read and held to who may sign it, and the host's screen statements to §3.4 and to the age boundmax_age_ms. It computes the host's floor in the merged order bywai-rs's §7.2 rule: a floor statement the rule refuses is kept, stated, and changes nothing, as the host and a verifier have it (GET /room'sremote.holder). A principal whose record is out of that order is cut there and removed (leavereason 2), and the host's agent cuts it at the same record: the room the clock holds stays one a verifier accepts. The clock bounds the records it holds of a session, per principal first. Atmax_records_per_principal(100000 by default) it holds none of a principal's records past the bound, cuts the principal there (max_records_per_principal) and removes it (leavereason 2), and the session goes on; the host's agent reads the bound fromGET /roomand cuts the principal at the same record, so the two hold the same records. The host has no bound of its own: its outcomes answer the others' inputs. The default: a two-hour session at an average of ten input statements a second is 72000 records, and a principal flooding at the policy's 120 events a second reaches the bound in about 14 minutes, and is removed alone.max_records(1000000 by default) bounds the whole session, the host's records among them, and is the safety net: ten times the bound per principal, above a host and four controllers each at its bound (800000), so the bound per principal bites first for any one principal. When a record would pass the total the clock holds none past it and ends the session, every present principal'sleave(reason 2) signed, the host's last, andGET /room'sremote.endedstatesmax_records; the session it holds stays whole and verifies, and the next host starts a new room. It ends the session rather than refuse inputs past the total: a record it did not hold would leave a hole in its author's chain, the host would decide inputs the clock never held, and an input's refusal is the host's to state. At the total the clock holds about a gigabyte. Key, text and clipboard actions reach the clock sealed to the host (WAI remote-desktop §5.5): it holds and serves ciphertext, and no opening key. A remote room is not also end-to-end encrypted, a watch room, a room with co-performance, one admitted by age or a world room: the service refuses such a configuration. The relay holds the host's screen to its key with a door like the publishers' (prefix = ["*", "*", "screen"]). -
keeps end-to-end encrypted rooms (
[room] e2ee = true, WAIextensions/confidentiality.md). Each room then has a confidentiality record (WRE1) the authority signs, and one MLS group whose only external sender is the room's clock: the clock proposes the Add of each publisher it records joining and the Remove of each it records leaving, and follows the group from its public messages, holding no key. The service is the room's carrier of MLS messages (§5.1, §15.2): one log per room holding the clock's lifecycle records, its proposals, and every GroupInfo, commit and Welcome a member posts, in the order the clock took them; a post the clock refuses (§5.5) is not carried. -
admits by age (
[age], WAIextensions/age-assurance.md§5.6), as the Privacy Pass origin of RFC 9577. Each room then has an age policy (§4) naming the configured issuers with one key per threshold, and a rating (§3), aroomclaim, both signed by the authority. A grant request without a token is answered401with aPrivateTokenchallenge for each key (WWW-Authenticate, RFC 9577 §2.1.2): its redemption context HMAC-SHA-256 over the room and a window oftoken_window_sunder a key drawn at start (a restart turns outstanding challenges away), itsorigin_infothe service's server name (origin, else the request'sHost). A request withAuthorization: PrivateToken token="…"has the token checked bywai-rs's §5.2 against the room's age, and its grant states the token's threshold inage(§5.4), from which the relay holds every track to the serving rule (§5.5). The nonces redeemed are kept for the current window and the one before, at mostmax_noncesa window (past it,503and nothing spent), and dropped as a window ages out. Each admission is counted by its window, issuer and threshold, and nothing else of it is kept:GET /age/receiptgives the room'swai-age-admissionsreceipt so far (§7), signed by the clock, every count under 50 suppressed, and withreceipts_outeach window's is appended there as it closes, and the rest of a room's when it ends. The room's rating rides the clock's events track and the grant answer's room, which a publisher's page carries on its tracks (§5.7). The clock's own session proves both room keys in its SETUP (aGRANT_PROOFnaming no grant, §5.5), so the relay serves it the room's rated tracks as the room's own service: it follows each publisher and, with[co], logs every performer's objects. Operating an issuer, or the attester that establishes an age, is not the service's. -
keeps co-performance (
[co], WAIextensions/co-performance.md). Withaudience_inputabove 0, every viewer's grant carries the audience-input power (the attributeaudience_input, the most inputs it may send to one selection window) and may sendmetaevents and reactions, and the viewers' grants are listed with the room (co.audience) so a page verifies their inputs; withlatency_budget_msabove 0, every publisher's grant carries that budget. Either gives the room a co-performance policy (WPP1) the authority signs (co.policy), its publishersmetaevents (their intents), aleadrole with the direct power for the first publisher (lead), and, withai, a grant marked as an AI participant's for a page that asks ("ai": <model digest>). The clock then keeps what only it knows (src/co.rs, co-performance §8): it records each audience member joining when its events track appears, holds the room as a verifier does (every member's chain, by FETCH where it has a gap), logs each publisher's media objects with their arrival and their due instant (GET /co/objects, the objects a verifier is given), and signs a mark (WPM1) for each object out of turn under a schedule that marks or later than its budget, the commitment (WPK1) and selection (WPS1) of each window once it closes, and the periodic fidelity statement (WPF1). A page asks the clock for a turn schedule (WPT1), a handover (WPH1) or a window (WPW1) over HTTP (POST /co/...), with its grant and a proof of possession over a challenge the service issued (live-rooms §10.5.3); its powers decide what it may ask. The relay holds the floor and the audience's inputs (its[floor], whichrelay-linesprints commented out). -
keeps watch rooms (
[room] watch_source, WAIextensions/co-watch.md). Each room then watches that file together: the authority signs a co-watch policy (WXP1) naming it, an object sequence of one object, by the SHA-256 of its bytes and its duration, and the service serves the bytes. A visitor enters the room's co-watch log by a proof of its grant's key over a challenge the service issued, for the request it makes (live-rooms §10.5.3), and the clock signs itsjoin; every grant carrieswatch_control, the actions its principal may control. The service is the room's carrier of its viewers' events: one log per room, holding every record of the clock's chain and every control and presentation statement a viewer posts, each carried only when a verifier would accept it (its chain, its signature, its grant's policy and rate, and co-watch §5 and §7.2). Each window, the clock signs the skew statements of co-watch §8.4 from what the log holds; and a viewer silent for four seconds, or whose grant has ended, leaves. A watch room is never end-to-end encrypted (its source is served in the clear), admitted by age (its source is served without a grant) or a room with co-performance: the service refuses such a configuration. -
keeps a shared world (
[world], WAIextensions/live-worlds.md). Each room then has a world statement (WLW1) the authority signs: the world its operations replay in (forwai.world.model, the model header) and the bounds of an op and of an object, served with the room (GET /room'sworld). A publisher's grant is an actor's: it lets its principal publish its world track (the attributeworld=act, §5.1) and no media. The clock watches each actor's world track,[room, actor, world], as it watches a publisher's video: it signs the actor'sjoinwhen the track appears and itsleavewhen the track ends, and nopublish. The world's ops are the actors' own, signed by their keys and receipted on their tracks; the service neither reads nor keeps them, and a page that enters late fetches every track from the relay (§7), which the relay-lines' commented[[dvr.window]]keeps. Withe2ee, the world is private: every actor is a member of the room's group, and the world tracks are sealed (§8). A world room is not also a watch room, a room with co-performance, one admitted by age or a remote desktop room: the service refuses such a configuration. -
keeps a conversation (
[messaging], WAIextensions/live-messaging.md). The service's room is then an end-to-end encrypted conversation, kept in a history store on disk (store):conversation.json, its descriptor, confidentiality record and conversation statement (WMC1), written once; andjournal, every record the service took, appended and on stable storage before it answers. A key that proves itself (a proof naming no grant, over a challenge the service issued) is admitted (admit), the first as the conversation's owner, and the clock signs itsjoin; an owner removes a member and the clock signs itsleave. The clock is the MLS group's external sender, any member commits (live-messaging §7.2), and after each GroupInfo or commit the clock signs an epoch statement (WME1). Members post sealed messages and acknowledgements, whichwai-rs's conversation verifier checks before the service takes them (§9.2), and read the log as §9.3 owes it: a removed member nothing past its removal. A restart replays the journal, regenerating the clock's proposals and statements and checking each against the one journalled, so the conversation goes on where it stopped. The service holds no key of the group and no plaintext. A service that keeps a conversation keeps nothing else (no watch room, co-performance, admission by age, shared world, remote desktop,[room] e2eeor call): it refuses such a configuration. -
keeps calls (
[call], live-messaging §10). A caller proves its key and places a call: the authority signs its descriptor (WCT1) and the caller's grant; the caller's invitations (WCI1), checked bywai-rs's call verifier, are held in each invitee's inbox, which it reads on a proof of its key; its answers (WCA1) are checked the same way, and an accept comes with its grant. At each invitation's deadline the clock signs a missed call. The media is the room's audio and video, as in any room.POST /grantis refused: the grants come with the call. A call room is not also a watch room, a room with co-performance, one admitted by age, a world room or a remote desktop room: the service refuses such a configuration.
A room lasts while anyone publishes in it. When the last publisher has left, the next one
starts a new room: a new descriptor at a new t0, under the same authority and clock, so
each room's grants and chain hold one stretch of company.
Running it
wai-room keygen <keys.toml> new keys (mode 0600, never over a file); prints the
relay configuration lines that trust them
wai-room relay-lines <keys.toml> those lines again
wai-room invite <keys.toml> [<s>] an invitation to host a remote desktop room, signed by
the room's authority, good for <s> seconds (3600)
wai-room --config <room.toml> serve (room.example.toml shows every field)
wai-room dev [--publishers <n>] a development room: the relay and the service in one
process on loopback, driven by JSON control lines
The keys file must be readable by its owner alone; the service refuses it otherwise.
Keys has no Debug, so that no log prints a seed.
The relay needs, beside its listener and limits, the lines relay-lines prints:
[[auth.authorities]]
key = "<authority>"
[[auth.grants]] # the clock's events track, in any room
prefix = ["*", "<clock>", "events"]
token_sha256 = "<SHA-256 of the clock's token>"
publish = true
unlimited = true # no session or ingress limit for the clock's session
[[auth.grants]] # the clock watches the publishers
prefix = []
token_sha256 = "<SHA-256 of the clock's token>"
subscribe = true
and a door that holds each publisher's media to its own key:
[[receipts.door]]
prefix = ["*", "*", "video"]
trust_field = 1
A development room
wai-room dev (src/dev.rs) runs a relay and the service together in one process, for
a developer's machine and for tests, and never for anyone else. It binds 127.0.0.1 alone, on
ports the system picks; its keys are made at start and kept only in the process; its relay
holds media tracks to no receipts, so a test principal publishes plain objects; and its rate
limits are open. It says so on standard error when it starts. Its first line on standard output
is {"ready": true, "development_only": true, "service", "relay", "room", "authority", "clock"},
and it answers JSON control lines on standard input, each with an op and an optional id:
op |
Fields | Answer |
|---|---|---|
join |
seed (a test principal's Ed25519 seed, 64 hex), grant (a publisher's grant for that key, hex), objects (per track, 1 to 64) |
the principal enters with its grant and a proof, publishes audio and video with that many objects on each, and the answer comes once the clock has signed its join and both publishes: {"principal", "room", "tracks", "objects_published", "objects_served", "events"} |
leave |
principal (64 hex) |
its session closes; the answer comes once the clock has signed its leave |
session |
the room as live-rooms §9 gives it to a verifier: {"room", "t0_us", "descriptor", "grants", "key_log_head": null, "chains"} |
|
stop |
the room stops and the process exits; so it does when standard input closes |
Grants come from the service itself (POST /grant). wai mcp --toolset dev (wai-rs, the
feature mcp) runs this mode for its development tools.
HTTP
openapi.json describes this API (OpenAPI 3.1): every path, its requests,
answers and statuses, in every mode the service keeps. Each operation's operationId is its
name in the WAI toolchain's catalogue, noun.verb (room.show is GET /room, room.grant is
POST /grant), the name the other doors derive theirs from (wai mcp's tool room_grant).
tests/openapi_contract.rs holds it to the code: every operation is named as the catalogue
names it, the routes the routers match are exactly its operations, every status it lists for an
operation is one that operation's handlers return and every status they return is listed, and
the service, run in each mode, answers every operation with a status it lists.
| Request | Answer |
|---|---|
GET /, GET /health |
{"ok", "relay": the clock's session is open, "room"} |
GET /room |
the room: room, t0_us, descriptor, compose, grants (hex), present, publishers, max_publishers, e2ee ({"record": <hex>, "log"}, or null), co ({"policy": <hex>, "audience": [<hex>]}, or null), and world ({"statement": <hex>, "receipt_alias": 4}, or null) |
POST /grant {"principal": <64 hex>, "role": "publisher" | "viewer"} |
{"grant", "digest", "exp", "role", "room": <as GET /room>}; 409 full or busy; 429 rate with retry_after_s; 503 relay while the clock has no session |
GET /mls?room=<id>&from=<n>[&wait_ms=<ms>] |
an end-to-end encrypted room's log from entry n: {"room", "entries": [{"seq", "event" or "mls": <hex>}], "next", "end"}, held up to 8 s while nothing is past n; 410 for a room since replaced, 404 for a room that is not end-to-end encrypted |
POST /mls/key-package {"room", "key_package": <hex>} |
kept for the principal's Add: {"ok", "principal"}; 403 for a principal the room has not granted |
POST /mls/post {"room", "frames": [<hex>]} |
a GroupInfo, or a commit and its Welcome, checked by the clock as a member checks it, then carried: {"ok", "seq"}; 409 {"error": <reason>} when the clock refuses it |
POST /grant in a room that admits by age |
without a token: 401 {"error": "token_required", "age"} and a WWW-Authenticate: PrivateToken challenge=…, token-key=…, max-age=… for each key; with Authorization: PrivateToken token="…": the grant, its age the token's threshold, or 403 {"error": <age-assurance §11's reason>} and the challenges again; 503 busy when the window's nonces are at their bound. GET /room's age is {"policy", "ratings", "age", "token_window_s"} |
GET /age/receipt |
{"receipt", "policy"}: the room's admission receipt so far, signed by its clock |
GET /watch/time |
a watch room: {"now_us", "t0_us"}, the service's clock, for a page's estimate of the room clock |
GET /watch/source |
a watch room's source, its bytes whole, of its media type |
GET /watch/challenge |
{"challenge": <hex>}: single-use, good for a minute |
POST /watch/join {"room", "grant": <hex>, "proof": <hex>} |
the proof (live-rooms §10.5.1) over a challenge, for POST //<host><public_prefix>/watch/join; the clock signs the principal's join: {"ok", "t"}; 401 {"error": <reason>} for a proof that fails |
POST /watch/post {"room", "events": [<hex>]} (at most 8) |
the viewer's events, each checked and carried in order: {"ok", "carried", "log"}; 409 {"error": <reason>, "carried"} at the first refused |
GET /watch?room=<id>&from=<n>[&wait_ms=<ms>] |
the watch room's log from entry n: {"room", "entries": [{"seq", "event": <hex>}], "next", "end"}, held up to 8 s while nothing is past n |
GET /watch/room |
the room as a co-watch verifier is given it (descriptor, grants, chains, policies, sources), the latest window's skew statements read, and the refusals by reason |
POST /grant in a remote desktop room {"principal", "role": "host" | "controller" | "viewer", "invitation"?} |
the grant; 403 {"error": "not_the_host" | "invitation_required" | "invitation_used" | "invitation_expired" | "invitation_bad_signature" | "control_not_allowed"}; 409 hosted while the room's host holds its place. GET /room's remote is {"host", "allow", "control", "max_age_ms", "screen": {"digest", "statement"} or null, "holder", "floor_refused", "inputs", "floor_statements", "cut", "refused", "records", "max_records", "max_records_per_principal", "records_over", "ended"} |
POST /remote/control {"to", "control": 0 to 15} |
the host's grant exchange, its grant and proof presented as a co-performance request presents them: {"ok", "grant", "digest", "effective"}; 403 for a grant that is not the host's, 409 {"error": "not_present"} |
GET /remote/room |
the session as the clock holds it: {"room", "descriptor", "grants", "key_log", "chains"}, what a remote desktop verifier is given. The records hold what controllers typed and pasted, so they are the room's: a request presents a grant this room issued and its proof over the service's challenge, as a co-performance request does; 401 with a challenge otherwise, 403 for a grant of another room. Bounded per client |
GET /remote/state |
that session verified by wai-rs, to a grant of this room and its proof as /remote/room: the outcome, the screens, each input's fate, the floor's changes and the floor statements §7.2 refused, the latencies, each host's totals, the clock's own floor, and each principal the clock cut and why; bounded per client |
Every answer is JSON with Cache-Control: no-store. The client's address is
CF-Connecting-IP, else the first X-Forwarded-For, else the connection's: the service
listens on loopback behind the front that sets them.
A conversation's requests (each, but GET /msg and GET /msg/challenge, with a grant the
conversation issued and its proof, or for /msg/join a proof naming no grant):
| Request | Answer |
|---|---|
GET /msg |
the conversation: room, t0_us, descriptor, record, statement, clock, grants, members, the latest epoch, the log's length |
GET /msg/challenge |
{"challenge": <hex>}, single-use |
POST /msg/join {} |
{"grant", "digest", "exp", "role": "owner" | "member", "conversation"}; 403 not_listed or removed, 409 full |
POST /msg/key-package {"key_package"} |
kept for the member's Add |
POST /msg/mls {"frames": [<hex>]} |
a GroupInfo, or a commit and its Welcome: {"ok", "seq", "end"}, or 409 with the clock's reason |
POST /msg/post {"group", "properties", "payload", "receipts"} |
a message, taken after §9.2's checks: {"ok", "seq"}, or 409 with the reason |
POST /msg/ack {"ack"} |
an acknowledgement, taken after §8's checks |
POST /msg/leave, POST /msg/remove {"principal"} |
the clock's leave, reason 1, or reason 2 by an owner |
GET /msg/log?from=<n>[&wait_ms=<ms>] |
the entries owed from n ({"entries": [{"seq", "event" | "mls" | "epoch" | "message" | "ack"}], "withheld", "next", "end"}), held up to 8 s while nothing is new; 403 not_a_member |
A call's requests (/call/ring with the caller's grant and proof, the rest on a proof naming no
grant): GET /call/challenge; POST /call/place {"invitees": [<64 hex>]} (the call
descriptor, its digest and the caller's grant, 409 busy while a call has its places);
POST /call/ring {"invitations": [<hex>]}; GET /inbox; POST /call/answer {"answer"}
(an accept answered with the callee's grant); GET /call, to the call's parties.
Tests
tests/openapi_contract.rs holds openapi.json to the service (above). tests/mcp_dev_room.rs
builds wai with the feature mcp, in a target directory of its own, and drives
wai mcp --toolset core,dev with an MCP client: the tool room_grant and the API's POST /grant
named alike (room.grant), a development room started on loopback, grants for two test
principals, each joining and publishing, the session verified as live-rooms §9 verifies a room,
a changed record refused, a leave verified, and a grant from a service off the machine refused.
cargo test (this crate is a workspace of its own, with its own lock file, since it builds
on wai-rs): the keys file, the grants checked against the descriptor and read by the
relay's reader, the places, the limiter, and tests/room_service.rs, the service against a
relay on loopback: a grant and its proof open a session and the clock announces the
publisher, the grant alone opens none, the room verifies, a third publisher is refused,
clients are bounded, and a new room starts when the last publisher has left; and an end-to-end
encrypted room on a relay, two members keying through the service as pages do (a GroupInfo,
the clock's Add, a commit and its Welcome), the posts the clock refuses not carried, each
opening what the other seals, and a member that leaves removed by the next commit. Admission by
age: unit tests of src/age.rs over published RSA test keys (tests/common/rfc_test_keys.rs:
RFC 7517 A.2's, RFC 9500's testRSA2048 and RFC 9578 A.2's), whose tokens they sign directly,
as the blind protocol's output is the same signature: the challenges by window, a token
admitted once and at the room's age, the window before accepted and the one before that, another
origin's and another service's challenge refused, the nonces bounded and dropped by window, and
the receipt's cells the reference's and its signature the clock's; and tests/age_admission.rs,
the service with [age] and a relay: the 401 and its challenges, tokens at 16 and 18 admitted
and their grants' age read by the relay, one of 13 refused below_threshold, one spent twice
token_replayed, one for another origin token_wrong_challenge, one that does not read
token_malformed, a publisher challenged too, the relay serving the viewer at 16 the audio and
refusing it the video the publisher rates 18, and the receipt read and checked by wai-rs. A
room with co-performance: its policy, the audience-input power and the budgets on its grants, and
two viewers' votes in a window the clock opens, commits and selects, verified as co-performance §9
verifies a room. A watch room against a relay on loopback: its source served and named by its
policy, viewers admitted by a proof for the request they make (a proof for another target, or
presented again, refused), their controls and statements carried and a control in the past
refused, the clock's skew statements of each window, each viewer's leave once silent, and the
room the log carries verified as co-watch §11 verifies it, every viewer in sync. A remote desktop
room (tests/remote_room.rs, with the host agent and headless viewer of joule-moq-remote): the
host reaches the service over https:// and the relay over wss:// through TLS fronts, enters by
an invitation, and a second key presenting it is refused, two viewers make their keys
and get viewers' grants, the host hands control to one by a grant exchange it proves its key for
(the grant with no proof, a proof by another key, and a proven request by a principal that is not
the host, each refused), her click under the floor is applied and the viewer's move refused
input_not_permitted, her typing goes sealed to the host, is injected as typed, and neither a
viewer following her events nor the session the service serves to a viewer holds a trace of it,
her text in the clear refused input_unsealed, control and the floor pass to the second, a give by a controller that does
not hold the floor and a release that crosses the host's take are each stated and change nothing
(the clock, the host and the verifier hold the same floor, and neither author is cut), a record
out of its chain's order is cut and its author removed by the clock and by the host, the session's
records are refused with no grant (401) and with another room's (403) and read with a viewer's,
a controller's and the host's grant and proof, and the session verified by wai-rs as the clock
serves it and as the host holds it, at the commitment level and at the opened level under the
host's opening key; a viewer flooding past a bound of 24 records of its own, cut there and removed
by the clock and by the host while the host and a controller go on and the session verifies at
both levels; a session the clock ends at a bound of 40 records, every principal removed,
the host last, the store within the bound, the session whole and verified, and a new room for the
next host; and unit tests of src/remote.rs: the grants'
attributes checked against the descriptor and read by the relay's reader, an exchange chained to
the grant it replaces on a tick, invitations, the configuration's rules, and the grant in effect
from the clock's lifecycle.
A conversation (tests/messaging_room.rs), its members keying through real MLS groups and
sealing with joule-moq's secure objects: three members message; one goes offline, the service
restarts from its history store and the log is as it was, a fourth joins and a member other than
the lowest commits; the one offline catches up, opening every message of both epochs; a thread,
reactions, an edit and a retraction verify, the retracted message stated retracted;
acknowledgements taken and refused; a member removed opens nothing sealed after its removal, is
served nothing past it (not_a_member), and the service takes nothing more from it; every record
of the log verifies offline, and the store holds no plaintext. And wai-rs's sealing of a message
object and joule-moq's secure objects open what the other seals. A call (tests/call_room.rs)
through a relay: placed, an invitation with a bad signature and one to a principal not invited
refused, the callee's inbox read and verified, the call accepted, both parties publishing audio
and video and each receiving the other's, the clock's join and publish for each; then a call
among three in which one declines and the other is missed, signed by the clock and in its inbox,
and a late accept refused; each call verified as live-messaging §10 verifies it.
Licence
Apache-2.0.