GeezerVison is showing github.com — fix(aggregator): register the Mistral pool in quota attribution by dezren39 · Pull Request #7981 · developing-today/code
Conversation
dezren39
commented
Nov 9, 2026
•
edited by coderabbitai
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Register the measured mistral provider (api $15/$15 and vibe $150/$150, both 100% until 2026-12-01) as a SHELL_POOL so it has a stable identity and fail-soft shell instead of relying only on overlayQuotaCurrent unmapped-pool synthesis. Also fixes the pool-order test, which had been missing opencode-go.developing-today-0 since #7835. Evidence: quota-current.json tick 2026-11-09T05:30:18Z (mistral state ok, measuredAt 2026-11-09T05:30:21.978Z). Quota tests: 142 pass, 1 pre-existing hook-timeout failure. Opened by the Plans Space freshness keeper.
![Autofix with [code]smith](/api/image?u=https%3A%2F%2Fcamo.githubusercontent.com%2F33b6f70f3541c4e93f4503d29cbfec051fa1b040d8e0ae9313a51c4ece44a627%2F68747470733a2f2f70722d636f6d6d656e74732d6173736574732e626c61636b736d6974682e73682f636f6465736d6974682f6175746f6669782d776974682d636f6465736d6974682d6461726b2d33782e706e67)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by CodeRabbit
- New Features
- Added Mistral AI to the available quota pools. The pool does not include predefined dated quota windows; live windows appear when quota information is available. This provides visibility into Mistral AI quota alongside the other supported services, with current quota details reflected as they become available.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The quota gatherer measures providerId "mistral" (credential
"Mistral (drewrypope)") with windows api ($15.00 / $15.00) and vibe
($150.00 / $150.00), both at 100% until 2026-12-01, but neither
POOL_SPECS nor SHELL_POOLS carried an entry. The pool existed only
through overlayQuotaCurrent's unmapped-pool synthesis, so it had no
stable identity, plan label or fail-soft shell if its read lapses —
the same class of gap that hid opencode-go.developing-today-0 (#7835).
Add mistral to SHELL_POOLS (identity only, no dated-read extractor,
matching opendesign/deepseek) and extend the pass-through pool-order
test, which also still lacked opencode-go.developing-today-0.
Evidence: quota-current.json tick 2026-11-09T05:30:18Z, mistral entry
state ok, measuredAt 2026-11-09T05:30:21.978Z.
Quota tests: 142 pass, 1 pre-existing hook-timeout failure.
Codex Review Summary: ❌ Failed
This comment shows the latest Codex review activity on this pull request.
| Review |
Status |
Commit |
Review trigger |
| 📝 Code Review |
❌ Failed 2026-11-09T06:00:03.298177Z We couldn’t complete this review. Comment @codex review to try again. |
5ff5435 |
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
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.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 9, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Walkthrough
-
The shell pool list now includes a healthy Mistral AI pool with no dated windows and a note about its live quota overlay. The quota test expects Mistral in the pool order and describes dated reads as the live read’s fail-soft fallback.
Changes: Mistral quota pool
| Layer / File(s) |
Summary |
Register Mistral shell pool pm-stack/aggregator/src/quota-extract.ts, pm-stack/aggregator/test/quota.test.ts |
Adds a healthy Mistral AI pool with no dated windows and a note about its live quota overlay. Updates the test comment and expected pool order. |
Estimated code review effort: 1 (Trivial) | ~3 minutes
Change: Bug fix
Merge Risk: Minimal · up to 865f2
-
This change registers Mistral as a quota pool with a stable identity and updates the pool-order test. No concrete merge-blocking risk was identified.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Description Check |
 |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
 |
The title names the main change: registering the Mistral pool in quota attribution. The raw summary says SHELL_POOLS now includes a Mistral pool, and the test expectation adds mistral. The title is sp… |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Full details: Title check
-
Explanation
The title names the main change: registering the Mistral pool in quota attribution. The raw summary says SHELL_POOLS now includes a Mistral pool, and the test expectation adds mistral. The title is specific and matches the changeset. The conventional-commit prefix 'fix(aggregator)' fits the aggregator change. Length is 63 characters, which is acceptable.
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
- 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
-
Recent review info
-
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:
f857294a-458d-4fb2-9e09-21a9bda221ce
Commits
-
Reviewing files that changed from the base of the PR and between 27942e1 and 865f2ce.
Files selected for processing: 2
-
pm-stack/aggregator/src/quota-extract.ts
pm-stack/aggregator/test/quota.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Warning Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
No open issues 🎉
What changed in this PR
Registers Mistral as a stable SHELL_POOL in quota attribution so it can be overlaid by live quota readings (fail-soft behavior) rather than relying on unmapped-pool synthesis, and updates the pool-order test accordingly.
Changes:
- Add a
mistral entry to SHELL_POOLS for stable pool identity.
- Update quota pool ordering test expectations to include
mistral.
- Update an explanatory comment in the quota test to reflect the new “every pool renders” framing.
| File |
Description |
| pm-stack/aggregator/test/quota.test.ts |
Updates pool-order assertion and adjusts test commentary to include the new mistral pool. |
| pm-stack/aggregator/src/quota-extract.ts |
Registers mistral as a shell pool so live windows can be overlaid onto a stable identity. |
Review effort: Lite
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Plans Space keeper evidence, 2026-11-12T03:25Z: the current laptop quota record is fresh (generatedAt 2026-11-12T03:21:41.229Z; SHA-256 e1ea8360875a90ab745b0ca429c81d272b4611ffd18ae207fd2bf3825d30046e). It measures providerId mistral (state ok, measuredAt 2026-11-12T03:21:46.308Z): api 100%, resetsAt 2026-12-01T00:00:00.000Z; vibe 100%, resetsAt 2026-12-01T00:00:00.000Z. On the checked attribution registry (pm-stack/aggregator/src/quota-extract.ts in POOL_SPECS/SHELL_POOLS), Mistral still has no registry entry; this matches the open repair in this PR. The other measured IDs, including opencode-go.developing-today-0, are registered. Please keep this evidence attached to the repair episode; no claim that the Muse page has rebuilt.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Plans Space freshness keeper evidence (2026-11-12T04:23Z): current /home/user/.local/state/pm-aggregator/quota-current.json has generatedAt=2026-11-12T04:15:24.060Z; Mistral is measured state=ok, measuredAt=2026-11-12T04:15:37.646Z, with api=100% and vibe=100%, both resetting at 2026-12-01T00:00:00.000Z. mistral is still absent from POOL_SPECS / SHELL_POOLS in pm-stack/aggregator/src/quota-extract.ts; it remains the sole missing registration in the checked attribution set. This PR is the active registry repair episode; checks currently show cancellations (1 passed, 8 cancelled) and no required-pending checks. The three Go accounts, including opencode-go.developing-today-0, are registered.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Refresh during the same keeper run: the quota record has since advanced to generatedAt=2026-11-12T04:24:03.411Z. Mistral remains state=ok, measured at 2026-11-12T04:24:10.241Z: api=100% and vibe=100%, both reset 2026-12-01T00:00:00.000Z. It is still the sole unregistered measured provider in quota-extract.ts (POOL_SPECS / SHELL_POOLS). This current packet is saved in /home/user/.local/state/plans-space-keeper/state.json; PR #7981 remains the open registry repair episode.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Plans Space freshness keeper evidence, 2026-11-12T23:45Z: the laptop quota record was fresh (generatedAt 2026-11-12T23:45:06.055Z; SHA-256 c987d4dc2657ee0871b461ea00892b1c4a6cce47497aeaa6ce01cb14aee1547c). It measures providerId mistral (state ok, measuredAt 2026-11-12T23:45:18.466Z): api 100%, resetsAt 2026-12-01T00:00:00.000Z; vibe 100%, resetsAt 2026-12-01T00:00:00.000Z. This is the sole measured provider missing registry attribution in the checked origin/main sources: pm-stack/aggregator/src/quota-extract.ts POOL_SPECS/SHELL_POOLS; opencode-go.developing-today-0 remains registered. PR #7981 contains the Mistral SHELL_POOLS entry and is the active repair. I restarted its cancelled CI run (attempt 2; currently queued). No Muse Space rebuild is claimed.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Plans Space freshness keeper evidence, 2026-11-13T07:24Z: laptop quota-current.json is fresh (generatedAt=2026-11-13T07:15:04.796Z; SHA-256=50d6246b1e3cd3a78317eea5cb84307780578d14df946492bc3ca66847620c5d). It measures providerId mistral, state ok, measuredAt 2026-11-13T07:15:16.568Z: api 100% resetsAt 2026-12-01T00:00:00.000Z; vibe 100% resetsAt 2026-12-01T00:00:00.000Z. mistral is still absent from POOL_SPECS / SHELL_POOLS in pm-stack/aggregator/src/quota-extract.ts; it is the sole measured provider lacking registry attribution. opencode-go.developing-today-0 remains present and registered (measuredAt 2026-11-13T07:15:23.799Z; weekly 100% resetsAt 2026-11-16T00:00:00.000Z; monthly 54% resetsAt 2026-12-08T22:09:41.000Z). This PR remains the active registry-repair episode; GitHub currently reports mergeable=true / mergeable_state=unstable, with failing checks. Full current per-provider packet is saved in /home/user/.local/state/plans-space-keeper/state.json. No Muse Space rebuild is claimed.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Packet refresh (2026-11-13T07:26Z): quota-current.json advanced during this keeper run; the packet saved in /home/user/.local/state/plans-space-keeper/state.json is the fresher tick generatedAt=2026-11-13T07:24:12.941Z, SHA-256 4a22b5f508d5ce22eaccfab1f2101d6c6bd0973eba4de5a36c0235f5bc7da1b9 (19 entries, 16 distinct providerIds). mistral: state ok, measuredAt 2026-11-13T07:24:18.260Z, api 100% (resetsAt 2026-12-01T00:00:00.000Z), vibe 100% (resetsAt 2026-12-01T00:00:00.000Z); still absent from POOL_SPECS / SHELL_POOLS, the sole missing registration. opencode-go.developing-today-0: state ok, measuredAt 2026-11-13T07:24:19.971Z, 5h 0% (resetsAt 2026-11-13T12:24:19.931Z), weekly 100% (2026-11-16T00:00:00.000Z), monthly 54% (2026-12-08T22:09:41.000Z); registered. PR #7981 remains the active registry repair; no Muse Space rebuild is claimed.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Freshness keeper packet (2026-11-13T12:23Z): quota-current.json generatedAt=2026-11-13T12:20:58.716Z, age 2.5 min, sha256 af613fb127cd26db3629515881a0ef7bc8de4fd5c8b0a308a574a3168b235c14, 19 records / 16 providerIds. Against origin/main@8e2cc10da1c4, the only measured provider without a registration is mistral (absent from quota-extract.ts POOL_SPECS/SHELL_POOLS and quota-gather-map.ts). opencode-go.developing-today-0 is registered. This PR (head 90a596b) is still the active repair; its checks are still failing.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…nted
Matches the extractionHealth convention main now carries for every shell
pool (opendesign, deepseek), so the pass-through assembly test and the
intentional-uninstrumented assertion stay green with mistral registered.
Uh oh!
There was an error while loading. Please reload this page.
|
Plans Space freshness keeper — repair landed (2026-11-13T15:34Z).
Merged this PR (merge commit bb6ce2e, 2026-11-13T15:33:43Z) after refreshing the branch against origin/main and adding the extractionHealth field main now carries for every shell pool. The prior red checks (mcpx test) were not a merge gate under .github/ci-policy.md (owner ruling 2026-11-13; PR CI disabled) — focused local aggregator tests passed instead: quota.test.ts 33 pass, provider-display + section-risk 55 pass, phase3-boundaries + charges-catalog + contract-collector 29 pass, 0 fail.
Result: origin/main@bb6ce2e0a8 registers mistral in pm-stack/aggregator/src/quota-extract.ts SHELL_POOLS, so every measured provider in the laptop quota record is now attributed — including mistral and opencode-go.developing-today-0.
Keeping-check evidence (this run): quota-current.json generatedAt=2026-11-13T15:30:10.321Z, age 4.5 min, sha256 b1848dc4b33408da0f0ac391fa3561d1b51ba3af39499a59aeead1e3f46a545e, 19 records / 16 measured providers; complete set PASSES; continuation streak 1. Refresh packet in /home/user/.local/state/plans-space-keeper/state.json.
Escalation for the Muse side: the registry fix is on origin/main but the rendered AI Plans & Usage Space must be rebuilt to show the now-registered mistral pool; that rebuild is not verifiable (or doable) from the laptop. This is the only remaining piece.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.
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.
|