Repository navigation
docs(agent-identity): set act.iss to the agent trust domain and make agent SPIFFE IDs opaque - #2834
Merged
Merged
Conversation
This was referenced Nov 17, 2026
Base automatically changed from
fix/identitybroker-as1-actor-reasons
to
main
November 17, 2026 17:36
ChrisJBurns
force-pushed
the
docs/agent-identity-act-iss-sub
branch
from
November 17, 2026 17:39
6cd452b to
f04dbd5
Compare
This was referenced Nov 17, 2026
ChrisJBurns
force-pushed
the
docs/agent-identity-act-iss-sub
branch
from
November 17, 2026 22:19
37b3a3a to
b2eb5f6
Compare
jhrozek
approved these changes
Nov 18, 2026
jhrozek
left a comment
Contributor
There was a problem hiding this comment.
Approving. The act.iss / opaque SPIFFE ID change is consistent across the docs, and the audit-store follow-up covers the investigator mapping.
Two nits, neither blocking:
mcp-gateway-modes.md:98(not a changed line, so no inline comment): the AS-1 integration requirement still says the ID-JAG'sact"holds the actor's opaqueag_identifier". It now holds the SPIFFE ID. Maybe: "returns an ID-JAG whose single-levelactholds the actor's opaque SPIFFE ID, withact.issset to the agent trust domain."implementation.md:22: see the inline comment.
ToolHive v0.66.0 refuses its own issuer as an actor validator's act.iss. act.iss becomes the agent trust domain, and act.sub a SPIFFE ID in it that names the instance only by its ag_ identifier. AS-2 accepts the trust domain as an actor issuer from AS-1. Co-authored-by: Mecatl <[email protected]>
An agent instance's SPIFFE ID becomes spiffe://<trust domain>/agent/<ag_>, so act.sub is the SVID's own subject. Definition, incarnation, and creation ancestry stay in the broker's registry, which keys each instance by its incarnation. The name and depth caps stay as registry limits. Co-authored-by: Mecatl <[email protected]>
With opaque agent SPIFFE IDs, investigators trace an agent to its parent through the registration events, which are durable, not the broker's live registry. The registration event names the instance's ag_ identifier and SPIFFE ID so a gateway record joins to it. Co-authored-by: Mecatl <[email protected]>
…#2835) Co-authored-by: Mecatl <[email protected]>
…version The AS-1 integration requirement still said act holds the opaque ag_ identifier; it holds the agent's SPIFFE ID, with act.iss the trust domain. The version-segment note now refers to the ID, not to the definition names, which no longer appear in it. Co-authored-by: Mecatl <[email protected]>
ChrisJBurns
force-pushed
the
docs/agent-identity-act-iss-sub
branch
from
November 18, 2026 14:42
2bdc82c to
38e9010
Compare
This was referenced Nov 18, 2026
2 tasks done
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
act.issof an actor-token validator, so the design'sact.iss= AS-1 can't be configured. Register Mecatl's actor-token validator at hosted AS-1 #2654 registers Mecatl's validator at hosted AS-1 and needs the value settled first. This records what was agreed on fix(identitybroker): map ToolHive v0.66.0 actor reasons from AS-1 #2823.act.issandact.sub(credentials-and-lifecycle.mdstep (7),implementation.md,mcp-authorization.md):act.issis the agent trust domain,spiffe://<trust domain>.act.subis the instance's SPIFFE ID,spiffe://<trust domain>/agent/<ag_ identifier>, so it sits inside the namespaceact.issnames. ToolHive says a later release may refuse an agent ID outside it.agent-definitions.md,implementation.md"SPIFFE identifier construction",audit.md):subis that same opaque SPIFFE ID, soact.subis the SVID's own subject. This is the shape the actor-profile draft gives for a JWT-SVID actor token.V, and SVID examples, the test bullets, and the ToolHive work-list rows match. Theactrow goes from "Partly" to "Yes".Stacked on #2823.
Effect on open tickets
None of these has started; each needs a small edit once this merges.
spiffe://<td>/agent/<ag_>instead of the lineage path, and no longer needs to reserve the source nameshared.ag_identifier, not because of a parent chain in the ID. Keying the registry by incarnation also answers the "reused incarnation under another SPIFFE ID" part of D5: the second registration is refused by check 7.Approval keying (merged in from #2835)
iss(AS-1, the source issuer) plusact.iss(the trust domain). The approval record inmcp-gateway-modes.md, the M2 row, and the external-approval test bullet match.Issue relationship
Relates to #2654
Type of change
Test plan
Baseline checks
task lint): docs onlytask test): docs onlytask test:race): docs onlygo run ./cmd/mecademo): not affectedtask docs:check(strict): 236 documents, 0 broken links or anchors, 0 orphans. Fulltask docsnot run locally (needsbuffor the protobuf reference, unchanged here); CI runs it.task site:build): not applicabletask api:check): not applicabletask api:update+engine/CHANGELOG.md: not applicableUser-facing change
None. Design docs only.