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
{{ message }}
Repository navigation
id: implement verified resumable user-store migration and safe cleanup #3402
Follow-up to #2283. Implement versioned export/import and migration orchestration after fenced control plane: preserve signed bytes and journal, manifest reachable blobs, copy across jurisdiction-specific buckets, verify content, hashes and signatures before CAS switch, then retain and clean source safely.
Acceptance: fault-injection tests cover interrupted copy/import, corruption, pre-switch abort, post-switch recovery and signature preservation; shared source blobs are never deleted without jurisdiction-local concurrency-safe reachability and retention proof; staging exercises one-account migration runbook. Depends on fenced migration and hosted storage interfaces; no cross-jurisdiction shared worlds (#2284).
Notes: Inline Acceptance present, with a strong fault-injection list (interrupted copy/import, corruption, pre-switch abort, post-switch recovery, signature preservation). Largest item in the set — effort/l. Sequenced last among the implementation children for a reason: it consumes the control plane and the storage interfaces.
Risks: Source-blob deletion safety (jurisdiction-local reachability + retention proof before any delete) is the irreversible-step hazard; keep deletion behind its own verified gate.
Suggested approach: Export/import + manifest verification first with fault injection in CI; CAS switch second; cleanup last, behind the retention proof.
The implementation is not: there is no occurrence of "jurisdiction" anywhere in pkgs/id/src (hosted_binding.rs is the only hosted-* module and predates this design's routing), and no versioned export/import, migration orchestration, manifest/reachability, or CAS-switch code for user stores exists.
Blockers / ordering (why no fix packet is enqueued from this triage):
This issue is one of six implementation follow-ons filed by PR #3406, and its own text gates it: "Implement … after fenced control plane" and "Depends on fenced migration and hosted storage interfaces". All of its siblings are still OPEN:
A fix packet for issue #3402 created today would claim work whose interfaces do not exist yet. Correct order: #3399 → #3400 → #3401 land first; then convert this issue to a small_fix packet scoped to export/import + verification + CAS switch + safe cleanup with its fault-injection acceptance (interrupted copy/import, corruption, pre-switch abort, post-switch recovery, signature preservation; no shared-blob deletion without jurisdiction-local reachability + retention proof). The coverage audit / fleet monitor should re-queue this issue once issue #3401 closes.
🤖 Agent note · correction to the task 12113 verdict note above
Agent: queue worker (repo-worker-code), lane code-z
Session / ID: task 12113 (correction)
The verdict stands (real and current, nothing landed, no fix packet yet), but two sibling titles were transposed in the ordering list: the fenced migration control plane is issue #3404 ("implement fenced jurisdiction migration control plane"), not issue #3401. Issue #3401 is "isolate hosted blobs by jurisdiction and minimize shared directory" — which is the blob-isolation work this issue's safe-cleanup half also depends on. Corrected gate set for converting issue #3402 to a fix packet: issue #3399 (jurisdiction/migration metadata), issue #3400 (restricted routing + entry guards), issue #3401 (blob isolation), and above all issue #3404 (fenced control plane) land first; issue #3403 (provisioning gate) and issue #2285 (DO jurisdiction PoC) remain open in parallel.
Checked: 2026-11-17T02:56Z, live via gh and git grep origin/main
Verdict: issue OPEN, no hard-stop labels. PR docs(id): design jurisdiction-aware hosted user stores #3406 (jurisdiction-aware user-store design) is MERGED. origin/main has no resumable migration or safe-cleanup implementation in pkgs/id/src; hosted_export.rs is the only user-store reference.
Action: no fix PR from triage. Remaining scope is implementation; fleet reconciliation should cut the packet.
agent-note:v1
state: triaged
task 19804 (repo-health-code-pilot, lane any-q)
Pickup + triage revalidation, 2026-11-17.
Fresh state checked this run: issue #3402 is OPEN, labels task/triage / source/human / priority/normal / app/id / effort/l / meta/enriched / kind/infrastructure / epic/id-program. No held, user/owned, do-not-merge, or do-not-auto-edit label. Spot-check this run: no resumable-migration implementation exists under pkgs/id on current origin/main.
Verdict: the triage of record stands - task 18260 (2026-11-17, lane code-h): the design half is delivered (PR #3406, jurisdiction-aware hosted user stores, MERGED) and the implementation half (verified resumable user-store migration + safe cleanup) has not started. That implementation is effort/l scoped work that needs its own cut packet - exactly what task 18260's note assigns to fleet reconciliation - not a bounded fix inside a triage follow-on.
No implementation packet is routed from task 19804: the packet-cutting step belongs to reconciliation per the record, and a duplicate scoped packet from this lane would collide with it. Task 19804 completes as triaged naming the triage of record.
Activity
developing-today commentedon Nov 1, 2026
CODE-1302
dezren39 commentedon Nov 1, 2026
Intake review
Related: #2283 (parent), #3404 (fenced control plane — dependency), siblings #3399–#3401, #3403.
Notes: Inline Acceptance present, with a strong fault-injection list (interrupted copy/import, corruption, pre-switch abort, post-switch recovery, signature preservation). Largest item in the set — effort/l. Sequenced last among the implementation children for a reason: it consumes the control plane and the storage interfaces.
Risks: Source-blob deletion safety (jurisdiction-local reachability + retention proof before any delete) is the irreversible-step hazard; keep deletion behind its own verified gate.
Suggested approach: Export/import + manifest verification first with fault injection in CI; CAS switch second; cleanup last, behind the retention proof.
— fleet monitor intake (2026-11-01)
151 remaining items
developing-today commentedon Nov 8, 2026
🤖 Agent note · done (triaged — real and current, nothing landed, predecessor-gated on issue #3401; no fix packet yet)
Verdict: REAL AND CURRENT — no part of the implementation has landed.
Verified at current main (13ebecc, laptop clone ~/git/code) on 2026-11-08:
doc/2026-11-01_design_id2283.md/doc/2026-11-01_jurisdiction_aware_user_store_design.md(signup → authoritative jurisdiction → restricted user store + local bucket; migration → fence → export/import → verify → CAS switch → safe cleanup), and the parent investigations are CLOSED (issue id: design: jurisdiction-aware per-user store routing (signup jurisdiction field, DO/blob/directory pinning) #2283, issue id: investigate: cross-jurisdiction shared worlds and federation — residency semantics for multi-tenant Durable Objects #2284).pkgs/id/src(hosted_binding.rsis the only hosted-* module and predates this design's routing), and no versioned export/import, migration orchestration, manifest/reachability, or CAS-switch code for user stores exists.Blockers / ordering (why no fix packet is enqueued from this triage):
This issue is one of six implementation follow-ons filed by PR #3406, and its own text gates it: "Implement … after fenced control plane" and "Depends on fenced migration and hosted storage interfaces". All of its siblings are still OPEN:
A fix packet for issue #3402 created today would claim work whose interfaces do not exist yet. Correct order: #3399 → #3400 → #3401 land first; then convert this issue to a small_fix packet scoped to export/import + verification + CAS switch + safe cleanup with its fault-injection acceptance (interrupted copy/import, corruption, pre-switch abort, post-switch recovery, signature preservation; no shared-blob deletion without jurisdiction-local reachability + retention proof). The coverage audit / fleet monitor should re-queue this issue once issue #3401 closes.
developing-today commentedon Nov 8, 2026
🤖 Agent note · correction to the task 12113 verdict note above
The verdict stands (real and current, nothing landed, no fix packet yet), but two sibling titles were transposed in the ordering list: the fenced migration control plane is issue #3404 ("implement fenced jurisdiction migration control plane"), not issue #3401. Issue #3401 is "isolate hosted blobs by jurisdiction and minimize shared directory" — which is the blob-isolation work this issue's safe-cleanup half also depends on. Corrected gate set for converting issue #3402 to a fix packet: issue #3399 (jurisdiction/migration metadata), issue #3400 (restricted routing + entry guards), issue #3401 (blob isolation), and above all issue #3404 (fenced control plane) land first; issue #3403 (provisioning gate) and issue #2285 (DO jurisdiction PoC) remain open in parallel.
dezren39 commentedon Nov 8, 2026
Partial verification — staying open (2026-11-07 done-task-only audit, tracking: #7016).
Queue task(s) [8235] were marked done, and some work did land:
No merged change closes this issue's full scope, so the done status is not treated as completion. Remainder re-queued as triage task 11672.
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged — still live; design PR #3406 merged, implementation not started
ghandgit grep origin/mainpkgs/id/src;hosted_export.rsis the only user-store reference.dezren39 commentedon Nov 17, 2026
agent-note:v1
state: triaged
task 19804 (repo-health-code-pilot, lane any-q)
Pickup + triage revalidation, 2026-11-17.
Fresh state checked this run: issue #3402 is OPEN, labels task/triage / source/human / priority/normal / app/id / effort/l / meta/enriched / kind/infrastructure / epic/id-program. No held, user/owned, do-not-merge, or do-not-auto-edit label. Spot-check this run: no resumable-migration implementation exists under pkgs/id on current origin/main.
Verdict: the triage of record stands - task 18260 (2026-11-17, lane code-h): the design half is delivered (PR #3406, jurisdiction-aware hosted user stores, MERGED) and the implementation half (verified resumable user-store migration + safe cleanup) has not started. That implementation is effort/l scoped work that needs its own cut packet - exactly what task 18260's note assigns to fleet reconciliation - not a bounded fix inside a triage follow-on.
No implementation packet is routed from task 19804: the packet-cutting step belongs to reconciliation per the record, and a duplicate scoped packet from this lane would collide with it. Task 19804 completes as triaged naming the triage of record.