Skip to content

id: implement verified resumable user-store migration and safe cleanup #3402

Open

Description

@dezren39

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).

Activity

  1. developing-today commented on Nov 1, 2026

    @developing-today
    Contributor
  2. added
    kind/infrastructureInfrastructure / host-portability work
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    source/humanFiled directly by a human
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 1, 2026
  3. dezren39 commented on Nov 1, 2026

    @dezren39
    MemberAuthor

    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)

  4. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Nov 1, 2026
  5. 151 remaining items

  6. added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 4, 2026
  7. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor

    🤖 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:

    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:

    1. issue id: add immutable jurisdiction and migration metadata to hosted directory #3399 — signup jurisdiction capture + authoritative routing
    2. issue id: enforce restricted jurisdiction routing and object entry guards #3400 — restricted single-user store runtime (hosted storage interfaces)
    3. issue id: isolate hosted blobs by jurisdiction and minimize shared directory #3401 — fenced migration control plane (the direct predecessor)
    4. issue id: gate hosted jurisdiction provisioning on verified DO and R2 support #3403 — account-level verification + production enablement gate (also OPEN; issue id: PoC: verify DO jurisdiction mechanics and confirm vendor residency guarantees #2285 deployment/residency likewise OPEN)
    5. issue id: implement fenced jurisdiction migration control plane #3404 — residency guarantees + tenant-facing disclosure

    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.

  8. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor

    🤖 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.

  9. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    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.

  10. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged — still live; design PR #3406 merged, implementation not started

  11. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    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.

  12. removed their assignment
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/idPackage/app: id (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/id-programReprioritization program epic (2026-11-12)kind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a humantask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions