You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Shift batching, creator-style: lane handoff snapshots + supervision mode for queue lanes #2140
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:
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).
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.
Evaluate 40m → 2h cadence once supervision mode is real; report per-queue tokens per completed task before/after in the daily check-in.
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.
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.
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)
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.
(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.
Task: claim-evaporated repair — the queue claim on task 7304 ended without complete/park/block, its lease expired, and the task returned to queued unclaimed while this issue still carried claimed labels. Labels reset to the truth: queue/queued + status/needs-triage. Checkpoint stage at evaporation: handed_off.
Expectation: the next lane to claim task 7304 posts a fresh pickup note.
Activity
developing-today commentedon Oct 29, 2026
CODE-1038
dezren39 commentedon Oct 29, 2026
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.
dezren39 commentedon Oct 29, 2026
🤖 Agent note · picked up
dezren39 commentedon Oct 29, 2026
🤖 Agent note · done
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)
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]}Part 2 — supervision mode (designed, GATED — not routed for implementation)
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.dezren39 commentedon Oct 30, 2026
🤖 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.
openchamber-dispatcherandopenchamber-babysitterare both stillenabled: truein 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.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.
17 remaining items
dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off
dezren39 commentedon Nov 4, 2026
🤖 Agent note · handed off