-
Notifications
You must be signed in to change notification settings - Fork 0
feat: centralize AI monthly budget guard #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
c9fc649
feat: add centralized AI budget guard
Pigbibi 0dedcf8
fix: enforce budget reservations through gateway
Pigbibi a32152e
fix: close reservation lifecycle gaps
Pigbibi 6122b6a
fix: reconcile settled budget usage safely
Pigbibi ab5dd82
fix: share provider reservations across repos
Pigbibi f46acf8
fix: enforce codex reservation headroom
Pigbibi 30afc38
fix: reconcile provider spend and codex failures
Pigbibi f57ff3b
fix: reconcile provider usage deltas
Pigbibi 69eba6c
fix: clean up budget reservations on all exits
Pigbibi 3e6d231
fix: make budget reservations durable and conservative
Pigbibi 4c63c89
fix: persist budget reservations across workers
Pigbibi bb42d6e
fix: scope ledger rows by repo and billing period
Pigbibi f7d3885
fix: attribute review budget to authenticated repo
Pigbibi 8e58416
fix: aggregate provider reservations and gate codex explicitly
Pigbibi bd165a2
fix: reconcile aggregate reservation balances
Pigbibi 2d8090e
fix: expire codex reservations across reset windows
Pigbibi 354845a
fix: fail closed on ledger errors and preserve API primary
Pigbibi 83955a8
fix: fail closed on malformed usage snapshots
Pigbibi c417901
fix: reconcile monthly API quota accounting
Pigbibi de84b53
fix: separate repository and aggregate budget limits
Pigbibi 499656f
fix: close review budget rollover leaks
Pigbibi b024478
fix: close budget period and dispatch lifecycle gaps
Pigbibi 6448fc3
fix: reconcile aggregate settled baselines
Pigbibi 8b6b2c3
fix: share provider reservation scope and preserve errors
Pigbibi 37ac73a
fix: release pre-dispatch job reservations
Pigbibi 06aa96a
fix: release deduped reservations and preserve baselines
Pigbibi 64c426f
fix: preserve safety actions and reconcile batch budgets
Pigbibi cb46de6
fix: fail closed on quota persistence errors
Pigbibi 855798e
fix: settle async post-dispatch failures safely
Pigbibi 954ce97
fix: settle ambiguous provider failures
Pigbibi cbc1cad
fix: release non-billable AI reservations
Pigbibi 5f02c2c
fix: preserve budget reservations across failure states
Pigbibi 60f1629
fix: validate review budget ownership
Pigbibi fc6d78a
fix: reconcile shared scope once per snapshot
Pigbibi 0058005
fix: classify provider dispatch before settlement
Pigbibi fa4473b
fix: cover guarded completion output budgets
Pigbibi f6c2aea
fix: make budget ledger transitions idempotent
Pigbibi 0d539b8
fix: scope usage snapshots and persist failure state
Pigbibi cd2548e
fix: harden budget reset and dispatch accounting
Pigbibi 4429137
fix: settle provider responses and charge verifier execution
Pigbibi 6e80772
fix: persist fail-closed cleanup state
Pigbibi d90f5ad
fix: fail closed without shared budget ledger
Pigbibi 5769baf
fix: close budget guard failure recovery gaps
Pigbibi 083e1a8
fix: account provider usage for repo budgets
Pigbibi 12b24bc
fix: settle expiring jobs and persist quota failures
Pigbibi 6cf3a79
fix: retain expired jobs pending budget cleanup
Pigbibi bba62d0
fix: retain ambiguous budget reservations
Pigbibi 3e1e060
fix: retain ambiguous Codex dispatches
Pigbibi 3aa075a
fix: classify provider dispatch outcomes
Pigbibi 8f9f9da
fix: release known local provider failures
Pigbibi 7dc36df
fix: align budget usage windows
Pigbibi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
This comment was marked as off-topic.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.