Identity descriptors: align with RFC 9493, add SPIFFE, and say how verification and Guardian identity reach the wire

Open
#540 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #625 by @drk-ram — closed without merging

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Active
Tech stack
json, typescript

Research direction

Start with docs/concepts/identity.md, docs/topics/core_concepts.md, docs/identity/standards.md, and specification §11, then compare the cited wire schemas: session-start.json, request-envelope.json, and handshake.json. The issue asks for coordinated decisions across RFC 9493 identifiers, verification signaling, and Guardian identity on the wire; review the related issues #458 and #388. Done means all four items are resolved consistently in the docs and specification, with any partial PR using Refs #540.

Written by the indexing model from the issue text.

Description

priority:P2 scope:deferred status:accepted type:proposal workstream:identity

Yaron Sheffer (@yaronf) reviewed the ACS docs and specification at release 0.1.4 and wrote up his notes in yaronf/ACS-Notes. This issue groups his notes on the identity descriptor and what the wire carries about identity. Each item is one of his notes, re-checked against integration at db457a8, and the line numbers are at that commit.

  • The identity type examples omit workload identity: docs/concepts/identity.md line 9, docs/topics/core_concepts.md line 26, and specification §11 line 391 list posix_uid, windows_sid, oauth_subject, and cert_subject only. docs/identity/standards.md line 195 already proposes WIMSE identifiers with SPIFFE as a conformant implementation. Add a SPIFFE type to the illustrative set with a forward pointer to WIMSE, so the core identity text matches the workstream.
  • The oauth_subject example in docs/concepts/identity.md line 11 carries a bare sub with no issuer, so it does not identify a principal uniquely. RFC 9493 already defines typed subject identifiers with a format discriminator (iss_sub, email, uri, did, opaque, and others) and an IANA registry, used by the OpenID Shared Signals Framework, CAEP, and RISC. Align ACS descriptors with that registry, using iss_sub for OAuth and OIDC principals and uri for SPIFFE and WIMSE, instead of growing a parallel type list. Today the type discriminator exists only in prose, since user_identity in session-start.json lines 9 to 16 and user_context in request-envelope.json lines 88 to 94 have no type field. Issue #458 (executing service identity as a descriptor) would inherit whatever format this settles.
  • docs/concepts/identity.md line 27 and docs/topics/core_concepts.md line 28 say an asserted identity is weaker than one bound by a verified credential, which implies ACS can tell the two apart. The wire has no field for proof of possession, DPoP, an mTLS binding, or an SVID presentation, and handshake.json has no authentication field at all. Specify how a Guardian learns that a descriptor was verified, or soften the sentence so it does not read as a Core feature. Issue #388 (the handshake has no authentication-mechanism field) covers the declaration only.
  • docs/concepts/identity.md line 16 defines Guardian identity as "which policy authority is deciding," and docs/concepts/agents.md line 13 calls the Guardian "the policy authority," which reads as if the Guardian were the policy. docs/spec/conformance.md line 84 keeps the Guardian and the policy author apart. Say that Guardian identity names the deciding party as its own principal, distinct from the policy document and its author, and state what carries it on the wire in v0.1. Nothing does today: ServerHello and the response envelope have no Guardian identifier.

A PR that fixes only some of these items should say Refs with this issue number rather than Closes, so the issue stays open until the last item lands.

Dominant language
TypeScript
Stars
183
Forks
56
Avg merge
3d 1h
Merged PRs (30d)
67

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenAI-Security-Project/agent-control-standard

All issues in GenAI-Security-Project/agent-control-standard

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.