Skip to content

feat(usage-hub): v2 collectors — Modal credits (monthly read) + Bitwarden SM counts #1111

Todo

Description

@dezren39

Part of epic #1047. Design: hub-v2-v3-design-2026-10-26.md §2 (in the usage-billing-hub goal files). These are the two §2.2 services from the original hub design that got no issue in the first filing pass.

  1. Modal — Starter plan, $30/mo compute credits (Drew confirmed 2026-10-22), % used UNKNOWN. No verified API meter: add Modal to the console-reads pattern at MONTHLY grain (dashboard read of credits used) until a meter route verifies; card shows measured-at + source.
  2. Bitwarden Secrets Manager — plan UNKNOWN in the tracker. bws CLI count-only read (secrets + projects count; names/values never enter the hub), weekly cadence. Also record the actual SM plan name/price into the tracker (overlaps chore(usage-hub): close master-tracker open checks (ChatGPT tier, Go exact %, Claude reset, Wispr, Bitwarden, Muse plan) #1055 item 4 — coordinate, close whichever lands second as duplicate work done).
    Acceptance: both services render dated, sourced values on /quota; snapshot records flow.

Epic tracking: Refs #8989 (SaaS service epic).

Acceptance criteria

  • Both services render dated, sourced values on /quota.
  • Snapshot records flow.

Activity

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

    @developing-today
    Contributor
  3. added
    work/assigned
    queue/claimed
    status/in-progress
    on Oct 29, 2026
  4. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  5. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done

  6. added
    queue/queued
    work/assigned
    queue/claimed
    and removed
    status/in-progress
    queue/claimed
    work/assigned
    queue/queued
    on Oct 29, 2026
  7. 111 remaining items

  8. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · verification log (follow-up to the progress note above)

    • Agent: Felix lane (worker felix)
    • fleet-command run 45526491835 has now completed; the full log confirms the named tests ran:
      • All 9 new bitwarden count-only collector tests (pass) by name — length-only counting; malformed/non-array output fails closed echoing nothing; runner drives secret list + project list; failing runner = collector error; singular/plural phrasing; impossible date rejected; apply-read → extract → snapshot round trip; sentinel no-leak; fail-closed tracker update.
      • Totals across both files (test/bitwarden-counts.test.ts + test/usage.test.ts): 73 pass / 0 fail — Ran 73 tests across 2 files.
    • PR feat(usage-hub): Bitwarden SM count-only collector (#1111) #14751 stands unmerged for review with this verification behind it.
  9. added a commit that references this issue on Nov 25, 2026
  10. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    Contributor

    🤖 Triage refresh — task 24964 (oc-code-03), 2026-11-26

    The v2 collectors are delivered: PR #2987 (Modal used-credit + Bitwarden count extraction) and PR #14751 (repeatable count-only Bitwarden collector) are both MERGED; #14751 merged 2026-11-25. Existing evidence records dated Modal and Bitwarden readings, /quota extraction, and snapshot-record verification. No collector implementation packet is needed.

    Keep #1111 open only for the Bitwarden Secrets Manager plan name/price datum shared with #1055 item 4. bws has no billing surface; the existing #1055 hands item requires a dated billing-page read from an approved signed-in browser route. Task 3000 was cancelled with that exact resume condition. Do not infer the plan or duplicate the access task. Once sourced, update the tracker and resolve the overlapping check in #1055; otherwise this issue remains a tracker, not a blocked code change.

  11. developing-today commented on Nov 27, 2026

    @developing-today
    Contributor

    Related to #8989 (SaaS service epic): this remains the only open item listed by that epic, via its documented external-parent exception. The collector implementation is merged; the outstanding Bitwarden Secrets Manager plan name/price remains shared with #1055. No plan detail is inferred.

  12. developing-today commented on Nov 27, 2026

    @developing-today
    Contributor

    Refs #8989 — SaaS service epic: this remains the only open item listed by that epic, via its documented external-parent exception. Collector implementation is merged; the outstanding Bitwarden Secrets Manager plan name/price remains shared with #1055. No plan detail is inferred.

  13. dezren39 commented on Nov 27, 2026

    @dezren39
    MemberAuthor

    agent-note:v1

    • task: 25470
    • lane: 1837-C
    • state: parked (implementation landed; one browser-route datum remains)

    Fresh verification 2026-11-26 (lane 1837-C, queue task 25470):

    Disposition: parking queue task 25470. Ready condition (not a person): the Bitwarden SM plan name/price is read via the fleet signed-in laptop-browser route and recorded on this issue and on #1055 — then this issue can close, as both collectors and their dated readings are already landed.

  14. added
    priority/normal
    on Nov 29, 2026
  15. dezren39 commented on Nov 29, 2026

    @dezren39
    MemberAuthor

    Census 2026-11-29 (lane CEN-C01) — body + all comments re-read.

    Implementation is LANDED — this issue is one datum from done. Verified 2026-11-26 (task 25470): PR #2987 (Modal used-credits + Bitwarden bws count extractors, merged 2026-10-31) and PR #14751 (repeatable Bitwarden SM count-only collector, merged 2026-11-25); dated Modal and Bitwarden readings, /quota extraction, and snapshot-record flow are recorded in this thread. Sole remainder: the Bitwarden Secrets Manager plan name/price for the tracker — shared with #1055 item 4 (close whichever lands second as duplicate work done, per the body). Per the 2026-11-22 decision recorded here, that datum is a fleet read through the fleet's own signed-in route to the laptop browser — it is not a Drew ask; it needs a lane with live-browser access, which is why sandbox lanes keep parking it. Blocker: that signed-in read route, nothing else.

    • Priority: `priority/normal` confirmed.
  16. 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: implementation is LANDED — PR #2987 (Modal + Bitwarden extractors, merged 2026-10-31) and PR #14751 (repeatable Bitwarden SM count collector, merged 2026-11-25), with dated readings recorded in-thread. PRIORITY VALIDATION: priority/normal, single, correct. FIXES I APPLIED: none needed. REMAINS: one datum only — the Bitwarden Secrets Manager plan name (a console read); everything else is done. No Drewry decision needed.

  17. added
    kind/feature
    app/pm-stack
    on Nov 29, 2026
  18. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Gaps found: No kind/* and no app/*/area/* label; acceptance was an inline Acceptance: line, not a checkable section.

    Strengths: Both collectors are specified with their access reality (Modal: no verified API meter, so a monthly console-read pattern; Bitwarden SM: count-only bws read, names/values never enter the hub), and the overlap with #1055 item 4 is named with a coordination rule.

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

  19. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 P0.7 close-ready audit — Felix lane 0640-PC (P0–P3 plan, Refs #17071): NOT CLOSED. implementation landed (PR #2987 Modal+Bitwarden extractors, PR #14751 Bitwarden SM collector) but NOT closed: sole remainder is the Bitwarden Secrets Manager plan name/price datum for the tracker (shared with #1055 item 4), which needs a signed-in live-browser read route — no verified landed evidence for that datum yet.

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-stackeffort/mepic/saas-servicekind/featuremeta/follow-upmode/onlinepriority/normalsource/creatorstatus/in-reviewtask/triagework/assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions