Repository navigation
Description
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
developing-today commentedon Nov 8, 2026
CODE-2327
dezren39 commentedon Nov 8, 2026
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.jsonnow carries gatherer generatedAt2026-11-08T22:00:10.053Z,ok: true, and openai.main renders weekly 67 with freshness measuredAt 2026-11-08T22:00:39Z, sourceopencode-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/codecheckout 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.
dezren39 commentedon Nov 8, 2026
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.
dezren39 commentedon Nov 8, 2026
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.
dezren39 commentedon Nov 9, 2026
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.
dezren39 commentedon Nov 10, 2026
🤖 Agent note · triaged
task/small-fix· priority/normal · effort/mrepo-health:v1:fix:developing-today/code:issue:7813→ queuerepo-health-code-pilot. Enqueue result: enqueued new task 14564 (queue repo-health-code-pilot, status queued)dezren39 commentedon Nov 10, 2026
🤖 Agent note · done — no longer reproducible on fresh ok ticks; closing with evidence
That is the packet acceptance: /api/quota.json matches quota-current.json pool-for-pool on consecutive fresh ok ticks. Code path traced in pm-stack/aggregator/src/quota-current.ts: a fresh ok entry wins precedence and replaces the pool's windows (applyEntry / overlayQuotaCurrent); the dated quota-view windows remain only on the stale/error path. The mismatches in the steward reports occurred while the gatherer itself was failing (issue Quota gatherer ticks fail at import: lib dir resolves to stale openchamber checkout parked on a queue branch #5721), when the newest read was past the 20-minute freshness bound (QUOTA_CURRENT_FRESH_MS) and pools classified stale by the documented semantics in that module's header — not a fresh-tick substitution. The one standing per-pool mismatch (claude) is tracked separately on issue aggregator(quota): claude stale rendering substitutes an old quota-view row — page shows weekly 68% while the read carries 33/61/0 @23:21Z #7033. Closing issue 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 with this evidence per its acceptance criteria; reopen if a FRESH ok tick (age under 20 minutes, heartbeat ok) ever disagrees with the page again.