From 5bce0acad6d10f9b952874f1359406b4eae3a8f9 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Wed, 23 Sep 2026 17:46:48 +0200 Subject: docs: drop the invitation-link plan from the tree The plan was a working document; what it decided lives in MESHBAY_DESIGN.md and MESHBAY_NODE_PROTOCOL.md. Code and tests now cite those instead. Co-Authored-By: Claude Opus 5.5 --- packages/meshbay-node/src/meshbay_node/ops.py | 2 +- packages/meshbay-node/src/meshbay_node/roster.py | 2 +- packages/meshbay-node/src/meshbay_node/transport/webrtc_server.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/meshbay-node/src') diff --git a/packages/meshbay-node/src/meshbay_node/ops.py b/packages/meshbay-node/src/meshbay_node/ops.py index e6b2d1f..aae0a33 100644 --- a/packages/meshbay-node/src/meshbay_node/ops.py +++ b/packages/meshbay-node/src/meshbay_node/ops.py @@ -243,7 +243,7 @@ async def create_link_invite(state: dict, group_id: str, *, Nothing is registered on the hub here, unlike `create_invite`: there is no account to register yet. The hub half is a ticket the inviter's client asks - the hub for, bound to the invitee's address (docs/invite-links.md §3.5). + the hub for, bound to the invitee's address (docs/MESHBAY_DESIGN.md §7.3). """ roster = _roster(state) _group_ctx(state, group_id) diff --git a/packages/meshbay-node/src/meshbay_node/roster.py b/packages/meshbay-node/src/meshbay_node/roster.py index 8360df3..7bc2067 100644 --- a/packages/meshbay-node/src/meshbay_node/roster.py +++ b/packages/meshbay-node/src/meshbay_node/roster.py @@ -61,7 +61,7 @@ DEFAULT_DEVICE_REQUEST_TTL = 3600 # What an invitation is bound to. An `account` code names its user_id when it is # issued; a `link` code names nobody until it is redeemed, because a link goes to -# someone who may not have an account yet (docs/invite-links.md). The kind is a +# someone who may not have an account yet (docs/MESHBAY_DESIGN.md §3.4). The kind is a # column rather than an empty user_id so that "bound to nobody" can never be # read as "bound to anybody" — the mistake AV1 records, once per codebase. KIND_ACCOUNT = "account" diff --git a/packages/meshbay-node/src/meshbay_node/transport/webrtc_server.py b/packages/meshbay-node/src/meshbay_node/transport/webrtc_server.py index 95b628f..b7c8c92 100644 --- a/packages/meshbay-node/src/meshbay_node/transport/webrtc_server.py +++ b/packages/meshbay-node/src/meshbay_node/transport/webrtc_server.py @@ -1242,7 +1242,7 @@ class WebRTCPeerSession: """ Issue a code bound to no account, for an invitation link — into the group this connection authenticated to, and no other: a link names its - group, so the operator signs for exactly that one (docs/invite-links.md). + group, so the operator signs for exactly that one (docs/MESHBAY_DESIGN.md §3.4). """ group_id = self._group_id or "" if not group_id: -- cgit v1.2.3