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

+24 -9
View File
@@ -1,4 +1,4 @@
# Adaptive Music architecture — 0.7.0
# Adaptive Music architecture — 0.7.2
Adaptive Music is an independent project by CheddahBoxMB for Foundry v14.371 and
MA 2.10.6, with no system dependency or additional required process. The expanded
@@ -8,6 +8,11 @@ scaffolding rule. Optional historical gateway source is not required or deployed
## Setup and receiver ownership
The Connection tab validates the server, token and optional Advanced network fields
before authentication. The Connect gesture starts the GM audio context before
authentication, receiver provisioning and catalog loading. Playback reads the
dedicated MA queue and submits controls on the same controller as scene transitions.
The GM supplies the private trusted HTTPS MA origin and access token. Authentication
reads account-authorized music providers. The official pinned Sendspin SDK generates
one X25519 identity for the campaign, GM user and MA origin. Its identity, pairing
@@ -17,6 +22,12 @@ trusted-origin scripts or theft of the complete browser profile. The token is ne
persisted. Failed attempts retain private inputs in tab memory; changing the MA
origin never reuses its token or identity.
The logged-in GM account can retain an AES-GCM envelope containing the last
successfully connected MA address and receiver name in a Foundry User Setting.
The MA token supplied for a connection unlocks the envelope. Its key is derived
with a separate purpose label and bound to the Foundry origin, world and user.
Foundry persists the encrypted record across devices and server restarts.
Connect audio first authenticates the `/ws` API session, then authenticates
`/sendspin` using that token and the SDK-generated client ID. MA 2.10.6 associates
this new web receiver with already-authenticated API sessions for the token. The
@@ -31,8 +42,12 @@ There is no household player list or arbitrary target selector.
The receiver uses SDK software volume. Fresh receivers do not report volume before
capabilities are advertised, so volume cannot be a preconnection requirement. Static
account-authorized playlist tracks become opaque HMAC references bound to the stored
catalog key and campaign. Scene/world flags persist those references, never MA URIs,
endpoints, tokens or receiver secrets.
catalog key and campaign. New references use a separate key derived from the MA
token, MA origin and campaign so the same authorized catalog resolves on another
browser. A browser with its original receiver vault still resolves legacy IDs.
Saving that scene again writes the new reference. Scene/world flags hold opaque
references. Live connections still depend on the active GM browser and its audio
context. Disconnect stops the session and clears the in-memory token.
## Audio and listeners
@@ -84,9 +99,9 @@ explicitly owned playlists; effects and AmbientSound remain untouched.
## Verification boundary
Source archive evidence separates real MA authentication/provisioning/catalog/audio,
actual browser WebRTC, actual Foundry ApplicationV2 rendering and offline regressions.
Browser integration uses the deployed Foundry origin with local source assets supplied
by Playwright, not an installed logged-in Foundry world. Mac networking, actual User
permission enforcement, Foundry socket delivery and WAN behavior still require the
single consolidated acceptance sequence in TESTING.md.
The installed v0.7.0 module was tested in a logged-in Foundry v14.371 development
world through the private Nginx route. The GM connected to MA and two players
received audio using Foundry’s module socket for signaling. The test also exercised
real combat hooks, ordered ambient restoration, and User document permissions.
Earlier browser tests used a Playwright source overlay. The original Mac path,
physical-device audibility, invitation renewal and WAN behavior remain unverified.