GeezerVison is showing github.com — id: implement Jurisdiction-partitioned hosted worlds and world blobs (design #3397) · Issue #5528 · developing-today/code
id: implement Jurisdiction-partitioned hosted worlds and world blobs (design #3397) #5528DescriptionImplementation of an ID design that has not landed yet (zero implementation as of the 2026-11-04 inventory).
Design issue: #3397
Design doc: doc/2026-11-01_design_id3397.md (in developing-today/code)
Acceptance, in brief: hosted worlds and world blobs partitioned by jurisdiction per the design.
Current state: no jurisdiction partitioning in hosted worlds or blob storage.
The design documents govern. If implementation shows the design is wrong or incomplete, file a design amendment rather than silently diverging.
Scope: pkgs/id and its tests. Filed 2026-11-04 under Drew's order to begin work on all not-implemented ID designs. Inventory: workspace/goals/keep-the-four-repos-healthy/files/id-design-implementation-inventory-2026-11-04.md (in the fleet workspace). Activitydeveloping-today commented on Nov 4, 2026 dezren39 commented on Nov 4, 2026 dezren39 commented on Nov 4, 2026 dezren39 commented on Nov 4, 2026 dezren39 commented on Nov 4, 2026 🤖 Agent note · picked up, revalidated, parked (dependency blocked)
dezren39 commented on Nov 4, 2026 dezren39 commented on Nov 4, 2026 dezren39 commented on Nov 14, 2026
Agent note — task 16713 re-triage: program already routed by task 15194 (lane any-b)
dezren39 commented on Nov 17, 2026 🤖 Agent note · triaged — coverage duplicate; program routing from task 15194 stands, root gate unchanged
dezren39 commented on Nov 17, 2026 agent-note:v1
state: triaged — premise stale: jurisdiction partitioning is implemented in-tree; live enforcement gated on #2285/#3403
task: 19848 (repo-health-code-pilot, lane code-d)
issue: #5528 — implement jurisdiction-partitioned hosted worlds and world blobs (design #3397)
Fresh state this shift (primary checkout faeee69):
- The 2026-11-04 premise ("no jurisdiction partitioning in hosted worlds or blob storage") no longer holds. pkgs/id/hosted-worker routes through jurisdiction-restricted Durable Object namespaces (env.USERS.jurisdiction(jurisdiction), per its README), with jurisdiction handling in src/routing.ts, src/worker.ts, src/user-do.ts and the test harness; pkgs/id/crates/id-core carries residency.rs, residency_inventory.rs, sanctions.rs and boundary_surfaces.rs.
- Design id: design: jurisdiction-partitioned hosted worlds and world blobs #3397 is CLOSED (design landed).
- The remaining gap is enforcement on a real account, not code: the package README records that local workerd does not implement jurisdiction restrictions (namespace.jurisdiction("us") throws locally), and the wrangler.toml header gates the real-account jurisdiction canary on id: PoC: verify DO jurisdiction mechanics and confirm vendor residency guarantees #2285 / id: gate hosted jurisdiction provisioning on verified DO and R2 support #3403 — both OPEN (companion triage of id: implement ID serverless edition v1 on Cloudflare Workers (design #2046) #5524, task 19846, same shift).
Disposition: code-level remainder rides the hosted implementation vehicle #3811 (OPEN); live jurisdiction enforcement waits on the #2285/#3403 account gates. No separate follow-on filed — the vehicle and gates already exist. This issue stays OPEN as the acceptance tracker until they resolve. dezren39 commented on Nov 23, 2026
Agent note — parked on dependency gate (lane code-f, queue task 21484)
dezren39 commented on Nov 24, 2026
Agent note — done-check verdict: entry conditions not yet met; parked on the next gate (lane felix, queue task 21484)
Fresh revalidation 2026-11-24 (main 08715cb94): #5528 OPEN, no implementation PR. I re-ran the full done-check against the design's phase chain rather than assuming the last park still holds — the gate state has moved:
Gates that have cleared since this task's last park (2026-11-23):
The next gate is still unmet — Phase 1, #3399:
- id: add immutable jurisdiction and migration metadata to hosted directory #3399 is OPEN (
status:in-review) and actively in flight under other lanes: contract slices merged via PR id: duplicate signup preserves hosted directory record (#3399 slice) #13325; the persistent-directory slice is draft PR id: persist hosted account directory records (#3399 slice) #13407, still in verification as of 2026-11-24T07:32Z. Its own progress notes state production signup wiring remains disabled.
- id: partition-scoped world routing, names, and admission (from #3397 Phase 2) #3898's acceptance criteria (Phase 2, the first world-specific slice) explicitly require "id: add immutable jurisdiction and migration metadata to hosted directory #3399 evidence has landed" — it has not.
- Premise re-verified on current main:
pkgs/id/hosted-worker/src contains no world module (no world routing/names/admission, no world blobs); the world-specific slices are all still open and unimplemented — id: partition-scoped world routing, names, and admission (from #3397 Phase 2) #3898 (Phase 2), id: partition-local world blobs — per-jurisdiction R2 binding, world-reference indexing, local dedup + safe GC (design #3397 Phase 3, #5528 split) #9935 (Phase 3 world blobs), id: world lifecycle and migration — tombstone, verified export/import as new world (from #3397 Phase 4) #3899 (Phase 4 lifecycle).
- The guest-membership policy (design id: design: jurisdiction-partitioned hosted worlds and world blobs #3397 open question 1) also remains Drew's unsettled decision; per the design the guest seam ships disabled, so it is not the blocker — id: add immutable jurisdiction and migration metadata to hosted directory #3399 is.
Disposition: implementing the #5528 umbrella monolithically now would duplicate the filed slices (#3898/#9935/#3899) and build the world layer before the Phase 1 authoritative jurisdiction records it must consume exist — the design forbids inventing a parallel jurisdiction vocabulary. No code changes, no branch created. Task 21484 is parked with ready-condition issue-closed #3399. When #3399 lands, the next claimant starts with #3898 (Phase 2 world routing/names/admission), then #9935, then #3899, in the slices' own queue order. developing-today-fleet commented on Nov 25, 2026
Agent note — gate fired; umbrella packet 21484 completes as routed (lane code-f, queue task 21484)
Fresh revalidation 2026-11-25 (this claim of task 21484):
- The park's ready-condition has fired. Task 21484 was parked (felix verdict, comment 7127752937) on
issue-closed #3399. id: add immutable jurisdiction and migration metadata to hosted directory #3399 is now CLOSED (closed_at 2026-11-25T07:34:37Z); its persistent-directory slice PR id: persist hosted account directory records (#3399 slice) #13407 merged 2026-11-24T17:08:14Z. All earlier gates in the chain are likewise closed: id: gate hosted jurisdiction provisioning on verified DO and R2 support #3403, id: enforce restricted jurisdiction routing and object entry guards #3400, id: PoC: verify DO jurisdiction mechanics and confirm vendor residency guarantees #2285, id: implement hosted Worker API + per-user DO provisioning and metering (from #2046/#2852 slice 3) #3811.
- The work the gate was holding is already routed and in flight under the phase slices' own tasks, exactly as the verdict prescribed ("the next claimant starts with id: partition-scoped world routing, names, and admission (from #3397 Phase 2) #3898 … in the slices' own queue order"):
- id: partition-scoped world routing, names, and admission (from #3397 Phase 2) #3898 (Phase 2, world routing/names/admission) — its own task 13810 revalidated twice today (08:29Z, 09:10Z): prerequisites all closed; implementation in flight as PR feat(id): partition-scoped world routing guard core (#3898 slice 1) #14560 (partition guard core, open) and PR feat(id): persist and enforce durable world partition binding (#3898 slice) #14658 (durable partition binding, draft, tests being corrected); task 13810 is parked on PR feat(id): partition-scoped world routing guard core (#3898 slice 1) #14560 merging, then scopes the production-path admission/cache/listing slice.
- id: partition-local world blobs — per-jurisdiction R2 binding, world-reference indexing, local dedup + safe GC (design #3397 Phase 3, #5528 split) #9935 (Phase 3, world blobs) — OPEN,
queue/blocked behind the chain.
- id: world lifecycle and migration — tombstone, verified export/import as new world (from #3397 Phase 4) #3899 (Phase 4, lifecycle) — OPEN,
queue/blocked behind the chain.
- Disposition of this packet: id: implement Jurisdiction-partitioned hosted worlds and world blobs (design #3397) #5528 is the design id: design: jurisdiction-partitioned hosted worlds and world blobs #3397 program tracker, not an implementable slice — four triages (tasks 15194, 16713, 18317, 19848) and the 2026-11-24 done-check all reached the same verdict, and the original monolithic attempt (task 9595) was blocked as packet_defect in 2026-11-06 for exactly this reason. Implementing the umbrella under this packet now would duplicate the in-flight slices. Task 21484 therefore completes as triaged/routed with this record as its evidence; no code changes, no branch created.
- id: implement Jurisdiction-partitioned hosted worlds and world blobs (design #3397) #5528 stays open as the program tracker. Remaining path: PR feat(id): partition-scoped world routing guard core (#3898 slice 1) #14560 + PR feat(id): persist and enforce durable world partition binding (#3898 slice) #14658 land → task 13810 wakes and scopes id: partition-scoped world routing, names, and admission (from #3397 Phase 2) #3898's next slice → id: partition-local world blobs — per-jurisdiction R2 binding, world-reference indexing, local dedup + safe GC (design #3397 Phase 3, #5528 split) #9935 → id: world lifecycle and migration — tombstone, verified export/import as new world (from #3397 Phase 4) #3899, each under its own queue task.
developing-today-fleet commented on Nov 27, 2026
🤖 Agent note · triage — task 25329 (queue repo-health-code-pilot, lane code-g)
- Fresh state: id: implement Jurisdiction-partitioned hosted worlds and world blobs (design #3397) #5528 OPEN, labels (status/in-progress, queue/claimed, work/assigned, effort/l, kind/infrastructure, epic/id-program, app/id, priority/normal). Umbrella tracker for design id: design: jurisdiction-partitioned hosted worlds and world blobs #3397, not an implementable slice.
- Gate chain (fresh 2026-11-27): Phase 1 id: add immutable jurisdiction and migration metadata to hosted directory #3399 CLOSED; world slices still OPEN — id: partition-scoped world routing, names, and admission (from #3397 Phase 2) #3898 (Phase 2 routing/names/admission), id: partition-local world blobs — per-jurisdiction R2 binding, world-reference indexing, local dedup + safe GC (design #3397 Phase 3, #5528 split) #9935 (Phase 3 world blobs), id: world lifecycle and migration — tombstone, verified export/import as new world (from #3397 Phase 4) #3899 (Phase 4 lifecycle). Premise holds: no world module in pkgs/id/hosted-worker/src per prior done-checks; world work routes through the slice issues in queue order.
- Verdict: PROGRAM TRACKER — stays OPEN, no small-fix. Implementing the umbrella monolithically would duplicate the filed slices and violate the design phase chain. No branch, no code changes.
- Disposition: no PR links id: implement Jurisdiction-partitioned hosted worlds and world blobs (design #3397) #5528 directly; verify-disposition reads invalid_no_work with no follow-up required.
developing-today-fleet commented on Nov 27, 2026 Triage refresh — queue task 25734 (2026-11-27)
Verdict: program tracker; keep #5528 OPEN; no new parent-level packet. The prior triage (task 25329, earlier today) already established that #5528 is an umbrella for the #3397 phase slices, not a monolithic implementation task. Fresh child-state check confirms no change that warrants duplicate work:
- id: partition-scoped world routing, names, and admission (from #3397 Phase 2) #3898 (Phase 2) remains OPEN; slices feat(id): partition-scoped world routing guard core (#3898 slice 1) #15441/feat(id): fence durable world journals by immutable partition (#3898 slice 2) #15460/feat(id-worlds): partition-scoped world open and discovery peek (#3898 slice 3) #15466/feat(id): serve worlds inside one partition with --world-partition (#3898 slice 4) #15476 merged, but caller-jurisdiction/session wiring and other remaining acceptance are not complete. Existing task 13810 is parked pending a safe next slice; no open PR directly references id: partition-scoped world routing, names, and admission (from #3397 Phase 2) #3898.
- id: partition-local world blobs — per-jurisdiction R2 binding, world-reference indexing, local dedup + safe GC (design #3397 Phase 3, #5528 split) #9935 (Phase 3 world blobs) remains OPEN/blocked. Task 16708 remains blocked; id: isolate hosted blobs by jurisdiction and minimize shared directory #3401 is now CLOSED, leaving id: partition-scoped world routing, names, and admission (from #3397 Phase 2) #3898 as the remaining named phase prerequisite.
- id: world lifecycle and migration — tombstone, verified export/import as new world (from #3397 Phase 4) #3899 (Phase 4 lifecycle/migration) remains OPEN/blocked behind id: partition-scoped world routing, names, and admission (from #3397 Phase 2) #3898; id: isolate hosted blobs by jurisdiction and minimize shared directory #3401 is CLOSED.
No open PR directly references #5528 or these child issues. Existing child issues/tasks already own the work; this pass creates no duplicate packet, branch, or code changes. #5528 remains the program tracker until its phase slices complete. developing-today commented on Nov 27, 2026
Triage re-verification — task 26008 (oc-code-03), 2026-11-27: program tracker; keep OPEN; no parent-level packet.
Fresh verification (adopts code-g task 25329 + task 25734 verdicts, 2026-11-27):
- id: implement Jurisdiction-partitioned hosted worlds and world blobs (design #3397) #5528 OPEN umbrella tracker for design id: design: jurisdiction-partitioned hosted worlds and world blobs #3397, not an implementable slice. Phase 1 id: add immutable jurisdiction and migration metadata to hosted directory #3399 CLOSED.
- id: partition-scoped world routing, names, and admission (from #3397 Phase 2) #3898 (Phase 2) OPEN, implementation in flight; task 13810 parked (timer elapsed, eligible). id: partition-local world blobs — per-jurisdiction R2 binding, world-reference indexing, local dedup + safe GC (design #3397 Phase 3, #5528 split) #9935 (Phase 3) OPEN, id: world lifecycle and migration — tombstone, verified export/import as new world (from #3397 Phase 4) #3899 (Phase 4) OPEN — both downstream of id: partition-scoped world routing, names, and admission (from #3397 Phase 2) #3898.
- No open PR references id: implement Jurisdiction-partitioned hosted worlds and world blobs (design #3397) #5528 directly. No branch, no code changes, no duplicate packet from this pass. Closure waits on the phase-slice chain led by id: partition-scoped world routing, names, and admission (from #3397 Phase 2) #3898.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|