# step: live rooms · wai-rs and live_rooms_verify.py # order: 110 # features: live_room # paths: wai/extensions/live-rooms.md # independent: live-rooms live python3 -I live-conformance/live_rooms_verify.py live-conformance/rooms # # wai.live.room (extensions/live-rooms.md): the reference module's unit tests and # tests/live_room.rs (the committed corpus regenerates byte for byte from its fixed # seeds, wai-rs gives every vector its stated outcome, every reason of §11 refuses a # vector, and §11 lists exactly the reference's codes); and, in the step of every # independent verifier above, the corpus's second implementation, live_rooms_verify.py, # written from the extension's text and sharing no code with wai-rs, which verifies # every event with live_events_verify.py and every signature with WAI's strict Ed25519 # (claim-conformance/_ed25519.py), standard library only, run isolated (-I). # # The paths this step brings to the workflow's trigger, and why: # wai/extensions/live-rooms.md: tests/live_room.rs requires this extension's §11 to list the codes # the reference reports, and the registry's wire identifiers test reads its sections. set -euo pipefail (cd wai-rs && cargo test --no-default-features --features "$WAI_FEATURES" --lib live_room::) (cd wai-rs && cargo test --no-default-features --features "$WAI_FEATURES" --test live_room)