#244 Ship 1: inbound space allow-list + CanReceiveSpace (v0.6.26) #245

Merged
Cordy merged 2 commits from feat/244-ship1 into main 2026-08-15 16:18:58 +00:00
Owner

First slice of #244 (Space as a peering recipient). Backend groundwork only — no user-facing surface yet; deploy/test happens after Ship 3.

  • peering.Senders (shared shape) gains Spaces; peers now carry an inbound Receivers.Spaces allow-list.
  • Registry.CanReceiveSpace(peer, space) — fail-closed, disabled-aware, mirrors CanReceive. Existence is a separate delivery-time check (Ship 2).
  • Registry.ReceiverSpaces(peer) accessor.
  • Admin peers API: add/update/list carry receivers.spaces / recvSpaces.

Runner: go vet / build / test ./internal/peering/... ./internal/api/... all green.

Part of #244.

First slice of #244 (Space as a peering recipient). Backend groundwork only — no user-facing surface yet; deploy/test happens after Ship 3. - `peering.Senders` (shared shape) gains `Spaces`; peers now carry an inbound `Receivers.Spaces` allow-list. - `Registry.CanReceiveSpace(peer, space)` — fail-closed, disabled-aware, mirrors `CanReceive`. Existence is a separate delivery-time check (Ship 2). - `Registry.ReceiverSpaces(peer)` accessor. - Admin peers API: `add`/`update`/`list` carry `receivers.spaces` / `recvSpaces`. Runner: `go vet` / `build` / `test ./internal/peering/... ./internal/api/...` all green. Part of #244.
Cordy merged commit ec8ecac8b1 into main 2026-08-15 16:18:58 +00:00
Cordy deleted branch feat/244-ship1 2026-08-15 16:19:00 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Cordy/Cairn#245
No description provided.