Skip to content

feat(quota-plane): daily model + route audit — latest models incorporated, route rules cover all needs #1173

Open

Description

@dezren39

Priority P1 — order 9. Horizon: Week. Design: quota-plane-design-2026-10-26.md (usage-billing-hub goal files), Stage 2. Parent context: epic #1047. (§3)

Tracks the DAILY MODEL + ROUTE AUDIT (Drew, 2026-10-26): the daily measurements verify (a) the latest models are incorporated — deployed config/OpenChamber catalog vs each provider's current model list, missing or retired models are findings; (b) route rules handle all needs — every tier (scout/workhorse/specialist/summit) has a route on an existing, enabled, non-funds model, effort variants set per model, disabled providers absent from pools; (c) pool ordering matches burn-by-expiry + cheapest-sufficient, OpenAI final reserve — contradictions recorded, config changes via repo PR flow only.
Status: the stewardship-cycle block is LIVE (applied 2026-10-26 22:41 CDT by cron update, no read-back per Drew). This issue owns: the first audit run's findings, the provider-model-list comparison mechanics (automate what the block currently does by inspection), and filing/fixing what the audit surfaces.
Acceptance: first MODEL AUDIT entry in the stewardship cycle log with findings (or an explicit no-findings), each finding linked to its fix issue.

Acceptance criteria

  • The first MODEL AUDIT entry lands in the stewardship cycle log with findings (or an explicit no-findings), each finding linked to its fix issue.
  • The provider-model-list comparison mechanics are automated where the stewardship block currently inspects by hand: latest models incorporated, retired models flagged, every tier has a route on an existing, enabled, non-funds model, pool ordering matches burn-by-expiry + cheapest-sufficient with OpenAI as final reserve.
  • Config changes flow only via repo PRs.

Activity

  1. developing-today commented on Oct 27, 2026

    @developing-today
    Contributor
  2. added
    source/humanFiled directly by a human
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    kind/infrastructureInfrastructure / host-portability work
    on Oct 28, 2026
  3. dezren39 commented on Oct 28, 2026

    @dezren39
    MemberAuthor

    Intake review

    Fleet monitor intake enrichment (protocol §5) — 2026-10-28T06:27Z. This issue was filed 2026-10-27 by Drew (dezren39) from the 2026-10-26 live pm-stack review and had no priority/* label and no standard ## Acceptance criteria section; both are now supplied (the body's own Acceptance text is restated under the standard heading, original body preserved verbatim above it).

    • Related: Parent context in body: epic epic(usage-hub): SaaS/cloud services completion — v2 live collectors, daily console reads, v3 reconciliation #1047, quota-plane design Stage 2 (§3). Body states Priority P1 / Week horizon; the stewardship-cycle audit block is already LIVE per the body — this issue owns the first run's findings and the automation. No merged PR references this issue.
    • Labels normalized: one kind/* (added kind/infrastructure), source/human, status/needs-triage, priority/high, effort/m, app/pm-stack (existing), meta/enriched.
    • Still live: verified open this run; no merged PR or commit found that implements it.
    • Risks: An audit that files findings without fix links repeats the silent-failure pattern; every finding needs its fix issue in the same pass. Model lists change often — compare against providers' current lists at run time, not a snapshot.
    • Suggested approach: Run the first audit from the live stewardship block, file/link a fix issue per finding, then automate the model-list diff so later audits are mechanical.
  4. added
    mode/onlineFully doable remotely: design, config, code, cloud
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed on Nov 1, 2026
  5. 152 remaining items

  6. added
    queue/blockedQueue or user escalation state
    status/blockedQueue or user escalation state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 14, 2026
  7. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    state: triaged (remainders 1 and 3 resolved; remainder 2 + checker build carry forward)

    Resolution of the 2026-11-10 triage remainder (note 6783103141):

    1. First MODEL AUDIT entry — DONE in substance. The stewardship cycle runs the daily CONSOLE READS + MODEL AUDIT block and records it in its cycle log (stewardship-commission goal, hidden_files/cycles/CYCLE-LOG.md): last performed 2026-11-15 by cycle 524, due daily at the first cycle at/after 06:00 CST. The audit the triage seeded is now a standing daily entry, not a missing one.
    2. Live catalog basis — still open (no live proxy-kind source; PROVIDER_SOURCES' sole proxy source is a dormant synthetic fixture). Carries forward as the named remainder.
    3. Pool-ordering data-source decision — DECIDED here, 2026-11-16: the checker reads the feat(quota-plane): plan-store / tracker / measured reconciliation diff (daily) #1270 reconciliation data source — the plan store (plans.json) plus the fenced plan-facts block in provider-quota-registry.md, diffed by ~/tools/provider-usage/reconcile.py — which landed today via task 4984 (first run recorded in the registry). Expiry/cost fields live in those records; no new data source is coined.

    Action this shift: task 14481 completes as triaged. A fix packet for the remaining build (pool-ordering checker on the #1270 source + live catalog basis) dedupe-hit task 14481 itself (its key is the fix key for this issue), so the follow-on carries via the triage-completion revive, exactly as task 14481 was itself created from triage task 7558. The packet text is preserved in the task checkpoint.

  8. removed their assignment
    on Nov 20, 2026
  9. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Decided: The owner-park on this issue is resolved without the owner, and work continues. (1) The first MODEL AUDIT entry is a standing daily entry in the stewardship cycle log (cycle 524, 2026-11-15), per the 2026-11-16 triage — nothing is waiting on Drew to run it. (2) The pool-ordering data-source question is settled as decided in that same triage: the checker reads the #1270 reconciliation source (plan store plans.json + plan-facts block, diffed by ~/tools/provider-usage/reconcile.py). (3) "OpenAI final reserve" is read as: in every ordered chain, an OpenAI-backed pool comes last; in weighted/round-robin routes list position is not burn order, so mixing there is unknown, not a violation.
    Why: PR #4703 (merged 2026-11-09) already automated the catalog diff and route rules; the remaining automation was the ordering check, and the config's own words state the reserve rule ("Sol #xhigh moves LAST. The OpenAI plan is the fleet's deepest reserve, so the chain spends Antigravity, the Go contributor bucket, and Meta before it touches OpenAI at all"). Nothing here needs a secret only Drew holds or a product call only he can make.
    Undo: Restore the status/blocked + queue/blocked labels and re-park if Drew says otherwise; the checker itself is revertable by deleting its two files and two workflow steps.
    By: xaltha

    Progress note — pool-ordering checker slice (PR #12666)

    PR: #12666 (branch xaltha/1173-pool-ordering, commit 8f9affa2c)

    What this slice does: adds bin/check-pool-ordering.mjs + fixtures, wired into opencode-config-guard. After this PR, node bin/check-pool-ordering.mjs .opencode/opencode.jsonc reports each tier's effective pool order with the OpenAI-final-reserve verdict. On the canonical config it passes (exit 0, 0 issues): specialist and summit both have sol-plan last in their main chains; scout/workhorse have no ordered-position OpenAI pool. Verification: new fixtures 6/6, full bin/*.test.mjs suite 336/336, all run locally in the sandbox (pure Node, no compile).

    What it surfaces (notes, not findings): luna-effort-rr shares workhorse-weighted (weighted) with non-OpenAI pools at equal/default weight — no reserve encoding is visible there. The burn-by-expiry weights the luna-plan comment describes are gone from the current config (round-robin, no weights); whether equal share is now intended or drift is for the next slice to settle against the #1270 store.

    What remains of the acceptance:

    1. Burn-by-expiry + cheapest-sufficient automation — wire --plans (and tracker/measured inputs) so the checker compares pool order against the feat(quota-plane): plan-store / tracker / measured reconciliation diff (daily) #1270 plan store. Needs a real plans.json + registry sample to pin the window-end derivation (the store's resetRule is "calendar" with no absolute instant).
    2. Live catalog basis — still open (PROVIDER_SOURCES' sole proxy source is a dormant synthetic fixture; models.dev crosscheck only).
    3. First MODEL AUDIT entry — done in substance (standing daily entry, cycle 524); the daily audit block should add the new check-pool-ordering.mjs invocation so its verdict lands in the cycle log.

    Park labels removed with this note (status/blocked, queue/blocked); the issue stays open until criteria 1–2 above land with evidence.

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

    effort/mMedium: expected under 1 day of workepic/pm-stackReprioritization program epic (2026-11-12)kind/infrastructureInfrastructure / host-portability workmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedmeta/follow-upFollow-up spun out of earlier workmode/onlineFully doable remotely: design, config, code, cloudpriority/highImportant and time-sensitivequeue/queuedHas a queued queue tasksource/humanFiled directly by a humanstatus:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions