Skip to content

epic(usage-hub): SaaS/cloud services completion — v2 live collectors, daily console reads, v3 reconciliation #1047

In review
7 of 10 issues completed

Description

@dezren39

Epic 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)

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:

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.

Acceptance criteria

  • 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.

Sub-issues

Sub-issues

7 of 10 Issues completed
Loading 10 sub-issues

Activity

  1. added
    meta/follow-up
    on Oct 27, 2026
  2. developing-today commented on Oct 27, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Oct 27, 2026

    @dezren39
    MemberAuthor

    Child issues filed 2026-10-26 (Drew's directive in the SaaS side chat):

    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.

  4. dezren39 commented on Oct 27, 2026

    @dezren39
    MemberAuthor

    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:

  5. dezren39 commented on Oct 27, 2026

    @dezren39
    MemberAuthor

    Stage-2 child epic filed as #1149 (quota plane). Its children 2026-10-26 (priority order; horizons on org Project #4):

    1. 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
    2. feat(quota-plane): browser-token adapter framework — managed credentials, fail-closed dashboard-API clients #1153 P0 — Browser-token adapter framework · Week
    3. audit(quota-plane): name the two token-exception providers definitively #1155 P0 — Exceptions audit: name the two · Week
    4. feat(quota-plane): OpenCode pools consume quota-current — measured placement, rotation, demotion #1157 P1 — OpenCode consumption contract · Week
    5. 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
    6. plan(quota-plane): exception integration — Meta (login, token capture, console API) #1167 P1 — Exception integration: Meta · Month
    7. plan(quota-plane): exception integration — Google/Antigravity (login, token capture, panel API) #1169 P1 — Exception integration: Google/Antigravity · Month
    8. feat(quota-plane): aggregator lazy refresh — pull on page load when data >5 min old #1171 P1 — Aggregator lazy refresh (>5 min) · Week
    9. feat(quota-plane): daily model + route audit — latest models incorporated, route rules cover all needs #1173 P1 — Daily model + route audit · Week
    10. feat(quota-plane): quota-plane status view on /quota — gatherer health + per-provider freshness #1175 P2 — Quota-plane status view · Month
    11. 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.
  6. dezren39 commented on Oct 27, 2026

    @dezren39
    MemberAuthor

    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)

    Month

  7. added
    epic
    kind/feature
    status/needs-triage
    source/human
    priority/normal
    now
    effort/l
    meta/enriched
    on Nov 1, 2026
  8. 88 remaining items

  9. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 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
  10. removed their assignment
    on Nov 20, 2026
  11. dezren39 commented on Nov 21, 2026

    @dezren39
    MemberAuthor

    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

  12. added
    next
    and removed
    now
    on Nov 21, 2026
  13. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    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.

  14. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor

    🤖 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.

  15. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    Contributor
    🤖 **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.

  16. added a commit that references this issue on Nov 27, 2026
  17. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    Census 2026-11-29 (lane CEN-C01) — body + comments re-read, every named child re-checked live. The body's children list is stale (it says "all OPEN at curation"); current roll-up:

    Children — CLOSED: #1049 (Turso collector), #1056 (v3 invoice reconciliation), #1057 (v3 charges auto-matching), #1115 (quota-credential pattern design), #1116 (feed staleness self-monitoring), #1118 (OpenCode Go lapse handling).
    Children — still OPEN: #1055 (master-tracker open checks — blocked on signed-in console routes, see its census note today) and #1111 (Modal + Bitwarden SM collectors).
    Remainder named by the 2026-11-27 acceptance recheck on this epic: #1055, #1111, #1149 → #1173 (upstream resetAt data), #1270 slice 3 (primary-seat scheduling), #2490 (external gates). The epic's other acceptance points check out: v2 collectors landed (PRs #2987, #14751), /quota renders measured-at + source, and the dashboard links the research record (Sources section).

    Blockers: no single blocker — the epic closes when #1055 and #1111 close or are re-scoped by Drew; both are individually blocked/tracked, not stalled silently. Priority: priority/normal confirmed for an epic in this state.

  18. added
    meta/epic
    on Nov 29, 2026
  19. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Gaps found: Acceptance was present in substance under a variant heading (## Acceptance for the epic) but not as the standard ## Acceptance criteria section; the epic lacked the meta/epic marker the house sub-issue standard expects on a parent (it carried the plain epic label instead).

    Strengths: A well-run epic: verified starting state with shipped PR numbers (#967, #973, #975, #977), the cadence ruling recorded with its reasoning, design/research sources linked, and neighbouring work explicitly linked-not-duplicated (Plaid, OCI, Actions efficiency).

    Blocker recorded: One child, #1054, is blocked on a Drew laptop sign-in (named there and in its own census entry); the epic itself has no other unrecorded blocker.

    Actions taken by this census: Labels added: meta/epic. Appended a ## Acceptance criteria section to the body (original text untouched), converting the issue's own acceptance wording into checkable items.

  20. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Census 2026-11-29 (Felix): full re-read (body, labels, all comments, edges) in the CODE-6 recovery pass, concurring with the parallel census note (lane CEN-C01) already on this thread, whose claims I verified against live state in this pass. STRENGTHS: the roll-up is now current — children CLOSED: #1049/#1056/#1057/#1115/#1116/#1118; still OPEN: #1055 (blocked on signed-in reads), #1054 (Drewry sign-in), #1111 (one datum from done), #1173/#1270 under #1149's line. The body's original children list is stale (it says all OPEN at curation) — this comment supersedes it. PRIORITY VALIDATION: priority/normal, single, correct. FIXES I APPLIED: none needed. REMAINS: the open children above; the only Drewry items are #1054's sign-in and #1055's console reads.

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

    app/pm-stackdesign/quota-planeeffort/lepicepic/pm-stackkind/featuremeta/enrichedmeta/epicmeta/follow-upmode/onlinenextpriority/normalsource/humanstatus/triaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions