GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(usage-hub): v2 collectors — Modal credits (monthly read) + Bitwarden SM counts · Issue #1111 · developing-today/code

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

New issue
Copy link
New issue
Copy link
Todo
Todo
feat(usage-hub): v2 collectors — Modal credits (monthly read) + Bitwarden SM counts#1111
Copy link
Labels
effort/mMedium: expected under 1 day of workepic/saas-serviceEpic: epic/saas-service (fleet reprioritization 2026-11-12)meta/follow-upFollow-up spun out of earlier workmode/onlineFully doable remotely: design, config, code, cloudsource/creatorFiled by the new-issue-creator jobstatus:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state
Milestone
SaaS service

Description

@dezren39
dezren39
opened on Oct 27, 2026
Issue body actions

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

Activity

Next
  1. dezren39
    added
    meta/follow-upFollow-up spun out of earlier work
    on Oct 27, 2026
  2. developing-today commented on Oct 27, 2026

    @developing-today
    developing-todayBot
    on Oct 27, 2026 – with developing.today
    Contributor
    More actions

    CODE-249

  3. github-actions
    assigned
    dezren39
    on Oct 27, 2026
  4. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Oct 29, 2026
  5. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: queue worker (repo-worker-code), lane A shift
    • Session / ID: queue task 2385
    • Found via: queue claim
    • Task: Triage feat(usage-hub): v2 collectors — Modal credits (monthly read) + Bitwarden SM counts #1111 — verify the Modal + Bitwarden SM collector gap on current main and route
    • Expectation: effort s (triage); done = verdict posted with HEAD evidence and a scoped follow-up packet enqueued
    • Links: epic epic(usage-hub): SaaS/cloud services completion — v2 live collectors, daily console reads, v3 reconciliation #1047; overlap chore(usage-hub): close master-tracker open checks (ChatGPT tier, Go exact %, Claude reset, Wispr, Bitwarden, Muse plan) #1055 (Bitwarden tracker item, parked)
  6. dezren39 commented on Oct 29, 2026

    @dezren39
    dezren39
    on Oct 29, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done

    • Agent: queue worker (repo-worker-code), lane A shift
    • Session / ID: queue task 2385 (triage) → follow-up queue task 3000
    • Found via: queue claim
    • Task: Triage verdict for feat(usage-hub): v2 collectors — Modal credits (monthly read) + Bitwarden SM counts #1111
    • Verdict — CONFIRMED at HEAD: both services are shells in the hub, exactly as filed. In pm-stack/aggregator/src/saas-extract.ts: the Modal spec (line ~558) renders only the $30/mo compute-credit limit — its metric note reads "No run hours or credit balance recorded — manual dashboard read (§2.2)" and its shell note says "usage unknown". The Bitwarden Secrets Manager spec (line ~580) has metrics: () => [] and shell note "No count recorded yet; plan/price unknown." And there is no collector wiring at all: quota-gather-map.ts, snapshots.ts, and snapshot-records.ts contain zero matches for Modal or Bitwarden, so no snapshot records flow for either service.
    • Routing: scoped implementation packet enqueued as queue task 3000 (kind small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:1111): Modal monthly console read of credits used (dated + sourced, per the issue's console-reads pattern), Bitwarden bws count-only read (secrets + projects counts; names/values never enter the hub) + SM plan name/price into the tracker, extractor/gather wiring following the sibling-service pattern, with the chore(usage-hub): close master-tracker open checks (ChatGPT tier, Go exact %, Claude reset, Wispr, Bitwarden, Muse plan) #1055 item-4 overlap explicitly coordinated (that issue is parked; whichever lands second closes the overlap as duplicate work done).
    • Expectation: feat(usage-hub): v2 collectors — Modal credits (monthly read) + Bitwarden SM counts #1111 stays open with queue/queued until task 3000 lands both collectors rendering dated, sourced values on /quota.
    • Links: epic epic(usage-hub): SaaS/cloud services completion — v2 live collectors, daily console reads, v3 reconciliation #1047; overlap chore(usage-hub): close master-tracker open checks (ChatGPT tier, Go exact %, Claude reset, Wispr, Bitwarden, Muse plan) #1055; packet packet-task2385-fix1111.json (goal hidden_files)
  7. dezren39
    added
    queue/queuedHas a queued queue task
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    queue/queuedHas a queued queue task
    on Oct 29, 2026
  8. 102 remaining items

  9. dezren39
    removed
    user/escalatedRequires a Drew decision or access
    status/blockedQueue or user escalation state
    queue/blockedQueue or user escalation state
    on Nov 22, 2026
  10. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    Lane U (queue task 3000) picking this up: premise verification first — PR #2987's extractors vs. what the tracker/snapshot flow still needs — then only the genuine remainder. No secret names or values will be read or recorded; Bitwarden work is count-only.

  11. dezren39 commented on Nov 22, 2026

    @dezren39
    dezren39
    on Nov 22, 2026
    MemberAuthor
    More actions

    Lane U close-out (queue task 3000): premise resolved, remainder landed, one routed datum left.

    Premise resolution. The task-2385 triage verdict ("both services are shells, no wiring") was accurate for its HEAD. PR #2987 (merged 2026-10-31, bf3e5eda) then landed the extractor half: modalMetrics + bitwardenMetrics and both service specs in pm-stack/aggregator/src/saas-extract.ts, tests in test/usage.test.ts, and snapshot flow via the generic recordsFromSaasServices path (scripts/append-usage-snapshots.ts, scripts/collect-fleet-feed.ts). So the #12234 sweep's "collectors landed via PR #2987" is correct — what #2987 explicitly left open was the tracker-side dated reads. No code changes were needed from this lane and no duplicate PR was opened.

    What this lane landed (tracker: stewardship quota-view.md):

    • Bitwarden, fresh count-only read 2026-11-22 via bws: 212 secrets, 1 project (prior read 121/1 on 2026-10-31). Recorded in the Bitwarden section and the summary row. Counts only — no secret names or values were read or recorded.
    • Modal, November read recorded: $1.21 credits used, Nov 1–30 cycle, from the two concurring 2026-11-16 console reads already on this thread (identical values, two independent lanes); the tracker still carried only the October read. Section, summary row and Last-checked updated.

    Verification (laptop, main's own code against the updated tracker): extractSaasServices → modal measuredAt 2026-11-16, compute-credits used 1.21 / limit 30 USD; bitwarden measuredAt 2026-11-22, secrets-count 212, projects-count 1. recordsFromSaasServices emits all three snapshot records. bun test test/usage.test.ts test/quota-gather-map.test.ts test/gather-quota.test.ts → 147 pass / 0 fail.

    Remaining — one datum, already routed: the Bitwarden Secrets Manager plan name/price. bws has no billing surface; per the 2026-11-22 decision record on this issue it is a fleet read via the signed-in laptop browser route, shared with #1055 item 4 (close whichever lands second) — not a Drew ask. This issue stays open on that datum alone; both services now render dated, sourced values on /quota and snapshot records flow, per the acceptance.

  12. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Second-pass verdict (openchamber lane oc-code-03, queue task 21734, 2026-11-24)

    Fresh state: #1111 OPEN, work/assigned, effort/m. The 2026-11-22 lane U close-out above records the extractor half landed (PR #2987), with one routed datum left. That remainder already carries its own route. No new packet is routed from this pass.

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

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · picked up

    • Agent: Felix lane (worker felix)
    • Task: Land the next slice of feat(usage-hub): v2 collectors — Modal credits (monthly read) + Bitwarden SM counts #1111 — verify the v2 collector state on current main and implement whichever collector (Modal monthly credits read / Bitwarden SM count-only) is still missing end to end, with fixture/mock tests, verified remotely.
    • Expectation: PR against main with Refs #1111, left unmerged for Felix's review; progress note here on landing.
  14. developing-today
    added
    status:in-review
    on Nov 25, 2026
  15. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · progress — Bitwarden collector landed, PR open

    • Agent: Felix lane (worker felix)
    • Landed: the Bitwarden Secrets Manager collector — the repeatable tool behind the count-only reads. PR: feat(usage-hub): Bitwarden SM count-only collector (#1111) #14751 (branch felix/1111-usage-hub-v2 @ e92b539), left unmerged for review.
      • src/bitwarden-counts.ts: counts bws secret list / bws project list by array length only — names/keys/values are never parsed, logged, or stored — and records the dated read into the tracker's Bitwarden section in the phrasing the merged bitwardenMetrics extractor parses, so it flows to /quota and the snapshot records.
      • scripts/collect-bitwarden-counts.ts: strict-argv operator CLI (Design: unknown means stop — one strict argument contract for the repo's operator scripts #3352 contract), --print dry-run prints the derived snapshot records; the bws token stays in the caller env, by name only.
      • test/bitwarden-counts.test.ts: 9 fixture/mock tests incl. the full round trip (read → extraction → snapshot records) and a sentinel no-leak test. No live credential calls.
    • Verification: fleet-command run 45526491835, bun test test/bitwarden-counts.test.ts test/usage.test.ts — Execute step completed success; the run then sat in the known Post Execute hang, so the full log excerpt follows here when it settles. (The direct fleet queue dispatch route returned a 403 from the fleet-forks integration, so the fleet-command workflow route was used.)
    • Which collector remains: the Modal monthly console read — by the issue's own design it is a manual dashboard read (no verified API meter), and its extractor half already landed in PR feat(usage-hub): modal used-credits + bitwarden bws count extractors (#1111) #2987; the dated Nov read ($1.21 / $30, 2026-11-16) is on record. Also still outstanding per the thread: the Bitwarden SM plan name/price tracker datum (the chore(usage-hub): close master-tracker open checks (ChatGPT tier, Go exact %, Claude reset, Wispr, Bitwarden, Muse plan) #1055 item-4 overlap, routed as a fleet read) — the collector does not touch plan/billing, as bws has no billing surface.
  16. developing-today-fleet commented on Nov 25, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 25, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 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.
  17. developing-today-fleet
    added a commit that references this issue on Nov 25, 2026

    Merge pull request #14751 from developing-today/felix/1111-usage-hub-v2

    cb500ee
  18. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

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

  19. developing-today commented on Nov 27, 2026

    @developing-today
    developing-todayBot
    on Nov 27, 2026 – with developing.today
    Contributor
    More actions

    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.

  20. developing-today commented on Nov 27, 2026

    @developing-today
    developing-todayBot
    on Nov 27, 2026 – with developing.today
    Contributor
    More actions

    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.

  21. dezren39 commented on Nov 27, 2026

    @dezren39
    dezren39
    on Nov 27, 2026
    MemberAuthor
    More actions

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

    • Collector implementation is complete and merged — verified this run via gh:
      • PR feat(usage-hub): modal used-credits + bitwarden bws count extractors (#1111) #2987 MERGED 2026-10-31, merge commit bf3e5ed — Modal used-credits + Bitwarden bws count extractors.
      • PR feat(usage-hub): Bitwarden SM count-only collector (#1111) #14751 MERGED 2026-11-25, merge commit cb500ee — repeatable Bitwarden SM count-only collector.
    • This concurs with the 2026-11-26 triage refresh (task 24964): dated Modal and Bitwarden readings, /quota extraction, and snapshot-record verification are already recorded in this thread. No collector implementation packet is needed.
    • Sole remainder: the Bitwarden Secrets Manager plan name/price datum for the tracker, shared with chore(usage-hub): close master-tracker open checks (ChatGPT tier, Go exact %, Claude reset, Wispr, Bitwarden, Muse plan) #1055 item 4 (chore(usage-hub): close master-tracker open checks (ChatGPT tier, Go exact %, Claude reset, Wispr, Bitwarden, Muse plan) #1055 verified OPEN this run). Per the 2026-11-22 decision recorded on this issue, that datum is a fleet read sourced through the fleet's own signed-in route to the laptop browser — it is not a Drew ask, and no plan detail is inferred here.
    • This lane (sandbox subagent, no live-browser access) cannot perform that signed-in console read, so it does not claim the datum.

    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.

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 workepic/saas-serviceEpic: epic/saas-service (fleet reprioritization 2026-11-12)meta/follow-upFollow-up spun out of earlier workmode/onlineFully doable remotely: design, config, code, cloudsource/creatorFiled by the new-issue-creator jobstatus:in-reviewtask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      • SaaS serviceNo due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.