Adaptive Music v0.8.3 multiplayer and floating music controls
Validate and generate manual release / package (push) Waiting to run

This commit is contained in:
Jason committed 2026-12-05 20:29:27 -05:00
1 parent acc8cbafc6
commit fbc265b526
33 files changed
+1673 -131

No files matched your search

+82 -3
View File
@@ -1,9 +1,88 @@
# Adaptive Music verification — 0.8.1
# Adaptive Music verification — 0.8.3
## Executed evidence
The source archive includes sanitized evidence separately from private .local inputs.
### v0.8.3 floating music bar
The JavaScript regression suite covers cue changes while paused, same-queue
resume, native ambient position, failed transitions and canceled authority.
The GM audio graph test checks that the local monitor and the listener output
are on separate branches. Chromium, Firefox and WebKit DOM fixtures exercise
player and GM controls, personal and campaign volume, pause and play, and the
bar's collapse and drag controls. All 122 JavaScript and 17 Python tests passed.
Repository and upstream checks passed, and npm audit reported zero vulnerabilities.
The development server reported no active game session at the join screen, so
live v0.8.3 acceptance remains pending.
### Installed v0.8.1 operator follow-up
The operator confirmed combat automation, initiative advancement, boss music,
ambient restoration, manual controls and audio quality. The multiplayer report
was a separate failure. When another user joined, playback stopped and Scene
Music lost its catalog until that user left.
### v0.8.2 multiplayer reproduction
With v0.8.1, the GM started audio and had a populated catalog before any other
account joined. Independent GUI logins as Player and Trusted Player kept the
GM catalog and each listener received audio. Joining as Assistant GM reproduced
the reported audio and catalog failure. Foundry reported one active full
Gamemaster and two active `isGM` users. The GM's two MA sockets closed while the
Foundry socket remained connected. The previous authority check counted
`isGM` users and its User update handler closed the GM audio host and emptied
the catalog when the count rose above one.
Earlier multiplayer runs joined the GM and two ordinary players before starting
music. Those runs exercised real audio and permissions, and missed both the
late join during active playback and Foundry's Assistant GM role distinction.
v0.8.2 uses the full Gamemaster role for the exclusive controller and uses the
documented connection hook to reconcile listener joins and departures.
The role of the account in the operator's original report was unspecified.
[Foundry User API](https://foundryvtt.com/api/v14/classes/foundry.documents.User.html),
[role constants](https://foundryvtt.com/api/variables/CONST.USER_ROLES.html),
and [userConnected hook](https://foundryvtt.com/api/functions/hookEvents.userConnected.html).
### v0.8.2 live multiplayer candidate
The authorized Foundry 14.371 development world ran the package's runtime via
browser preview on Ubuntu using Chrome for Testing and Firefox. Foundry still
reported the server-installed v0.8.1, which independently matched all 28 files
from the local v0.8.1 runtime. The preview used normal browser TLS checks and
real Foundry accounts. It measured the host output and decoded listener audio.
The GM started music alone. A Chrome Player joined first, then a Firefox
Trusted Player and Chrome Player joined together. An additional Assistant GM
joined and left in Firefox. The GM kept its receiver, both MA sockets and all
13 catalog choices. A Player's 25% volume yielded about one quarter of its
input RMS. Mute brought that player's local output to zero while it continued
receiving audio, and the GM and other listeners kept hearing audio. A fresh
login retained the Player's mute and volume. Both Player and Trusted Player
were denied changes to shared automation and a test scene's music flags.
The world used distinct ambient, combat and boss playlists. All three listeners
followed the native tracker cues, ambient restoration, scene activation and
manual playback. The normal encounter used an unstarted Foundry fixture after
the automation pointer missed the token HUD. The boss encounter used the
native token HUD. Both used the native Combat Tracker to roll initiative,
start and end combat. Ambient restored to track index 0 at 41 and 66 seconds.
Over 360 seconds, the GM catalog and sockets stayed stable. The GM and all
three listeners had a measurable signal at 30 of 30 checks, and each listener's
received bytes and audio samples advanced at every interval. The remembered GM
credential reattached to the same receiver after reload, kept the queue and
restored audio to all three listeners. Player sessions made zero requests to
MA. The test restored the development world, and all MA queue writes targeted
the dedicated receiver.
The automated suite passed 117 JavaScript and 17 Python tests. The Chromium,
Firefox and WebKit setup and credential fixtures passed, including browser
restart and fixture revocation. Repository and upstream audits passed. npm
audit reported zero vulnerabilities. Measurements and scope are recorded in the
[sanitized v0.8.2 evidence](evidence/v0.8.2-live.json).
### Installed v0.8.0 manual macOS acceptance
The operator confirmed Chrome connectivity, retention after a full Chrome quit
@@ -12,8 +91,8 @@ player audio and smooth transitions. Stuttering and crackling were resolved
during testing. Firefox connectivity failed. In the combat follow-up, the
operator reported that a battle playlist played when assigned to ambient,
while native combat use left the ambient cue playing. They could not find
the boss designation. The corrected combat flow and manual playback
controls still need operator acceptance.
the boss designation. The operator later passed the corrected combat flow and
manual playback controls in v0.8.1.
### v0.8.1 native Combat Tracker investigation