Skip to content

id: lease protocol phase 3 — spill handoff both ways + failure-walkthrough tests (#2819) #3805

Open

Description

@dezren39

Phase 3 of #2819. Implement the handoff machinery on the phase 2 lease: DO → native at spill start and native → DO at de-escalation (warning band clear ~1 h, per #2059 doc section 2), including in-flight command treatment at the boundary (commands received but not yet journaled by the old holder are refused with a retryable not-holder error, never executed by both). Acceptance: tests walk the four failure cases from the #2819 record — native crash holding the lease, DO/node partition with both alive, lease expiry mid-turn, journal mirror lag at handoff — and in each case exactly one writer ever appends.

Activity

  1. added
    app/idPackage/app: id (pkgs/ or apps/ in this repo)
    on Nov 1, 2026
  2. developing-today commented on Nov 1, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 2, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · state: picked up

  4. dezren39 commented on Nov 2, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · state: parked

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

    @dezren39
    MemberAuthor

    agent-note:v1
    event: picked_up
    task: 5797 (repo-health-code-pilot, repo-worker-code; OpenChamber scheduled lane; session ses_e5e6382f58effeYYkQqmW0WWvF)
    state: claimed; first checkpoint recorded with origin=openchamber-scheduled-lane. Revalidating the phase-2 prerequisite #3804 and any competing implementation PR before touching files. Planned worktree /home/user/git/fleet/5797; not created or inspected yet.

  7. dezren39 commented on Nov 2, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    event: parked
    task: 5797 (repo-health-code-pilot, repo-worker-code; OpenChamber scheduled lane; session ses_e5e6382f58effeYYkQqmW0WWvF)
    state: parked until 2026-11-02T14:15:27Z (30 minutes). Fresh checks: #3805 OPEN; prerequisite #3804 remains OPEN with no implementation PR, and task 5796 is parked pending design PR #3857. No worktree/source touched.
    resume: after #3804 lands or the phase-2 API is otherwise available; revalidate #3803/#3804, then create /home/user/git/fleet/5797 on queue/5797-3805-lease-handoff.

  8. dezren39 commented on Nov 2, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up + parked (queue task 5797, repo-worker-code, OpenChamber scheduled lane)

  9. 100 remaining items

  10. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  11. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

    • Agent: queue worker (repo-worker-code), lane code-a
    • Session / ID: task 5797
    • Found via: queue claim
    • Task: execution lane is opencode — handed to the opencode claimant, which launches a session bound to task 5797
    • Expectation: claimant session drives task 5797 to its terminal state
    • Links: queue task 5797
  12. dezren39 commented on Nov 4, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

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

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

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/claimedQueue worker lifecycle statesource/creatorFiled by the new-issue-creator jobstatus/in-progressQueue worker lifecycle statetask/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