GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — id: investigate: multi-hop relay and P2P media paths — bridging peers, optional privacy relay, large-message chunking · Issue #2035 · developing-today/code

id: investigate: multi-hop relay and P2P media paths — bridging peers, optional privacy relay, large-message chunking #2035

New issue
Copy link
New issue
Copy link
Closed
Closed
id: investigate: multi-hop relay and P2P media paths — bridging peers, optional privacy relay, large-message chunking#2035
Copy link
Assignees
dezren39
Labels
app/idPackage/app: id (pkgs/ or apps/ in this repo)priority/highImportant and time-sensitivestatus:done

Description

@dezren39
dezren39
opened on Oct 29, 2026
Issue body actions

LIST 9b. Nothing in ID's design should prevent future P2P text, voice (Ventrilo/Discord-like), video calls, or screen sharing — and traffic should NOT all hairpin through a central server; a relay exists only as an optional privacy proxy. Investigate multi-hop fan-out: in a group of four plus a fifth reachable only through one member, each sender reaches the peers they can see (multicast-equivalent = send to each) and the bridging member relays onward in the same manner; proxies are noted in the chain, validity rests on signatures/trust, ordering is mostly safe because messages chain by previous messages, and proxy latency matters for time-sensitive games. Also: very large messages and chunking — is wire-level chunking even needed when QUIC/Iroh streams handle breakup? Deliverable: relay model + chunking verdict.

Program: Drew's 2026-10-28 directive (full text: hatch-personal memory/topics/id-program-2026-10-28.md).
Working pattern: parallel investigations, then the named synthesis issue merges them into a full design. Route guidance: Workhorse by default; Specialist/Summit for synthesis and ramification-heavy work. A result that says "done" is not the endpoint — the orchestrator reviews it and may commission another round. Deliverables: a markdown design/investigation doc (mermaid/SVG diagrams welcome) linked from this issue, plus follow-up issues for anything buildable. Build a proof of concept where the design calls for one, but do NOT build the permanent feature on top of an unreviewed PoC.

Activity

Next
  1. dezren39
    added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Oct 29, 2026
  2. developing-today commented on Oct 29, 2026

    @developing-today
    developing-todayBot
    on Oct 29, 2026 – with developing.today
    Contributor
    More actions

    CODE-956

  3. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    Parent epic: #2056 — ID platform expansion (2026-10-28 directive).

  4. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  5. dezren39
    added
    priority/highImportant and time-sensitive
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  6. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    Top priority — ID program wave-1. Drew directed this be picked up in the next runs (2026-10-29): enqueued directly as triage task 3349 in repo-health-code-pilot at queue priority 20 (only breakage-class work at priority 10 outranks it). Wave-1 is the ungated investigations and designs; syntheses and PoCs stay gated on their named inputs. Investigation route: Workhorse.

  7. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  8. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane B shift
    • Session / ID: queue task 3349 (repo-health-code-pilot), 2026-10-29 05:43 CDT shift
    • Found via: queue claim
    • Task: Triage/investigation for id: investigate: multi-hop relay and P2P media paths — bridging peers, optional privacy relay, large-message chunking #2035 — produce the multi-hop relay model + large-message chunking verdict as a doc in doc/ (repo convention, following PR docs(id): 2026-10-28 program investigations — TigerBeetle + Cloudflare Workers fit #2067's investigation docs), link it from this issue, and route follow-on work in the same pass. Gated synthesis id: design: ID messaging/relay protocol v1 #2036 stays gated on this + id: investigate: ephemeral live data vs the chained event graph — retention and intermittent signing #2034.
    • Expectation: effort class m; done = investigation doc merged/linked, findings comment posted, follow-on routed, task completed as triaged.
    • Links: task 3349; synthesis gate: id: design: ID messaging/relay protocol v1 #2036; sibling investigation: id: investigate: ephemeral live data vs the chained event graph — retention and intermittent signing #2034
  9. developing-today
    added
    status:in-review
    on Oct 29, 2026
  10. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), lane B shift
    • Session / ID: queue task 3349 (repo-health-code-pilot), 2026-10-29
    • Found via: queue claim
    • Task: Investigation complete; parked only because CI on the docs PR is still pending past the 5-minute poll window.
    • Expectation: On resume: check PR doc: multi-hop relay and P2P media investigation (#2035) #2246 checks; if green, merge it (standing merge directive — docs-only, verified), then complete task 3349 as triaged and strip the queue/work/status labels.
    • Links: PR doc: multi-hop relay and P2P media investigation (#2035) #2246 · follow-up PoC id: poc: five-node bridge relay over iroh-gossip — chained fan-out via a single bridging member #2249 · synthesis id: design: ID messaging/relay protocol v1 #2036

    Investigation result — relay model + chunking verdict

    Full doc: PR #2246 → doc/2026-10-29T11-05-00Z_investigation_multi_hop_relay_and_p2p_media/ (377 lines, grounded in pkgs/id source on current main).

    Three "relays" separated. (a) Iroh infra relay (n0 default, relay kit) = per-connection NAT fallback — exists, not this issue. (b) Bridging peer = the actual gap: today a message reaches only peers its sender can connect to; nothing forwards to a member reachable only through another member. (c) Privacy relay = opt-in hairpin mode only, never the default path.

    Relay model. Sender fans out to visible neighbours (multicast-equivalent = send to each); any member bridges onward in the same manner, excluding the arrival neighbour. Adopt iroh-gossip (already a dependency; HyParView + PlumTree epidemic broadcast trees) as the fan-out substrate, with ID's group membership, origin signing, and prev-hash chaining as the layer on top — gossip today is used only for peer discovery (commands/peers.rs). Validity rests on the origin signature alone; relays append self-signed hop records used for audit, loop prevention, and a hop cap (4; media ≤1) — a relay can delay/withhold (availability; healed by duplicate paths + existing pairwise range sync) but cannot forge or alter. Ordering needs no new machinery: chained messages name predecessors, so multi-hop arrival order is safe, as the event graph already assumes. Bridges relay only group traffic that passes their own ingest, subject to the per-ID budgets from #2032/#2033.

    Media. Direct mesh over QUIC datagrams for small groups; when a participant is reachable only via a bridge, the bridge is a selective forwarder of group-key-encrypted packets (routes ciphertext + metadata, SFU trust position, on a member's machine instead of a central server). Central hairpin exists only in privacy-relay mode, at a stated latency/bandwidth cost.

    Chunking verdict: no new wire-level chunking protocol. QUIC streams already segment, retransmit, and reassemble — Iroh/QUIC handles the breakup. Two real size problems remain, both with in-repo answers: objects over ID's 1 MiB frame cap (frames.rs:20 MAX_FRAME_BYTES) that must travel as messages reuse the existing MLS-welcome checked chunk split/join (encryption/welcome.rs); genuinely large payloads don't travel in messages at all — the message carries a BLAKE3 blob_ref and the payload moves via iroh-blobs (verified streaming in 16 KiB chunk groups, range requests, resume, pull-through-bridge). Datagram-sized packetisation (RFC 9221, ~1200 B) belongs to the media codec layer only.

    Routing (same pass). Synthesis #2036 noted — it stays gated until #2034 also lands. Follow-up PoC filed: #2249 (five-node bridge PoC), explicitly gated on #2036's review so the PoC doesn't make the protocol's decisions. No code changed; nothing here presents a PoC as the permanent feature.

  11. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    on Oct 29, 2026
  12. 30 remaining items

  13. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Oct 29, 2026
  14. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    parked · worker repo-worker-code · lane A · queue task 3349

    PR #2246: head checks green on 465729f3, all 4 Codex P2 threads dispositioned as fixed in that commit. The PR sits at merge-queue position 1, state AWAITING_CHECKS (re-enqueued 2026-10-29T12:33Z); queue checks did not start during a full 5-minute poll — runner backlog, not a code problem. Re-parked 20 minutes per the park-don't-wait rule (§5).

    Resume condition: if #2246 is merged, complete task 3349 as triaged; if the merge queue rejects it, read the rejection reason and fix.

  15. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), Lane D
    • Session / ID: queue task 3349 (triage, resume from park)
    • Found via: queue claim
    • Task: Resume of PR doc: multi-hop relay and P2P media investigation (#2035) #2246 (id: investigate: multi-hop relay and P2P media paths — bridging peers, optional privacy relay, large-message chunking #2035 investigation doc). Fresh state: PR no longer in the merge queue (auto-merge cleared), head 465729f checks green, latest Codex round on this head completed with NO findings. The 4 P2 threads from the 10:54Z round each already carried a fix reply from the previous lane but were never resolved — resolved them this run to complete the disposition record, then re-enqueued to the merge queue.
    • Expectation: merge on merge-queue completion → complete task 3349 as triaged, strip labels; park again if the queue stalls past this shift.
  16. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · parked

    • Agent: queue worker (repo-worker-code), Lane D
    • Session / ID: queue task 3349 (triage, resume)
    • Found via: queue claim
    • Task: PR doc: multi-hop relay and P2P media investigation (#2035) #2246 re-enqueued to the merge queue by Lane D this run (after resolving the 4 previously-replied Codex threads and verifying the latest Codex round clean on 465729f, head checks green). Still OPEN after a 5-minute poll — merge-queue latency under the repo-wide Actions backlog.
    • Expectation: resume verbatim: gh pr view 2246 — if MERGED, complete task 3349 as triaged (merge_sha from the PR) and strip all status/, queue/, work/* labels from id: investigate: multi-hop relay and P2P media paths — bridging peers, optional privacy relay, large-message chunking #2035. If ejected from the queue again, read the reason fresh; head state was CLEAN/MERGEABLE with green checks and clean Codex at re-enqueue.
  17. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    Investigation result — multi-hop relay and P2P media paths

    Doc: doc/2026-10-29T11-05-00Z_investigation_multi_hop_relay_and_p2p_media/2026-10-29T11-05-00Z_investigation_multi_hop_relay_and_p2p_media.md (PR #2246, in the main merge queue; docs-only, no code touched).

    1. Three "relays" separated. Iroh infrastructure relay (exists, NAT fallback only), bridging peer (the actual gap — not implemented), privacy relay (opt-in hairpin, never a default path).

    2. Relay model. Sender fans out to the peers it can see; any member bridges onward the same way. Adopt iroh-gossip (already a dependency — HyParView/PlumTree broadcast trees) as the fan-out substrate, with ID's signing/membership/chaining as the layer above. Validity rests on the origin signature; the hop chain is audit + loop control (hop cap 4; media ≤ 1 bridge hop) and is never a trust input. Ordering comes from prev-hash chaining, which the event graph already assumes.

    3. Media. Direct QUIC-datagram mesh for small groups; when a participant is reachable only through one member, that member is a selective forwarder of encrypted packets (it cannot read them). Central hairpin only in privacy-relay mode.

    4. Chunking verdict — no new wire-level chunking protocol. QUIC streams already segment/reassemble. Over-cap framed objects reuse the existing MLS-welcome checked chunking (encryption/welcome.rs); large payloads travel as blob references via iroh-blobs (verified streaming, range/resume, pull-through-bridge). Datagram packetisation stays in the media layer (RFC 9221).

    Routing. PoC follow-up: #2249 (five-node bridge relay over iroh-gossip). Gated synthesis: #2036 (ID messaging/relay protocol v1), which also consumes #2034. Nothing here is presented as the permanent feature — the PoC is explicitly a PoC and the synthesis owns the design decision.

    Open questions handed to the synthesis are listed in §5 of the doc (path-quality signals, hop-cap tuning per message class, bridging-peer capacity accounting, and the privacy-relay threat model).

    done · worker repo-worker-code · lane openchamber-scheduled-lane · queue task 3349

    Investigation recorded (doc in PR #2246), follow-ups routed (#2249 PoC, #2036 synthesis). PR #2246 head 465729f3: checks green, all 4 Codex P2 threads resolved, MERGEABLE/CLEAN, sitting at merge-queue position 4 — the main merge queue has not drained since 2026-10-29T10:57Z (repo-wide runner backlog), which is why earlier shifts kept re-parking. No content work remains on this issue.

  18. dezren39
    removed
    status:in-review
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Oct 29, 2026
  19. developing-today
    added
    status:done
    on Oct 30, 2026
  20. developing-today
    closed this as completedon Oct 30, 2026
  21. dezren39
    added a parent issue on Nov 1, 2026
    • epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)priority/highImportant and time-sensitivestatus:done

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.