You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Agent identifier local part: allow uppercase letters #164
Agent Identity → Agent Identifiers (draft-hardt-oauth-aauth-protocol.md, the paragraph beginning "Agent identifiers are URIs using the aauth scheme").
Problem
The local part MUST consist of lowercase ASCII letters (a-z), digits, -, _, +, .. The same section also says "Implementations MUST perform exact string comparison on agent identifiers (case-sensitive)."
Given exact comparison, the lowercase restriction serves no protocol purpose. There is no normalization step it protects, and local is never used in a case-insensitive context (it is not a DNS label; domain is handled separately). The text gives no rationale.
The restriction does have a cost: it rules out base62 identifiers as the local part. An agent provider that already issues opaque identifiers such as sub_LbuQ29vpFAlAzrRq3mgnFIzF_Cu8 (Hellō directed identifiers, or any nanoid-style id with a checksum) cannot use them directly and has to invent a second identifier or lowercase and lose the checksum.
Proposed change
Change the character set to ASCII letters (A-Za-z), digits (0-9), hyphen (-), underscore (_), plus (+), and period (.).
In the "Invalid agent identifiers" list, change the first example's reason from "uppercase letters and space in local part" to "space in local part".
Keep the exact, case-sensitive comparison requirement as is. Add one sentence making the consequence explicit: aauth:[email protected] and aauth:[email protected] are different agents.
+ remains reserved as the sub-agent delimiter; nothing about sub-agents changes.
Activity
Agent identifier local part: allow uppercase ASCII letters
Accept A-Za-z in agent identifier local part
Accept A-Za-z in agent identifier local part