Release v0.7.2 - Redesigned interface and persistent account settings
Validate and generate manual release / package (push) Waiting to run

This commit is contained in:
Jason committed 2026-12-04 11:08:09 -05:00
1 parent 1d894f59fb
commit 398749210a
35 files changed
+2807 -256

No files matched your search

+79 -15
View File
@@ -1,9 +1,61 @@
# Adaptive Music verification — 0.7.0
# Adaptive Music verification — 0.7.2
## Executed evidence
The source archive includes sanitized evidence separately from private .local inputs.
### Account persistence and v0.7.0 GUI review
The installed v0.7.0 was exercised again through Foundry’s Settings and Adaptive
Music menus. Playwright filled the server address and access token and pressed
Authenticate and Connect audio. The run used the private proxy route with normal
TLS validation and did not replace module assets. The GM saved ambient and combat
assignments on a review scene and confirmed the GM decoder received live audio.
The scene was left in the development world. In the same world, a browser-supplied
v0.7.2 candidate saved an encrypted Foundry User Setting. A new browser session
logged into the same GM account and connected with the token alone. The server
continued serving v0.7.0 during both tests. Closing the GM audio tab ends the
browser-hosted connection. See `evidence/v0.7.2-live.json`.
### AM-006 live graphical workflow
The v0.7.1 interface ran inside the actual Foundry v14.371 development world with
module assets supplied to the test browser by Playwright. The graphical window
passed sizing, horizontal fit, scroll containment, keyboard navigation, Advanced
visibility and input validation at 380 and 760 pixels. Through the private route,
one Connect action authenticated, provisioned the receiver and loaded the catalog.
The GM saved scene assignments and enabled automation through the tabs. Both
listeners measured audio during real combat and ambient restoration to eight seconds.
The Playback tab showed the track and both listeners. Volume, pause, resume and stop
worked through the graphical controls. Listener Stop/Enable and reload also passed.
The earlier private-route timeout and an ambient startup attempt without a queue
write are recorded alongside the passing rerun in `evidence/v0.7.1-live.json`.
Verification of the v0.7.1 ZIP installed on the server is pending.
### Installed development world over private Nginx
- Chromium 159 signed into Foundry v14.371 as the GM and both players. The installed
v0.7.0 module authenticated to MA and paired a dedicated Sendspin receiver. Both
WebSocket routes returned HTTP 101 from the signed-in page, which exposed no
enforced CSP header or meta policy.
- Both players received encrypted invitations through the real Foundry module socket.
Foundry denied both ordinary players’ attempts to update a flag on the GM’s User
document. Both players measured signal in their actual playback graphs during
ambient, combat and restored ambient. The original queue order and seven-second
offset were restored. Audio also returned after Stop/Enable and a player reload.
Chromium’s inbound RTP energy counter stayed at zero while the playback graphs
showed audio, so the test uses the playback signal.
- The MA control page replaces `window.WebSocket` and intercepts Sendspin. Its
unauthenticated interceptor failed the bare `/sendspin` probe. The native browser
constructor opened the same URL from the same page in Chromium and Firefox.
The original Mac-specific AM-005 failure did not reproduce on this Ubuntu route.
The Ubuntu Firefox build completed transport checks. Its Foundry join UI failed
to render in this environment, which could not create a WebGL context.
See `evidence/v0.7.0-foundry-private.json` for the installed-world results.
### Earlier browser and source-overlay checks
- 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.
@@ -45,12 +97,13 @@ private HTTPS MA endpoint. It needs no developer console or diagnostic shell com
1. 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
dedicated token, then select **Connect**. 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.
2. 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.
2. In **Scene Music**, choose two authorized static playlists for an active scene’s
ambient/combat music and save. In **Playback**, enable automation. Check the GM
hears ambient and decoded frames increase.
Only the campaign receiver may be controlled. Native fallback remains optional.
3. 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,
@@ -68,18 +121,30 @@ private HTTPS MA endpoint. It needs no developer console or diagnostic shell com
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.
The installed-world run covered real Foundry hooks, socket delivery and User
permissions. Public release acceptance still requires audibility on the actual
Mac/player devices, the original Mac connection, invitation renewal and WAN checks.
If AM-005 reproduces on the Mac, correlate its browser connection stage and timestamp
with the private proxy’s request and upstream status or TCP counters. The procedure
and temporary VM-to-proxy access rollback are in ignored .local/PRIVATE-ROUTE-REQUEST.md.
## 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.
For private-route diagnostics, run `node scripts/check_foundry_private_route.mjs`
with the existing browser path settings. The probe verifies the HTTPS peer address
for both origins and compares WSS upgrades from Foundry and Music Assistant. It
captures handshake status and browser policy metadata. Add `--logged-in` after the
private route is reachable and the dedicated development world is active. That
mode verifies the installed module version, signs in with the three configured
test accounts in separate browser contexts, and adds the authenticated Foundry
page as a comparison. `--playback` also exercises actual MA audio, Foundry combat,
listener recovery, and cleanup with temporary development-world documents and a
dedicated integration receiver. Configuration and results remain under ignored
`.local/`.
```sh
npm test
python3 -m unittest discover -s tests -v
@@ -104,8 +169,7 @@ no browser flags. No new distributed dependency was introduced. Supplemental Pla
## 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.
Mac/Safari behavior, physical audibility, WAN relay, long-run skew/drift, seamless
GM handover, crash restore and crossfade remain unverified or unsupported. The
upstream single queue provides one playback stream. Pause is emulated and its
saved position lasts for the active GM session.