Skip to content

docs(agent-identity): record where AS-1 is hosted and align AS-1's checks with #2575 - #2610

Merged
ChrisJBurns merged 2 commits into
mainfrom
docs/agent-identity-as1-hosting
Oct 29, 2026
Merged

ChrisJBurns merged 2 commits into
mainfrom
docs/agent-identity-as1-hosting

Conversation

@ChrisJBurns

Copy link
Copy Markdown
Contributor

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 under internal/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-A42 is bound to the client and the user, not to a session, and AS-1 checks the grant's state and the owner's sub_id (through the broker's actor-token validator) instead of session state and the actor's registration, matching steps (3) and (7) of credentials-and-lifecycle.md.
  • credentials-and-lifecycle.md, failure matrix: session_closed and signed_out for live grants are detected by the broker, not AS-1, matching the error-reasons intro (AS-1 returns only revoked/parent_revoked for grants). The error-reasons table keeps signed_out as "AS-1, broker" because AS-1 returns it at session open for a token issued before a sign out everywhere.
  • credentials-and-lifecycle.md step (3) check 4 and the implementation.md session-open test list: the subject token must have been issued with offline_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.md and two failure-matrix rows still described AS-1 checking session state.

Refs #2490, #2607

API compatibility

Documentation only; no wire change.

…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]>
@ChrisJBurns
ChrisJBurns merged commit 340a7ef into main Oct 29, 2026
32 checks passed
@ChrisJBurns
ChrisJBurns deleted the docs/agent-identity-as1-hosting branch October 29, 2026 20:03
@toolhive-release-app toolhive-release-app Bot mentioned this pull request Nov 18, 2026
2 tasks

This branch was successfully deployed

1 active deployment
Preview — 0ae0993e Deployed Oct 29, 2026 by vercel[bot]
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.

2 participants