[repo] Docs: the L1 black-box measurement of Arena Domi Remote against lumen-host [L1]; handover evidence (422 tests, mutation 26/27 + 1 equivalent, host_pairing 601 s)

This commit is contained in:
2026-12-04 13:40:02 +01:00
parent 1f95cc8db4
commit a907f705f1
2 changed files with 38 additions and 12 deletions
+28 -2
View File
@@ -28,8 +28,33 @@ there, still open: the client's `ControlStream` refuses to send `START_B`, `PERI
(bodies U10, 3.3). With `ControlStream` alone our client cannot start a stream on our host, and a host with a stop
deadline (60 s by default) would end the session; the session test sends the three with empty bodies over
`EnetClient` and `ControlCipher`, as `tools/gs-probe` does. The host keeps the client's `updateState` (1.5, U1) for the
logs without reading it. Interop with real clients (Arena Domi Remote, the Moonlight PC app) is unverified: it is measured black-box
(decision D2).
logs without reading it. **Decided (lead, 2026-12-04):** `ControlStream` will send the three with empty bodies,
what Moonshine and Lumen read; it lands with the first streaming client of L2, and U10 stays open for Sunshine.
### Measured: Arena Domi Remote against lumen-host [L1]
Our own black-box measurement (decision D2), 2026-12-04: Arena Domi Remote 0.1.2 (a GameStream client; its code is
never read) in the Android emulator on the reference PC, against Arena's lumen-host L1 skeleton (DomiStream
`337f6a7`) on loopback, HTTP 48989 / HTTPS 48984, reached as `10.0.2.2:48989`. Facts from lumen-host's request log
and the operator's notes:
- The client accepts a host entered as `address:port` and uses that port for HTTP; it then reached HTTPS on the port
serverinfo gave (`HttpsPort`). While unpaired it polls `/serverinfo` over HTTP every 0.5 to 2.5 s.
- Every request carries `uniqueid=0123456789ABCDEF` (the same on every request) and a parameter `uuid` with a fresh
random UUID per request (not in sections 1.1-1.5; the host ignores it).
- **Pairing (U1, for this client):** five requests in the order of 1.5, phase 4 (`clientpairingsecret`) before
phase 5; phases 1-4 over HTTP, phase 5 (`phrase=pairchallenge`) over HTTPS with the client certificate. Every
phase also carries `devicename` and `updateState=1`. With the code typed on the host the client showed the PC as
paired about 12 s after the code was entered. DomiStream's host pairing (1.5) and lumen-host's TLS (TLS 1.3 offered,
ALPN `h2` and `http/1.1`, a self-signed client certificate) were accepted without change.
- After pairing: `/serverinfo` and `/applist` over HTTPS; the client showed all 11 games of the applist.
- **Box art:** `/appasset?appid=<id>&AssetType=2&AssetIdx=0` over HTTPS for each app, retried about every 2 s while
it fails (lumen-host L1 answered 404; the client showed no covers).
- **Launch (U4, for this client):** `/launch` over HTTPS with `appid`, `mode` (`1280x720x60`), `additionalStates=1`,
`sops=1`, `rikey`, `rikeyid`, `localAudioPlayMode=0`, `surroundAudioInfo=196610`, `remoteControllersBitmap=0`,
`gcmap=0`, `gcpersist=0`, `corever=1`, plus `uniqueid` and `uuid`. An answer with HTTP status 503 is shown as
"Failed to start <game> (error 503)".
The other clients (the Moonlight PC app, Arena Domi TV) are measured when they connect.
**Tags** (details in the source log, [CLEAN_ROOM.md](CLEAN_ROOM.md)):
@@ -38,6 +63,7 @@ logs without reading it. Interop with real clients (Arena Domi Remote, the Moonl
| [W1]-[W7] | Wolf docs: index, pairing, RTSP, control, RTP video, RTP Opus, input (S-1 to S-7) |
| [M] | Moonshine `f184d5e` (S-9). A host implementation: we mirror its behaviour for the client. |
| [M*] | Moonshine, but the value has GPL provenance (Moonshine cites Sunshine or moonlight-common-c). Confirm by measurement before use. |
| [L1] | our own black-box measurement of Arena Domi Remote 0.1.2 against lumen-host, 2026-12-04 ("Measured" above) |
| [T] | tokio-enet `364628e` (S-10), approved 2026-11-25 |
| [E] | stock ENet v1.3.18 `2662c0d` (S-17), MIT, approved 2026-11-25 |
| [F] | fec-rs README and source `402f41f` (S-13, S-18), BSD-2, approved 2026-11-25 |