Repository navigation
Description
Parent
What to build
The Human opens "Pair a phone" in the Web Client, which shows a one-time, short-lived QR code (and a copyable link) carrying the Host identity and its reachable route (Tailscale HTTPS). The app scans it, stores a per-device credential in Keychain/Keystore, and from then on connects on its own, including after Host restarts, replacing the development token login from #1650. The Web Client lists paired devices with name, pairing time and last-seen time; revoking one immediately refuses its requests and ends its open streams, and the app shows "pair again".
Use the admission mechanism decided in #1649. The Device Pairing Host module owns offers, device records, verification, revocation and the advertised routes; secrets are stored hashed; pairing and admission events are recorded as bounded developer diagnostics without secrets. The Web Client warns when no phone-reachable route exists.
Acceptance criteria
- Pair a physical phone by scanning the QR code; the offer works once and expires
- After a Host restart the paired phone reconnects without any token
- Paired devices list shows the phone with last-seen time
- Revoke refuses the next request with a coded error and closes open streams; the app shows "pair again"
- Device credential never appears in logs, diagnostics bundles, CLI output or the repo
- Device Pairing module tested through its public interface; one live isolated-Host test covers pair → restart → call → revoke → refused
- Web Client UI follows dsh-ui conventions with before/after screenshots; Human QA on a device
Activity
DoodleBears commentedon Oct 14, 2026
Agent work claim
claude/cloud/session_01R5PbKeJYDptJVDJTLzv3cJ(not a DSH Session)claude/project-thread-x7uyt9Generated by Claude Code
Merge main into the QR pairing branch
Merge main into the QR pairing branch with the phone Inbox
Merge #1652 base with the Inbox into the full-client branch
Add the phone pairing journey's screenshots for the PR
Prove phone pairing end to end through the app's web build (#1674)
Merge main into the QR pairing branch with the phone DM
Merge main with the phone DM; drop the web-only carrier
Mobile 4: pair a phone by QR code and manage paired devices (#1668)
Mobile 5: open the full Web Client inside the app with the paired dev…
DoodleBears commentedon Oct 14, 2026
Outcome: #1668 merged into
main(and #1674, the agent-run phone journey, merged into it). #1671 (Mobile 5) is built on it and merged too.Acceptance criteria status:
scripts/e2e-device-pairing.mjs,scripts/e2e-mobile-pairing-web.mjs)device-revoked), closes open streams, and the app shows "Pair again"logs.dband the console; only its hash is storedapps/mobile/README.md. This issue stays open until that check is done.The feature map entry for agents is
.agents/skills/verify-deepseekbot/features/phone-pairing.md.Generated by Claude Code
DoodleBears commentedon Oct 17, 2026
Human-authorized issue reconciliation (2026-10-18). QR pairing/device management was delivered in #1668, merged into main. This thread's later real Android Human camera scan and restart-persistence evidence is recorded in #2025. Earlier protocol/revocation evidence remains in #1668. Closing the delivered slice per Human instruction.