31 lines
2.1 KiB
Markdown
31 lines
2.1 KiB
Markdown
# Adaptive Music contributor instructions
|
|||
|
|
|
||
|
|
Adaptive Music is an independent open-source project by CheddahBoxMB targeting
|
||
|
|
Foundry VTT v14.371 and Music Assistant (MA) 2.10.6. It is system-independent.
|
||
|
|
|
||
|
|
- Read ARCHITECTURE.md, SECURITY.md, TESTING.md and PROGRESS.md before changes.
|
||
|
|
- Milestone 1 is research and repository scaffolding. No installable module or
|
||
|
|
working gateway exists yet. Never label design, source inspection, mocks or
|
||
|
|
offline checks as verified live integration.
|
||
|
|
- Require no other Foundry modules. Do not import ATLAS, system-specific actor
|
||
|
|
schemas, proprietary source, subscription services or telemetry.
|
||
|
|
- Do not alter production Foundry, MA, Sonos, Nginx, firewall or service versions.
|
||
|
|
Ask before credential use or production changes. Never request unrestricted root.
|
||
|
|
- Keep endpoints, credentials, campaign/player mappings and deployment files under
|
||
|
|
ignored .local/ (directory mode 0700, secret files 0600). Never place MA tokens in
|
||
|
|
Foundry settings, browser bundles, flags, URLs or logs. Examples use placeholders.
|
||
|
|
- MA access belongs on the gateway; browsers receive campaign-scoped capabilities.
|
||
|
|
Never implement an unrestricted MA HTTP/WebSocket/Sendspin proxy.
|
||
|
|
- Only a campaign-owned dedicated audio target is eligible for control. Do not
|
||
|
|
discover-and-select household players, transfer queues, group speakers or issue
|
||
|
|
global stops. Native sound effects and AmbientSound documents are out of scope.
|
||
|
|
- Serialize transitions under a fenced authority lease; snapshots and commands
|
||
|
|
carry campaign, session and generation. Reject stale events and restores.
|
||
|
|
- Preserve upstream notices for reused source. Record exact versions, commits,
|
||
|
|
licenses and dependencies before adding code. Do not run upstream install hooks
|
||
|
|
merely to inspect source. Lock and audit dependencies before distribution.
|
||
|
|
- Run `python3 -m unittest discover -s tests -v` and
|
||
|
|
`python3 scripts/audit_repository.py` before a commit. Run
|
||
|
|
`python3 scripts/verify_upstream.py` when local research checkouts are available.
|
||
|
|
- Update evidence and verification status with every meaningful implementation.
|
||
|
|
Do not invent Gitea remotes, release URLs, Foundry verification or test results.
|