0027: One copy of each app, join it where it runs
Status: Accepted (owner, 2026-11-24). Proposed (owner's direction, 2026-11-17)
Context
M6c and ADR 0025 grew many sharing options: a household "Shared screens" setting (everyone / the starter / ask the starter, with a prompt the starter answers), "Home on" and "Quit on" items on Join cards, and copies: one on every recipe, so opening an app that runs elsewhere offered only the join. The owner: too many options; a person should either join another device or use their own, with at most one per-device setting. All apps should work the same way.
An average home server has 4 to 8 cores, 16 to 32 GB of RAM shared with other services, and one GPU. A remote device's screen and encoder cost about 250 MB, a video app 0.3 to 1 GB, an emulator or Steam 2 to 4 GB and most of the GPU. The real limit is what runs on the box, not who may do what.
Decision
- Every app runs once per household. Opening an app that is closed opens it on this device's screen. Opening an app that runs on another screen offers one thing: "Join
". To have it on your own screen, join, quit it there, and open it again. - When the box has no room, the runner's memory budget asks the person opening the app before it stops anything, and the card names the screen the app runs on ("Close Steam on the TV?"). Nothing stops silently.
- The Join page, Home back to your own screen, and the header on another screen stay as in ADR 0025.
- One per-device setting, "Others can join this screen" (default on, moved to Settings, ADR 0029), replaces the Shared screens setting. A screen with it off is missing from other devices' Join pages.
- Removed: the Shared screens setting and its prompt, and the "Home on" and "Quit on" card items.
Consequences
One copy per app keeps the box inside its limits: the busiest case is one app per screen, never the same app twice. Saves and settings stay per household (DATA_DIR/apps/<id>), one writer at a time, so they follow a person between devices. Every recipe keeps copies: one, which the runner already enforces.
Kept for "multi everything" later, so nothing is destructive: copies stays a recipe field and copies: many keeps working in the runner (an app moved to it after a two-copy test on the host would offer "Open here" beside Join); the runner's per-screen launch, budget and join code stay unchanged; settings.py ignores the old shared_control key instead of failing; the commit before the cut is tagged pre-0027 so the removed options can come back by revert.
Amendment (2026-11-24): the tile says where
A home tile whose app runs on another screen carries a badge, "On the TV" or "On on field in the home state), so the household sees where it runs before pressing it. A on it opens the same busy card (Join / Close).