Repository navigation
docs(agent-identity): settle the per-call request names, retry, and record order - #2779
Merged
Merged
Conversation
…ecord order Name the tool as the gateway routes it and the server as the gateway's backend name, add the method for listings, define the rejected-token retry per issued attempt, close a session whose revoked refresh token has no recorded reason, record the gateway token's jti when it is a JWT, and record each ID-JAG before redeeming it. Decided for #2535. Co-authored-by: Mecatl <[email protected]>
…nd a refused record The design said the broker refuses these without naming the status, and did not say whether a retry's own attempt or a failed retry can be retried again. Co-authored-by: Mecatl <[email protected]>
jhrozek
approved these changes
Nov 14, 2026
Merged
2 tasks
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.
Records the decisions made for #2535 (per-call grant and gateway token) on 2026-11-13, so the design matches what #2535 builds.
toolis the name the gateway routes by, exactly as sent inparams.name(github.pull_request_read, since the embedded vMCP prefixes each backend's tools);serveris the gateway's name for that backend (github). Amethodfield distinguishestools/callfrom list methods, which name no tool or argument hash. No acting-session field.Vper call"): one retry per attempt the broker issued, re-running step (6) with a new attempt ID; a report naming an unknown or already-retried attempt is refused. Re-authorizing without a rejection report is a new authorization.revokedwith no newer token and no recorded reason (Error reasons): the broker treats the token as lost and closes the session withsession_closed.jti(audit, Evidence references): recorded whenVis a JWT, read without verification and never used to authorize. This removes the contradiction with the reconciliation row that joins on the tokenjti.jtiis recorded before it is redeemed; refusals are recorded too but returned even if the record fails. The remaining Open. item is narrowed to persistence ordering across a restart.API compatibility
Assessment: no wire change. Design documentation only;
AuthorizeCallis an in-process Go contract until #2560.