Files
adaptive-music/PROGRESS.md
T
Jason 398749210a
Validate and generate manual release / package (push) Waiting to run
Release v0.7.2 - Redesigned interface and persistent account settings
2026-12-04 11:08:09 -05:00

57 lines
4.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Adaptive Music progress — 0.7.2 staged acceptance
Standalone module work now includes automatic campaign receiver provisioning and
account-bound pairing, remembered encrypted browser-local identity, memory-only token
retention/retry, scene assignments, listener bootstrap, guarded transitions and queue
restoration. Existing Gitea URLs/manual release mechanism are preserved. No Git host
was accessed and no production infrastructure/core versions were changed.
## Defects
| Defect | Implemented and tested | Remaining acceptance |
| --- | --- | --- |
| AM-001 layout | Actual Foundry v14.371 ApplicationV2 at 380/640px; Chromium fixture at 380/640/1000px | Operator’s logged-in-world theme |
| AM-002 provisioning | SDK-created identity, authenticated dedicated web-receiver pairing, no normal JSON import; real MA tests | Normal installed-world flow on Mac |
| AM-003 diagnostics | Per-route upgrade/CSP checks, staged auth/pair/sync errors, output counters and copyable secret-free listener report | Original Mac failure report if it persists |
| AM-004 retry retention | Tab-private draft; encrypted receiver vault; token/identity origin binding; Firefox and Chromium reattached after transport loss and reload without replacing the queue | Mac reload/retry/network lifecycle |
| AM-005 cross-origin | Both WSS routes open through private Nginx in Ubuntu Chromium and Firefox. Chromium authenticated and paired in the installed Foundry world. The MA front end’s unauthenticated Sendspin interceptor explains the failing control probe. | Original Mac-specific pre-upgrade failure remains unresolved |
| AM-006 setup usability | The v0.7.1 browser preview passed layout at 380 and 760 pixels, one-click connection, scene assignment and real playback controls in the development world. | Retry the same workflow with v0.7.1 installed on the server |
| Account persistence | The v0.7.2 preview saved an encrypted connection record in the Foundry GM account and connected from a fresh browser with the token alone. New scene references are portable across browsers using that token. | v0.7.2 server installation and Mac acceptance |
| MA catalog playback | The installed module delivered audio to two real Foundry players during ambient, combat and restoration to a seven-second offset. Stop/Enable and reload were exercised. | Physical devices, invitation renewal and WAN acceptance |
## Technical findings
- The operator’s scoped firewall exception enabled TCP 443 and trusted TLS to the
private Nginx proxy. The test verified the proxy peer before signing in on the
normal Foundry hostname. The signed-in page had no enforced CSP header or meta
policy and both MA WebSocket upgrades returned HTTP 101.
- Browser playback analysers measured audio on both real Foundry listeners even
while Chromium’s inbound RTP energy statistic reported zero. The integration
test uses the rendered playback signal. No module runtime change was required.
- MA grants a new browser receiver access through API sessions authenticated before
Sendspin auth. Replacing the API socket breaks a restricted account’s access.
- Firefox reached an available paired receiver before MA returned its queue. Setup
now waits briefly for a missing queue on the same session. The regression fixture
exercises the delayed reply; the live follow-up received the queue immediately.
- A new receiver’s volume is initially null. SDK software volume avoids that startup
dependency and provides campaign volume without controlling unrelated players.
- Firefox adds a session sendrecv default after ICE gathering. Correct SDP validation
honors the audio media recvonly override and still rejects sender/video/data offers.
- MA sends PCM roughly four seconds ahead. The old two-second scheduler cutoff dropped
most real audio; bounded six-second scheduling and timestamped clears address it.
- MA 2.10.6 Sendspin has no native pause. Logical stop-plus-position pause is implemented
and tested, including paused restoration without briefly playing.
- Five-minute snapshot expiry was too short for combat. Signed active-session snapshots
now last up to 12 hours and remain campaign/session/fence/generation-bound.
The live follow-up records real PCM and two listener signals, emulated pause, seek,
resume, volume, and queue restoration in Firefox and Chromium. Earlier catalog
startup failed with MA `MediaNotFoundError` in both engines. The cause of those
failures remains unconfirmed. The controller preserves the failed command and skips
rollback after an uncertain write. See `evidence/v0.7.0-live-follow-up.json`.
The installed-world evidence is in `evidence/v0.7.0-foundry-private.json`. Publication
remains pending Mac, physical-device, WAN and invitation-renewal checks in TESTING.md.
Crossfade, durable crash restoration, seamless handover and WAN synchronization
remain unsupported.