Repository navigation
Budgets: an omitted PS ceiling grants nothing in four-party access (#122) - #141
Merged
Merged
Conversation
) Omission previously meant the resource's full offer, so a PS that had not implemented the extension was indistinguishable from one granting the maximum. A PS granting the full offer now echoes it. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01YUUF1ERs9yzVmC67NsRa8n
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.
Closes #122.
The PS-to-AS
budgetparameter is OPTIONAL, and the text said that when the resource token carried a budget and the PS omitted the parameter, the AS MUST treat the resource's budget as the PS's ceiling. That made two cases identical on the wire: a budget-aware PS deliberately granting the full offer, and a PS that has not implemented this extension and forwarded an ordinary token request. The second silently became the maximum grant, the reverse of the family's ignore-what-you-don't-recognize posture.Now: when the resource token carries
budgetand the PS omits the parameter, the AS MUST NOT issue abudgetclaim, and omission MUST NOT be read as a grant. A PS granting the full offer echoes the resource token'sbudget. The auth token then carries no allocation, and the existing rule in Auth Token Extensions applies: the resource treats it as carrying no budget authorization and applies its own default. No new error; a PS that cannot size an allocation surfaces at the resource, where the existing exhaustion path already handles a token without one.One sentence changed, one history bullet added. Builds clean. #127 (Regent implementation status) deliberately not included.
🤖 Generated with Claude Code
https://claude.ai/code/session_01YUUF1ERs9yzVmC67NsRa8n