050. Basecamp at parity with the phone

Status: accepted 2026-10-10; built the same day. Inviting with a Keycard is built and tested without hardware; a run with a real card is still owed (docs/testing-the-keycard.md, stage 5).

Context

The Basecamp view had not been compared with the Android app for weeks (docs/before-1.0.md said so). A review on 2026-10-10 found:

Decision

Basecamp does what the phone does, except what only a phone can do (NFC, VPN consent, the home-screen widget). On top of that it has what a desktop is better at: copying, wide lists, a log you can filter.

The decisions that change who may do what:

  1. A daemon with no mesh lets the socket group join with an invite.
    • A running daemon already let the group join another mesh with one. An invite is the admin's decision, made on another device, so redeeming it grants nothing the admin did not.
    • Joining with a bare network key still needs root (firstJoinNeedsRoot), because that is membership with nobody's say-so.
    • /reload on a waiting daemon stays root's.
  2. Blind relays are a socket-group setting (/config/blind-relays), as they are on the phone. The operator's token can be written but is never read back, only whether there is one: anyone in the group can read settings, and the token is the relay operator's, not theirs to copy.
  3. A join runs on a thread of the core's own (joinWithInviteStart, joinProgress). The view's thread still never blocks; the join gets the time it actually takes.
  4. The agents app is opened through Basecamp's intent (basecamp.apps.launch, declared in uses). The view never names a provider's internals, and the link is not drawn on a host without request().

The status payload gained the per-mesh settings a form has to show: quiet_revocations, blind_relays_configured and blind_relays_refused (after inheriting the device's settings).

Keycard invites from Basecamp

The daemon side already existed. /invite/hold and /invite/reply require an identified caller, and a reply from the group must carry a credential signed by an admin key on a card (ADR-033). The missing pieces were the token, the credential and the signature, and none of them belongs in a C++ module or a QML view:

None of these admits anybody: a token is random, a draft is unsigned, and the signature comes off a card the daemon never sees.

Consequences