Repository navigation
docs(agent-identity): record where AS-1 is hosted and align AS-1's checks with #2575 - #2610
Merged
Merged
Conversation
…ecks with #2575 Record that AS-1's ToolHive adapter lives under internal/identitybroker/adapter/ with its own depguard rule, and that AS-1's issuer comes from configuration. Align mcp-gateway-modes.md and the failure matrix with AS-1 not knowing Mecatl's sessions, and require offline_access on the session-open subject token. Co-authored-by: Mecatl <[email protected]>
jhrozek
approved these changes
Oct 29, 2026
Merged
2 tasks
This branch was successfully deployed
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.
Summary
implementation.md, Modulith constraints: AS-1's issuer comes from configuration and AS-1 is served under the issuer URL's path, so a dedicated hostname or a path on mecak8s's host is a deployment choice; the final-issuer rule is unchanged.implementation.md, Modulith constraints: new "One tree" constraint. AS-1's ToolHive adapter lives underinternal/identitybroker/adapter/with its own depguard rule allowing ToolHive's authorization-server packages; the other broker adapters keep the standard library, broker core, and JWT library rule.mcp-gateway-modes.md:RT-A42is bound to the client and the user, not to a session, and AS-1 checks the grant's state and the owner'ssub_id(through the broker's actor-token validator) instead of session state and the actor's registration, matching steps (3) and (7) ofcredentials-and-lifecycle.md.credentials-and-lifecycle.md, failure matrix:session_closedandsigned_outfor live grants are detected by the broker, not AS-1, matching the error-reasons intro (AS-1 returns onlyrevoked/parent_revokedfor grants). The error-reasons table keepssigned_outas "AS-1, broker" because AS-1 returns it at session open for a token issued before a sign out everywhere.credentials-and-lifecycle.mdstep (3) check 4 and theimplementation.mdsession-open test list: the subject token must have been issued withoffline_access, which ToolHive's exchange handler requires and the TUI requests.Why
#2490 decided that AS-1's ToolHive adapter stays inside the identity broker's tree, so the broker can still move into its own service as one tree, under its own depguard rule, and that AS-1's issuer comes from configuration. The design did not record either.
After #2575, AS-1 does not know Mecatl's sessions;
mcp-gateway-modes.mdand two failure-matrix rows still described AS-1 checking session state.Refs #2490, #2607
API compatibility
Documentation only; no wire change.