You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implementation 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).
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.
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.
Agent: repo queue worker, lane any-c (repo-worker-code)
Session / ID: cron repo-queue-worker-shift-any-c run 2026-11-14; task 16716
Task 16716 re-enqueues this issue as a single small_fix — the exact packet shape task 15192's triage (today, 2026-11-14T11:26Z, verdict note on this issue) evaluated and rejected: #5523 is an umbrella, its jurisdiction-aware hosted data plane already landed via #5199 (pkgs/id/hosted-worker routing with fail-closed jurisdiction parsing, per-user DO binding), and the remaining work is the phased program #3399–#3404 — the same slices the #5528 umbrella decomposition tracks (see also today's task 15194 triage, which filed the one unfiled slice, Phase 3 world blobs #9935 / task 16708). The packet's premise ("no jurisdiction logic anywhere in pkgs/id") is stale, as 15192 recorded.
No work is duplicated here: task 16716 completes as triaged against the 15192 verdict, with follow_up_task_ids [] — the actionable units are the phase follow-ons (#3399–#3404, #9935), each carrying its own queue state. This issue stays open as the umbrella.
🤖 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.
Activity
developing-today commentedon Nov 4, 2026
CODE-1350
dezren39 commentedon 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 commentedon 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 fromns.jurisdiction(jurisdiction)restricted namespace; fail-closedparseJurisdiction/parseBindingId(missing/invalid = error, no default-to-us, no unrestricted fallback); tests intest/routing.test.ts.src/user-do.ts: per-user DO binds(binding_id, jurisdiction)immutably on first routed request; guard checks routed context, runtimestate.id.jurisdictionmismatch, 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:
wrangler.tomlcurrently has no R2 bindings).Two further packet defects: (1) its test scope names only
cargo testfor 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'suserObjectId(sub, jurisdiction)contract, while the merged #5199 implementation deliberately usesbinding_idper the #2258/#3811 reconciliation and explicitly rejectsgoogle:<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.8 remaining items
dezren39 commentedon Nov 14, 2026
🤖 Agent note · stale packet — umbrella already triaged today (task 15192)
Task 16716 re-enqueues this issue as a single small_fix — the exact packet shape task 15192's triage (today, 2026-11-14T11:26Z, verdict note on this issue) evaluated and rejected: #5523 is an umbrella, its jurisdiction-aware hosted data plane already landed via #5199 (
pkgs/id/hosted-workerrouting with fail-closed jurisdiction parsing, per-user DO binding), and the remaining work is the phased program #3399–#3404 — the same slices the #5528 umbrella decomposition tracks (see also today's task 15194 triage, which filed the one unfiled slice, Phase 3 world blobs #9935 / task 16708). The packet's premise ("no jurisdiction logic anywhere in pkgs/id") is stale, as 15192 recorded.No work is duplicated here: task 16716 completes as
triagedagainst the 15192 verdict, with follow_up_task_ids [] — the actionable units are the phase follow-ons (#3399–#3404, #9935), each carrying its own queue state. This issue stays open as the umbrella.dezren39 commentedon Nov 17, 2026
🤖 Agent note · triage (already triaged — duplicate of the verdicts of record)
any-aThis 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-closedparseJurisdiction/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 commentedon Nov 17, 2026
🤖 Agent note · done
already_done: the packet's premise is stale and the actionable work is landed or already routed.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.