Files
adaptive-music/PROGRESS.md
T
Jason 1ed30567fb
Validate and generate manual release / package (push) Waiting to run
Release v0.7.0 - Automatic pairing and validated MA audio playback
2026-12-04 08:58:47 -05:00

4.0 KiB
Raw Permalink Blame History

Adaptive Music progress — 0.7.0 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 Real deployed-origin authentication works in Ubuntu Firefox/Chromium; same-session receiver ACL, Firefox SDP and buffer bugs fixed Original Mac-specific pre-upgrade failure is not reproduced or independently resolved
MA catalog playback Firefox 159 and Chromium 159 measured real audio at both listeners across ambient, combat and restoration Actual Foundry world, physical devices and WAN acceptance

Technical findings

  • Tested Foundry page has no CSP header/meta policy. Both HTTPS origins authenticate from Ubuntu using public DNS. The Mac’s private proxy route is a different path; TCP 443 to that proxy times out from Ubuntu. One narrowly scoped temporary access proposal with rollback is prepared under ignored .local/PRIVATE-ROUTE-REQUEST.md and awaits operator execution.
  • 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 v0.7.0 bundle is staged locally for acceptance. Publication remains pending the Mac private route, actual Foundry hooks, sockets and User permissions, and physical device, WAN and invitation-renewal checks in TESTING.md. Crossfade, durable crash restoration, seamless handover and WAN synchronization remain unsupported.