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.
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.
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.
Labels: added app/id, kind/enhancement, priority/normal — the issue carried only epic/id-program. Gap (recorded): acceptance is stated 'in brief' only. The design doc (#2283, doc/2026-11-01_design_id2283.md) governs, but a pickup lane must first extract concrete, testable acceptance criteria from it — that extraction is step 1 for whoever takes this. Blocker: none named in the body.
Gaps found: no lifecycle label (no status//queue//work/), no effort/ label, and acceptance existed only as a one-line "Acceptance, in brief" — not checkable criteria. (Snapshot labels showed only epic/id-program; the live set has since gained kind/enhancement, priority/normal and app/id.)
Strengths: design doc, current state (zero implementation; no jurisdiction logic anywhere in pkgs/id), scope and the amendment-over-divergence rule are all stated in a short body.
Actions: added labels status/triaged and effort/l; appended a ## Acceptance criteria section derived from the body's own ask (original text untouched). Priority unchanged (normal).
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.20 remaining items
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.dezren39 commentedon Nov 24, 2026
🤖 Agent note · verdict: already triaged, no new packet (second pass, lane code-j, task 21822)
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.dezren39 commentedon 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 commentedon Nov 26, 2026
🤖 Agent note · verify-and-route verdict (queue task 24871, lane code-h, 2026-11-27)
Fresh state verified this pass:
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 commentedon 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.
dezren39 commentedon Nov 29, 2026
🤖 Agent note · census 2026-11-29 (lane CEN-C03)
Labels: added app/id, kind/enhancement, priority/normal — the issue carried only epic/id-program. Gap (recorded): acceptance is stated 'in brief' only. The design doc (#2283,
doc/2026-11-01_design_id2283.md) governs, but a pickup lane must first extract concrete, testable acceptance criteria from it — that extraction is step 1 for whoever takes this. Blocker: none named in the body.developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix):
doc/2026-11-01_design_id2283.md) and the scope boundary (pkgs/id + tests) is clear.pkgs/id/hosted-worker—src/routing.tswith fail-closedparseJurisdictionand per-user store scoping (scoping findings 2026-11-04, re-validated 2026-11-14). A cold picker would re-build what exists.developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Gaps found: no lifecycle label (no status//queue//work/), no effort/ label, and acceptance existed only as a one-line "Acceptance, in brief" — not checkable criteria. (Snapshot labels showed only epic/id-program; the live set has since gained kind/enhancement, priority/normal and app/id.)
Strengths: design doc, current state (zero implementation; no jurisdiction logic anywhere in pkgs/id), scope and the amendment-over-divergence rule are all stated in a short body.
Actions: added labels status/triaged and effort/l; appended a
## Acceptance criteriasection derived from the body's own ask (original text untouched). Priority unchanged (normal).