Repository navigation
Budgets: settlement of a revoked token, and the 429 boundary - #193
Merged
Merged
Conversation
A revoked token is not an early exp. The base protocol's cascade now reports whether the revocation was recorded at the resource, ended revocation_unsupported, or ended revocation_unavailable, which is what makes early settlement decidable: settle at the first reading whose as_of is at or after a recorded revocation; hold the reservation to exp in the other two cases. The Boundaries paragraph no longer claims 429 means only slow_down in this protocol — the base now also uses it for rate_limited at a revocation endpoint. Neither is a budget condition. The budget capability is declared on the person token request too. Issue #151. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RjEmEYJYXE5TLSYRpdkHjS
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.
Three consequences of what landed in the protocol -11 editor's copy today.
Settlement of a revoked auth token (#151). A revoked token is not an early
exp. Revocation stops the spending, but the figure for what was spent still arrives with the next usage reading — so the question is only when the allocation's reservation can be released, and until now the issuer had no way to tell. The cascade work makes it decidable, because a recipient answers once its cascade is terminal and an AS reports each resource's outcome indownstream:as_ofis at or after that moment, rather than at or afterexprevocation_unsupported→ the resource honors the token toexp; the allocation stays reservedrevocation_unavailable→ the issuer cannot tell which it has; hold toexp, revoke again laterAn issuer that settled on every revocation would release headroom a resource with no revocation endpoint is still spending against —
#unreported-allocationsin reverse, with the error mode that section rules out.The 429 boundary.
#exhaustion-boundariessaid429"already means 'increase the polling interval by 5 seconds' in this protocol." No longer true: -11 addsrate_limitedat the revocation endpoint. The paragraph now names both base meanings and says neither is a budget condition, which was its point.Capability declaration. The
budgetcapability goes in thecapabilitiesparameter of the person token request as well as the auth token request, following the protocol's addition of that parameter to the person token endpoint.Closes #151
🤖 Generated with Claude Code
https://claude.ai/code/session_01RjEmEYJYXE5TLSYRpdkHjS