GeezerVison is showing github.com — id: poc: five-node bridge relay over iroh-gossip — chained fan-out via a single bridging member · Issue #2249 · developing-today/code
id: poc: five-node bridge relay over iroh-gossip — chained fan-out via a single bridging member #2249DescriptionGATED on #2036 (ID messaging/relay protocol v1 synthesis). Do not start until #2036's design is reviewed — a PoC built on an unreviewed protocol would be making the protocol's decisions itself, which the ID program forbids (see #2035 deliverable rules).
What
A five-node proof of concept of the relay model from the #2035 investigation (doc: doc/2026-10-29T11-05-00Z_investigation_multi_hop_relay_and_p2p_media/):
- Four mutually visible members {A, B, C, D} plus E reachable only through D.
- Chained-class messages fan out over iroh-gossip; D bridges to/from E in the same manner (fan-out to visible neighbours, excluding arrival neighbour).
- Origin-signed envelopes with prev-hash chaining; signed hop records appended per relay; dedupe by message ID; hop cap enforced.
- Measure: delivery completeness to E, duplicate rate at E when a second bridge appears, one-hop bridged latency vs direct latency.
Acceptance
- Test/demo harness with 5 in-process or local endpoints, E firewalled from all but D at the application layer
- A's chained message reaches E via D with a verifiable hop chain; a tampered relayed copy is refused at ingest
- Duplicate copies (two bridges) collapse to one delivered message
- Latency numbers recorded in the PoC report (direct vs one bridge hop)
- Report linked from id: design: ID messaging/relay protocol v1 #2036; PoC is explicitly NOT the permanent feature
Parent epic: #2056 — ID platform expansion. Origin investigation: #2035. Pattern per Drew's 2026-10-28 execution orders: investigate → synthesise (#2036) → PoC. Activitydeveloping-today commented on Oct 29, 2026 dezren39 commented on Nov 3, 2026 🤖 Agent note · state: triaged — gate check and scope record (queue task 7864)
Verdict: still live, not superseded, and correctly gated. No implementation starts now.
Fresh state (2026-11-03T13:4xZ, gh reads)
- id: poc: five-node bridge relay over iroh-gossip — chained fan-out via a single bridging member #2249 OPEN, labels
app/id only, unchanged since 2026-10-29T11:53Z. No branch or PR owns it: repo-wide code search finds no iroh-gossip usage outside doc/ spikes; the only PR mentioning id: poc: five-node bridge relay over iroh-gossip — chained fan-out via a single bridging member #2249 is docs(id): bridge semantics investigation — hosted (HTTPS/WS) ↔ native (Iroh) seam (#2058) #2277 (merged docs: bridge semantics investigation, id: investigate: bridge semantics — hosted (HTTPS/WS) edition syncing with native Iroh nodes #2058).
- Its declared gate, id: design: ID messaging/relay protocol v1 #2036 (ID messaging/relay protocol v1), now has a merged design: PR design(id): #2036 messaging/relay protocol v1 #3833 merged 2026-11-02T15:51Z, doc
doc/2026-11-01_design_id2036.md on main. id: design: ID messaging/relay protocol v1 #2036 itself stays open as the synthesis parent.
- The design sets a second, narrower gate on this issue (§6, verbatim): "The bridge PoC id: poc: five-node bridge relay over iroh-gossip — chained fan-out via a single bridging member #2249 may proceed only against phase 3's reviewed envelope and must not become production code before review."
- Phase 3 is id: protocol v1 phase 3 — relay envelope + hop records over iroh-gossip for chained messages (#2036) #3796 (
relay envelope + hop records over iroh-gossip for chained messages) — OPEN and status/blocked as of 2026-11-03T13:29Z. Its blocker is a queue bookkeeping defect, not a design question: task 5786 sits blocked and holds the canonical dedupe key, so the validated part-A packet (hidden_files/packet-3796-part-a-types.json) deduped onto it and no successor was created (issue comment 2026-11-03T12:18Z).
- Phases around it: id: protocol v1 phase 1 — session header + segment checkpoint event kind (#2036) #3794 closed (phase 1 landed), id: protocol v1 phase 2 — PoC: intermittent-signature live stream for collaborative editing (#2036) #3795 parked (phase 2), id: protocol v1 phase 4 — retention and compaction for the event store (#2036) #3797 in progress (phase 4).
Why the PoC cannot start
The issue's own deliverable list requires origin-signed envelopes + prev-hash chaining, signed hop records appended per relay, dedupe by message ID, and an enforced hop cap. Those are exactly the artifacts #3796 defines. Building the five-node harness first would decide the envelope and hop-record shape inside PoC code — the failure mode #2036 §6 and the #2035 deliverable rules forbid ("do NOT build the permanent feature on top of an unreviewed PoC").
Scope, recorded for when the gate opens (do not implement now)
- Location: a new PoC under
pkgs/id spikes (no production crate wiring); existing iroh work is only doc/2026-10-11T.../spikes/*, which are reference, not a base.
- Topology: A, B, C, D mutually visible; E reachable only via D; E isolated from A/B/C at the application layer.
- Behaviour: chained-class fan-out over iroh-gossip; D bridges to/from E by the same rule (fan-out to visible neighbours excluding the arrival neighbour); origin signature over content/prev-refs/group/sequence; hop record outside the signed envelope; dedupe by message ID; four-hop cap.
- Measurements to record in the PoC report: delivery completeness to E; duplicate rate at E when a second bridge appears; direct vs one-bridge-hop latency.
- Refusal vectors: tampered relayed copy rejected at ingest; two-bridge duplicates collapse to one delivery; relay forwards at most once per message and refuses its own prior hop.
- Report links back to id: design: ID messaging/relay protocol v1 #2036; explicitly not the permanent feature.
Ordering / blockers
- id: protocol v1 phase 3 — relay envelope + hop records over iroh-gossip for chained messages (#2036) #3796 part A — envelope, stable message ID, hop-record types (task 5786: re-scope or cancel-and-re-enqueue, per the 12:18Z correction note).
- id: protocol v1 phase 3 — relay envelope + hop records over iroh-gossip for chained messages (#2036) #3796 part B — gossip topic derivation, membership/ingest gate, validate-before-forward seam, bridge integration test.
- id: poc: five-node bridge relay over iroh-gossip — chained fan-out via a single bridging member #2249 — this PoC, against the reviewed id: protocol v1 phase 3 — relay envelope + hop records over iroh-gossip for chained messages (#2036) #3796 envelope.
- Review of the PoC report before anything here becomes production code.
Resume condition: #3796 closed/merged (envelope reviewed). Until then this issue is dependency-blocked; the queue task closes as triaged and no worker should claim it for implementation.
developing-today commented on Nov 3, 2026 agent-note:v1
state: triaged (coverage pass)
Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 30 (priority/none). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
Found via: coverage pass 2026-11-03 dezren39 commented on Nov 8, 2026 Partial verification — staying open (2026-11-07 done-task-only audit, tracking: #7016).
Queue task(s) [7864, 8601] were marked done, and some work did land:
No merged change closes this issue's full scope, so the done status is not treated as completion. Remainder re-queued as triage task 11634. dezren39 commented on Nov 23, 2026
Claim — Lane xaltha taking #2249 now.
Plan: five-node bridge-relay PoC per the #2035 investigation and #2036 design — in-process harness {A, B, C, D} + E reachable only via D, chained-class messages over iroh-gossip with origin-signed envelopes, hop records, dedupe, hop cap; acceptance per the issue (delivery via D with verifiable hop chain, tampered copy refused, duplicate collapse, latency numbers in the report). Predecessor #3796 closed via merged PR #13076, so the gate has lifted; premise-checking each acceptance criterion against current main before writing code. Report linked from #2036; PoC explicitly NOT the permanent feature. dezren39 commented on Nov 23, 2026
🤖 Agent note · triaged — live and unblocked; route the scoped PoC
Verdict: #2249 remains OPEN and its acceptance scope is still needed. Both design/protocol gates have cleared: the #2036 protocol v1 design merged in PR #3833, and predecessor #3796 is CLOSED after PR #13076 merged with the relay-ingest acceptance evidence. No PR completing #2249 surfaced in the live PR search.
Route: continue the issue's five-node bridge-relay PoC as a scoped follow-on task. The latest issue comment records lane xaltha's implementation claim and plan; no live fix task for #2249 was present in the code pilot queue, so this triage completion will create the formal small_fix successor. Keep the PoC separate from permanent production code and retain the acceptance/report requirements in #2249.
Evidence: #3796 CLOSED; PR #13076 MERGED 2026-11-23 08:31 UTC; PR #3833 MERGED 2026-11-02 15:51 UTC; live state and linked PR search checked 2026-11-23. dezren39 commented on Nov 23, 2026 🤖 Agent note — lane any-n (task 21336)
dezren39 commented on Nov 23, 2026 Lane oc-code-07 (queue task 21336) carried this forward: lane xaltha's harness branch (xaltha/2249-bridge-relay-poc, 4 commits, no PR) is merged onto current main in PR #13454, with two carry fixes (registry merge keeping both relay rows; missing ed25519-dalek dev-dep). All 3 PoC tests pass on current main (cargo test -p id-sync --test relay_poc: direct 17.9 ms vs bridged 242 ms medians). Report linked from #2036 as required. No production code changes; xaltha's commits keep their authorship in the PR.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|