Skip to content

Box mode on /tv: start without a press, and the box bridge (ADR 0016) - #64

Merged
madeofpendletonwool merged 1 commit into
mainfrom
agent/lead-software-engineer-server/01a120f3
Oct 9, 2026
Merged

madeofpendletonwool merged 1 commit into
mainfrom
agent/lead-software-engineer-server/01a120f3

Conversation

@madeofpendletonwool

Copy link
Copy Markdown
Owner

Box mode on /tv: the speaker starts without a press, and the page talks to the box's own daemon. For MAD-802 (ADR 0016).

  • /tv?box= pairs as a box (kind + suggestedName on the pairing, a lookup so the phone's dialog defaults right) and auto-starts the speaker only when nobody else is playing
  • web/src/lib/box.ts: the box bridge on loopback — /v1/info, events, 30 s heartbeat, reboot/reload for stage 4
  • ADR 0016 documents the contract both repos follow; a box reloads itself on app updates instead of showing the toast

- /tv?box= starts the speaker without a press when nobody else is playing, and never takes over
- pairing takes kind and suggestedName from a box; a lookup tells the pairing phone the defaults
- web/src/lib/box.ts talks to boxd on loopback: info, events, heartbeat, remote care calls
- a box skips person prompts: a new app version reloads itself instead of offering
@madeofpendletonwool
madeofpendletonwool merged commit 6934505 into main Oct 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant