Make Cursor extra usage optional#2338
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 19, 2026, 11:07 AM ET / 15:07 UTC. Summary Reproducibility: yes. at source level: the changed model and provider-menu branches are directly exercised by focused tests with the preference enabled and disabled. No high-confidence freshly built native-menu runtime reproduction was supplied. Review metrics: 2 noteworthy metrics.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review detailsBest possible solution: Confirm that “Show credits & extra usage” is the intended cross-provider preference contract, then add redacted fresh-bundle proof showing Cursor with the setting both enabled and disabled, including the cost-only native menu case. Do we have a high-confidence way to reproduce the issue? Yes at source level: the changed model and provider-menu branches are directly exercised by focused tests with the preference enabled and disabled. No high-confidence freshly built native-menu runtime reproduction was supplied. Is this the best way to solve the issue? Yes, conditionally: reusing the existing preference is the narrowest implementation path, but maintainers must first confirm that its contract should cover credits and extra usage across providers rather than only Cursor. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 76772d7d60a5. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
Summary
Why
Cursor's descriptor advertised Credits even though CodexBar did not fetch a credit balance. At the same time, Cursor's real provider-metered on-demand usage was always visible and could not be controlled by the existing optional-usage setting. This aligns the UI with the data CodexBar actually receives and makes the setting behavior consistent.
Validation
swift test --filter StatusMenuNativeSectionSpacingTestsmake check