Skip to content

id: investigate global (Mainline DHT) content discovery for public worlds #2263

Open

Description

@dezren39

Parent: #2050 (investigation: BitTorrent-style chunk retrieval for graph objects), epic #2056. Follow-up D of the #2050 investigation. Investigation-sized; gated on follow-up A (in-network holder discovery) landing first.

Question

Should pkgs/id add global holder discovery for public content, using the approach n0 demonstrates in the experimental iroh-content-discovery repo: announce SHA-1(BLAKE3 hash) on the BitTorrent Mainline DHT (announce_peer/get_peers), translate returned host:port pairs to EndpointIds via a small signed-record UDP address-index service, verify candidates with a size query, then hand off to the iroh-blobs downloader? (Write-up: iroh.computer blog, "Iroh global content discovery", 2026.)

Why it needs its own investigation

  • Privacy/trust: a Mainline announcement publicly states "an endpoint at this IP claims this hash". Right for public boards/files; wrong for membership-gated worlds. Needs a per-world opt-in model (default off) and a clear statement of what the address-index service learns and stores (in-memory, expiring records, signed by the endpoint key).
  • Fit: pkgs/id already ships optional Mainline address lookup (iroh-mainline-address-lookup, Cargo feature dht) — this is Mainline content discovery, a different use of the same network; evaluate sharing the DHT node/socket machinery.
  • The experiment is upstream-immature: assess what adopting it commits us to maintaining if n0's experiment stalls.

Deliverable

An investigation doc (on this issue or linked, per repo convention) covering: the announce/lookup flow as it would work for id's public worlds; the privacy model and per-world opt-in design; address-index deployment options (run our own vs rely on discovered services); maintenance risk; and a recommendation (adopt / adapt / skip) with the follow-on implementation issue filed if the recommendation is adopt/adapt.

Acceptance criteria

Activity

  1. added
    app/id
    on Oct 29, 2026
  2. developing-today commented on Oct 29, 2026

    @developing-today
    Contributor
  3. added
    kind/question
    source/human
    priority/low
    effort/l
    status/needs-triage
    meta/enriched
    on Oct 29, 2026
  4. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    Intake review — fleet monitor, 2026-10-29

  5. added
    work/assigned
    queue/claimed
    status/in-progress
    and removed
    status/needs-triage
    on Nov 3, 2026
  6. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked-up

  7. 42 remaining items

  8. removed their assignment
    on Nov 20, 2026
  9. dezren39 commented on Nov 24, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    task: 21713
    issue: #2263
    lane: code-j
    worker: repo-worker-code
    origin: openchamber-scheduled-lane
    state: done
    stage: claimed -> verified -> complete

    Second-pass verdict (fresh 2026-11-24): #2263 is OPEN with task/triage, kind/question, effort/l, status/blocked and queue/blocked. Earlier packet 19732 was blocked as a packet defect (2026-11-18), and this packet is also verify-and-route, not implementation.

    Route: the investigation is an effort/l question and stays out of the queue as a small fix. It needs a triage-typed packet that is sized as an investigation, and that packet should be issued only after the status/blocked label is cleared by its owner. No code, branch, or PR was changed.

  10. added
    queue/queued
    status/needs-triage
    and removed
    status/blocked
    queue/blocked
    queue/queued
    on Nov 26, 2026
  11. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · triage (queue task 24906, lane oc-code-02)

  12. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    Contributor

    Follow-up to the triage note: completion generated queue task 25460 as kind=small_fix, which is the wrong packet class for this effort/l investigation. I cancelled that task before dispatch (packet defect). The issue is unblocked, but I am not claiming a correctly typed investigation task has been enqueued.

  13. developing-today commented on Nov 27, 2026

    @developing-today
    Contributor

    Triage revalidation — Fleet lane code-h, 2026-11-27 (queue task 25513)

  14. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · census 2026-11-29 (lane CEN-C03)

    Blocker (named): gated on follow-up A (in-network holder discovery) landing first, per the body. Deliverable (investigation doc with a recommendation) is well defined. Priority: low (unchanged — correct for a gated investigation).

  15. added
    status/triaged
    and removed
    status/needs-triage
    on Nov 29, 2026
  16. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): full re-read (body, labels, all comments, native edges) in the CODE-6 recovery pass.

    STRENGTHS: decisive verdict of record (ADOPT the two-tier split, 2026-11-27) with per-child dispositions and a named next step.
    GAPS: one discrepancy a pickup lane must resolve first: the 2026-11-27 triage of record states prerequisite #2260 is CLOSED, while the body gates on a "follow-up A" — confirm follow-up A's identity and state before scoping the get.rs wiring. Also carried a stale status/needs-triage despite repeated triage.
    FIXES I APPLIED: removed status/needs-triage, added status/triaged.
    REMAINS: the get.rs surface wiring once follow-up A is confirmed; the #2261 Adopt/Drop/Adapt call is Drewry's (tracked there).

  17. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Wave-2 census pass (group code-01409-03205): rechecked live state, body, labels and recent comments firsthand via fleet gh immediately before editing.
    A 2026-11-29 census note from another lane (CEN-*/Felix) already exists on this issue — skimmed, not duplicated; this note records only the residual verdict and any residual fixes.

    Strengths: detailed body (2237 chars) with context a picker-up can start from; acceptance criteria present in the body; single taxonomy priority band (priority/low) — verified against live labels; kind label present (kind/question).

    Gaps found: none material.

    Actions taken this pass: none — verified complete, no changes.

    Priority: priority/low — checked against content, unchanged (no reprioritization). No closing keywords used; issue left open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/ideffort/lepic/id-programkind/questionmeta/enrichedpriority/lowsource/humanstatus/triagedtask/triagework/assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions