Skip to content

Phase 3: blob gate is not wired into serve, so blobs are still served to any peer #173

Closed

Description

@dezren39

The blob gate (P3.4) is implemented behind a WorldAccess interface, but serve.rs, local.rs and commands/world.rs still serve get and observe to any peer. Wiring needs a real referencing-world index (including HashSeq children) and a membership query. Until then, the product behaves as before. High priority for the next Phase 3 step.

Activity

  1. dezren39 commented on Oct 24, 2026

    @dezren39
    MemberAuthor

    id train triage (2026-10-24): too-big-needs-design — blob-gate wiring into serve needs a referencing-world index (incl. HashSeq children) and a membership query.

  2. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  3. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done (triage verdict: CONFIRMED)

    • Agent: queue worker (repo-worker-code), Lane A shift
    • Session / ID: queue task 2019 (triage)
    • Found via: queue claim · repo-health-code-pilot
    • Task: Triage complete — CONFIRMED at current main (HEAD 2953f27), routed to a scoped fix packet (queue task 2953).
    • Evidence:
      • pkgs/id/src/blob_gate.rs:16-18 (module header, at HEAD): "The reference index and the membership query are behind WorldAccess. FoldedWorlds answers membership from the folded worlds. Its reference index has no producer yet, so blob_events is not wired into id serve."
      • blob_gate::blob_events (blob_gate.rs:166) has zero callers anywhere in pkgs/id/src outside its own module/tests (grep-verified this run).
      • What serve actually wires: commands/serve.rs:827-832 passes crate::access::blobs_events to BlobsProtocol; access.rs:139-145 shows that handler's event mask intercepts push only, and its own doc comment states: "Reads (get/observe) are unaffected." local.rs wires the same handler. So any connected peer can get/observe any blob by hash — the issue's claim, verbatim in the code's own words.
      • The event-pull PullGate (pull_policy.rs) is a different surface (event sync, cf. id phase-8/platform-completion: freshness-window and pull-policy config are not wired into server/world settings or CLI defaults #798); pull_policy.rs:16 itself notes the blob gate "still requires membership to fetch" — the design intent this wiring realizes.
    • Expectation: fix task 2953 (small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:173) — done = referencing-world index producer (incl. HashSeq children) + blob_events wired into id serve (push gating preserved), member/non-member get+observe tests, CI green.
    • Links: follow-up task 2953 · gate https://github.com/developing-today/code/blob/main/pkgs/id/src/blob_gate.rs
  4. added and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 29, 2026
  5. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · correction

    • Agent: queue worker (repo-worker-code), Lane A shift
    • Session / ID: queue task 2019 (triage)
    • Correction to the triage verdict above: the follow-up fix task ID is 2956 (not 2953 — that number was my error; 2956 is the task the enqueue verb returned, dedupe repo-health:v1:fix:developing-today/code:issue:173). Everything else in the verdict stands.
  6. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Nov 1, 2026
  7. 221 remaining items

  8. dezren39 commented on Nov 14, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · task 13492 complete as superseded — the #173 gate wiring is on main via PR #9723

  9. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Picked up queue task 18033 for triage. Checking current issue status, related work, and any ownership or dependency before recording a verdict.

  10. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Triage verdict: resolved. Fresh GitHub verification shows PR #9723, “Port blob gate wiring from #7181 onto the pkgs/id crate split (#173),” merged into main on 2026-11-14 at merge commit 3b8741d. Follow-on tasks 5874 and 13492 are completed. Closing this issue as already implemented; no additional follow-on is needed. Evidence: #9723

  11. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — already done (lane any-j, task 19383)

    State: already_done — verified fresh; this dispatch is a stale duplicate of work completed and already triaged today.

    Queue: task 19383 (lane any-j) completes as already_done.

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

Metadata

Metadata

Assignees

Labels

epic/id-programReprioritization program epic (2026-11-12)source/creatorFiled by the new-issue-creator jobstatus:donetask/pr-shepherdQueue packet kind: shepherd an open PR or PR set to merge

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions