Rate admission: enforce time-based quotas shared across client/provider aliases #75
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/llm-log#75
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Priority and relationship
User's September 12 instruction makes rate limiting the highest-priority next slice. Extend #70 / PR #74 rather than adding another scheduler. #74 currently limits concurrent requests only; fast completions can still produce an arbitrarily high request rate.
Bounded next slice
Compatibility profile requirement
User explicitly wants Agent Zero to present an OpenCode client identity upstream. Keep this requirement in #71: a trusted, pinned outbound wire profile separate from original client provenance and separate from rate-limit group ownership. Do not claim a changed User-Agent proves complete harness equivalence. The rate-control slice takes precedence; no automatic profile/credential rotation on 429.
Validation
Add regression tests before implementation. Cover burst exhaustion despite available active slots, refill boundaries, no refund after release/error, shared alias quotas, isolated providers, FIFO/deadline cleanup, and HTTP 429 headers/no upstream work. Require real Common Lisp/Nix execution before merge; static/source checks are not runtime evidence.