[codex] Add Codex reset credit menu#1690
Conversation
|
Codex review: needs changes before merge. Reviewed June 23, 2026, 12:29 AM ET / 04:29 UTC. Summary Reproducibility: yes. Source inspection gives a high-confidence path: build a Codex model with positive codexResetCredits and no primary/secondary windows, then the PR's layout predicates classify the card as header-only and skip reset-credit content. 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:
Mantis proof suggestion Risk before merge
Maintainer options:
Copy recommended automerge instructionNext step before merge
Security Review findings
Review detailsBest possible solution: Restore reset-only display compatibility, keep the scoped OAuth redemption path, and land only after maintainer sign-off on the finite-credit confirmation UX. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection gives a high-confidence path: build a Codex model with positive codexResetCredits and no primary/secondary windows, then the PR's layout predicates classify the card as header-only and skip reset-credit content. Is this the best way to solve the issue? No. The PR should keep codexResetCredits in the same usage-content and stacked-layout predicates that current main uses, with a regression test for reset-only snapshots. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against ef8007fc16ce. Label changesLabel changes:
Label justifications:
Evidence reviewedAcceptance criteria:
What 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
|
d9eb894 to
855ce01
Compare
855ce01 to
53b7507
Compare
53b7507 to
35fbd30
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 35fbd302d4
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
35fbd30 to
bb7a07f
Compare
bb7a07f to
38c6a98
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
38c6a98 to
0d2d839
Compare
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
# Conflicts: # Sources/CodexBar/MenuCardView.swift




Summary
Why
Codex exposes banked manual rate-limit resets locally through the same authenticated account context. CodexBar can surface those credits beside existing Codex usage data instead of requiring a separate watcher app.
Validation
Notes
Draft PR for review only.