GeezerVison is showing github.com — epic(usage-hub): SaaS/cloud services completion — v2 live collectors, daily console reads, v3 reconciliation · Issue #1047 · developing-today/code
epic(usage-hub): SaaS/cloud services completion — v2 live collectors, daily console reads, v3 reconciliation #1047In review 7 / 107 of 10 issues completedIn review 7 / 107 of 10 issues completed Labels app/pm-stackpm-stack (Pad/Grist) in developing-today/codedesign/quota-planeDesign: quota-plane - all issues of this effort carry iteffort/lLarge: multi-day or open-ended; expect staged check-insepicMeta-issue grouping multiple items (org Project Type=Epic)epic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedmeta/follow-upFollow-up spun out of earlier workmode/onlineFully doable remotely: design, config, code, cloudnextOrg Project gate: queued next — orchestrator adds to the boardpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus/triagedTriaged and routed (see agent note) DescriptionEpic for the remaining Usage & billing hub work (goal_4bd599c9ab26). Filed 2026-10-26 at Drew's direction ("make issues for all these and update all relevant locations; ensure all is documented") after the SaaS/cloud services status review in the SaaS side chat.
State this epic starts from (verified 2026-10-26)
- Hub v1+v1.1 SHIPPED: PR Usage & Billing Hub v1 + v1.1 (aggregator /quota) #967, live at the laptop aggregator
/quota ("Usage & billing"), /api/quota.json carries pools/saas/payg/charges/attention/domains/subscriptions.
- Snapshot-store writers LIVE (PRs Usage snapshot writers (hub §4): collector derivation, outbox, store ingest #973/Fix: pool snapshot records take their date from the Last checked bullet #975/Docs: README snapshot-writers note (hub §4 follow-up to #973/#975) #977): stewardship/keeper append to the outbox, fleet-feed collector forwards, store dedupes. Not part of this epic.
- Q7 Meta PAYG scan folded into stewardship-cycle permanently. Done, not part of this epic.
- The hub is NOT fully live: it renders dated manual reads from the stewardship quota-view, not live vendor meters. Most pools have no working machine meter (Codex usage endpoint 403, ClinePass/Go/Meta console-only, Open Design uninstrumented). That gap is what the child issues close.
Cadence ruling (Drew, 2026-10-26)
The design's Q8 default — a WEEKLY console-reads block — is superseded: weekly is too slow. New cadence (implemented by the console-reads child issue):
- stewardship (hourly) checks staleness every cycle and flags any card past its cadence;
- full console-read refresh DAILY;
- immediate re-read on a wall hit, at >=85% of a window, or whenever the measurement gate needs a <=60-minute-old read for placement.
Design / sources
- Design: hatch-personal
workspace/goals/usage-billing-hub-token-quotas-per-service-saas-limits/files/hub-design-2026-10-25.md (§2 sources, §5 phasing: v2 live collectors, v3 reconciliation)
- Research record:
~/workspace/ai-subscriptions/master-tracker.md + evidence-and-interpretation-baseline-2026-10-20.md
- Presentation source: stewardship
hidden_files/visibility/quota-view.md Parts (a)/(b)
Tracked elsewhere — link, do not duplicate
- Plaid Citi linking: account-connection campaign Bump build/buck/preludes/buck2-prelude from
3a02ea3 to d956689 #15 (goal_6f48d745f802) + plaid-nudge crons; Drew's own browser only.
- OCI signup: OCI servers thread + CPCOE-29381 follow-up (due 2026-10-27); PAYG decided 2026-10-22.
- GitHub Actions/Codespaces efficiency: goals goal_49a7f35a16de / goal_86b7469e123e / goal_fbdde57a43cd (the GitHub billing collector child feeds these).
- Laptop repeat of the account campaign: account campaign goal end-state.
Acceptance for the epic
Every child issue closed or explicitly re-scoped by Drew; /quota shows live or daily-refreshed values (with measured-at + source) for every held service; the dashboard links the research record (baseline, tracker, free-services list) instead of leaving it only in workspace files.
Children (native sub-issues — curated 2026-11-01 via #1217, task 4928)
This epic's child set is now native sub-issues (previously body-text links only). Attached, all OPEN at curation:
- feat(usage-hub): v2 Turso usage collector — verify org usage route, daily read #1049 — v2 Turso usage collector (daily console read)
- chore(usage-hub): close master-tracker open checks (ChatGPT tier, Go exact %, Claude reset, Wispr, Bitwarden, Muse plan) #1055 — close master-tracker open checks
- feat(usage-hub): v3 invoice reconciliation — Cloudflare Nov 2 first, monthly billed-vs-estimated #1056 — v3 invoice reconciliation (billed-vs-estimated)
- feat(usage-hub): v3 charges auto-matching — Plaid + Gmail alerts to services #1057 — v3 charges auto-matching (Plaid + Gmail alerts)
- feat(usage-hub): v2 collectors — Modal credits (monthly read) + Bitwarden SM counts #1111 — v2 collectors: Modal credits + Bitwarden SM counts
- design(usage-hub): managed quota-credential pattern for console-only pools #1115 — design: managed quota-credential pattern for console-only pools
- feat(usage-hub): self-monitoring — feed staleness + fixture-fallback alarm #1116 — self-monitoring: feed staleness + fixture-fallback alarm
- chore(usage-hub): OpenCode Go lapse handling — Personal Nov 2, Lab Nov 6 #1118 — OpenCode Go lapse handling
- epic(quota-plane): Stage 2 — 15-minute quota gathering in the PM stack, token adapters, automated pool decisions #1149 — sub-epic: quota-plane Stage 2 (see ruling below)
- feat(usage-hub): #1116 remainder items 4+5 — stewardship stale-feed finding + collector-stop acceptance verification #2990 — feat(usage-hub): self-monitoring — feed staleness + fixture-fallback alarm #1116 remainder items 4+5
Already closed at curation (program history, not attached — the fix scope covers open issues): #1114, #1117, #1119.
#1149 ruling: #1149 is attached as a sub-epic of this epic, per its own body ("Stage-2 epic under #1047", Drew's direction 2026-10-26). Scope boundary: this epic (#1047) owns the usage-hub program as a whole — v2 live collectors, daily console reads, v3 reconciliation, hub presentation; #1149 owns the quota-plane Stage-2 slice inside it (15-minute quota gathering, token adapters, automated pool decisions). Quota-plane implementation issues belong under #1149, not directly under this epic.
Excluded, deliberately: #1054 (blocked(usage-hub): Open Design quota instrumentation) carries user/owned — a hard-stop label — so fleet curation does not touch it; it stays unattached until Drew rules otherwise. #1217 is the curation fix itself and closes when this curation completes.
Acceptance for the epic (measurable restatement)
This epic closes when every native sub-issue above is closed (or explicitly re-scoped by Drew), AND: the v2 collectors are live (#1049, #1111), the daily console reads run at the cadence ruled above (#1055), and v3 reconciliation is operating (#1056, #1057) — i.e. /quota shows live or daily-refreshed values, with measured-at + source, for every held service. Sub-issuesCollapse Sub-issuesSub-issues7 of 107 of 10 Issues completedLoading 10 sub-issues Activitydeveloping-today commented on Oct 27, 2026 dezren39 commented on Oct 27, 2026 Child issues filed 2026-10-26 (Drew's directive in the SaaS side chat):
- feat(usage-hub): v2 Cloudflare live collector — hourly analytics feed + billing scope #1048 — v2 Cloudflare live collector (hourly analytics + billing scope)
- feat(usage-hub): v2 Turso usage collector — verify org usage route, daily read #1049 — v2 Turso usage collector (verify org usage route, daily)
- feat(usage-hub): v2 Supabase usage collector — Management API scope + muse-dev metrics #1050 — v2 Supabase usage collector (Management API scope, muse-dev)
- feat(usage-hub): v2 Vercel first read + GitHub billing collector (billing-scoped token) #1051 — v2 Vercel first read + GitHub billing collector
- feat(usage-hub): DeepSeek daily balance check + CNY unit in snapshot store #1052 — DeepSeek daily balance check + CNY unit in snapshot store
- feat(usage-hub): console-reads cadence — daily + event-driven replaces weekly (Q8 superseded) #1053 — Console-reads cadence: daily + event-driven replaces weekly (Q8 superseded)
- blocked(usage-hub): Open Design quota instrumentation — laptop sign-in, cookie capture, parser verification #1054 — Open Design quota instrumentation (blocked: Drew laptop sign-in) — user/owned
- chore(usage-hub): close master-tracker open checks (ChatGPT tier, Go exact %, Claude reset, Wispr, Bitwarden, Muse plan) #1055 — Close master-tracker open checks
- feat(usage-hub): v3 invoice reconciliation — Cloudflare Nov 2 first, monthly billed-vs-estimated #1056 — v3 Invoice reconciliation (Cloudflare Nov 2 first)
- feat(usage-hub): v3 charges auto-matching — Plaid + Gmail alerts to services #1057 — v3 Charges auto-matching (Plaid + Gmail)
- docs(usage-hub): dashboard documentation completeness — research provenance links + candidate cards #1058 — Dashboard documentation completeness (provenance links + candidate cards)
- research(saas): complete free-services evaluation — 11 services, wall/excess verdicts, GCP/AWS guardrails #1059 — Free-services evaluation (11 services)
Docs updated in the same pass: hub design doc header (status + cadence + collector-host correction), goal GOAL.md (status/next/roadmap + this index), quota-view refresh protocol, master-tracker header. dezren39 commented on Oct 27, 2026 Second filing pass 2026-10-26 22:24 CDT (Drew: "continue building this out, designing it, and finding individual tasks that have not been documented yet"). Design: hub-v2-v3-design-2026-10-26.md in the goal files. New children:
dezren39 commented on Oct 27, 2026 Stage-2 child epic filed as #1149 (quota plane). Its children 2026-10-26 (priority order; horizons on org Project #4):
- feat(quota-plane): quota-gatherer service in the PM stack — 15-minute tick, quota-current contract #1151 P0 — Gatherer service (15-min tick, quota-current) · Week
- feat(quota-plane): browser-token adapter framework — managed credentials, fail-closed dashboard-API clients #1153 P0 — Browser-token adapter framework · Week
- audit(quota-plane): name the two token-exception providers definitively #1155 P0 — Exceptions audit: name the two · Week
- feat(quota-plane): OpenCode pools consume quota-current — measured placement, rotation, demotion #1157 P1 — OpenCode consumption contract · Week
- feat(quota-plane): adapter — ClinePass via dashboard session token #1159 P1 — ClinePass adapter · Week | feat(quota-plane): adapter — OpenCode Go console, per-workspace windows #1161 P1 — OpenCode Go adapter · Week | feat(quota-plane): adapter — Claude via claude.ai session (usage API) #1163 P1 — Claude adapter · Month | feat(quota-plane): adapter — Command Code via CLI/app credential #1165 P1 — Command Code adapter · Month
- plan(quota-plane): exception integration — Meta (login, token capture, console API) #1167 P1 — Exception integration: Meta · Month
- plan(quota-plane): exception integration — Google/Antigravity (login, token capture, panel API) #1169 P1 — Exception integration: Google/Antigravity · Month
- feat(quota-plane): aggregator lazy refresh — pull on page load when data >5 min old #1171 P1 — Aggregator lazy refresh (>5 min) · Week
- feat(quota-plane): daily model + route audit — latest models incorporated, route rules cover all needs #1173 P1 — Daily model + route audit · Week
- feat(quota-plane): quota-plane status view on /quota — gatherer health + per-provider freshness #1175 P2 — Quota-plane status view · Month
- design(quota-plane): Stage 3 — predictive, self-tuning quota operations #1177 P2 — Stage-3 design (predictive quota ops) · Month
Design: files/quota-plane-design-2026-10-26.md in the usage-billing-hub goal workspace.
dezren39 commented on Oct 27, 2026 PRIORITIZATION PASS (2026-10-27, per Drew: "make sure our tasks are updated to use the more efficient pattern and that all issues are prioritized"). Every issue under this epic and the quota-plane epic #1149 now carries a Horizon on Project #4. The working queue, in order:
Today
- code#1344 DONE (benchmark + decision: attach-first) → code#1357 attach-first client helper — the enabler for the new default pattern; stewardship-cycle, jules-review and orchestration-pass bodies already updated to it (2026-10-27).
Week (dated pressure first)
- chore(usage-hub): OpenCode Go lapse handling — Personal Nov 2, Lab Nov 6 #1118 Go lapse handling — Personal lapses Nov 2, Lab Nov 6.
- feat(usage-hub): v3 invoice reconciliation — Cloudflare Nov 2 first, monthly billed-vs-estimated #1056 first invoice reconciliation — Cloudflare invoice lands Nov 2 (incl. the Visa-vs-Citi •••• 9545 question).
- blocked(usage-hub): Open Design quota instrumentation — laptop sign-in, cookie capture, parser verification #1054 Open Design capture — Drew's one laptop-browser sign-in; the sandbox session expires Nov 2.
- feat(usage-hub): v2 Cloudflare live collector — hourly analytics feed + billing scope #1048 Cloudflare collector · feat(usage-hub): DeepSeek daily balance check + CNY unit in snapshot store #1052 DeepSeek CNY records · feat(usage-hub): console-reads cadence — daily + event-driven replaces weekly (Q8 superseded) #1053 console-reads acceptance (first daily refresh) · chore(usage-hub): close master-tracker open checks (ChatGPT tier, Go exact %, Claude reset, Wispr, Bitwarden, Muse plan) #1055 tracker open checks · docs(usage-hub): dashboard documentation completeness — research provenance links + candidate cards #1058 dashboard documentation · feat(usage-hub): Codex usage reader via wham/usage route (daily, per credential) #1112 Codex wham wiring · fix(usage-hub): disabled providers must not appear in quota — audit + regression test #1114 disabled-providers audit · quota-plane fix(quota-plane): opencode-serve boot verification + quota CLI per-provider resilience (no wholesale transport failure) #1251 (Claude re-login), feat(quota-plane): quota credential lifecycle — expiry watch, renewal surfacing, per-provider renewal paths #1269, feat(quota-plane): split gatherer rows per pool — OpenCode Go per-workspace + Antigravity pool grouping for the /quota overlay #1331, feat(quota-plane): OpenCode pools consume quota-current — measured placement, rotation, demotion #1157, feat(quota-plane): aggregator lazy refresh — pull on page load when data >5 min old #1171.
Month
- feat(usage-hub): v2 Turso usage collector — verify org usage route, daily read #1049 Turso · feat(usage-hub): v2 Supabase usage collector — Management API scope + muse-dev metrics #1050 Supabase · feat(usage-hub): v2 Vercel first read + GitHub billing collector (billing-scoped token) #1051 Vercel/GitHub billing · feat(usage-hub): v3 charges auto-matching — Plaid + Gmail alerts to services #1057 charges auto-matching · research(saas): complete free-services evaluation — 11 services, wall/excess verdicts, GCP/AWS guardrails #1059 free-services evaluation · feat(usage-hub): v2 collectors — Modal credits (monthly read) + Bitwarden SM counts #1111 Modal+Bitwarden · feat(usage-hub): per-credential quota rows — stop collapsing same-type logins #1113 per-credential rows · design(usage-hub): managed quota-credential pattern for console-only pools #1115 managed credentials · feat(usage-hub): self-monitoring — feed staleness + fixture-fallback alarm #1116 self-monitoring · feat(usage-hub): snapshot retention — 13-month raw, monthly rollups, backup check #1117 retention · test(usage-hub): contract tests for /api/quota.json saas/payg schema #1119 contract tests · quota-plane plan(quota-plane): exception integration — Meta (login, token capture, console API) #1167/plan(quota-plane): exception integration — Google/Antigravity (login, token capture, panel API) #1169 exceptions (Meta done via feat(quota-plane): Meta adapter Phase 1 — laptop-side quota exporter (subscription-quota API, 15-min file export) #1301; Antigravity token provenance open), feat(quota-plane): daily model + route audit — latest models incorporated, route rules cover all needs #1173 first-audit findings, feat(quota-plane): quota-plane status view on /quota — gatherer health + per-provider freshness #1175, feat(quota-plane): plan-store / tracker / measured reconciliation diff (daily) #1270, fix(pm-stack): install.sh must restart a running aggregator (enable --now leaves stale code serving) #1332, feat(quota-plane): Meta adapter Phase 1 — laptop-side quota exporter (subscription-quota API, 15-min file export) #1301 follow-on (Meta Phase 2 — file when Phase 1 stable), design(quota-plane): Stage 3 — predictive, self-tuning quota operations #1177 Stage-3 design (evidence base matures ~Nov 10).
added epicMeta-issue grouping multiple items (org Project Type=Epic) nowOrg Project gate: active priority — orchestrator adds to the board effort/lLarge: multi-day or open-ended; expect staged check-ins meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added on Nov 1, 2026dezren39 commented on Nov 14, 2026 🤖 Agent note · triage: epic verified — partially landed, remainder is the children's own backlog
- Agent: repo queue worker (repo-worker-code), lane code-a
- Session / ID: task 16799
Fresh child-by-child verification (2026-11-14) against the curated set in this epic's body:
Closed since curation: #1049 (v2 Turso collector), #1057 (v3 charges auto-matching), #1118 (OpenCode Go lapse handling), and the curation fix itself #1217.
Still open (the epic's remaining scope): #1055 (master-tracker open checks / daily console reads), #1056 (v3 invoice reconciliation), #1111 (v2 Modal + Bitwarden collectors), #1115 (managed quota-credential pattern design), #1116 (feed staleness self-monitoring), #2990 (#1116 remainder items 4+5), and sub-epic #1149 (quota-plane Stage 2).
Acceptance mapping: the epic closes when every child is closed or re-scoped by Drew AND /quota shows live/daily-refreshed values for every held service. Neither holds yet — one of three measurable legs is partially met (Turso collector live via #1049; the daily-reads leg #1055 and the v3 reconciliation leg #1056/#1057 are split, #1057 done, #1056 open). #1054 remains deliberately excluded under its user/owned hard stop and was not touched by this triage.
Verdict: the epic's tracking is accurate and its children each carry their own scope — no packet is created from an epic-level triage, and nothing here is stale or misrouted. The epic stays OPEN as the usage-hub program record; burn-down proceeds through the children's own queue items.
dezren39 commented on Nov 17, 2026 agent-note:v1 — triage (queue task 18049, openchamber scheduled lane code-g)
Fresh check: #1047 remains OPEN and is a live umbrella epic, not an issue to close as done. Its acceptance is explicitly conjunctive across native child issues and live/daily-refreshed dashboard data. The body lists open children (#1049, #1055–#1057, #1111, #1115–#1118, #1149, #2990) and explicitly excludes user/owned #1054. Scope boundaries are already documented; no duplicate follow-on is needed from this triage task. I made no changes to the epic or its children. dezren39 commented on Nov 17, 2026 🤖 Agent note · triaged — no epic-level follow-on
- Agent: OpenChamber scheduled lane
openchamber-scheduled-lane, worker repo-worker-code, lane code-i
- Task: 19395 (re-triage from task 18049)
- Verdict: epic(usage-hub): SaaS/cloud services completion — v2 live collectors, daily console reads, v3 reconciliation #1047 remains OPEN as the usage-hub umbrella epic. The remaining scope is already represented by its child issues; an epic-level fix packet would duplicate that work. No new follow-on is warranted from this triage.
- Disposition: Preserve the epic as open; continue burn-down through the existing children. No issue or label changes were needed (the issue already has
status/triaged; no stale in-flight queue label is present).
- Links: task 19395 · source task 18049
dezren39 commented on Nov 21, 2026
Decided: moved from Now to Next. The Now list is the two id tracks and the fleet work that directly feeds them (plan).
Why: now is what fleet agent next hands out first, so it has to stay short enough to finish.
Undo: put now back.
By: Claude, in the 2026-11-21 priorities session, under FDR-0013. Nothing here waits on anyone.
Generated by Claude Code added nextOrg Project gate: queued next — orchestrator adds to the board and removed nowOrg Project gate: active priority — orchestrator adds to the board on Nov 21, 2026developing-today-fleet commented on Nov 27, 2026
Triage concurrence (lane oc-code-01, 2026-11-27): #1047 OPEN, status/triaged, no hold labels. Umbrella-epic verdict unchanged: stays open as the usage-hub program record; burn-down proceeds through the children, no epic-level fix packet (that would duplicate the children, per the task 12952 packet-defect disposition).
Fresh delta since the last agent triage: closed since — #1056 (v3 invoice reconciliation), #1115 (managed quota-credential pattern), #1116 (feed staleness self-monitoring), #2990 (#1116 remainder). Remaining open children: #1055 (master-tracker open checks / daily console reads), #1111 (v2 Modal + Bitwarden collectors), and sub-epic #1149 (quota-plane Stage 2). #1054 stays deliberately excluded under user/owned. No code changed in this pass. developing-today-fleet commented on Nov 27, 2026
🤖 Agent note · slice landed as PR (lane oc-code-07)
Acceptance recheck vs origin/main (2026-11-27): v2 collectors checked (PR #2987 + PR #14751 merged); /quota measured-at+source rendering checked (render.ts service cards + pools freshness line, header claim :2672); dashboard research-record links checked (render.ts Sources section :2683). v3 children #1056/#1057 closed. Remainder with no lane executor, unchanged: #1055 (blocked/user-escalated hands reads), #1111 (browser-route datum only), #1149 → #1173 (upstream resetAt data), #1270 slice 3 (primary-seat scheduling), #2490 (external gates).
Slice: PR #16157 (test-only, one file) — the #1119 /api/quota.json contract suite died with EADDRINUSE on the laptop (live aggregator holds 4871); it now pins the spawned server's freshness IPC port like the other server-booting suites. Laptop evidence: before 0 pass/1 fail, after 10 pass/0 fail; siblings (quota-current + gather-quota) 85/85 green.
Next slice in the same form: after the next PR, bun test test/quota-contract.test.ts plus the remaining server-booting suites without the override (boot, health, actions, …) all pass on the laptop — or the next unblocked epic remainder. developing-today-fleet commented on Nov 27, 2026 🤖 **Agent note** · slice landed as PR (lane oc-code-02)
Slice: PR #16198 (test-only, one file) — the boot server-booting suite died with EADDRINUSE on the laptop (live aggregator holds 4871); it now pins the spawned server freshness IPC port the same way the pinned suites do. Laptop evidence: before 0 pass/1 fail, after 19 pass/0 fail. No overlap with open PR #16157 (quota-contract); remaining unpinned suites (health, actions, …) are next slices in the same form.
MetadataMetadataapp/pm-stackpm-stack (Pad/Grist) in developing-today/codedesign/quota-planeDesign: quota-plane - all issues of this effort carry iteffort/lLarge: multi-day or open-ended; expect staged check-insepicMeta-issue grouping multiple items (org Project Type=Epic)epic/pm-stackReprioritization program epic (2026-11-12)kind/featureNew feature or capability requestmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedmeta/follow-upFollow-up spun out of earlier workmode/onlineFully doable remotely: design, config, code, cloudnextOrg Project gate: queued next — orchestrator adds to the boardpriority/normalOrdinary priority (the default)source/humanFiled directly by a humanstatus/triagedTriaged and routed (see agent note) DevelopmentNo branches or pull requestsIssue actions
|