GeezerVison is showing github.com — epic(fleet): pool & routing intelligence — lanes everywhere, live dispatch + babysitting, quota stewardship, reviewer oversight, AA + measured-speed model · Issue #1334 · developing-today/code
epic(fleet): pool & routing intelligence — lanes everywhere, live dispatch + babysitting, quota stewardship, reviewer oversight, AA + measured-speed model #1334In progress 11 / 1411 of 14 issues completedIn progress 11 / 1411 of 14 issues completed DescriptionPurpose
Drew (2026-10-27, with the Muse usage upgrade): the fleet has token
headroom now — spend it on throughput and on intelligence about the
fleet's own routing. This epic scales the lane pattern to every queue
and every producer, puts the OpenChamber dispatcher and babysitter
live, and builds the oversight stack that keeps the model pools
honest: a quota/config steward that makes bounded routing decisions
and logs every change, a meta-reviewer that grades the reviewers
and updates their guidelines, and a pool-intelligence function that
combines Artificial Analysis data with our own measured session
speeds to flag models to add or retire, with controlled tests.
Scope (children)
- Lane scale-out: A/B shifts for the opencode, openchamber, and nix
queues (implements Queue workers: give the non-code queues lane-style long-budget shifts (claim evaporation is a run-budget problem) #1130's pattern for all queues).
- Producer lanes: second offset lanes for the issue creator and the
PR diff reviewer.
- Dispatcher v1 live (extends OpenChamber dispatch v1.1: admission control, hand-backs, stall nudges, harvesting, Workhorse-first routing #1187): launches OpenCode/OpenChamber
sessions for queued issues under admission control.
- Babysitter live (extends OpenChamber babysitter v1: one worker, session rounds, quota + progress report (report-only) #1185): rounds over ALL OpenCode sessions
on an interval, with verdicts, quota, and pool attribution.
- Quota & config steward: monitors every pool's quota, makes bounded
ad-hoc routing decisions (config changes land ONLY via PR to the
canonical repo config), and keeps an append-only change-event
ledger with before/after quota snapshots and measured impact.
- Meta-reviewer: reviews the reviewers' (steward, lanes, dispatcher,
babysitter) activity and outcomes; updates the reviewer guidelines
from evidence — when model-up/effort-down wins, when max effort is
waste, which pools earn their place.
- Pool intelligence: Artificial Analysis monitoring + our own
measured session speed per provider/model/effort; an interpretive
model combining AA scores with our history; add/retire flags with
quantified tradeoffs (score vs speed vs cost per pool), validated
by controlled tests before a change is recommended.
Execution mode
Scheduled fleet (cron lanes + steward/reviewer/intelligence jobs
under the keep-the-four-repos-healthy goal), reporting to the token /
fleet side chat. Config authority stays canonical: repo PRs only,
never hand-edited deployed files. Credentials by name only.
Dependencies
Acceptance criteria
- All children filed, labelled, and linked as sub-issues.
- Every job named in the children exists as a live cron with a
written instruction file, verified by cron list/status.
- The change-event ledger exists and every config change in the
window has a matching event with before/after quota snapshots.
- Roadmap rows added for this epic (child issue tracks it).
Filed by Muse (operator) 2026-10-27 on Drew's direction. Sub-issuesCollapse Sub-issuesSub-issues11 of 1411 of 14 Issues completedLoading 14 sub-issues Activitydeveloping-today commented on Oct 27, 2026 dezren39 commented on Nov 23, 2026 🤖 Agent note · #1342 slice — Codex P1 addressed, PR #13419 awaiting re-review (xaltha continuation lane)
- PR docs(fleet): controlled pool test procedure, template and reference check #13419 (docs: controlled pool test procedure, template, reference check) was open, not unopened as the handoff suggested — its blocker was an unresolved Codex P1, not verification.
- The P1 (procedure pinned arms via
fleet agent next --pool, which declares pool identity only and does not launch a route) is fixed in e704cf56e: each arm must now be launched as a separate session on its managed route before claiming, and a run whose arms share a route is void. Template records each arm's launched session; the reference guard fails if the requirement goes missing.
- Verification: remote dispatch on the pushed branch (fleet-command.yml fallback, fleet run 45242637524) — the contract-test step completed success;
@codex review requested on the PR to re-evaluate the P1. Once the review state reads clean the PR is merge-shaped per the stale-PR warden's note.
- Epic criteria unchanged: 1 and 4 hold; 2 (live crons) and 3 (change-event ledger) remain scheduler/goal-workspace surfaces, not repo code — still need a seat with the live fleet scheduler. Next slice after merge: the first controlled test end-to-end on Controlled pool tests: A/B real task batches before any pool change lands #1342 (criterion 2), once a headroom window opens.
chatgpt-codex-connector commented on Nov 23, 2026 dezren39 commented on Nov 23, 2026
Agent note — epic slice landed: claimer model-leaf forwarding (xaltha, 2026-11-23 ~16:05 CST)
- PR: feat(fleet-agent): forward the claimer's model leaf from agent next to queue claim (#1334) #13802 —
feat(fleet-agent): forward the claimer's model leaf from agent next to queue claim (Refs epic(fleet): pool & routing intelligence — lanes everywhere, live dispatch + babysitting, quota stewardship, reviewer oversight, AA + measured-speed model #1334, Meta-reviewer: grade the reviewers, score model/effort choices, and evolve the reviewer guidelines #1340).
- What it does:
fleet agent next now forwards --model-provider / --model-id / --model-variant to the queue claim, so claims stamp the claimer's real serving leaf instead of the muse-lane marker. The claim side already accepted the flags (queue: stamp the claiming session's own model on the task at claim time #8176); this threads them through the next ladder. Unblocks the meta-reviewer's per-model grading (Meta-reviewer: grade the reviewers, score model/effort choices, and evolve the reviewer guidelines #1340 criterion 1).
- Provenance: resumes the pushed-but-unPR'd branch
xaltha/1334-agent-next-model-leaf (commits 73de78d, 4deefaf), rebased onto current main 62a81ddd8 as xaltha/1334-model-leaf-forward with no content change (3 files, +43).
- Verification: remote dispatch, narrowest command (
cd pkgs/fleet && cargo test -p fleet-agent a_queue_claim_carries_the_claimers_model_leaf_when_given), fleet run 45275006586 — success, 1 passed / 0 failed (93 filtered out). fleet queue dispatch itself is blocked by fleet: repo-queue dispatch fails with TLS UnknownIssuer behind the egress proxy (Rust TLS ignores SSL_CERT_FILE) #13185 (TLS), so the fleet-command.yml fallback was used; a first dispatch from the repo root failed before compiling because fleet-agent lives in the pkgs/fleet workspace.
- Epic criteria: 1 and 4 still hold; 2 (live crons) and 3 (ledger) remain scheduler/goal-workspace surfaces per Lane NU's 08:44Z verification — the five named gaps still need Drew/parent restore-or-retire calls. Next slice after merge: Meta-reviewer: grade the reviewers, score model/effort choices, and evolve the reviewer guidelines #1340 re-grade over a full production window now that opencode#2696 has landed (route_usage stamps live) and claims carry real leaves.
dezren39 commented on Nov 23, 2026
Shepherd slice landed: PR #13802 merged (oc-code-07, 2026-11-23)
- PR: feat(fleet-agent): forward the claimer's model leaf from agent next to queue claim (#1334) #13802 —
feat(fleet-agent): forward the claimer's model leaf from agent next to queue claim (Refs epic(fleet): pool & routing intelligence — lanes everywhere, live dispatch + babysitting, quota stewardship, reviewer oversight, AA + measured-speed model #1334, Meta-reviewer: grade the reviewers, score model/effort choices, and evolve the reviewer guidelines #1340). Merged 2026-11-23T22:33:42Z.
- What it does:
fleet agent next now forwards --model-provider / --model-id / --model-variant to the queue claim, so claims stamp the claimer's real serving leaf instead of the muse-lane marker. Unblocks the meta-reviewer's per-model grading (Meta-reviewer: grade the reviewers, score model/effort choices, and evolve the reviewer guidelines #1340 criterion 1).
- Independent verification before merge: diff reviewed (3 files, +43/−0, purely additive flag forwarding; test names its oracle Meta-reviewer: grade the reviewers, score model/effort choices, and evolve the reviewer guidelines #1340/epic(fleet): pool & routing intelligence — lanes everywhere, live dispatch + babysitting, quota stewardship, reviewer oversight, AA + measured-speed model #1334); focused test
a_queue_claim_carries_the_claimers_model_leaf_when_given passes on PR head d97b39af834; full cargo test -p fleet-agent 94/94 passes via fleet-build-lock. Merge state was CLEAN/MERGEABLE at merge time.
- Epic criteria: 1 and 4 still hold; 2 (live crons) and 3 (change-event ledger) remain scheduler/goal-workspace surfaces per Lane NU's 08:44Z verification. Next slice: Meta-reviewer: grade the reviewers, score model/effort choices, and evolve the reviewer guidelines #1340 re-grade over a full production window now that claims carry real leaves.
dezren39 commented on Nov 24, 2026 🤖 Agent note · oc-code-08 (OpenChamber scheduled lane), measurement slice, no PR
- Verified: the two unchecked acceptance criteria against the laptop, not a code change.
- Live crons (criterion 2):
doc/fleet-schedule-registry.md marks openchamber-dispatcher, openchamber-babysitter and openchamber-conductor as disabled. pool-quota-steward, pool-meta-reviewer and pool-intelligence are listed as enabled. On this laptop, crontab -l has no matching entries and systemctl --user list-timers has no steward, babysitter, dispatcher, intelligence or meta-reviewer timer (only meta-quota-export.timer). The instruction files named in the registry under /home/hatch/workspace/goals/keep-the-four-repos-healthy/crons/ are absent here. These jobs may run on the Muse or fleet scheduler, which this laptop check cannot see, so this is a finding, not proof that they are dead.
- Change-event ledger (criterion 3): no ledger file or code path exists in this repo. The steward writes it from outside the repo, so it needs a read from the steward's store to verify.
- Next slice: read the steward's and scheduler's own job list (the source the registry names), then check each enabled job's instruction file and last run. That gives criterion 2 a per-job state with evidence.
- Claim: no PR opened. This run's claim ends here;
fleet agent in this build has no complete or park verb, so the claim state needs a manual check.
dezren39 commented on Nov 24, 2026 🤖 Agent note · slice landed as PR (measurement harness for the change-event ledger criterion)
- Agent: xaltha (fleet lane)
- Slice:
scripts/change_ledger.py + scripts/test_change_ledger.py (14 tests) — verifies the steward's ledger (Quota & config steward: pool monitoring, bounded routing decisions, and an append-only change-event ledger #1339: "a config change with no ledger event is a defect") against merged PRs touching the canonical config .opencode/opencode.jsonc. After this PR, python3 -I scripts/change_ledger.py check --ledger <ledger> --changes <changes> reports matched/unmatched changes and defective events.
- PR: feat(fleet): change-event ledger check for pool config changes (#1334) #14069 (branch
xaltha/1334-change-ledger-check, commit 9e18323)
- Evidence: tests failed first (
ModuleNotFoundError), then 14/14 locally; remote verification via the fleet-command.yml fallback (dispatch blocked by TLS fleet: repo-queue dispatch fails with TLS UnknownIssuer behind the egress proxy (Rust TLS ignores SSL_CERT_FILE) #13185): run 45322738000, "Execute target command" step completed success. First real run, window 2026-10-27 → 2026-11-24: 183 config changes (165 merged PRs + 18 direct commits), 0 matched — the ledger file does not exist yet, exit 1.
- Criterion state: the ledger criterion stays unchecked — this slice makes the gap countable (0/183), it does not close it. Live-cron criterion also still open: none of the six epic(fleet): pool & routing intelligence — lanes everywhere, live dispatch + babysitting, quota stewardship, reviewer oversight, AA + measured-speed model #1334 jobs appears in live
cron.list on this host (verified 2026-11-23), so the registry rows (last review 2026-11-03) are stale in the other direction.
- Next slice: create the ledger at
~/workspace/goals/keep-the-four-repos-healthy/hidden_files/change-event-ledger.jsonl and record first events, so the check moves from 0/183 toward full coverage.
developing-today-fleet commented on Nov 26, 2026
Triage re-verification (OpenChamber scheduled lane oc-code-07, task 24952, 2026-11-26)
#1334 remains OPEN and is not ready to close. The epic's child/slice work has advanced, but its remaining acceptance is still real: #1340 (meta-reviewer) is active and its first daily review / outcome tables and guideline evidence are not complete; #1342 (controlled pool test) remains open/blocked with its first end-to-end test and #1191 historical-data fold-in outstanding. #1335 and #1338 are closed; PRs #13419 (procedure/template) and #14069 (change-ledger checker) are merged.
The current verification does not satisfy the epic's two unchecked criteria. The Nov 24 laptop/scheduler check found the dispatcher, babysitter and conductor marked disabled in doc/fleet-schedule-registry.md (other pool jobs enabled); that seat could not see the external goal scheduler, so this is not proof those jobs are dead. On the ledger criterion, PR #14069's first check over 2026-10-27 through 2026-11-24 found 183 canonical-config changes (165 merged PRs and 18 direct commits) with zero matching ledger events. This directly contradicts treating the ledger as verified. Child #1339 is closed on an Oct 31 “already implemented and operating” verdict, so its closure needs reconciliation with this newer measurement; do not infer the missing external ledger is fixed by the checker PR.
Disposition: keep #1334 open/in review. Continue the live-job and reviewer/test work through active children #1340 and #1342; record/reconcile the ledger discrepancy against #1339 before checking the epic's ledger criterion. No code or configuration change in this triage; no duplicate child opened because the existing child/parent trackers own these acceptance gaps. developing-today commented on Nov 27, 2026
Triage verdict — oc-code-04, 2026-11-27 (queue task 26006)
Still live — work continues through owned children; no packet. Fresh verification:
- epic(fleet): pool & routing intelligence — lanes everywhere, live dispatch + babysitting, quota stewardship, reviewer oversight, AA + measured-speed model #1334 OPEN (priority/high, status:in-review), updated 2026-11-26. 11/14 children closed.
- Remaining children all OPEN and recently active: Meta-reviewer: grade the reviewers, score model/effort choices, and evolve the reviewer guidelines #1340 (updated today — meta-reviewer, active worker), Controlled pool tests: A/B real task batches before any pool change lands #1342 (updated 2026-11-26 — controlled pool test, blocked on headroom), Program tending: scheduled care for roadmaps, epics, projects, and stalled PRs #1352 (updated today — program tending, in-review).
- The task-24952 re-verification (2026-11-26) stands: criteria 2 (live crons) and 3 (change-event ledger) remain scheduler/goal-workspace surfaces, and the feat(fleet): change-event ledger check for pool config changes (#1334) #14069 ledger check (0/183 matched) contradicts treating the ledger as verified. Nothing a triage lane can close here.
- No hold labels.
Action: parking this triage task with a 7-day delay plus a resume condition on all children closing, so the epic holds live coverage without another untriaged re-import. Next worker: re-check the three children; if all closed, re-verify criteria 2/3 from a seat with the live scheduler before closing.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|