Solar House Matah v1
LAN host/phone: http://192.168.1.188:11035/   Editor: /editor  Login: /login
Host creates a room on the TV; phones join with the shown code/QR.
Host/editor uses the privately chosen shared password; no public signup.
Enable narrator on the TV (browser gesture required), adjust volume, mute/skip as desired.
Readings appear on screen; “Skip this line” omits a pending line before TTS is requested.
Only the host can narrate/reveal/advance/end/configure games. Phones remain silent.
The voting clock starts at its full remaining configured window after narration; a60s server safety bound and55s browser bound prevent stalled games. TTS fetch timeout12s; failure releases play. Refresh requires enabling audio again and does not replay old announcements.
CAH default: official English US printable2.4 base,100black/500white,87pick1/11pick2/2pick3 (haiku special3-card rule). Cards are noncommercial licensed creative content; see NOTICE-SOLARHOUSE.txt and vendor/cah.
Pack editor: select game, name pack, add form rows or TAB-separated spreadsheet rows, validate/preview, then explicitly publish. JSON import is review-only until validation+publish; JSON export round-trips. Duplicate creates a new ID. Existing games retain the exact selected pack snapshot. Custom CAH can be played alone or combined with official base via checkbox.
Data outside checkout: /mnt/flash_1tb/matah-state-v1; private rooms/admin hash/TTS credential/packs there. Never expose this directory.
Password: python3 /mnt/flash_1tb/projects/matah/password.py (hidden prompts). Restart only matah-party-v1 after changing it to invalidate existing signed-in admin sessions. This does not change phone room codes/HA.
Start/stop/status: systemctl --user start/stop/status matah-party-v1.service
Build: PATH=/mnt/flash_1tb/matah-runtime/current/bin:$PATH npm ci && npm run build
Node24 runtime installed separately under /mnt/flash_1tb/matah-runtime; system Node unchanged.
Test: npm run test:unit; tests/solarhouse-integration.mjs and tests/browser-party.py target isolated11036/test state (do not run against real rooms).
Daily encrypted backup: matah-party-backup-v1.timer,04:55Eastern+jitter. Independent NAS data folder TNAS/HOTROD_BACKUP/matah-party, verified mount required, failed mount refuses local fallback write. Original recovery key remains separate; never include it in source/downloads.
Restore: stop ONLY game service; decrypt chosen archive privately with established recovery key, validate its JSON and paths, restore state into a new private directory, start isolated loopback test instance and verify pack counts/room restoration before switching production service data path. Never start duplicate active production rooms during a restore rehearsal. Preserve pre-restore state and files for rollback. The backup job demonstrates decrypt/hash/JSON restore on every run without starting rooms.
Update: stop game service for a planned brief interruption; retain current Git commit/build and state backup; build/test a separate branch first. Roll code back with a verified prior commit/build only, retaining newer editorial/game data; schema changes require an explicit migration plan. Re-enabling an old binary over incompatible state is not a safe rollback.
Public games.ecodweeb.com ingress is a separate gated activation; backend11035 requires no new raw WAN port. Trusted HTTPS/WebSocket proxy must preserve host/password checks. Existing room controls/resume tokens remain private.
Corresponding source: /source.tar.gz, including this build/deployment information and licenses; excludes live state, secrets and dependency binaries.
