Skip to content

docs(sdk): onboarding & sharing — node-as-contact-card + passkey identity - #1676

Merged
joelteply merged 1 commit into
canaryfrom
docs/sdk-onboarding-share-passkeys
Jun 18, 2026
Merged

joelteply merged 1 commit into
canaryfrom
docs/sdk-onboarding-share-passkeys

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Captures the onboarding/share UX direction (this session's design thread with Joel) into the client-SDK architecture doc, so the mobile SDK now in flight implements it directly. Bridges the airc directory work (airc #1247) with the continuum SDK stack.

What it adds

A new "Onboarding & sharing: a node is a shareable contact card" section + an identity = passkeys subsection:

  • Node/grid = vCard-shaped card (identity + endpoints + rooms + capability offers — the airc directory's small, metadata-only JSON). Sharing a mesh node becomes the familiar share-a-contact gesture: QR scan-to-join, deep/universal links, native share sheet, NFC tap.
  • Durability rule: encode the stable pointer (gist URL + pin), not the volatile endpoint — so a QR/link survives router port changes (the airc feat(modules,#1222 PR-3): real evict_at_least via docker system prune #1243 stale-port bug). The gist refreshes live endpoints behind a stable front door.
  • Public vs private = the card's audience (which gist), one mechanism.
  • Identity = passkeys: hardware-backed (Secure Enclave/StrongBox), biometric-gated, platform-synced (iCloud Keychain / Google). No raw-key management; identity follows the human across devices; mesh still pins an Ed25519 public key (trust model unchanged). Honest open point flagged: passkey is the signing key vs guards a sealed Ed25519 key — same user-facing contract either way, resolve when the mobile SDK lands.
  • Where it slots: uniffi facade (feat(client-ffi): uniffi 0.31 annotation pass — the one native binding source #1675, landed) + airc directory cards are the substrate; the native affordances (camera/QR, NFC, WebAuthn, universal links, share sheet) live in the platform SDKs + apps/mobile, not the headless Rust core.

Docs-only.

🤖 Generated with Claude Code

…tity

Capture the onboarding/share UX so the mobile SDK (in flight) implements it
directly, and tie it to the airc directory work (#1247).

- A node/grid is a vCard-shaped shareable card (identity + endpoints + rooms +
  capability offers — the airc directory's metadata-only JSON). Sharing a mesh
  node is the share-a-contact gesture: QR scan-to-join, deep/universal links,
  native share sheet, NFC tap.
- Durability rule: encode the STABLE pointer (gist URL + pin), not the volatile
  endpoint — so a QR/link survives router port changes (the #1243 stale-port
  bug). The gist refreshes live endpoints behind a stable front door.
- Public vs private = the card's audience (which gist), one mechanism.
- Identity = passkeys: hardware-backed, biometric-gated, platform-synced. No raw
  key management; identity follows the human across devices; still pins an
  Ed25519 public key (mesh trust unchanged). Open point: passkey IS the signing
  key vs guards a sealed Ed25519 key — same user-facing contract either way.
- Slots cleanly: uniffi facade (#1675, landed) + airc directory cards are the
  substrate; the native affordances (camera/QR, NFC, WebAuthn, universal links,
  share sheet) live in the platform SDKs + apps/mobile, not the headless core.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@joelteply
joelteply merged commit 8462989 into canary Jun 18, 2026
2 checks passed
@joelteply
joelteply deleted the docs/sdk-onboarding-share-passkeys branch June 18, 2026 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant