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 — Shift batching, creator-style: lane handoff snapshots + supervision mode for queue lanes · Issue #2140 · developing-today/code

Shift batching, creator-style: lane handoff snapshots + supervision mode for queue lanes #2140

New issue
Copy link
New issue
Copy link
Done
#15854
Done
Shift batching, creator-style: lane handoff snapshots + supervision mode for queue lanes#2140
#15854
Copy link
Labels
epic/fleet-orchestrationReprioritization program epic (2026-11-12)priority/highImportant and time-sensitivequeue/queuedHas a queued queue tasksource/creatorFiled by the new-issue-creator jobstatus:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this item

Description

@dezren39
dezren39
opened on Oct 29, 2026
Issue body actions

Queue shifts already bundle up to 10 tasks; their cost (6–13M input/run at check-in #5; the 9-lane shift family was 52% of all cron spend) is per-start state re-derivation plus in-shift supervision context — the same overhead class the creator batching change attacked (3.93M → ~1.4M input per filed issue).

Do:

  1. Per-lane handoff snapshots: persist checked state + task checkpoints between shifts so a shift starts from the snapshot instead of re-reading the full instruction/queue/GitHub/log state (fleet-watchdog's SQL-first rewrite is the template).
  2. Supervision mode: as dispatcher session↔task binding lands (the binding gap tracked on the queue pilot), lanes shift from executing tasks themselves to batch-supervising dispatched OpenCode sessions — target 15–20 supervised sessions per shift.
  3. Evaluate 40m → 2h cadence once supervision mode is real; report per-queue tokens per completed task before/after in the daily check-in.

Tested implementation slices

  • Publish the offline completed-cohort input-usage measurement primitive — PR feat(fleet): measure completed-cohort input usage for #2140 #14655 (oc-code-06); 16/16 focused tests passed remotely at 88635c8. Published for review, not yet merged; this does not complete criterion 3.
  • Collect complete source/binding history, integrate daily check-in publication and perform the before/after cadence evaluation; full-shift spend and sustained supervision throughput remain unmeasured by this slice.

Activity

Next
  1. developing-today commented on Oct 29, 2026

    @developing-today
    developing-todayBot
    on Oct 29, 2026 – with developing.today
    Contributor
    More actions

    CODE-1038

  2. dezren39
    added
    priority/highImportant and time-sensitive
    on Oct 29, 2026
  3. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    TOP PRIORITY (Drew, 2026-10-29 01:23 CDT): Batch 3 fleet consolidation — pick this up in the next runs, ahead of routine work. Being enqueued to repo-health-code-pilot at top priority now.

  4. dezren39
    added
    queue/queuedHas a queued queue task
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  5. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), Lane B shift
    • Session / ID: queue task 3169
    • Found via: queue claim
    • Task: Triage Shift batching, creator-style: lane handoff snapshots + supervision mode for queue lanes #2140 (Batch 3, Drew-approved): verify the shift-overhead premise, design lane handoff snapshots + supervision mode (with its binding gate), route implementation in the same pass, update epic epic: fleet expansion & placement program (2026-10-28 directive, LIST 1–5) #2055.
    • Expectation: m — done looks like a verdict + design on Shift batching, creator-style: lane handoff snapshots + supervision mode for queue lanes #2140, a follow-on packet or linked implementation issue, and an epic epic: fleet expansion & placement program (2026-10-28 directive, LIST 1–5) #2055 update.
    • Links: epic epic: fleet expansion & placement program (2026-10-28 directive, LIST 1–5) #2055 · conductor Implement the session conductor: merge openchamber-dispatcher + openchamber-babysitter into openchamber-conductor #2153
  6. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), Lane B shift
    • Session / ID: queue task 3169
    • Found via: queue claim
    • Task: Triage Shift batching, creator-style: lane handoff snapshots + supervision mode for queue lanes #2140: premise verified, snapshot + supervision design decided below, Part 1 routed to Implement lane handoff snapshots for queue shifts (Part 1 of #2140; supervision mode gated on conductor + binding) #2158 (queue task 3183), epic epic: fleet expansion & placement program (2026-10-28 directive, LIST 1–5) #2055 updated.
    • Expectation: m — verdict + design in this comment; implementation is Implement lane handoff snapshots for queue shifts (Part 1 of #2140; supervision mode gated on conductor + binding) #2158's, supervision mode is gated.
    • Links: implementation Implement lane handoff snapshots for queue shifts (Part 1 of #2140; supervision mode gated on conductor + binding) #2158 · conductor Implement the session conductor: merge openchamber-dispatcher + openchamber-babysitter into openchamber-conductor #2153 · epic epic: fleet expansion & placement program (2026-10-28 directive, LIST 1–5) #2055

    Triage verdict — premise CONFIRMED, design decided, Part 1 routed

    Premise check: verified from the inside — this triage was executed by a Lane B shift that itself re-read the full worker instruction, re-derived queue health (including one 12s health timeout + retry), and re-validated every task's GitHub state from zero, exactly the per-start overhead this issue names. The scale figures stand as filed (9-lane family = 52% of cron spend at check-in #5; 6–13M input/run; creator batching precedent 3.93M → ~1.4M per filed issue). One refinement: shifts do not start from nothing — checkpoints and progress survive in the queue itself. What is missing is a lane-level digest of everything around the tasks (infra state, in-flight PR/CI pointers, dead ends already discovered), which is what the snapshot below adds. It complements task checkpoints; it does not replace them.

    Design

    Part 1 — lane handoff snapshots (landable now)

    • Write: at shift exit (after the signal refresh, before lock release) the lane overwrites hidden_files/lane-handoff-<queue>-<lane>.json:
      {generated_at, lane, queue_health:{queued, claimed, parked, blocked}, worked:[{task, issue, outcome, pr, links}], in_flight:[{task, issue, pr, ci_state, resume_condition}], infra_notes:[{note, first_seen}], leads:[task ids worth claiming next and why]}
    • Read: the next shift of the same lane reads it right after the Step 0 gate. Leads, not truth: the snapshot replaces search (what exists, where things stand, what was already ruled out) and never verification — claims, CI state, and labels are still checked fresh before acting, and anything contradicted by a fresh check loses to the fresh check. Entries older than ~2 cadences are context only.
    • Why this shape: it is the fleet's proven digest pattern (watchdog's live-state digest, the monitor rewrite in Slim repo-fleet-monitor: snapshot/SQL-first state fetch + 2h cadence (target ≤3M/run) #2134) applied to the lane boundary; one small file per lane, overwritten, no log archaeology, no new store.
    • Success test: daily check-in reports per-lane input/run for two weeks post-landing vs the 6–13M range; success = median down with tasks/shift held or rising.

    Part 2 — supervision mode (designed, GATED — not routed for implementation)

    • Gate (both required): (a) the session conductor (Implement the session conductor: merge openchamber-dispatcher + openchamber-babysitter into openchamber-conductor #2153) is cut over, and (b) session↔task binding is recorded on queue tasks (a claimed task's progress names its OpenCode session id). Until both hold, lanes keep executing directly; a half-bound supervision mode would recreate the dispatcher/babysitter split this batch just merged.
    • Mode, once gated in: a shift batch-supervises 15–20 dispatched sessions (checkpoint reviews, stall nudges through the conductor's escalation ladder, hand-backs with reasons) and executes directly only what no session holds.
    • Cadence: the 40m → 2h evaluation happens only after the gate, and a cadence change is a rate change — it needs Drew's explicit word at that time, with before/after tokens-per-completed-task from the daily check-in as the evidence pack. Nothing in this triage pre-approves it.

    Routing

    Part 1 implementation filed as #2158 (snapshot steps in all lane shift bodies, one evidenced handoff, two-week measurement; Part 2 gate state recorded, not started) and enqueued as queue task 3183, flagged live-fleet-change. Role note: lanes stay Do in the #2131 map in both parts; supervision changes how Do works, not which role owns it.

  7. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Oct 29, 2026
  8. github-actions
    assigned
    dezren39
    on Oct 29, 2026
  9. dezren39 commented on Oct 30, 2026

    @dezren39
    dezren39
    on Oct 30, 2026
    MemberAuthor
    More actions

    🤖 Agent note · Part 2 gate state (recorded per #2158 acceptance, queue task 3812, 2026-10-30)

    Gate NOT satisfied on either count — no supervision mode started, no cadence change made.

    • (a) Conductor cut over? No. openchamber-dispatcher and openchamber-babysitter are both still enabled: true in the live cron roster (verified 2026-10-30); the conductor cutover for Implement the session conductor: merge openchamber-dispatcher + openchamber-babysitter into openchamber-conductor #2153 is queued as task 3806 and has not landed.
    • (b) Session↔task binding present? No. Queue task progress records stage/artifact/next only — no OpenCode session id is recorded on a claimed task (observed across this shift's claims: tasks 3311, 3557, 3415, 3559, 3647, 3696, 3733, 3797, 3808, 3812).

    Part 1 (per-lane handoff snapshots) landed today under #2158: snapshot write + read steps are in both shared lane instruction files, and the two-week input/run measurement clock starts 2026-10-30. When both gate conditions above flip, file the Part 2 activation as a fresh follow-on from this issue — the 40m → 2h cadence evaluation additionally needs Drew's explicit word even then.

  10. 75 remaining items

  11. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane code-f progress: per-lane handoff snapshot read/write and supervision-mode gate state on #2140 and #2158 remain as recorded (Part 2 gated; Part 3 cadence is owner-side, and #2158's input/run delta is tracked on #2135 instrumentation).

    Open slice this run: PR #13625 — carry the queue binding on all queue-bound babysitter verdicts, not only error-stopped; rebased on current main (4473da0), 1 negative-control failure fixed, babies\n\nsuite 25/25, nudges 23/23, hermetic 227/227 on the laptop. Remainder stays as recorded in #2140/#1656's notes; nothing left on this lane's rung.

  12. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Agent note — stand-down, no claim (xaltha lane)

    Picked up via fleet agent next (priority rung, rank 3). Fresh verification this run (gh, 2026-11-23 ~17:45Z):

    • Part 1 (per-lane handoff snapshots): DONE. Implement lane handoff snapshots for queue shifts (Part 1 of #2140; supervision mode gated on conductor + binding) #2158 CLOSED (status:done).
    • Part 2 (supervision mode): DONE — feat(keeper): binding-aware supervision for queue-spawned OpenCode sessions (OpenCode-half step 3) #1656 CLOSED as implemented 2026-11-23T12:32Z (status:done). No slice landable from Shift batching, creator-style: lane handoff snapshots + supervision mode for queue lanes #2140 itself; its remainder is the design record.
    • Part 3 (cadence + reporting): reporting DONE (Pool quota steward: consume the compiled hub numbers — probe only stale pools, follow-ups daily #2135 CLOSED); the 40m → 2h cadence evaluation remains Drew's call, not a lane slice.
    • Concurs with the reconciliations of record (felix 2026-11-22; archer lane-hd ~06:10Z, lane-ob ~08:45Z, lane-aad ~16:52Z today; xaltha 11:47Z / 14:00Z / 16:00Z today). Lane-aad notes this item is on the standing hard-skip list for lanes — its remaining decision is Drew-reserved.

    No claim held, no work started. Re-handing to take the next item.

  13. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Lane code-j took this from the shortlist and is releasing it unworked: it is a triage-stage epic, and this scheduled run does not have the budget for a feature-slice. No PR from code-j. It stays available for the next claim.

  14. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Lane code-g — remainder closed, no open slice left. Fresh verification this run (gh, 2026-11-24 ~03:45Z):

    • Part 1 (snapshots): DONE — Implement lane handoff snapshots for queue shifts (Part 1 of #2140; supervision mode gated on conductor + binding) #2158 closed.
    • Part 2 (supervision): DONE — feat(keeper): binding-aware supervision for queue-spawned OpenCode sessions (OpenCode-half step 3) #1656 closed 2026-11-23T12:32Z; AC2 feat(opencode-claimant): retry error-stopped queue sessions #12879 merged; binding-carry fix(opencode-claimant): carry queue binding in all babysitter verdicts #13625 merged as c5fa0cc 2026-11-24T00:12:53Z (verified on main at pm-stack/opencode-claimant/babysitter.py:199).
    • Part 3: reporting DONE (Pool quota steward: consume the compiled hub numbers — probe only stale pools, follow-ups daily #2135 closed); 40m→2h cadence remains Drew's call.
    • Dangling remainder resolved: PR fix(opencode-claimant): carry queue binding in babysitter verdicts #13300 (same two files as fix(opencode-claimant): carry queue binding in all babysitter verdicts #13625, DIRTY merge state, would have reverted the fire-log git-fake harness) closed as superseded by fix(opencode-claimant): carry queue binding in all babysitter verdicts #13625, with evidence comment. No code lost.

    No further lane slice is landable from this issue; it remains the design record pending Drew's cadence decision. Next: taking the next queue item.

  15. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Agent note — stand-down, no slice landable (xaltha lane)

    Picked up via fleet agent next (shortlist rung, rank 3). Fresh verification this run (pooled fleet gh, 2026-11-24 ~11:50 CST) confirms lane code-g's 2026-11-24T03:45Z reconciliation:

    • Part 1 (per-lane handoff snapshots): DONE — Implement lane handoff snapshots for queue shifts (Part 1 of #2140; supervision mode gated on conductor + binding) #2158 CLOSED.
    • Part 2 (supervision mode): DONE — feat(keeper): binding-aware supervision for queue-spawned OpenCode sessions (OpenCode-half step 3) #1656 CLOSED; binding-carry fix(opencode-claimant): carry queue binding in all babysitter verdicts #13625 merged.
    • Part 3 (reporting / cadence): reporting DONE (Pool quota steward: consume the compiled hub numbers — probe only stale pools, follow-ups daily #2135 CLOSED); the 40m → 2h cadence evaluation is the only remainder and per this issue's own triage record it needs Drew's explicit word even after the gate — a genuine owner decision, not decide-and-proceed territory.

    No PR opened; no duplicate slice attempted. Issue stays open as the design record pending that cadence decision.

  16. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    🤖 Agent note · gate re-check (xaltha lane, hourly work-loop 2026-11-24)

    • Part 1 (per-lane handoff snapshots): DONE — Implement lane handoff snapshots for queue shifts (Part 1 of #2140; supervision mode gated on conductor + binding) #2158 is CLOSED.
    • Part 2 gate (a) conductor cut over: NOW SATISFIED — Implement the session conductor: merge openchamber-dispatcher + openchamber-babysitter into openchamber-conductor #2153 is CLOSED (was open at the last gate check on 2026-10-30).
    • Part 2 gate (b) session↔task binding recorded on queue tasks: not verified as present in this pass; supervision mode should not start until binding is confirmed.
    • Part 3 (40m → 2h cadence evaluation): still requires Drew's explicit word per the design note on this issue; nothing here pre-approves it.

    Next slice when binding is confirmed: file the Part 2 activation as a fresh follow-on from this issue.

  17. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Stand-down — OpenChamber lane oc-code-04, served by fleet agent next on the priority rung (2026-11-24). Fresh read confirms Part 1 (#2158) and Part 2 implementation (#1656/#13625) complete; the remaining cadence change is explicitly Drew’s decision and not lane-actionable. The latest note also says the session↔task binding gate has not been verified, so supervision activation is not justified. No code or branch started; returning to intake.

  18. dezren39
    added a commit that references this issue on Nov 24, 2026

    test(fleet): specify completed-cohort usage measurement for #2140

    a4f08cc
  19. developing-today
    added
    status:in-review
    on Nov 24, 2026
  20. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    One tested measurement slice is ready for review: #14655 (not merged).

    Corrected premise: #2135 is quota-steward snapshot/probe/follow-up work; its closure does not establish per-queue tokens/completed-task reporting. The repeated no-slice reconciliations missed that gap. Part 1 remains evidenced by #2158; binding-aware supervision substrate by #1656/#13625. Full cadence reporting is still unmeasured.

    After this PR: python3 -I scripts/fleet_completion_usage.py --snapshot cohort.json --start <ISO> --end <ISO> reports exact known cumulative bound-session input by completed-task cohort/queue, plus coverage; ratios remain null unless usage and explicitly attested retry history are complete. Native ledger writes overwrite earlier sessions, so a raw latest-binding export does not prove complete retry cost. This is not full window/shift spend or a production before/after result.

    Evidence: red interface run https://github.com/dezren39/fleet/actions/runs/45507367501 ran 9 tests and failed on missing aggregation behavior; green https://github.com/dezren39/fleet/actions/runs/45507683570 SUCCEEDED, 16/16 tests at 88635c8. Oracle: console latest-finishing-event/current-done model, integer token sums, seeded permutation properties. Independent reviewer accepted the retry-history completeness fix. No local builds/tests run.

    Decided: measurement first; no cadence/schedule change in this slice. Why: source coverage and comparable full-shift measurements are not established. Undo: a later evidence-backed cadence PR can change this default. By: oc-code-06. No owner-answer gate or new escalation is introduced; #2140 remains open.

    Next slice: after its PR, a read-only collector preserves every launch/retry binding and session input counter before pruning, and the daily check-in consumes this report with explicit source coverage; only then can a throughput-controlled cadence comparison be reported honestly.

  21. dezren39
    added a commit that references this issue on Nov 24, 2026

    Merge pull request #14655 from developing-today/oc-code-06/2140-shift…

    6a1c5dd
  22. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    Decided: Keep the current 40-minute lane cadence unchanged; do not evaluate or implement the proposed 2-hour cadence until a complete, comparable measurement window includes all launches, retries, and source-coverage evidence.
    Why: PR #14655 is merged and provides completed-cohort usage reporting, but its evidence does not establish full-shift or before/after input per run. The remaining collector and daily-check-in slice is now live as queue task 25055.
    Undo: A later evidence-backed cadence evaluation can recommend a different interval without changing this measurement work.
    By: any-o

    Triage revalidation (2026-11-26): Part 1 snapshots are complete (#2158); Part 2 supervision/binding is complete (#1656, #12879, #13625); the cohort usage script is merged (#14655). The still-open measurement remainder is explicitly scoped in task 25055, which preserves launch/retry counters and feeds a coverage-aware daily report. No cadence or schedule change was made. #2140 remains open as the design record while that measurement slice runs.

  23. developing-today-fleet
    added 2 commits that reference this issue on Nov 27, 2026

    feat(fleet): durable binding-history collector plus check-in render (#…

    eaa27bc

    Merge pull request #15854 from developing-today/oc-code-01/25055-bind…

    b06a7fe
  24. developing-today-fleet
    closed this as completedin #15854on Nov 27, 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

    epic/fleet-orchestrationReprioritization program epic (2026-11-12)priority/highImportant and time-sensitivequeue/queuedHas a queued queue tasksource/creatorFiled by the new-issue-creator jobstatus:in-reviewtask/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

      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.