Repository navigation
Conversation
The session and weekly picker broke usage ties by the smallest window id, so Claude/GPT won over Gemini whenever both families had used the same share, such as 0% after a reset. Session and weekly chips, pace and reset times then switched to an unused family. Break a usage tie by family so Gemini wins, for both the 3p and third-party bucket ids, and keep the id order for other ties.
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex review: needs real behavior proof before merge. What this changesThis PR makes Gemini win equal-usage ties when selecting Antigravity session and weekly windows. Example: All four quota buckets report 0% used, with Claude/GPT bucket IDs beginning with 3p-.
Review scores
ProductKind: Preference · Worth it: Needs a maintainer decision · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains Keep this PR open: the change is narrow and no correctness defect was found, but preferring Gemini on equal usage needs an owner decision. Reviewed head: Decision needed
Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherAntigravity’s provider descriptor selects cadence windows from parsed quota rows and supplies them to menu bar, pace, dashboard, and icon presentation. flowchart LR
A[Antigravity quota response] --> B[Quota parser]
B --> C[Named quota windows]
C --> D[Provider selection policy]
D --> E[Session and weekly presentation]
D --> F[Icon windows]
Technical reviewBest possible solution: Use the existing provider comparator for an owner-approved tie policy, preserving higher-usage precedence and separate automatic selection. Do we have a high-confidence way to reproduce the issue? Current main selects the lexicographically smaller bucket ID on equal usage, so 3p- buckets beat Gemini and supply their reset timestamps; this is directly traceable through the parser fixture and semantic resolver without executing code. Is this the best way to solve the issue? The existing comparator is the smallest appropriate implementation boundary, but equal usage alone does not establish which family a user wants, so Gemini precedence remains a preference requiring owner approval. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against a26ca57b5186. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 25, 2026, 3:18 AM ET / 08:18 UTC. |
Summary
Antigravity's session and weekly windows go to the family (Gemini or Claude/GPT) that has used the most. When both families had used the same share, such as 0% right after a reset, the tie went to Claude/GPT, because of how the window ids sort. For someone who only uses Gemini, the "Session %", "Weekly %", "Session pace" and "Weekly pace" chips and their reset times then moved to a family they never use.
Now Gemini wins a usage tie. The check uses the family (
AntigravityQuotaFamilyVisibility.knownFamily), so it works for both the3p-andthird-party-bucket ids. The family with the higher usage still wins as before, and the automatic chip picker does not change.Tests
make test-fast FILTER='Antigravity|MenuBar|StatusItem|SessionEquivalent|UsageStore|Dashboard|MenuCard': 3198 tests passedmake check: 0 violationsNo screenshots: the percent shown is the same (0%). Only the window behind it changes, and you can see that in the reset time and pace.
Related: #5174, which adds the Gemini 5-hour and weekly menu bar choices.