Repository navigation
Show Codex individual spend limits and their reset times - #15722
Merged
Merged
Conversation
Contributor
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryAdds Codex individual spend caps to the agents panel.
No actionable issues were found. The previous review commit is not an ancestor of the current head, so this review covered the full PR diff. No previous review threads were supplied. Checks were limited to reading code; tests and the running panel were not independently verified. Reviews (2) · Last reviewed commit: "Show Codex individual spend limits and t..." · Reviewed by Greptile |
Stegi56
marked this pull request as draft
October 17, 2026 13:09
Stegi56
force-pushed
the
codex-spend-control-limit
branch
6 times, most recently
from
October 17, 2026 13:37
54bc077 to
86583f9
Compare
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stegi56
marked this pull request as ready for review
October 17, 2026 13:42
Contributor
|
Thanks! |
dhh
added a commit
that referenced
this pull request
Oct 20, 2026
Re-apply #15722 to the Codex collector this branch moved onto the shared module. An individual spend cap, as a Business seat reports with or without rate windows, becomes a "Spend limit" meter titled for itself: the share of the cap spent, from the amounts or the reported percentage for a zero cap, and the reset time the app-server names. It is read once from the general bucket, a model's, or the backward-compatible view, untrusted amounts cost only that meter, and a kept cap goes stale and back to zero after its reset like any window. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sogamoso
added a commit
to sogamoso/dotfiles
that referenced
this pull request
Oct 28, 2026
Omarchy now shows the individual spend cap Codex reports on Business seats (omacom/omarchy#15722), which can come with no rate windows at all, so such a seat showed nothing. Plans take the names Codex's own /status uses (prolite is Pro 100, self_serve_business_prolite is Business Premium), and an app-server error is only called a sign-out when it is about auth.
20 of 34 tasks
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Codex can return an
individualLimitspend cap with no primary or secondary rate windows, as observed on a Business account. The collector ignored this snapshot, leaving the agents panel without a limits row.Read the snapshot when present and append a Spend limit row after any existing rate windows. Calculate usage from
used / limit, withremainingPercentas a defensive fallback for a zero cap, and preserve the server's reset timestamp for the existing countdown. The snapshot exposes no recurrence field, so the label assumes no monthly or weekly frequency. Add an English display translation key, following the repository's translation workflow.Verification
quattro, plus intermittent bar-drag/indicator-contract failures. The full aggregate was not rerun for the amendments; focused checks above passed.Screenshots