Repository navigation
Description
Queue fleet reliability
Purpose
The queue system that keeps the four repos healthy (Supabase agent.tasks, the repo-health queues, lane shifts, the fleet monitor) proved itself on 2026-10-26 — and showed exactly two reliability defects. This epic closes both, so the fleet runs for a week at a time without operator repairs.
Scope
- Claim evaporation on the non-code queues. The code queue runs two staggered lane shifts (~90-min budgets); opencode/openchamber/nix are worked by short-budget arrangements whose runs end mid-task, stranding claims. On 2026-10-26 the monitor repaired 10+ divergences and two tasks died in queue (repaired by operator cap raises + migration 0012's park/resume accounting fix). Child: Queue workers: give the non-code queues lane-style long-budget shifts (claim evaporation is a run-budget problem) #1130 — lane-style long-budget shifts for the non-code queues.
- Uncertified shift runs. Five runs on 2026-10-26 ended with a tool result lost, unable to certify their own completion even when the work landed; the parent re-verified from GitHub/queue state by hand each time. Child: Fleet observability: certify shift completion from queue state, not run self-report (uncertified runs) #1131 — certify completion from durable state, automatically.
Out of scope: producer jobs (new-issue-creator, pr-diff-review) and the Phase 3 sweep-producer expansion (paused by Drew 2026-10-26; separate decision).
Execution mode
Online: cron job bodies, worker instructions, monitor duties, Supabase migrations. All changes follow the fleet's isolation rules (pilot functions only; global claim/fail untouched) and the no-uncommitted-code rule.
Dependencies
Builds on migration 0012 (applied 2026-10-26: park/resume no longer consumes attempts). Measured by the queue-pilot interim check (2026-10-28) and the fleet monitor's hourly reports.
Acceptance
- Zero dead-in-queue tasks across all four queues over a rolling 7 days.
- Every shift delivery is certified from queue/GitHub state; no delivery rests on a run's self-report alone.
- The monitor's evaporation-repair count trends to zero; operator cap raises are no longer a routine event.
Filed by Muse (operator) 2026-10-26, grouping #1130 + #1131 under Drew's direction that fleet work carry epics, roadmap items, and dashboard prioritization.
Acceptance criteria
- - Zero dead-in-queue tasks across all four queues over a rolling 7 days. - Every shift delivery is certified from queue/GitHub state.
- No delivery rests on a run's self-report alone. - The monitor's evaporation-repair count trends to zero.
- Operator cap raises are no longer a routine event. Filed by Muse (operator) 2026-10-26, grouping Queue workers: give the non-code queues lane-style long-budget shifts (claim evaporation is a run-budget problem) #1130 + Fleet observability: certify shift completion from queue state, not run self-report (uncertified runs) #1131 under Drew's direction that fleet work carry epics, roadmap items, and dashboard prioritization.
Activity
developing-today commentedon Oct 27, 2026
CODE-365
29 remaining items
dezren39 commentedon Nov 22, 2026
🤖 Agent note · slice landed — criterion 1 becomes measurable (PR #12682)
Slice:
fleet queue healthnow reportsfailed_events_24h/failed_events_7dper queue (PR #12682). Until now health lumped failed terminal events intoterminal_events_24h/7dwith completed ones, so criterion 1 ("zero dead-in-queue over a rolling 7 days") could not be read off health at all — repo-health-code-pilot showed 2846 terminal events in 7d with no way to tell whether any were failures. After this PR,failed_events_7d = 0per queue is the criterion reading off the instrument. No schema, queue, or claim-path change; the live broker serves the new columns once the PR lands and deploys.Fresh state this run (2026-11-22 ~14:49 CST,
fleet queue health): all four pilot queues read queued 0, at_cap_queued 0, failed 0 — code, nix, openchamber, opencode. That is a point-in-time snapshot, not the rolling 7-day window, which is exactly why this slice exists.What remains on the epic: criteria 2–3 still need their monitor readings (shift certification 24h metric; evaporation-repair trend). No new code slice was available: both implementation children (#1130, #1131) are closed, the #2937 follow-ons are closed (#6528 at-cap, #6838 revive, #8154 claim-null diagnostic), and #7070's root cause is recorded as a fleet-wide infra-era artifact, not a code defect.
Next slice: once #12682 is live, take the 7-day
failed_events_7dreading across the four queues and post it here — if all four read 0, criterion 1 is evidenced.fix(fleet-agent): agent next claims with a 4-hour lease (#12618)
dezren39 commentedon Nov 22, 2026
#1233 criterion 2 slice landed: the claim-evaporation defect Lane AI diagnosed under this epic (#12618; claim note comment 7085597701) is fixed — PR #12690 merged (
364eee3baab), and #12618 is closed as completed with the full test + drill record on it.Effect on criterion 2 (every shift delivery certified from queue state; no delivery resting on self-report):
fleet agent nextclaims now carry an explicit 4-hour lease and name it in the hand-out, so work claimed through agent-next completes throughfleet queue complete's claimed-by guard instead of being recorded by a self-reportedqueue cancelreason. The drill on the merged tree's binary showed both halves: a completion landing on an agent-next claim (task 21080, rc=0), and the lapse refusal (broker exit 5) reproduced on a 5-second-lease control (task 21082). The cancel workaround remains only for claims taken by older binaries until seats update.fix(fleet): count terminal failures only in health failed-events sums (…
Merge pull request #12682 from developing-today/xaltha/1233-failed-ev…
dezren39 commentedon Nov 26, 2026
Program tending — epic completion (tracking: #1352)
developing-today-fleet commentedon Nov 26, 2026
Triage re-verification · task 24960, lane code-g (2026-11-26): epic stays open — 5/6 children CLOSED (#1130, #1131, #1274, #1298, #1371); sole open child #7070 (shift-certifier handoff snapshots) is OPEN with 35 comments. No packet at epic level; work lives in #7070.
developing-today-fleet commentedon Nov 27, 2026
🤖 Agent note · verify-and-route (task 25458, lane oc-code-05)
Fresh verification (2026-11-27): #1233 OPEN; no hard-stop labels. Its implementation children #1130 and #1131 are CLOSED. The remaining child #7070 is still OPEN, last updated 2026-11-24, with prior investigation notes (tasks 14576/18519/20020/22823) recording the root cause and that closure rides with this epic. No new epic-level packet: the remaining scope is specifically #7070, and the epic is not ready to close while that child remains open. Current verify-disposition readback for #1233 is
merged_verified(PR #12682 merged).Verdict: triaged; no duplicate follow-on created. Continue via the existing #7070 investigation/closure record, then reassess this epic.
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (lane CEN-C01) — body + all 18 comments re-read; concurs with the 2026-11-27 verifications (tasks 24960, 25458):
priority/highconfirmed — this is the reliability of the queue system every other lane depends on.developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): full re-read (body, labels, all comments, edges) in the CODE-6 recovery pass, concurring with the parallel census note (lane CEN) already on this thread, whose claims I verified against live state in this pass. STRENGTHS: 5 of 6 children CLOSED (#1130/#1131/#1274/#1298/#1371) — both founding defects are addressed by landed work. PRIORITY VALIDATION: priority/high, single, correct. FIXES I APPLIED: none needed. REMAINS: sole open child #7070 (shift-certifier handoff snapshots), whose root cause is recorded in its own thread and whose closure rides with this epic; no Drewry decision needed.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Gaps found: No
kind/*label, and the epic lacked themeta/epicparent marker; acceptance was present as a## Acceptancebullet list but not in the standard## Acceptance criteriasection form.Strengths: The epic is built from two dated, evidenced defects (claim evaporation on the non-code queues; uncertified shift runs on 2026-10-26) with child issues #1130/#1131 named, an explicit out-of-scope list, and a rolling-7-days acceptance bar.
Note: lane CEN-C01 also posted a census comment on this issue earlier today (analysis only, no edits). This pass re-verified the live state and applied the metadata fixes below, so the two comments complement rather than duplicate each other.
Actions taken by this census: Labels added:
kind/infrastructure,meta/epic. Appended a## Acceptance criteriasection to the body (original text untouched), converting the issue's own acceptance wording into checkable items.developing-today-fleet commentedon Nov 30, 2026
Premise update — lane 0900-GD (xaltha, wave 0900), 2026-11-30. Drawn via
fleet agent next(priority rung). Fresh firsthand state, superseding the 2026-11-29 census record on this thread:No claim taken; no code slice exists at the epic level.