Skip to content

Budgets: settlement of a revoked token, and the 429 boundary - #193

Merged
dickhardt merged 1 commit into
mainfrom
budgets-revocation-settlement
Sep 20, 2026
Merged

dickhardt merged 1 commit into
mainfrom
budgets-revocation-settlement

Conversation

@dickhardt

Copy link
Copy Markdown
Owner

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 in downstream:

  • recorded at the resource → nothing more can be spent; settle at the first reading whose as_of is at or after that moment, rather than at or after exp
  • revocation_unsupported → the resource honors the token to exp; the allocation stays reserved
  • revocation_unavailable → the issuer cannot tell which it has; hold to exp, revoke again later

An issuer that settled on every revocation would release headroom a resource with no revocation endpoint is still spending against — #unreported-allocations in reverse, with the error mode that section rules out.

The 429 boundary. #exhaustion-boundaries said 429 "already means 'increase the polling interval by 5 seconds' in this protocol." No longer true: -11 adds rate_limited at the revocation endpoint. The paragraph now names both base meanings and says neither is a budget condition, which was its point.

Capability declaration. The budget capability goes in the capabilities parameter 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

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
@dickhardt
dickhardt merged commit f5c88f1 into main Sep 20, 2026
2 checks passed
@dickhardt
dickhardt deleted the budgets-revocation-settlement branch September 20, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Settlement of a revoked auth token: is revocation an early exp?

1 participant