open-standards/wai/ietf
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Transaction Science 36f4842a0f
Some checks failed
joule-moq-room room service / joule-moq-room · does this change touch it (push) Successful in 29s
wai-sink-android native sink library / does this change touch it (push) Successful in 32s
wai-sink-swift native sink package / does this change touch it (push) Successful in 34s
wai-quantum for JavaScript / does this change touch it (push) Successful in 34s
wai-fleet service / does this change touch it (push) Successful in 34s
wai-app and Create / wai-app · does this change touch it (push) Successful in 1m29s
wai-quantum studio and desktop / does this change touch it (push) Successful in 1m18s
joule-moq-web browser client / joule-moq-web · does this change touch it (push) Successful in 1m30s
joule-moq-remote host agent / joule-moq-remote · does this change touch it (push) Successful in 1m31s
wai-audit collector and player integration / does this change touch it (push) Successful in 1m20s
WAI operation catalogue / does this change touch it (push) Successful in 1m22s
wai-ledger service / does this change touch it (push) Successful in 1m22s
WAI breaking changes and the conformance runner / WAI breaking · does this change touch WAI (push) Successful in 13s
WAI Studio / does this change touch it (push) Successful in 2m19s
joule-code conformance gate / Build + round-trip C1-C4 vectors (push) Successful in 3m24s
wai-fleet service / service · linux (push) Successful in 2m46s
wai-app and Create / wai-app · tests, clippy, the line language's verifier (linux) (push) Successful in 42s
joule-code conformance gate / joule-moq-relay, every target (push) Successful in 7m2s
joule-moq-remote host agent / joule-moq-remote, every target (linux-arm64) (push) Successful in 5m31s
wai-sink-android native sink library / the JNI layer and the platform-free half on the host JVM · linux-arm64 (push) Successful in 6m27s
joule-code conformance gate / joule-moq-ingest, every target (push) Successful in 8m14s
wai-quantum for JavaScript / javascript · linux (push) Successful in 5m37s
wai-audit collector and player integration / collector · linux (push) Successful in 3m29s
repository checks / lockfiles, advisories, tests in CI, workflow hygiene, spec and section references, public text (push) Failing after 10m5s
joule-moq-room room service / joule-moq-room, every target (push) Successful in 10m3s
wai-ledger service / service · linux (push) Successful in 3m20s
wai-quantum studio and desktop / studio · browser (push) Successful in 7m58s
WAI breaking changes and the conformance runner / WAI breaking · wire, record and API against main · linux (push) Successful in 2m54s
wai-quantum studio and desktop / desktop app · linux (push) Successful in 10m7s
WAI Studio / the catalogue's actions, the unit tests and the core · linux (push) Successful in 1m39s
joule-code conformance gate / joule-moq-relay, its own energy on a counter (macos) (push) Successful in 50s
WAI operation catalogue / the catalogue and every door · linux (push) Successful in 13m15s
WAI breaking changes and the conformance runner / WAI breaking and conform · their tests, and the independent verifiers through wai conform · linux (push) Successful in 11m31s
wai-fleet service / service · macos (push) Successful in 58s
wai-sink-android native sink library / every ABI, the AAR, and the instrumented tests in a headless emulator · macos (push) Successful in 5m11s
joule-moq-remote host agent / joule-moq-remote, every target (macos) (push) Successful in 1m2s
wai-audit collector and player integration / collector, player integration and the browser end to end · macos (push) Successful in 2m5s
wai release binaries build on Windows / the seven release binaries · windows (push) Successful in 17m41s
wai-app and Create / wai-app · Create, browser end-to-end (macos) (push) Successful in 9m4s
wai-quantum studio and desktop / desktop app · macos (push) Successful in 3m35s
wai-ledger service / service · macos (push) Successful in 1m8s
WAI Studio / Studio in WebKit · linux (push) Successful in 21m29s
joule-moq-web browser client / joule-moq-web · browser end-to-end (macos) (push) Successful in 13m3s
wai-sink-swift native sink package / libwai slices, desktop tests, simulator tests · macos (push) Successful in 18m13s
wai-quantum studio and desktop / desktop app · windows (push) Successful in 9m57s
WAI Studio / Studio in Chromium and Firefox · macos (push) Successful in 12m33s
Every MoQ catalog we write is MSF's, wai-link is defined, and the catalog check holds MSF's own rules
The deviations from MSF that draft-charlot-moq-wai-packaging-01 listed, and two more the
extended check found, fixed in every writer:

- version: each writer wrote MSF's root version as the number 1; MSF §5.1.1 requires a
  string, "draft-01" for draft-ietf-moq-msf-01, which wai-pack, joule-moq-ingest,
  joule-moq-remote, joule-moq-interop and joule-moq-web now write. No reader compared it.
  The readers of a room's catalogs (the room page, catalogVersionKnown; the gateway's WHEP
  session, catalog::version_known) now refuse a version they do not know (MSF §5.1.1),
  reading "draft-01" and the number 1, which the room deployed at
  wai.transaction.science/room/ (live since 2026-10-19) writes until it is deployed again;
  the interop subscriber requires "draft-01", which its own publisher writes.
- the packager's cmaf floor tracks: isLive false and initRef (the floor name), with the
  floor's initialization segment inline in initDataList (CMSF §3.1, the field name of
  draft-ietf-moq-cmsf-01), after tracks (MSF §5.1.7): moq/catalog.json is RFC 8785
  canonical but for that member, written last (packaging §8.4). FloorView carries the
  init segment's bytes; pack_verify.py writes the same catalog independently;
  catalogs/expected.json names each case's floor by its sequence header OBU and
  timescale, from which both write the init segment.
- event timelines: the room page and the remote host wrote "mimetype" for MSF's mimeType,
  and no depends (MSF §8.2); they write mimeType and depends [] (the events track is the
  only track of its namespace, and MSF §5.2.14 names dependencies in the declaring
  track's namespace). live-events §8.1 says so.
- wai-link: the contribution gateway's link track carries WLK1 link records, signed,
  chained and verified by live_contribution_verify.py: neither envelopes ("wai") nor JSON
  events ("eventtimeline"), and read by a subscriber that verifies a room's tracks. A real
  interop surface, so it is defined rather than mapped: live-contribution §5.4 defines
  it, moq-streaming-format §3 names it, the registry lists it as a catalog wire
  identifier (export regenerated), and the -01 draft defines it in a new §9 (IANA table,
  required fields, correspondence). The gateway writes it as before.

The corpus is regenerated by `wai-pack conformance regen` (pack-conformance/ and the
composed package of wai-web/compose); each other writer's test holds a committed sample
(joule-moq-ingest/tests/catalogs/{whip,contribution}.json,
joule-moq-remote/tests/catalogs/host.json, joule-moq-interop/tests/catalogs/wai-receipts.json,
joule-moq-web/e2e/catalogs/room.json), written by its JOULE_MOQ_*_WRITE_CATALOGS=1 run. The
room page's catalog moves into web/room/catalog.js, tested by catalog.test.mjs with the
page's other unit tests.

wai/ietf/catalog_check.py reads every writer's catalogs and, under --strict, holds MSF's
and CMSF's own rules: the version string, a name and isLive on every track, an MSF field
in another case, an event timeline's eventType, mimeType and depends, eventType elsewhere,
a cmaf track's initRef naming an inline initDataList entry that follows tracks; wai-link
tracks are held to the draft's §9. The repository checks run it with --strict. 23
catalogs of 6 writers pass with no note; the self-test plants 43 faults (a numeric
version, a cmaf track without isLive, mimetype and an undefined packaging value among
them) and catches each.

The draft stays -01 (the wire meaning of "wai" is unchanged): Implementation Status says
the deviations are fixed. xml2rfc 3.35.0 renders it with no warning; idnits 2.17.1: 0
errors, 0 flaws, 1 warning (no first-submission date on the datatracker).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-10 14:05:27 -05:00
..
catalog_check.py Every MoQ catalog we write is MSF's, wai-link is defined, and the catalog check holds MSF's own rules 2026-11-10 14:05:27 -05:00
draft-charlot-moq-wai-packaging-00.txt wai/ietf: draft-charlot-moq-wai-packaging-00 and a comment on NMSF 2026-10-21 05:19:38 -04:00
draft-charlot-moq-wai-packaging-00.xml wai/ietf: draft-charlot-moq-wai-packaging-00 and a comment on NMSF 2026-10-21 05:19:38 -04:00
draft-charlot-moq-wai-packaging-01.html Every MoQ catalog we write is MSF's, wai-link is defined, and the catalog check holds MSF's own rules 2026-11-10 14:05:27 -05:00
draft-charlot-moq-wai-packaging-01.txt Every MoQ catalog we write is MSF's, wai-link is defined, and the catalog check holds MSF's own rules 2026-11-10 14:05:27 -05:00
draft-charlot-moq-wai-packaging-01.xml Every MoQ catalog we write is MSF's, wai-link is defined, and the catalog check holds MSF's own rules 2026-11-10 14:05:27 -05:00
nmsf-comment.md The MSF packaging draft, revision -01: current MOQT and MSF, the floor, and a check of our catalogs 2026-11-10 13:24:32 -05:00
README.md Every MoQ catalog we write is MSF's, wai-link is defined, and the catalog check holds MSF's own rules 2026-11-10 14:05:27 -05:00

WAI packaging for the MOQT Streaming Format

This directory holds draft-charlot-moq-wai-packaging, an Internet-Draft in the IETF's xml2rfc v3 format, and the check that holds our implementation to it.

What the draft defines

  • The packaging value wai of the MOQT Streaming Format (MSF): every MOQT object of the track is one whole WAI1 envelope (§4.1, §4.2).
  • Dispatch, per object (§4.3): the envelope's capability, else its fallback, else the object is inert and reported; a capability the track's catalog does not declare is refused; a parameter set is used only once its SHA-256 pin verifies (§4.4).
  • The catalog fields of a wai track (§5): wai_capabilities, wai_determinism, wai_receipts, wai_receipt_alias, wai_receipts_track, wai_staged, wai_delivery_timeout_ms and wai_priors; the fields required per packaging and role; which of MSF's own fields a wai track carries.
  • The floor (§6): per object, the envelope's fallback, naming a capability of WAI's mandatory floor; per track, a floor track of another packaging (cmaf, for example) in the wai track's altGroup.
  • Staged tracks (§7): a base and its refinement layers, one track per layer, with the six checks a receiver applies to a stage set.
  • The packaging value wai-receipts and the WAI_RECEIPT object property (§8): an Ed25519-signed Merkle commitment to each MOQT group of a wai track, and how a receiver verifies it.
  • The packaging value wai-link (§9): each object one signed record of a contribution link (SRT or RIST), as WAI's live-contribution §6.2 lays it out, with receipts like a wai track's. The ingest gateway's link track carries it.
  • IANA (§11): MSF has no registry of packaging values, so the draft asks for no registration of wai, wai-receipts or wai-link (and for one, should such a registry be created); it asks for a WAI_RECEIPT entry in MOQT's "MOQ Properties" registry, using 0x3A41 from the application range until one is assigned.

The revisions it targets

Document Revision Published
Media over QUIC Transport (MOQT) draft-ietf-moq-transport-23 2 November 2026
MOQT Streaming Format (MSF) draft-ietf-moq-msf-01 2 June 2026
MSF, editor's copy (per-role required fields, packagingMetadata) https://moq-wg.github.io/msf/ 9 November 2026
CMSF (the cmaf packaging of the floor tracks) draft-ietf-moq-cmsf-01 3 June 2026

Section numbers the draft cites are those of these revisions. The implementation's MOQT wire code speaks -22; nothing the draft specifies depends on what changed in -23.

Files

File What it is
draft-charlot-moq-wai-packaging-01.xml The current revision's source.
draft-charlot-moq-wai-packaging-01.txt, .html It, rendered by xml2rfc.
draft-charlot-moq-wai-packaging-00.* The previous revision, kept for history.
catalog_check.py The catalogs our packager writes, held to the draft (below).
nmsf-comment.md A comment on draft-herz-moq-nmsf-01, which has since expired.

Rebuilding

The IETF's tools: xml2rfc (3.35.0 for this revision) from PyPI, and idnits 2.17.1, a shell script from the 2.17.1 tag of https://github.com/ietf-tools/idnits (it is not on PyPI). Build on a build host, not on the dev Mac, each download under a timeout:

python3 -m venv /tmp/x2r
timeout 600 /tmp/x2r/bin/pip install xml2rfc
timeout 60 curl -sSfL -o /tmp/x2r/bin/idnits https://raw.githubusercontent.com/ietf-tools/idnits/2.17.1/idnits
chmod +x /tmp/x2r/bin/idnits
cd wai/ietf
/tmp/x2r/bin/xml2rfc --v3 --text --html draft-charlot-moq-wai-packaging-01.xml
/tmp/x2r/bin/idnits draft-charlot-moq-wai-packaging-01.txt

xml2rfc builds with no warning. idnits reports no error and no flaw, and one warning: it "couldn't figure out when the document was first submitted". idnits asks the datatracker for that date, to decide whether the pre-RFC 5378 disclaimer applies (it does only to text first submitted before 10 November 2008); the datatracker has no record of this name, so idnits cannot read one. None of the text predates 2008.

Commit the .xml with the .txt and .html it renders to.

The check against our implementation

python3 -I wai/ietf/catalog_check.py --strict     # the committed catalogs, MSF's rules too
python3 -I wai/ietf/catalog_check.py path/to/catalog.json
python3 -I wai/ietf/catalog_check.py --selftest   # the planted faults

It reads the catalogs of every catalog writer in this repository: those the packager wrote (every moq/catalog.json under wai/pack-conformance, which the wai-pack workflow recomputes from the packager byte for byte, and the composed package's under wai/wai-web/compose), the stage-set catalog of wai/staged-conformance, and a sample of each other writer, which that writer's own tests hold it to: the ingest gateway's (joule-moq-ingest/tests/catalogs/, a WHIP session and a contribution session), the remote desktop host's (joule-moq-remote/tests/catalogs/), the interop client's (joule-moq-interop/tests/catalogs/) and the room page's (joule-moq-web/e2e/catalogs/). Each such test writes its sample again when its JOULE_MOQ_*_WRITE_CATALOGS variable is 1.

It fails on a packaging value that neither MSF, CMSF nor the draft defines, a field on a wai, wai-receipts or wai-link track that the draft does not define, a field of the wrong type or range, a receipts track or alias that is missing or shared, a delivery timeout off a layer track, a layer track in a floor's altGroup, or a stage set that fails one of the draft's six checks. What MSF itself requires, and CMSF of a cmaf track, is printed as a note and fails with --strict: the root version the string "draft-01"; a string name and a boolean isLive on every track; none of MSF's fields spelt in another case (mimetype); an event timeline's eventType, mimeType "application/json" and depends, and eventType on no other track; and a cmaf track's initRef naming an entry of initDataList, whose entries are inline base64 under unique ids and which comes after tracks. --selftest requires a catalog of every writer, requires them all to pass under --strict with no note, plants 43 faults in copies of real catalogs, and fails unless each is caught. The repository checks run the self-test and --strict on every change.

At this revision every catalog passes under --strict. The departures from MSF that the previous state of this check noted are fixed in the writers: every publisher wrote version as the number 1; the packager's cmaf floor tracks carried neither isLive nor initRef; the room page's and the remote host's event timelines wrote mimetype and no depends; and the ingest gateway's link track used wai-link, which no document defined and §9 now does.