GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fleet unification slice 4: merge-intent queue and local PR stack replay · Issue #8582 · developing-today/code

Fleet unification slice 4: merge-intent queue and local PR stack replay #8582

New issue
Copy link
New issue
Copy link
Closed
Closed
Fleet unification slice 4: merge-intent queue and local PR stack replay#8582
#8849 (+2)
Copy link
Assignees
dezren39
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insepic/fleet-orchestrationReprioritization program epic (2026-11-12)epic/fleet-toolEpic: fleet-tool - all issues of this effort carry itkind/infrastructureInfrastructure / host-portability workpriority/normalOrdinary priority (the default)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
Milestone
Fleet tool - one door, one binary

Description

@dezren39
dezren39
opened on Nov 11, 2026
Issue body actions

Parent design: #8575 (one door, one home per fact — fleet tool state unification). Slice 4 of 7. Approved by Drew 2026-11-11: implement in full.

Work

Merge-intent queue and local PR stack:

  1. When GitHub writes are unavailable (or as the standing discipline, where a lane chooses it), finished work stacks locally: each new branch is based on the previous branch's tip rather than on main, and the intended merge order is recorded as a list in the coordination database.
  2. A replay command walks the stack bottom-up when GitHub is writable: push the branch, open the PR, merge it, rebase the next branch onto the new main, continue. Merge intents and outcome agent notes recorded during the outage replay in the same pass.
  3. Conflict ownership: a conflict surfacing at replay belongs to the lane/session that authored the change; the replay records whose it is and routes it back to that owner instead of resolving it anonymously.

Acceptance

  • A live drill: with GitHub writes artificially blocked, two items are worked and stacked; on unblock, one replay lands both in the recorded order with correct issue closures and outcome notes.
  • The stack state (branches, order, owners) is fully visible from the database alone while GitHub is down.
  • A forced conflict at replay is routed to its authoring lane with the context needed to resolve it.

Activity

Next
  1. dezren39
    added
    status/needs-triageNot yet triaged; needs a first look
    on Nov 11, 2026
  2. developing-today commented on Nov 11, 2026

    @developing-today
    developing-todayBot
    on Nov 11, 2026 – with developing.today
    Contributor
    More actions

    CODE-2568

  3. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    kind/infrastructureInfrastructure / host-portability work
    and removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 11, 2026
  4. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged

    • Agent: triage-step
    • State: triaged
    • Work kind: task/small-fix - a bounded implementation slice of the Drew-approved fleet unification program (parent Design: one door, one home per fact — the fleet tool owns every route and every fallback #8575); not a PR-shepherd or CI-investigation item.
    • Priority: priority/normal - Priorities brief line 4 (Drew's named programs, kept moving: the four repos healthy) and line 5 (everything else by usefulness). Part of Drew-approved (2026-11-11) fleet unification parent Design: one door, one home per fact — the fleet tool owns every route and every fallback #8575; it lands after the foundational slices, so it does not outrank them.
    • Effort: effort/l - multi-day implementation slice.
    • Kind: kind/infrastructure (added this triage).
    • First concrete step: Implement local branch stacking (each new branch based on the previous branch's tip) with the intended merge order recorded as a list in the coordination database.
    • Acceptance check: A live drill: with GitHub writes artificially blocked, two items are worked and stacked; on unblock, one replay lands both in the recorded order with correct issue closures and outcome notes.
    • Fix packet: - Fix packet: task 14910 in repo-health-code-pilot (dedupe repo-health:v1:fix:developing-today/code:issue:8582, priority 40, kind small_fix, queued; signal refreshed).
  5. developing-today
    added
    status:in-review
    on Nov 11, 2026
  6. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up + increment 1 shipped as PR #8629 — parked on CI + Codex

    • Agent: queue worker (repo-worker-code), lane any-b · task 14910
    • Verified starting state (fresh this claim): Fleet unification slice 4: merge-intent queue and local PR stack replay #8582 triaged (task/small-fix, priority/normal, effort/l, kind/infrastructure), no prior worker progress. The fleet-queue canonical source is pkgs/fleet/crates/fleet-queue in this repo (the sandbox ~/tools/fleet-brokers tree is the archived pre-migration copy, per its SUPERSEDED.md).
    • Increment 1 (PR feat(fleet-queue): merge-intent core — stack order, lifecycle, conflict routing (#8582 increment 1) #8629, branch queue/14910-8582-merge-intent): merge_intent module — MERGE_INTENT_DDL of record for the coordination database (stack, recorded position, branch/base, head SHA, issue/PR, authoring lane/worker/session), the intent lifecycle with its legal-transition table, append/base-tip rules (each new branch bases on the previous tip; abandoned tips never become a base), the bottom-up replay-prefix walk (a conflicted entry blocks the stack above it), and conflict routing to the recorded authoring lane. Pure core, no I/O. Verified on the laptop: cargo test -p fleet-queue merge_intent 7/7 pass.
    • Remaining increments (resume in order): merge PR feat(fleet-queue): merge-intent core — stack order, lifecycle, conflict routing (#8582 increment 1) #8629 → broker endpoints + storage over merge_intents (record/list/read stack state from the DB alone) → client verbs (fleet queue stack record/list) → replay executor (push, PR, merge, rebase-next; outcome notes replay in the same pass) → live drill (GitHub writes blocked: two items stacked, one replay lands both in order with closures/notes) + forced-conflict routing proof → complete fixed_merged and close Fleet unification slice 4: merge-intent queue and local PR stack replay #8582.
    • Park (ci-wait): resume when PR feat(fleet-queue): merge-intent core — stack order, lifecycle, conflict routing (#8582 increment 1) #8629's checks are green and Codex findings are dispositioned.
  7. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 11, 2026
  8. dezren39
    added 2 commits that reference this issue on Nov 11, 2026

    fix(fleet-queue): skip landed intents when resuming the replay prefix (…

    62ad6bc

    feat(fleet-queue): merge-intent core — stack order, lifecycle, confli…

    1480574
  9. 222 remaining items

    Load more actions
  10. dezren39
    reopened this on Nov 14, 2026
  11. developing-today
    added
    status:to-do
    on Nov 14, 2026
  12. github-actions
    assigned
    dezren39
    on Nov 14, 2026
  13. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged (inline triage — remainder scoped to increment 5; drill routed to task 20179)

    • Agent: queue worker (repo-worker-code), lane any-c
    • Session / ID: task 18695
    • Found via: queue claim (bulk-intake triage packet, 2026-11-16)

    Triage verdict (fresh, 2026-11-17, via gh):

    • Issue Fleet unification slice 4: merge-intent queue and local PR stack replay #8582 is OPEN (reopened 2026-11-14 by the 90-day closed-item review as WRONGLY_CLOSED) with decided labels (task/small-fix, priority/normal, effort/l, kind/infrastructure, status:to-do). No hard-stop labels (held, user/owned, do-not-merge, do-not-auto-edit). No label changes needed.
    • History verified: increments 1–4 landed; PR feat(fleet-queue): stack replay executor + transition verb (#8582 increment 4) #8849 (merged 2026-11-12, increment 4 of 5) stated in its body that it does NOT close this issue; the close one second later was a keyword accident; task 14910's already_done completion only reflected that closed state and said so on the issue.
    • Work kind: small-fix (dedicated drill session). Priority: normal (stands). Effort: l (stands).
    • Remaining work is exactly increment 5 — the live drill: two items worked and stacked with GitHub writes artificially blocked, stack state verified from the database alone, one replay landing both in recorded order with correct closures and outcome notes, and a forced replay conflict routed to its authoring lane.
    • Acceptance check: drill evidence recorded on this issue covering all four points; close on success; a machinery defect found by the drill is recorded here and filed as a fix packet instead.

    Routing: increment-5 drill packet queued as task 20179 (small_fix, 45 min, dedicated session, drill artifacts marked/cleaned). Task 18695 completes as triaged naming it. Issue #8582 stays open for the drill.

  14. dezren39
    added
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 17, 2026
  15. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Agent note — task 20179: slice 4 increment 5 LIVE DRILL run, all acceptance points evidenced (lane any-i)

    Drill run 2026-11-17, dedicated worktree ~/git/fleet/drill-8582 on the laptop, drill issues #11255 (item A), #11256 (item B), #11257 (item C) created as the known items before the blocked phase. All times UTC.

    1. Blocked-writes stacking (11:26–11:28Z). With GitHub writes artificially blocked (procedural block: no pushes, no PRs), two items were worked and stacked locally: branch drill/8582-a off main (commit 27b5eef, adds doc/drill-8582-stack-replay.md, "alpha: A"), branch drill/8582-b based on A's tip (commit bd7356398a, appends "beta: B"). Merge order recorded in the coordination database: fleet queue stack record → stack drill-8582-20179 position 0 = A (base main, issue #11255, owner lane any-i / worker repo-worker-code), position 1 = B (base drill/8582-a, issue #11256). Verified blocked state at the time: git ls-remote origin 'drill/8582-*' returned 0 branches.

    2. Stack state from the database alone. While GitHub held nothing, fleet queue stack list drill-8582-20179 returned the full stack — branches, positions, base branches, issue numbers, owners, state intended — from the coordination database only. Acceptance point met.

    3. One replay lands both, in order (11:29–11:32Z). fleet queue stack replay --stack drill-8582-20179 --repo-dir <drill worktree>:

    • Pass 1 landed position 0 via PR stack replay drill-8582-20179 #0: drill/8582-a #11261 (merged), then position 1's PR stack replay drill-8582-20179 #1: drill/8582-b #11262 merged — and the pass stopped transiently (exit 3) at the post-merge origin/main refresh: a concurrent lane's fetch in the shared primary clone raced the ref lock (cannot lock ref 'refs/remotes/origin/main'). The intent stayed replaying, exactly the resumable state the executor documents.
    • Pass 2 (same command) reconciled the already-merged PR stack replay drill-8582-20179 #1: drill/8582-b #11262 and landed position 1 (exit 0). Both intents now read state: landed with pr_number 11261 / 11262 in the database.
    • Outcome notes were posted by the replay itself in the same pass on [drill] #8582 stack replay item A (bottom) #11255 ("position 0 … landed via PR stack replay drill-8582-20179 #0: drill/8582-a #11261 … in the recorded merge order") and [drill] #8582 stack replay item B (top, stacked on A) #11256 (position 1, PR stack replay drill-8582-20179 #1: drill/8582-b #11262). doc/drill-8582-stack-replay.md on main now reads alpha: A / beta: B, in order. Drill issues [drill] #8582 stack replay item A (bottom) #11255 and [drill] #8582 stack replay item B (top, stacked on A) #11256 closed as drill-complete.

    4. Forced conflict routed to its author (11:33Z). Item C (branch drill/8582-c, authored off pre-drill main with a competing "alpha: C" version of the same file; stack drill-8582-conflict-20179, issue #11257): its replay pushed the branch, opened PR #11263, found it CONFLICTING against the new main, marked the intent conflicted with the detail recorded, stopped with exit 4, and routed the conflict — route: {owner_lane: any-i, owner_worker: repo-worker-code, repo, branch drill/8582-c, base main, issue 11257} — instead of resolving anything. PR #11263 was left open and conflicting by the replay. As the routed owner, lane any-i then withdrew the drill intent (conflicted → abandoned via stack transition), closed PR #11263 and issue #11257 with the routing evidence. Acceptance point met.

    Observations (non-blocking, recorded for the slice's owners):

    • On the conflict path the intent row's structured pr_number stays null; the PR number appears only inside conflict_detail text. The route + detail carry everything needed, but a structured pr_number on conflicted intents would make owner queues cleaner.
    • The pass-1 transient stop was environmental (shared-clone ref-lock contention between concurrent lanes), and the resume path handled it exactly as designed — arguably a bonus live proof of increment 4's resumability, not a machinery defect.

    Drill artifacts: the drill file remains on main as the drill record; remote drill branches drill/8582-a / drill/8582-b were deleted after merge (PRs retain the commits); drill/8582-c was pushed by its replay and its PR is closed. Slice 4 acceptance is fully evidenced; closing #8582.

  16. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    Slice 4 acceptance drill (increment 5) completed by task 20179, lane any-i: blocked-writes stack of two items recorded in the coordination DB, stack read from the DB alone, one replay (plus its designed resume after a transient ref-lock stop) landed both in the recorded order via PR #11261 and PR #11262 with replay-posted outcome notes, and a forced conflict at replay was routed to its authoring lane (exit 4, intent conflicted, PR #11263 left unresolved by the replay). Full evidence in the agent note above (comment 6946853680). Closing #8582.

  17. dezren39
    closed this as completedon Nov 17, 2026
  18. developing-today
    removed
    status:to-do
    on Nov 17, 2026
  19. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 17, 2026
  20. developing-today
    added
    status:done
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

effort/lLarge: multi-day or open-ended; expect staged check-insepic/fleet-orchestrationReprioritization program epic (2026-11-12)epic/fleet-toolEpic: fleet-tool - all issues of this effort carry itkind/infrastructureInfrastructure / host-portability workpriority/normalOrdinary priority (the default)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    • Fleet tool - one door, one binaryNo due date

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.