Skip to content

docs(cli): phone pairing guide - #2504

Merged
agentiknet merged 1 commit into
mainfrom
docs/phone-pairing-guide
Nov 3, 2026
Merged

agentiknet merged 1 commit into
mainfrom
docs/phone-pairing-guide

Conversation

@agentiknet

@agentiknet agentiknet commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

What

New guide docs/cli/guides/phone-pairing.md, "Use agentproto from your phone": agentproto pair offer --qr, fingerprint confirmation, add to home screen, unpair (pair revoke and Forget on the phone), several daemons (one <fingerprint>.agentproto.cloud origin each, the "wrong address" screen), troubleshooting, and self-hosting the pair page and rendezvous. Five pair-page screenshots under docs/cli/guides/assets/phone-pairing/. Registered in docs/cli/guides/meta.json.

Checked against current main: the pair ls / pair revoke <fingerprint|name> verbs (docs/cli/verbs/pair.md), the per-daemon pair page and pairing.pairPage (docs/cli/concepts/pairing.md), the hosted rendezvous wss://rdv.agentproto.sh/v1, and the pair-page screens it names (packages/pair-page/src/pages/status.ts, pair.ts: Forget, wrong address, Connecting).

Salvage

From wt/phone-pairing-guide (worktree phone-pairing-guide), commits 618ed8444 and 125c47f2c. They were draft PR #1458, stacked on #1457; #1457 merged and #1458 was closed with its base instead of being retargeted, so the guide never reached main. Adapted rather than cherry-picked:

  • removed the "pair/v2 is not yet in a published release" caveat (it ships now); kept the check on the printed link shape;
  • the self-hosting link pointed at a #self-hosting-the-pair-page anchor that does not exist; it now targets #the-phone-pair-page-one-origin-per-daemon;
  • dropped the 460 KB PDF export (a binary copy of this page that would drift).

Docs only, no changeset. node scripts/agentflow/docs.mjs --check passes.


🤖 @agentproto-bot — PR · session sess_0d840a9f (salvage triage: held worktrees (usage-presets, chrome-live, ...)) · claude-code / subscription · auth-profile Anthropic Subs Hodl · model claude-opus-5-5 · 148 in / 36.8k out · $3.1510 (daemon) · host mac.home · cwd agentproto/salvage-triage-worktrees

User guide for pairing a phone with a daemon (pair offer --qr, fingerprint
confirm, home screen, unpair, several daemons, troubleshooting,
self-hosting), with screenshots of the pair page.

Salvaged from wt/phone-pairing-guide (618ed84 + 125c47f, draft PR
#1458 closed when its base #1457 merged). Adapted: the release caveat is
gone (pair/v2 ships), the self-hosting anchor points at the current
concepts/pairing.md heading, and the PDF export is dropped.

@ponytail-coder ponytail-coder Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Summary

Docs-only PR: adds docs/cli/guides/phone-pairing.md (147 lines) plus five phone screenshots under assets/phone-pairing/, and lists the guide in docs/cli/guides/meta.json after no-admin-install.

I checked the guide's concrete claims against the code they describe, and they hold up:

  • agentproto pair offer --qr / --pair-page / config pairing.pairPage — match packages/cli/src/commands/pair.ts and packages/cli/src/__tests__/pair-offer-qr.test.ts (including {fp} hostname-only template and --pair-page overriding config).
  • 32-hex fingerprint / one origin per daemon — matches docs/cli/concepts/pairing.md:72-75 and the 32-char fingerprint in pair-offer-qr.test.ts.
  • <fingerprint>.agentproto.cloud origins and the retired cli.agentproto.sh 16-hex warning — consistent with packages/pair-page host classification and the retired-origin note in packages/runtime/src/__tests__/origin-allowlist.test.ts.
  • UI wording: "Forget" / "Forget this daemon" / "wrong address" / "unreachable" all appear in packages/pair-page/src/pages/{pair,status}.ts; the 404-for-non-fingerprint-host claim matches the worker's host check.
  • agentproto pair ls / pair revoke <name> and agentproto rendezvous serve exist as documented (docs/cli/verbs/pair.md, docs/cli/verbs/rendezvous.md).
  • Relative links resolve: ../concepts/pairing.md, ../verbs/pair.md, ../verbs/rendezvous.md, and anchors #2-prerequisites, #8-self-hosting-short, #the-phone-pair-page-one-origin-per-daemon all exist. All five PNGs are valid 390x844 images and all are referenced exactly once.

docs-check.mjs could not complete inside a 120s timeout in this sandbox (network), but the targeted agentflow/docs.mjs --check passed ("docs in sync"), and the guide is prose-only (no generated verb reference to drift).

Changeset

None owed — node scripts/list-changed-packages.mjs prints nothing (only docs/** changed), so no publishable package is touched.

Findings

  • low — docs/cli/concepts/pairing.md:381: the Status section still lists "the mobile deep-link page and the pairing spec, AIP-59" under Still to come, while this new guide documents that page as shipped and links AIP-59 as if published. Worth flipping the deep-link-page bullet to Shipped so the two docs don't contradict each other.
  • low — docs/cli/guides/phone-pairing.md:78: the quoted UI string is "Connecting…", but the actual status title is Connecting to <daemon>… (packages/pair-page/src/pages/status.ts:76). Quoting it exactly (or dropping the quotes) avoids users hunting for a string that isn't shown verbatim.
  • low — the wrong-address.png screenshot embeds two real daemon fingerprints (e77b6d…, baa5e744…). Fingerprints are public identifiers, not secrets, so this is informational only; regenerating with placeholder values would be tidier.

Verdict

Approve. Accurate, well-linked, no package/API surface touched; the findings above are documentation-consistency nits, not blockers.


🤖 @agentproto-bot — review · session sess_7586650c (wf:agentproto-pr-review-supervised/review) · opencode / api-key · model opencode/deepseek-v4.1-flash-free · supervisor sess_4789e86d · $0.0000 · run 41701896556 · sha 5054b89a9fb588050a676219795c9253e0d2cc77

@agentiknet
agentiknet merged commit baf8b3d into main Nov 3, 2026
17 checks passed
@agentiknet
agentiknet deleted the docs/phone-pairing-guide branch November 5, 2026 00:14
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