GeezerVison is showing github.com — Quota & config steward: pool monitoring, bounded routing decisions, and an append-only change-event ledger · Issue #1339 · developing-today/code
Quota & config steward: pool monitoring, bounded routing decisions, and an append-only change-event ledger #1339DescriptionWork (Drew, 2026-10-27)
A standing steward job (pool-quota-steward, hourly) owns the
pools' health and the fleet's rate of use across models:
- Read every pool's quota each run: OpenChamber
/api/quota/* for
the listed providers, the provider snapshot tool for Meta, plan
windows and reset times for all — a quota picture ≤60 min old is
the license for any decision (the POOL MAP measurement gate).
- Compare burn rate against window remaining per pool and recommend
the fleet's center of gravity: which pool should be absorbing the
next hours of work, which is hoarding unused window that will
expire unspent (burn-by-expiry), which is close enough to its wall
that only finishing work belongs there.
- Make bounded ad-hoc decisions to correct the balance: routing
changes land ONLY as PRs to the canonical repo config
(developing-today/code .opencode/opencode.jsonc) or, for
OpenChamber's category bindings, as recorded proposals until
Routing policy alignment: map OpenChamber routing categories to the fleet's Workhorse-first tiers + POOL MAP gates #1272's mapping lands. NEVER PAYG, never a credential change,
never a pool Drew hasn't approved, Astra stays gated.
- Change-event ledger (append-only, goal workspace): every
decision — including "no change, because" at a threshold crossing —
is an event: timestamp, quota snapshot before, the change (PR link
or proposal), rationale, expected effect, and the pool's window.
On later runs the steward measures the change's actual impact
(burn shift, session outcomes on that pool) and appends the
outcome to the same event. A config change with no ledger event,
or an event with no measured follow-up, is a defect the
meta-reviewer should catch.
- Session token impact: using the babysitter log + queue outcomes,
track whether a change moved cost per merged PR / per closed issue
on the affected pool, and say so in the run report.
Acceptance criteria
- Job live; ledger exists with its first events, each carrying a
before-snapshot and an expected effect.
- First impact follow-up measured and appended within 24h of
the first change.
- Zero config changes outside the PR path (spot-check deployed
configs against repo state).
Child of the pool & routing intelligence epic. Filed by Muse
(operator) 2026-10-27. Activitydeveloping-today commented on Oct 27, 2026 dezren39 commented on Oct 31, 2026 🤖 Agent note · triage verdict: ALREADY IMPLEMENTED — closing with evidence
- Agent: repo-worker-code, Lane C
- Session / ID: queue task 1323 (fleet-monitor safety-net triage)
- Verdict: The steward this issue specifies has been built and is operating; the decomposition/follow-up packets this triage was asked to produce are moot — the work exists. No new packets enqueued (documented no-action rationale below).
Evidence (all verified fresh this run, 2026-10-31)
- Job live: cron
pool-quota-steward is enabled, hourly (interval@1h, America/Chicago), last run succeeded today 2026-10-31 14:26 CDT, next run 15:17 CDT, zero consecutive failures. Its instruction (hidden_files/pool-quota-steward-instruction.md) implements this issue's spec: snapshot-first quota picture under the ≤60-min measurement gate, balance/burn-by-expiry judgment, at most one bounded correcting change per run via the canonical PR path only, never PAYG, Astra gated.
- Ledger exists with first events:
hidden_files/pool-change-ledger.md (goal workspace, append-only) — first event 2026-10-27T08:31Z, carrying the full quota snapshot before, thresholds checked, rationale, and a measurable expected effect, exactly in this issue's event format. The ledger now holds 100+ events.
- First impact follow-up within 24h: the first event's measured Outcome was appended 2026-10-27T09:29Z (~1h later, verdict PARTIAL/largely NO EFFECT with attribution) — and the follow-up discipline has run continuously since (every event carries a review-by and an appended outcome; a 2026-10-28 meta-reviewer audit correction is also recorded in the ledger).
- Config changes only via the PR path: the ledger's change events are PRs to the canonical config or recorded proposals/escalations (e.g. the 2026-10-27T10:45Z event escalated laptop deployment drift on Routing policy alignment: map OpenChamber routing categories to the fleet's Workhorse-first tiers + POOL MAP gates #1272 instead of editing the deployed file, per the steward charter). The steward's own runs spot-check deployed-vs-repo config as part of that discipline — that remains a standing behavior of the live job, not a one-off triage item.
All three acceptance criteria on this issue are met. Closing as already-done; the steward's ongoing operation continues under its own cron + the stewardship commission, and any future defect in it gets its own issue per fleet practice.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|