GeezerVison is showing github.com — id: implement Jurisdiction-aware per-user hosted stores (design #2283) · Issue #5523 · developing-today/code
id: implement Jurisdiction-aware per-user hosted stores (design #2283) #5523DescriptionImplementation of an ID design that has not landed yet (zero implementation as of the 2026-11-04 inventory).
Design issue: #2283
Design doc: doc/2026-11-01_design_id2283.md (in developing-today/code)
Acceptance, in brief: per-user hosted stores selected and scoped by jurisdiction per the design.
Current state: no jurisdiction logic anywhere in pkgs/id.
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 Picked up by repo queue worker lane code-u for task 9590: implementing issue #5523 (jurisdiction-aware per-user hosted stores, design #2283) in pkgs/id. Revalidating against the design doc, then branch + PR per queue protocol.
dezren39 commented on Nov 4, 2026 Scoping findings for task 9590 (lane code-u) — blocking as packet_defect:
The packet's premise is stale: it states "no jurisdiction logic anywhere in pkgs/id", but the hosted data-plane scaffold for #5199 merged in PR #5286 already implements a large part of design #2283 in pkgs/id/hosted-worker:
src/routing.ts: single routing module owning the raw USERS namespace; ID + stub derived only from ns.jurisdiction(jurisdiction) restricted namespace; fail-closed parseJurisdiction/parseBindingId (missing/invalid = error, no default-to-us, no unrestricted fallback); tests in test/routing.test.ts.
src/user-do.ts: per-user DO binds (binding_id, jurisdiction) immutably on first routed request; guard checks routed context, runtime state.id.jurisdiction mismatch, and persisted identity before any read/write.
src/worker.ts: front door strips client-supplied internal headers and routes only via the restricted namespace.
What remains of the design is its own phased program, already tracked by open follow-ons — not one 45-minute small_fix:
Two further packet defects: (1) its test scope names only cargo test for pkgs/id, but the jurisdiction surface is TypeScript in hosted-worker (the design itself says local Rust tests cannot establish these facts); (2) it prescribes the design doc's userObjectId(sub, jurisdiction) contract, while the merged #5199 implementation deliberately uses binding_id per the #2258/#3811 reconciliation and explicitly rejects google:<sub> derivation — that conflict must be resolved on #3400/#3399, not silently by a worker.
Action: task 9590 blocked, reason class packet_defect. Issue #5523 stays open as the umbrella; the phase follow-ons above are the actionable units.
dezren39 commented on Nov 17, 2026 🤖 Agent note · triage (already triaged — duplicate of the verdicts of record)
- Agent: repo-worker-code (Muse queue worker, lane any-a)
- Session / ID: queue task 18313 · lane
any-a
- Found via: repo-health-code-pilot atomic claim (unfiltered one-queue claim; bulk-intake packet)
This issue was triaged twice on 2026-11-14 — task 15192 (full re-evaluation under unblock-all) and task 16716 (same-day duplicate, completed against the 15192 verdict). Both verdicts stand and are re-confirmed this shift: the issue is unchanged since (OPEN, no comments after 2026-11-14T13:02Z).
The verdict, briefly: #5523 is an umbrella whose premise ("no jurisdiction logic anywhere in pkgs/id") is stale — the jurisdiction-aware hosted data plane already landed via #5199 in pkgs/id/hosted-worker (fail-closed parseJurisdiction/parseBindingId, per-user DO binding, front-door header stripping, routing tests). The remaining work is the phased program, each phase carrying its own issue and queue state: #3399 (Phase 1 authoritative record), #3400 (Phase 2 reconciliation), #3401 (Phase 3 R2/D1), #3404 (Phase 4 migration control plane), #3402 (Phase 5 transfer/verify/cleanup), #9935 (Phase 3 world blobs), with #3403 (Phase 0 Cloudflare canary) not queue-actionable.
The issue stays open as the umbrella; no duplicate follow-on is filed, and it should not be re-enqueued as a single small_fix. Task 18313 completes as already_done.
dezren39 commented on Nov 17, 2026 🤖 Agent note · done
- Agent: queue worker (repo-worker-code), Muse lane any-i
- Session / ID: task 19844 (broker follow-on of triage task 18313)
- Found via: queue claim
- Task: Follow-on packet for umbrella issue id: implement Jurisdiction-aware per-user hosted stores (design #2283) #5523 (jurisdiction-aware per-user hosted stores, design id: design: jurisdiction-aware per-user store routing (signup jurisdiction field, DO/blob/directory pinning) #2283) — completes as
already_done: the packet's premise is stale and the actionable work is landed or already routed.
- Fresh verification (2026-11-17, this lane): issue id: implement Jurisdiction-aware per-user hosted stores (design #2283) #5523 OPEN as the umbrella, no held / user/owned / do-not-merge / do-not-auto-edit labels, unchanged since the verdicts of record. Triage task 18313 (note 6936545661) re-confirmed tasks 15192/16716: the jurisdiction-aware hosted data plane already landed via id(hosted): scaffold binding-backed per-user Durable Object #5199 (
pkgs/id/hosted-worker — fail-closed jurisdiction parsing, per-user DO binding, routing tests), and the remaining phased program carries its own issues and queue state (id: add immutable jurisdiction and migration metadata to hosted directory #3399 Phase 1, id: enforce restricted jurisdiction routing and object entry guards #3400 Phase 2, id: isolate hosted blobs by jurisdiction and minimize shared directory #3401 Phase 3 R2/D1, 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: implement fenced jurisdiction migration control plane #3404 Phase 4, id: implement verified resumable user-store migration and safe cleanup #3402 Phase 5; id: gate hosted jurisdiction provisioning on verified DO and R2 support #3403 Phase 0 is not queue-actionable). No duplicate packet is created from this follow-on, and the issue should not be re-enqueued as a single small_fix.
dezren39 commented on Nov 24, 2026 🤖 Agent note · verdict: already triaged, no new packet (second pass, lane code-j, task 21822)
- Fresh state (2026-11-24): issue id: implement Jurisdiction-aware per-user hosted stores (design #2283) #5523 OPEN, label
epic/id-program, last updated 2026-11-20. Its prior verdicts (tasks 15192, 18313, 19844) recorded the umbrella as already triaged and its follow-on packet as already_done.
- Verdict: no new follow-on packet. Creating one would repeat the already-rejected umbrella shape.
- Kept open: the issue stays open as the epic umbrella for the id program.
dezren39 commented on Nov 24, 2026 agent-note:v1 — oc-code-07 second-pass (queue task 22844, pass 3, 2026-11-24). Fresh state: #5523 OPEN, umbrella (epic/id-program). Prior triage verdicts (tasks 15192, 18313, 19844, 21822) stand: an umbrella with partial implementation, not a single small_fix. Verdict: already triaged, no new follow-on packet routed (would duplicate the scoped children). Tracking: #14158 developing-today-fleet commented on Nov 26, 2026
🤖 Agent note · verify-and-route verdict (queue task 24871, lane code-h, 2026-11-27)
Fresh state verified this pass:
- id: implement Jurisdiction-aware per-user hosted stores (design #2283) #5523 is OPEN, umbrella (epic/id-program), updated 2026-11-24. No hold labels.
- Prior verdicts of record stand: tasks 15192 (full triage 2026-11-14), 16716 (duplicate same day), 18313 (already_done 2026-11-17), 19844 (follow-on already_done 2026-11-17), 21822 (second pass 2026-11-24), 22844 (pass 3, 2026-11-24).
Verdict: already triaged — no new packet. #5523 is an umbrella whose premise ("no jurisdiction logic anywhere in pkgs/id") is stale (data plane landed via #5199); remaining work is the phased program (#3399–#3404, #9935), each carrying its own issue/queue state. Re-enqueuing it as a single small_fix would repeat the already-rejected shape. Issue stays open as the umbrella. developing-today-fleet commented on Nov 28, 2026
Triage verdict: already triaged, no new packet.
Fresh check 2026-11-28: #5523 OPEN, umbrella (epic/id-program), unchanged since the verdict of record (task 24871 + full triage 15192). Premise stale — jurisdiction-aware hosted data plane landed via #5199; remaining work is the phased program (#3399-3404, #9935) with its own queue state. No code, no follow-on packet. Issue stays open as the umbrella.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|