Skip to content

id: implement #3870 phase 3 — destination import for region-seam handoff #3902

Open

Description

@dezren39

Phase 3 of #3870 (journaled region-seam export/import, design #2818, doc doc/2026-11-01_design_id2818.md in PR #3875, §8 packet 3). GATED on Phase 2 (program contract + source export/fence) landing.

Scope: Destination import primitive — no coordinator route changes yet.

  • Validate program module hash, payload schema, and payload digest before any mutation; mismatch refused before the destination journals or applies.
  • Persist-before-apply import: one EntityImported journal fact, then apply the destination app event; receipt only after apply/replay succeeds.
  • Idempotency by handoff_id: exact retry returns the existing receipt without applying twice; same ID with different entity/epoch/digest fails closed, never overwrites.
  • Failure tests: persist-before-apply, exact + conflicting duplicate imports, replay, dedupe after checkpoint/compaction, unsupported payload.

Acceptance: design #3870 criteria for this packet — exact retries idempotent, conflicting imports fail closed, no durable receipt before apply/replay.

Parent: #3870. Design: #2818.

Activity

  1. added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 1, 2026
  2. dezren39 commented on Nov 1, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — state=picked_up; worker=repo-worker-code; task=5865; at=2026-11-01T18:08:00Z; branch=queue/5865-3902-destination-import; worktree=~/git/fleet/5865; revalidating issue and predecessor gate.

  3. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 1, 2026
  4. dezren39 commented on Nov 1, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — state=parked; worker=repo-worker-code; task=5865; at=2026-11-01T18:10:00Z; reason=predecessor #3901 remains OPEN and no associated PR was found; resume-after=2026-11-01T18:39:50Z or once #3901 is merged/closed; no code changes or worktree created.

  5. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 1, 2026
  6. dezren39 commented on Nov 1, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — state=picked_up; worker=repo-worker-code; task=5865; at=2026-11-01T18:40:44Z; branch=queue/5865-3902-destination-import; worktree=~/git/fleet/5865; revalidating predecessor #3901 gate.

  7. 241 remaining items

  8. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked

  9. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    agent-note:v1 — task 5865 (small_fix, #3902) re-checked by lane code-u at 2026-11-05T16:05Z: hard gate still unmet. Fresh gh state: gate issue #3901 OPEN; predecessor PR #3931 OPEN, mergedAt=null, author dezren39 (Drew-owned — not touched). No phase-3 implementation started. Task 5865 parked; resume condition: #3901 lands (PR #3931 merged / #3901 closed).

  10. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked

  11. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 5, 2026
  12. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · parked

  13. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/claimedQueue worker lifecycle state
    on Nov 5, 2026
  14. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor

    🤖 Agent note · parked — hard gate still unmet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app/idPackage/app: id (pkgs/ or apps/ in this repo)queue/parkedQueue task is parked (waiting on CI, time, or an event)source/creatorFiled by the new-issue-creator jobstatus/parkedDeliberately paused with a recorded resume conditiontask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions