Skip to content

aggregator(quota): page substitutes quota-view fallback windows for a fresh ok read across most pools (read-vs-page diff @2026-11-08T20:45Z tick) #7813

Closed

Description

@dezren39

Observation (pool-quota steward, 2026-11-08 ~21:25Z run)

The PM aggregator's /api/quota.json no longer matches the source read
(quota-current.json, source opencode-quota, generatedAt
2026-11-08T20:45:19.047Z, heartbeat ok:true, 13/14 legs ok) pool-for-pool.
The page consumed the 20:45Z tick (its per-pool freshness.measuredAt
matches the read) but renders dated quota-view fallback windows instead
of the read's windows for most pools. Stewardship instruction step 6(2):
a page that disagrees with the read is an aggregator bug — recorded
here, no quota-view prose edited to compensate.

Read (@20:45Z tick) vs page (/api/quota.json fetched ~21:22Z)

pool read page
meta weekly 100 (resets 2026-11-09T00:00Z), 5h 0, credits $148.57 weekly 98, resetsAt null
openai.main weekly 64 7-day 11
openai.alternate 5h 0 / weekly 100 no windows
opencode-go.drewrypope 5h 0 / weekly 100 / monthly 50 weekly 100 / monthly 50 — MATCH
cline-pass 5h 0 / weekly 100 / monthly 50 5h 0 / weekly 26 / monthly 69
commandcode monthly 60.773 / 5h 0 / weekly 100 monthly 69 / weekly 14 / 5h 0 (static entry, no freshness)
antigravity-direct.gemini 5h 34.535 / weekly 100 weekly 0.9 (static entry, no freshness)
antigravity-direct.claude-gpt 5h 0.08 / weekly 100 weekly 0 (static entry, no freshness)
opendesign 5h 47.052 / 7d 100 no windows (also tracked on #6942)
anthropic:claude-pro read leg error (rate-limited), fallback 33/61/0 @2026-11-07T23:21Z weekly 68 (already tracked on #7033)
turso (saas) storage 44.455 / rows-read 1.224 / rows-written 4.078 / sync 5.087 Oct 24 manual fallback entry (storage 0%, limit 5 GB) — feed saas section not rendered

Faithful: drewrypope (above) and opencode-go.popesdrew (fallback-only —
the read carries no popesdrew split row, #5324).

Context: laptop ~/git/code HEAD moved today (26018ce → a9483c3 →
63e62f4); the previous steward run (~20:26Z, 20:15Z tick) matched 12/13.
The quota gatherer itself is separately failing at import since the
15:00 CST tick (#5721), so the read will go stale until that lands —
but this diff is against the read the page itself consumed.

Acceptance criteria

  • The problem described above is confirmed against current main (reproduced or traced to the named code path), or the issue is closed with that evidence.
  • A fix/implementation addressing the described behaviour is merged via PR referencing this issue, with tests naming their oracle where the change has meaningful invariants.
  • Related/sibling issues from the same filing batch are cross-linked and any dependency is recorded as a native blocked-by relation.

Activity

  1. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    Update after the gatherer fix (#5721, 2026-11-08 ~15:45–16:00 CST): the page is consuming the fresh read again.

    Verified against the 2026-11-08T22:00:10.053Z tick: /api/quota.json now carries gatherer generatedAt 2026-11-08T22:00:10.053Z, ok: true, and openai.main renders weekly 67 with freshness measuredAt 2026-11-08T22:00:39Z, source opencode-quota — matching the read's openai.main weekly 67 (this issue's table had page 7-day 11 vs read 64). Root cause of the gatherer outage was the primary ~/git/code checkout parked on a stale WIP branch from 14:58:39 CST (details on #5721); the checkout is restored to origin/main.

    Not closing: a full 13-pool page-vs-read re-match is the steward's step-6 check on its next pass; this comment records the spot-verified pools only.

  3. added
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Nov 8, 2026
  4. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    Intake review

    🤖 Agent note · filed

    Related: No merged PR or commit found at intake time that explicitly resolves this issue — it reads as live, not solved. Sibling/batch context, if any, is in the issue title/body.

    Notes: Acceptance criteria appended to the body by the monitor (original body preserved verbatim above the new section) when missing. Labels normalized by the monitor: kind/enhancement, priority/normal, effort/m, status/needs-triage, meta/enriched.

    Risks: Scope may overlap a sibling or parent decomposition — the triaging lane should confirm before implementing.

    Suggested approach: Triage through the queue; confirm scope against current main, record any dependency as a native blocked-by relation, then route to a fix packet.

  5. dezren39 commented on Nov 8, 2026

    @dezren39
    MemberAuthor

    Steward update — pool-quota-steward 250th run, 2026-11-08T22:45Z: the read-vs-page disagreement has largely cleared. On the fresh ok 22:43:22Z tick the page matches the read on 12/13 pools (meta weekly 100, openai.main 69, openai.alternate windows present 0/100, cline-pass 0/100/50, commandcode 60.773/0/100, antigravity 35.939/99.88 + 100, opendesign 0/100, drewrypope 0/100/50, deepseek) and the turso SaaS percentages now match the read (storage 44.462 / rows-read 1.252 / rows-written 4.14 / sync 5.087). The only remaining mismatch is claude (page weekly 68 vs the read's retained 33/61/0 fallback), which is the standing code#7033 item. Leaving this issue open for verification/closure by its owner; the steward will keep checking each run.

  6. dezren39 commented on Nov 9, 2026

    @dezren39
    MemberAuthor

    Steward run 252 (2026-11-09T00:24Z): the fallback-substitution pattern is back on the 23:45Z tick — page marks pools "stale" and substitutes quota-view fallback windows despite carrying the read's measuredAt. Read-vs-page diff (read = quota-current.json @2026-11-08T23:45:02Z; page = /api/quota.json same tick):

    Matched: opencode-go.drewrypope (monthly 50 / weekly 100), popesdrew faithful-to-absence (0/0, no freshness), deepseek balance-only. Context: the gatherer has been failing since the 00:00Z tick (see #5721 refresh this run — missing opencode build binary), so the read itself is frozen pre-reset; the page disagreement above is measured against that frozen read.

  7. added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    and removed on Nov 10, 2026
  8. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged

    • Agent: triage-step
    • State: triaged
    • Verdict: work kind task/small-fix · priority/normal · effort/m
    • Priority why: priority/normal — brief line 5: everything else by usefulness; the quota page misrenders fresh reads (recurrence confirmed 2026-11-09T00:24Z) but quota reads themselves still land, so this is not line-1 fleet-stalling.
    • First step: In the pm-stack aggregator's quota rendering, find why a fresh ok read's windows are replaced by dated quota-view fallback windows when freshness.measuredAt matches the read; render the read's windows and reserve fallback for genuinely stale/missing reads.
    • Acceptance: /api/quota.json matches quota-current.json pool-for-pool (windows and reset times) on consecutive fresh ok ticks, and fallback windows appear only when the read is stale or missing.
    • Fix packet: repo-health:v1:fix:developing-today/code:issue:7813 → queue repo-health-code-pilot. Enqueue result: enqueued new task 14564 (queue repo-health-code-pilot, status queued)
  9. dezren39 commented on Nov 10, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done — no longer reproducible on fresh ok ticks; closing 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 workkind/bugSomething isn't working (prefixed form of the classic bug label)kind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions