7.6 KiB
Adaptive Music verification — 0.7.0
Executed evidence
The source archive includes sanitized evidence separately from private .local inputs.
- Ubuntu Firefox 159.0 and Chromium 159.0.8154.6 authenticated from Foundry’s origin and MA’s origin and retrieved seven providers. The unauthenticated Foundry page returned no enforced CSP header or meta policy.
- Both browsers paired a dedicated MA web receiver, completed Noise and clock sync, and loaded eleven catalog playlists.
- Firefox 159 and Chromium 159 delivered real MA audio to two WebRTC listeners after one activation click each. Both listeners measured audio during ambient, combat and restored ambient. The runs exercised emulated pause, seek, resume, volume, ordered track/offset restoration and final queue restoration.
- Both browsers reconnected the same receiver after an induced Sendspin disconnect and browser reload. Reattachment preserved the idle nonempty queue without writes, retained the identity without the token and rejected a stale snapshot.
- One Firefox startup received an available player but no queue. Startup now waits briefly for that queue to register. The delayed reply is covered by a regression fixture. The passing live playback follow-up received the queue on the first read.
- The browser source assets were supplied locally by Playwright under the deployed Foundry origin. Controller inputs were explicit scene/combat states and signaling used an encrypted-envelope relay through the test runner. This was not an installed, logged-in Foundry world or real Foundry socket/user-permission test.
- Actual deployed Foundry v14.371 ApplicationV2 rendered the setup at 380/640px with in-memory sample documents. Real IndexedDB receiver vault reopen, user isolation, token exclusion and forgetting passed. No world documents were changed.
- Real browser signaling exposed Firefox’s session-default SDP inheritance; its fix was retested in Firefox 144.0.2 and Chromium 143.0.7499.4. Trusted local-CA HTTPS/WSS policy tests cover allowed cross-origin, enforced/report-only CSP and server Origin rejection.
See evidence/v0.7.0-live-follow-up.json, evidence/v0.7.0-live.json,
evidence/foundry-application-v070.json and evidence/v0.7.0-checks.txt in the source
archive. Earlier Firefox and Chromium runs received MA MediaNotFoundError (code 2)
during playlist startup despite playable track metadata. Its cause remains
unconfirmed. Those failures are retained alongside the passing follow-up. The live
runs used dedicated MA development receivers exclusively.
One consolidated Mac / logged-in-world acceptance
Run this in an isolated test world with the actual Foundry v14.371 host and existing private HTTPS MA endpoint. It needs no developer console or diagnostic shell commands.
- Install the staged module ZIP, reload, and log in as the sole active GM from your Mac. Open setup at normal and narrow window sizes. Enter the HTTPS MA address and dedicated token, Authenticate, then Connect audio. The receiver should be provisioned and playlists should load without a backup file. If MA reports media error 2 after connection, verify the same content in MA’s own dedicated web player before treating it as a browser transport failure. If connection fails, select Check browser connection and Copy connection diagnostics once, and report that single report with browser/version and whether MA’s own page works in that same browser.
- Choose two authorized static playlists for an active scene’s ambient/combat music, save, and enable automation. Check the GM hears ambient and decoded frames increase. Only the campaign receiver may be controlled. Native fallback remains optional.
- Log in as two ordinary players using separate browser profiles/devices. They should receive audio automatically, needing at most one Enable Audio click. Check late login, Stop/Enable and one player reload. An unrelated user must not receive another user’s invitation; verify Foundry still prevents players from editing other User keys/roles.
- Note the ambient track/offset in MA. Start an actual Foundry combat in this scene, then end/delete it. Both players should hear combat then ambient at the saved offset, rather than restarting ambient. Repeat a rapid start/end and confirm no duplicate queue.
- Close/reopen setup and retry one failed login with a replacement token. The private draft/receiver should remain; after a browser reload only the token needs reentry. Reconnect the same owned receiver and confirm its queue is not replaced. Apply the automation setting explicitly if a nonempty queue was retained.
- Continue listening for at least 30 minutes across invitation renewal. Exercise one brief network interruption, reconnect, and one background/suspend cycle. Report failures with Copy connection diagnostics. Repeat on the actual WAN player route; loopback/LAN signal does not establish NAT/TURN reachability or synchronization.
Acceptance requires audible output on the actual Mac/player devices, a successful original Mac connection path, actual Foundry hooks, socket delivery and User permissions, and the renewal and WAN checks above. Public release readiness remains false until these checks are recorded. If the Mac still cannot reach WSS before opening, its exact device-side cause remains external to the tested Ubuntu path; the exact private-route access request is consolidated in ignored .local/PRIVATE-ROUTE-REQUEST.md. It proposes only temporary VM-to-proxy TCP 443 access with rollback, not a public API or disabled browser protection.
Reproduce development checks
Use the existing pinned Node 24.23.0, Python standard library and Playwright 1.57.0. No upstream installation hook is required.
npm test
python3 -m unittest discover -s tests -v
python3 scripts/audit_repository.py
python3 scripts/verify_upstream.py
PLAYWRIGHT_BROWSERS_PATH=.local/browsers node scripts/check_setup_browser.mjs
PLAYWRIGHT_BROWSERS_PATH=.local/browsers node scripts/check_foundry_application.mjs
PLAYWRIGHT_BROWSERS_PATH=.local/browsers node scripts/check_browser_signaling.mjs
PLAYWRIGHT_BROWSERS_PATH=.local/browsers node scripts/live_browser_preflight.mjs
PLAYWRIGHT_BROWSERS_PATH=.local/browsers node scripts/live_receiver_browser.mjs
PLAYWRIGHT_BROWSERS_PATH=.local/browsers node scripts/live_receiver_browser.mjs --chromium
python3 scripts/release.py
Live scripts require authorized private configuration/token in ignored .local/ and
must only operate on their generated Adaptive Music integration … receivers.
--fresh exercises module provisioning directly and keeps the generated receiver
identity and reports in a separate private directory under .local/.
Browser transport evidence includes no TLS bypass. Headless Chromium’s local test
launcher uses --no-sandbox for this development environment; the shipped module sets
no browser flags. No new distributed dependency was introduced. Supplemental Playwright 1.65.2 and Chromium/Firefox 159 builds are isolated under .local/dev-browser-tools; AM_PLAYWRIGHT_MODULE selects that pinned development package. Its provenance is in evidence/v0.7.0-browser-tools.json. The repository dependency lock remains unchanged apart from the application version.
Limits
No Mac/Safari execution, physical audibility, installed-world acceptance, real User permission adversarial test, WAN relay test, long-run skew/drift, seamless GM handover, crash restore or crossfade is claimed. The upstream single queue does not provide simultaneous outgoing/incoming streams for a true crossfade. Pause is emulated and its saved position remains in memory; a full reload cannot recover that position.