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 — quota: gather meta + opendesign by asking OpenCode by dezren39 · Pull Request #5040 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 3, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

What was wrong

Meta had no live quota path at all.

  • The quota gatherer takes its provider list from the OpenChamber quota module's listing, which filters out providers whose session door is disabled in the opencode config. The deployed config disables the direct meta door (sessions reach the pool through model routes), so the gatherer never asked — even though OpenCode holds the pool's credential and the module's Meta provider reads the plan's own usage endpoint with it (verified live today: 5h 16%, weekly 97%, resets Sun Nov 8 18:00 CT).
  • The fleet-feed collector filtered the meta:high-usage pool at assembly for the same disabled door (fix(usage-hub): disabled providers must not appear in quota — audit + regression test #1114), so the board had no Meta row for the gatherer to land on anyway.
  • The only remaining read was the dev.meta.ai console scrape (meta-quota-export file-export), dark since the console tab closed (last success 2026-11-03 07:45Z, weekly 80.46% then; since then the board has shown a retained/stale picture or nothing).

OpenDesign was measured but never landed. The module read lands every tick (today: 5h spent, 7d ~34%), but the gatherer filed it under serviceId opendesign while the board pool is opendesign:go — the overlay keys by serviceId, so the shell pool stayed "healthy" with zero windows forever.

The fix (Drew's ruling, 2026-11-03: gather all quota by asking OpenCode; meta + opendesign are standard report members)

  • scripts/gather-quota.ts: explicit Meta module ask (runMetaModule) in the ClinePass/Turso out-of-band pattern — exactly one meta run survives; a fresh listed run would win if the door is ever re-enabled. The provider self-times-out per request, so no outer timeout clips its account-token fallback. The Meta file-export producer is retired (FILE_EXPORTS empty; the feat(quota-plane): Meta adapter Phase 1 — laptop-side quota exporter (subscription-quota API, 15-min file export) #1301 convention machinery stays for future producers).
  • src/quota-gather-map.ts: serviceIdFor maps meta -> meta:high-usage and opendesign -> opendesign:go, mirroring the pool ids like every other mapped provider.
  • src/quota-extract.ts: FILTER_EXEMPT_POOL_IDS — meta:high-usage stays on the board despite its disabled direct door, with the ruling cited in the comment; the opendesign shell note now names the gatherer as its live source instead of "uninstrumented".

Tests

Full aggregator suite: 1376 pass / 0 fail (worktree, after bun install). Updated: serviceIdFor expectations; the #1114 enforcement test now encodes the exemption (codex still filtered + noted; meta retained as the ruled member). bunx tsc --noEmit shows one pre-existing error in test/overview.test.ts that reproduces identically on pristine origin/main — unrelated to this change.

Follow-up (separate PR)

Retire the meta-quota-exporter itself (pm-stack/meta-exporter + the HM unit in nixos/home) now that nothing ingests its output; the laptop timer is stopped at deploy time for this PR.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
quota: gather meta + opendesign by asking OpenCode (Drew, 2026-11-03)
c46c7df
Meta: the gatherer never asked the quota module for meta \u2014
listConfiguredQuotaProviders filters providers whose session door
is disabled, and the deployed config disables the direct meta
door (sessions reach the pool through model routes). The board
then had no Meta pool at all: the collector filtered
meta:high-usage at assembly for the same reason. The only Meta
read left was the dev.meta.ai console scrape (file-export), dark
since the console tab closed.

- gather-quota.ts: explicit Meta module ask (runMetaModule),
  ClinePass-style one-run discipline; the Meta file-export
  producer is retired (FILE_EXPORTS empty, convention kept).
- quota-gather-map.ts: serviceIdFor maps meta -> meta:high-usage
  and opendesign -> opendesign:go (mirrors the pool ids).
- quota-extract.ts: FILTER_EXEMPT_POOL_IDS \u2014 meta:high-usage
  stays on the board despite its disabled direct door (ruled
  standard report member, Drew 2026-11-03); opendesign shell note
  now names the gatherer as its live source.

OpenDesign: the module read was already landing every tick under
serviceId "opendesign"; the pool is opendesign:go, so the overlay
never matched and the shell showed healthy with no windows. The
serviceId mapping fixes the landing.

Tests: full aggregator suite 1376 pass. (bunx tsc shows one
pre-existing error in test/overview.test.ts on origin/main,
unrelated.)
@dezren39
dezren39 requested a review from a team as a code owner November 3, 2026 17:29
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-03T17:30:01.126802Z
We couldn’t complete this review. Comment @codex review to try again.
c46c7df PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 38 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dccad059-e81e-4a8b-b7d1-f90479b4a568
Commits

Reviewing files that changed from the base of the PR and between 660b163 and c46c7df.

Files selected for processing: 5
  • pm-stack/aggregator/scripts/gather-quota.ts
  • pm-stack/aggregator/src/quota-extract.ts
  • pm-stack/aggregator/src/quota-gather-map.ts
  • pm-stack/aggregator/test/quota-gather-map.test.ts
  • pm-stack/aggregator/test/quota.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share
  • X
  • Mastodon
  • Reddit
  • LinkedIn

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit 8f3a6cc into main Nov 3, 2026
1 check passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the fix/quota-ask-opencode branch November 3, 2026 17:30
dezren39 added a commit that referenced this pull request Nov 3, 2026
@dezren39
retire the Meta console-scrape exporter (superseded by #5040)
1d09443
The dev.meta.ai console scrape (pm-stack/meta-exporter + the
meta-quota-export home-manager unit) was Meta's Phase-1 quota
source (#1301). PR #5040 replaced it: the quota gatherer now asks
the OpenCode quota module for Meta directly, per Drew's
2026-11-03 ruling that quota is gathered by asking OpenCode.
Nothing ingests the exporter's latest.json anymore, and its
laptop timer is already disabled; this removes the code so the
next fleet switch removes the units.

- delete pm-stack/meta-exporter/ (script, units, installer, tests)
- delete nixos/home/meta-quota-export.nix; drop its import +
  enable from nixos/hosts/default.nix (Cloudflare exporter stays)
- quota-gather-map.ts: entryFromFileExport doc now records the
  retirement; the #1301 mapper stays for future producers.

Deliberately untouched: nixos/home/pm-dashboard-backup.sh still
REQUIRES the exporter's frozen latest.json/history.jsonl in the
backup manifest — relaxing that contract (and its record-test
fixtures) is a separate change, filed as an issue.
@dezren39 dezren39 mentioned this pull request Nov 3, 2026
retire the Meta console-scrape exporter (superseded by #5040) #5044
Merged
@developing-today developing-today Bot mentioned this pull request Nov 3, 2026
backup: pm-dashboard-backup requires files from the retired Meta exporter #5045
Closed
dezren39 added a commit that referenced this pull request Nov 3, 2026
@dezren39
Merge pull request #5044 from developing-today/chore/retire-meta-expo…
a979ed3
…rter

retire the Meta console-scrape exporter (superseded by #5040)
This was referenced Nov 4, 2026
fix(quota-plane): Meta quota read path dead on both routes — hub file-export 'no-console-page' (16 ticks) + live /api/quota/meta null windows (20 probes) #3347
Closed
fix(meta-exporter): detect symlinked CLI entry points (#2350) #4838
Closed
meta-exporter: meta-quota-export still uses the pre-#2083 raw-path entry-point check — invoked via any symlink it silently no-ops with exit 0 #2350
Closed
Quota gatherer: Meta ok-but-null masks last-good read; Command Code needs explicit plan-only ask (routing-disabled) #5704
Closed
feat(quota-plane): adapter — Claude via claude.ai session (usage API) #1163
Closed
fix(quota-plane): Meta percentage read — restore portal-API fetcher (subscription-quota) as the gatherer's source #6079
Closed
@developing-today developing-today Bot mentioned this pull request Nov 9, 2026
meta-exporter: restore the #2789 plain-decimal gate lost in the #6333 re-home (#3005 grammar drift) #7880
Closed
This was referenced Nov 9, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
fix(quota-plane): Meta portal-session lapse surfaces as 'no-data' error instead of a distinct lapsed state #8294
Closed
Retroactive home for PR #5040: quota: gather meta + opendesign by asking OpenCode #9873
Closed
Retroactive home for PR #5044: retire the Meta console-scrape exporter (superseded by #5040) #9874
Closed
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 27, 2026
Declare meta-quota-export service + timer (hand-installed units on amd; from code#2775) dezren39/darwin-nix#1776
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.