You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Mobile 1: Decide how a paired device is admitted by DSH across Host restarts (spike + ADR) #1649
A time-boxed spike that answers one question and records it as an ADR: how does a paired phone keep calling the Host (unary /api/<method> and the Remote stream socket) after the Host restarts, when DSH's only credential today is the per-process launch token exchanged for a signed cookie (ADR-0159)?
Evaluate, in preference order, against the pinned DSH:
A DSH-native durable session or credential mechanism, including whether the signed authority cookie already survives a restart (the phone QA runbook observed cookies outliving token rotation).
A BotHarness pairing service that holds a per-device secret and exchanges it on the Host for a DSH authority cookie through a supported DSH extension point.
An upstream DSH contribution adding device credentials.
A second listener or reverse proxy in front of dsh web is the fallback only (ADR-0159 rejected new listeners).
The spike proves the chosen path on a real isolated Host: obtain access, restart the Host, call a bridge method and open a Remote stream with the same device credential, then revoke and see the next call refused.
Acceptance criteria
Each candidate assessed with evidence from the pinned DSH (source or live behavior), not assumption
Chosen path demonstrated live across a Host restart for both a unary bridge call and a Remote stream
Revocation demonstrated to refuse the next call and end an open stream
ADR under docs/adr/ records the decision, rejected options and trust boundaries; living architecture updated if a module boundary changes
No credential, token or tailnet address committed or logged
Activity
DoodleBears commentedon Oct 14, 2026
Agent work claim
claude/cloud/session_01JrrnCatooFQ2u1FxCatQsL(not a DSH Session)claude/project-thread-m59p8dGenerated by Claude Code
Mark the device gateway paragraph as target design
ADR-0199: paired devices reach the Host through a same-listener devic…
DoodleBears commentedon Oct 14, 2026
Agent work outcome
claude/cloud/session_01JrrnCatooFQ2u1FxCatQsLGenerated by Claude Code