Adaptive Music v0.8.1 combat automation fixes
Validate and generate manual release / package (push) Waiting to run

This commit is contained in:
Jason committed 2026-12-05 13:37:05 -05:00
1 parent 95b0427aa1
commit 357c904d1b
26 files changed
+1387 -138

No files matched your search

+77 -30
View File
@@ -1,42 +1,90 @@
# Adaptive Music v0.8.0 handoff
# Adaptive Music v0.8.1 handoff
## Repository state
The v0.8.0 release audit follows the handed-off candidate `987122f`. The original
workspace Git metadata is mounted read-only. The completed local audit commit
is on `main` in the independent, remote-free checkout
`.local/v080-release-checkout`. Read the exact commit from
`dist/releases/v0.8.0/release.json` or run
`git -C .local/v080-release-checkout rev-parse HEAD`. The original workspace
retains the same source changes over its existing baseline. The release
builder runs from the clean checkout, and its source archive is compared
against that commit. Gitea access, tags, publication and production changes
The original workspace's Git metadata is read-only. Before v0.8.1 changes,
its 157 tracked and untracked source files matched the clean local release
commit `1ed6b4c` byte for byte. The original HEAD `987122f` is that commit's
parent. Develop on `v0.8.1-firefox` in the remote-free
`.local/v080-release-checkout`. Its `main` branch retains `1ed6b4c`.
The operator reported Gitea published v0.8.0 from `95b0427`. That object
is absent in both local Git databases. The published commit's ancestry
can be checked if its Git object is supplied offline.
A read-only check of the authorized private Foundry route confirmed the
installed manifest is v0.8.0 and all 28 runtime files match `1ed6b4c`.
The v0.8.1 archive is built from a clean checkout and its source is compared
against its local commit. Read its exact commit in
`dist/releases/v0.8.1/release.json`. Gitea access and production deployment
are outside this work.
## Ready for operator testing
## Installed v0.8.0 macOS acceptance
- **Operator pass:** Chrome connectivity, credentials after quitting and
reopening Chrome, automatic scene playlist activation, background-tab audio,
remote player audio over WAN, and smooth transitions. The operator heard no
stuttering or crackling during their session.
- **Operator fail:** macOS Firefox connectivity.
- **Combat follow-up:** assigned battle music worked when used as ambient,
while normal combat left ambient playing. The operator could not find
the boss designation. Combat, restoration, boss and manual controls need
hands-on acceptance with the corrected candidate.
## v0.8.1 native combat correction
The native token HUD created an unlinked encounter on Foundry 14.371 and D&D 5e
6.1.2. Installed v0.8.0 ignored it even after the native tracker started round 1.
Use the Combatant token scene when the encounter has no explicit scene. The
tracker now has a GM-only **Boss encounter** option and shows the playback mode
and **Return to automation** for a manual override. The same combat and boss
assignment can change mode without restarting the queue. Use distinct playlists
to verify the audible changes.
The authorized GUI run and its hook trace live under ignored
`.local/v081-combat-gui-*`. See [TESTING.md](TESTING.md) and
[USER-ACCEPTANCE.md](USER-ACCEPTANCE.md) for the reproduced lifecycle and steps.
The Chromium browser preview used three distinct cues and restored ambient at
30, 33 and 46 seconds across normal, boss and manual-override encounters.
It verified turn and round continuity, End Combat cancellation, scene changes,
and returning from the manual hold. The server still reported v0.8.0 during
the previews. Headed Firefox repeated the normal combat lifecycle against the
same runtime and restored ambient at 9 seconds.
## v0.8.1 Firefox investigation
- The two WSS routes opened with HTTP 101 in Mozilla Firefox 161.0.1 on Ubuntu
from the anonymous Foundry origin and the MA origin using the native
WebSocket. Trusted TLS and the authorized private route were retained.
- The isolated stock-Firefox policy test reproduced enforced CSP, report-only
CSP, a server-side Origin rejection and a mismatched TLS certificate. Browser
script saw Origin rejection and TLS rejection as opaque upgrade failures.
- The candidate improves the token-free report with manual Connect failure
stage and time, per-route duration and post-probe permission states.
Audio, credential storage and the authenticated transport are outside the
change. The original macOS failure needs the browser-side capture described
in [USER-ACCEPTANCE.md](USER-ACCEPTANCE.md#capture-the-firefox-failure).
- The private stock browser, scripts and raw reports under `.local/v081-*`
are test-only. See [sanitized v0.8.1 evidence](evidence/v0.8.1-live.json).
## Historical v0.8.0 audit checkpoint
- The development world keeps **Christmas — Adaptive Music demo** active with
Christmas music assigned. **Dûr-Khazrak — Adaptive Music demo** has distinct
ambient, combat and boss cues and a prepared, unstarted encounter with the
Dûr-Khazrak Champion. Its ambient uses a development playlist as a stand-in.
The authorized catalog contained no identifiable dwarven soundtrack.
- The verified server install is v0.7.2. The private route grants access to the
development world, and Foundry module installation is instance-wide. No
development-only package directory or server install access was established.
Follow the [isolated development install instructions](INSTALL.md#install-the-candidate-on-an-isolated-development-instance)
and [Mac acceptance checklist](USER-ACCEPTANCE.md).
- The preview host reported v0.7.2 during the automated audit. The operator
subsequently installed v0.8.0 and carried out the checks above.
- Automated release regressions passed with 110 JavaScript and 17 Python
tests. The dependency, repository and upstream provenance checks passed.
The updated Chromium, Firefox and Linux WebKit credential fixture closed
and reopened persistent browser profiles and tested rejection by a synthetic
MA auth endpoint after simulated revocation. The real preview verified
same-receiver auto-attachment after a page reload, Disconnect and Forget.
- Prioritize the original Mac Firefox connection failure, physical audio
artifacts and actual installed-world playback. MA-side revocation with a
disposable token, Mac sleep/wake and the actual WAN route still need operator
acceptance. The focused Ubuntu Firefox background check measured listener
audio before switching tabs and could not establish that the GM page became
hidden. Prefer a targeted reproduction over another full soak.
- MA-side revocation with a disposable token and Mac sleep/wake still need
operator acceptance. The focused Ubuntu Firefox background check measured
listener audio before switching tabs and could not establish that the GM
page became hidden.
The package targets Foundry VTT 14.371 and MA 2.10.6. It uses the pinned Sendspin
SDK and browser-hosted audio. The user authorized the existing test accounts and
@@ -97,11 +145,9 @@ December 4. See [the evidence](evidence/v0.8.0-live.json),
access. The extracted binary and signed-package hashes are in
`.local/v080-turn-fixture/`. Future runs can set `AM_LOOPBACK_TURN_CONFIG`
to a private fixture grant and use `--webkit-only`.
- A passing browser ZIP preview exercises real Foundry and MA with archive
assets. Server installation of v0.8.0, the operator's original Mac Firefox
path, native Safari, physical audibility, suspend/wake and WAN acceptance
still require the corresponding environment. The active server reports
v0.7.2. No production deployment is authorized.
- These v0.8.0 automated browser previews exercised real Foundry and MA with
archive assets while the server reported v0.7.2. See the separate installed
v0.8.0 manual results above.
The bundle is locally staged under
`dist/releases/v0.8.0/`. The install ZIP is `adaptive-music.zip` and the
@@ -189,9 +235,10 @@ xvfb-run -a -s '-screen 0 1600x1050x24 +extension GLX' \
node scripts/check_foundry_private_route.mjs --headed --firefox --playback --package-preview dist/releases/v0.8.0/adaptive-music.zip --continuity \
> .local/v080-candidate-firefox-soak.log 2>&1
python3 scripts/release.py
python3 scripts/release.py --validate dist/releases/v0.8.0/adaptive-music.zip
(cd dist/releases/v0.8.0 && sha256sum -c SHA256SUMS && sha256sum -c adaptive-music-release-v0.8.0.zip.sha256)
# Build the current candidate from the clean local release checkout.
python3 .local/v080-release-checkout/scripts/release.py --output "$PWD/dist/releases/v0.8.1"
python3 scripts/release.py --validate dist/releases/v0.8.1/adaptive-music.zip
(cd dist/releases/v0.8.1 && sha256sum -c SHA256SUMS && sha256sum -c adaptive-music-release-v0.8.1.zip.sha256)
```
The headed browser tests use the authorized private Nginx HTTPS route and retain