| Internet-Draft | alter URI Scheme | November 2026 |
| Morrison | Expires 29 May 2027 | [Page] |
- Workgroup:
- Network Working Group
- Internet-Draft:
- draft-morrison-alter-uri-scheme-07
- Published:
- Intended Status:
- Informational
- Expires:
The 'alter' URI Scheme for Dispatchable ~handle References
Abstract
This document defines the alter URI scheme as a dispatchable
reference syntax for ~handle identity references published in
the DNS records defined in the companion specification for
discovering Model Context Protocol servers through DNS TXT records.
An alter: URI binds a
textual ~handle reference to a resolution and verification
procedure that retrieves the handle's envelope from a publishing
zone, validates the envelope's signature chain, and dispatches the
result to an operating-system URI handler. The reference may be
scoped to an organisation, narrowed to a named facet of the
identity, and addressed to a typed action surface. The scheme is
the addressing form of
the ~handle@org:facet/action reference; its resolution semantics
are those of that companion specification, reused without
modification.¶
The scheme is provider-neutral and introduces no new cryptographic
primitive. A handler given an alter: URI verifies the handle's
envelope before acting on it, and where the URI addresses an action,
verification precedes any side effect. IANA provisionally
registered the alter scheme under Section 4 of RFC 7595 on
5 October 2026.¶
Status of This Memo
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 29 May 2027.¶
Copyright Notice
Copyright (c) 2026 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
1. Introduction
The ~handle identity primitive defined in [MCPDNS] binds a textual
identifier of the Sovereign or Bot tier ([IDCOMMITS] Section 3) to a
cryptographic principal published in an _alter.<domain> DNS TXT
record. An Instrument-tier handle, such as ~ai-example-model,
names an instrument whose acts are attributed to the Sovereign that
operates it, and has no envelope of its own ([MCPDNS] Section 2). A
handle reference written in running text, such as ~alice or
~example.com, is interpretable to a human reader, and a machine
cannot dispatch it as it stands.¶
This document defines the alter URI scheme as the dispatchable
form of a handle reference. An alter: URI binds a ~handle to
the resolution procedure of [MCPDNS] and to a URI handler registered
with the host operating system. It carries three optional
addressing components, an organisational scope, a facet, and an
action-path. A handler that receives alter:~alice retrieves and
verifies the envelope, then decides what to do with it (open an
inbox, show a profile card, initiate an Accord ceremony per
[IDACCORD], dispatch to a per-surface MCP tool).¶
For example, alter:~acme@acme.example:security/verify names the verify
action under the security facet of ~acme at acme.example, in
one string. Every component beyond the handle is OPTIONAL; a bare
alter:~alice remains valid.¶
This document specifies the addressing syntax, the dispatch and verification obligations of a handler, and the operating-system registration entries a handler installs. What a given facet or action means, and how a resolver computes its answer, are owned by the specification that defines that surface. This document also carries the registration template submitted to IANA under [RFC7595] Section 7.2; the DNS record format is specified in [MCPDNS].¶
1.1. Requirements Language
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
2. Terminology
~handle-
A textual identity reference defined in [MCPDNS] and tiered in [IDCOMMITS]. Handles begin with the tilde character U+007E. A pronoun of [IDPRONOUNS], such as
~org, is a handle-shaped shorthand that a client replaces with a concrete handle before sending, and is not itself a~handle.¶ - Envelope
-
The signed identity record retrieved from the
_alter.<domain>DNS TXT record of the publishing zone, as specified in [MCPDNS] Section 7.¶ - Organisational scope
-
An optional DNS-named organisation qualifying a handle, written after an
@separator, e.g.~acme@acme.example. The scope names an organisation's zone. Because a handle carries no zone of its own, a reference with no scope names no zone (Section 3.4).org-scopeselects the publishing zone consulted in the resolution procedure of Section 3.4; it carries no claim about which context, tenancy, or organisational capacity the presenting principal is presently acting under. A resolver, facet, or action-path definition MUST NOT infer the principal's acting context from the presence, absence, or value oforg-scope. Where a reference needs to carry acting context, it does so via acontextartefact reference (see Context Artefact Type below) or via a facet or action-path defined for that purpose by the surface that owns it, never viaorg-scope.¶ - Facet
-
An optional named aspect of an identity, written after a
:separator, e.g.:security. A facet narrows a reference to one addressable face of the identity. What a facet denotes, and how a resolver answers it, are defined by the surface specification that owns the facet.¶ - Action-path
-
An optional typed surface addressed under a handle (and facet, if present), expressed as the path component of the URI, e.g.
verify,decisions/123,billing/invoices. An action-path names an operation or resource surface; its semantics are owned by the specification that defines it.¶ - Artefact type
-
A lowercase-alphabetic label identifying a member of a typed artefact genus, carried as the first path segment of an artefact-ref-form URI, e.g.
contextinalter:context/9f2a-freelance-b. An artefact type names a member of a genus whose extent is owned by the specification defining that genus; this document defines only the shape of the reference.¶ - Artefact reference
-
An opaque reference to one member of the genus named by an artefact type, carried as the second path segment of an artefact-ref-form URI, e.g.
9f2a-freelance-binalter:context/9f2a-freelance-b. What an artefact reference denotes, and how a resolver dereferences it, are defined by the surface specification that owns the artefact type.¶ - Handler
-
An operating-system component registered to receive
alter:URIs and dispatch to a resolver. Examples include xdg-mime associations [XDG-MIME] on Linux, LaunchServices URL handlers [LSHANDLERS] on macOS and iOS, registry entries under HKCR on Windows, and intent filters on Android.¶
3. Scheme Definition
3.1. Scheme Name
alter¶
3.2. Status
Provisional. IANA provisionally registered the alter scheme
under [RFC7595] Section 4 on 5 October 2026.¶
3.3. URI Scheme Syntax
The alter URI scheme's generic syntax conforms to [RFC3986]. The
scheme carries two disjoint reference forms under one scheme name.
The grammar uses the ABNF of [RFC5234]. ALPHA, DIGIT and HEXDIG are
its core rules, and unreserved, pct-encoded, sub-delims,
pchar, query and fragment repeat the productions of [RFC3986].¶
alter-URI = "alter:" ( handle-ref-form
/ artefact-ref-form )
handle-ref-form = handle-ref [ "@" org-scope ]
[ ":" facet ] [ "/" action-path ]
[ "?" query ] [ "#" fragment ]
artefact-ref-form = artefact-type [ "/" artefact-ref ]
[ "?" query ] [ "#" fragment ]
handle-ref = "~" handle-name
handle-name = sovereign-name / bot-name / instrument-name
; the three alternatives are disjoint
sovereign-name
= sovereign-first [ name-tail ]
; Sovereign tier, with no "ai-" prefix and no ".bot" suffix
bot-name = ALPHA *( ALPHA / DIGIT / "-" / "." ) ".bot"
; Bot tier, any name ending in ".bot"
instrument-name
= "ai-" *name-char [ name-tail ]
; Instrument tier, an "ai-" prefix and no ".bot" suffix
sovereign-first
= not-a *name-char
/ "a" [ not-i *name-char ]
/ "ai" [ ( ALPHA / DIGIT ) *name-char ]
; a first label that does not begin with "ai-"
name-tail = *( "." *name-char ) "." last-label
; one or more further labels, the last not "bot"
last-label = 0*2name-char / 4*name-char
/ not-b 2name-char / "b" not-o name-char / "bo" not-t
; any label except "bot"
name-char = ALPHA / DIGIT / "-"
not-a = %x42-5A / %x62-7A
not-b = DIGIT / "-" / %x41 / %x43-5A / %x61 / %x63-7A
not-i = DIGIT / "-" / %x41-48 / %x4A-5A / %x61-68 / %x6A-7A
not-o = DIGIT / "-" / %x41-4E / %x50-5A / %x61-6E / %x70-7A
not-t = DIGIT / "-" / %x41-53 / %x55-5A / %x61-73 / %x75-7A
; each a name-char other than the letter named,
; in either case
artefact-type
= 1*LOWER
; the artefact genus member name; lowercase only
artefact-ref = ref-segment *( "/" ref-segment )
; opaque within the genus named by artefact-type
ref-segment = 1*( unreserved / pct-encoded )
; "~" is unreserved in RFC 3986 (its section 2.3), and
; any other octet is available via pct-encoded.
; A ref-segment MUST NOT be "." or "..". It
; cannot be empty, and "//" and a trailing "/"
; are therefore malformed. See Ref-Segment
; Traversal under Security Considerations.
org-scope = domain-label *( "." domain-label )
; the organisational zone qualifying the handle
domain-label = ALPHA / ( ALPHA *( ALPHA / DIGIT / "-" )
( ALPHA / DIGIT ) )
facet = facet-label *( "." facet-label )
; a named aspect of the identity surface
facet-label = ALPHA *( ALPHA / DIGIT / "-" )
action-path = action-segment *( "/" action-segment )
action-segment
= 1*( unreserved / pct-encoded / sub-delims
/ ":" / "@" )
query = *( pchar / "/" / "?" )
fragment = *( pchar / "/" / "?" )
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
pct-encoded = "%" HEXDIG HEXDIG
sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
/ "*" / "+" / "," / ";" / "="
LOWER = %x61-7A
; a-z
¶
The two alternatives of alter-URI are unambiguous because they are
discriminated by the single octet immediately following the scheme
separator alter:. U+007E TILDE (~) introduces a
handle-ref-form reference; a lowercase ALPHA introduces an
artefact-ref-form reference; no other leading octet is valid, and
a URI beginning with any other octet MUST be rejected. The
artefact-type is restricted to 1*LOWER because the tilde
character is reserved as the handle prefix under this scheme and
MUST NOT begin an artefact-type. A parser that inspects only this
first octet can determine which grammar governs the remainder of the
URI without backtracking.¶
The handle-name ABNF carries the three tiers of [IDCOMMITS]
Section 3 using the lexical markers of [MCPDNS] Section 2, a
trailing .bot for the Bot tier and a leading ai- for the
Instrument tier, without restating tier-level invariants. An
alter: URI carries a single handle and the parser determines the
tier from the lexical form. The three productions are disjoint, and
every string one of them matches is matched by no other. A name
ending in .bot is Bot-tier whatever it begins with, and
~ai-example.bot is a Bot-tier handle. A name beginning with ai-
and not ending in .bot is Instrument-tier. Every other name is
Sovereign-tier. Both markers are matched without regard to case,
as ABNF quoted strings are. Together the three productions match
exactly the names that ALPHA *( ALPHA / DIGIT / "-" / "." )
matches. No name moves in or out of handle-name, and each
name has one tier.¶
The four identity-bearing components of handle-ref-form are parsed
left to right and each is bounded by its introducing delimiter. The
handle follows the scheme separator, an @ introduces the
organisational scope, the first : after the handle (or scope)
introduces the facet, and the first / introduces the action-path.
A : appearing after the first / is a literal action-segment
character, because the facet, if present, is fully consumed before
any /. An @ appearing after the first / is also a literal
action-segment character and never introduces
an org-scope, since an org-scope can only follow handle-ref
directly. Every component after handle-ref
is OPTIONAL and any combination MAY be omitted.¶
The host-component slot of a generic URI is not used. All
identity-bearing material is carried in the path-like productions
immediately after the scheme separator; the @ in org-scope is a
component delimiter within that material and MUST NOT be read as the
userinfo @ of an [RFC3986] authority.¶
This document admits one member to the artefact-type genus,
context (Section 3.8). Any other member is admitted by the
specification that defines what it addresses (Section 3.9). The
genus is a set of reference shapes and governs no storage or
transport format.¶
3.4. Scheme Semantics
Operations on an alter: URI in handle-ref-form are
retrieval-and-verify by default. Submitting an alter: URI in
handle-ref-form to a handler MUST perform the resolution and
verification procedure specified in [MCPDNS] Section 12.3 before any
content, directive, or action derived from the resulting envelope is
acted upon. Specifically, the handler MUST:¶
-
Parse the URI per the ABNF above, isolating the handle, and any organisational scope, facet, and action-path.¶
-
Take the publishing zone from
org-scope. Whereorg-scopeis absent, the reference names no zone, and the handler proceeds only if it holds an association between the handle and a zone established out of band; otherwise the reference is unresolvable. A zone is never derived from the spelling of the handle (Section 6.9).¶ -
Retrieve and DNSSEC-validate [RFC4033] the
_alter.<zone>TXT record, as [MCPDNS] Section 12.3 specifies.¶ -
Select the record whose handle matches, and verify the envelope signature against the published Ed25519 key, per [MCPDNS] Section 12.3. An envelope that procedure does not treat as verified is unverified.¶
-
If a facet or action-path is present, forward it verbatim, with the verified handle, as the specification that defines that facet or action surface directs. The envelope names no resolver. The fields of [MCPDNS] Section 7 carry no endpoint, and the procedure of [MCPDNS] Section 12.3 recognises the handle without reading a facet or action-path.¶
Envelope retrieval in Step 3 is a DNS query. [MCPDNS] defines no
other surface from which an envelope is retrieved, and neither does
this document; where the _alter.<zone> TXT record is absent, the
reference is unresolvable.¶
A zone publishes envelopes for at most one ~handle at
_alter.<zone>, and a per-individual envelope there is advised
against ([MCPDNS] Section 7.1). The procedure above therefore
resolves the one handle a zone publishes there, the organisation's
own handle or a Bot-tier handle. How a reference that scopes a
person's handle to an organisation is resolved is outside this
document.¶
An Instrument-tier handle names an instrument whose acts are
attributed to the Sovereign that operates it. It has no standing
as an independent handle and no envelope of its own ([MCPDNS]
Section 2; [MCPDNS] Section 7.3.2). A handler MUST NOT treat a
handle-ref-form reference whose handle is Instrument-tier as
naming an independent principal. It MUST NOT accept a record
published for that handle as the instrument's envelope, and MUST NOT dispatch a facet or action-path under it on the instrument's
authority. Authority for anything done with an instrument is the
operating Sovereign's, verified under the Sovereign's own handle.¶
The facet and action-path are addressing information only. What a facet denotes, how a resolver answers an action and what a dereference yields belong to the surface specification that defines the facet or action. A conforming handler treats the facet and action-path as opaque, verified-then-forwarded tokens.¶
Where an action-path names an operation with a side effect, the
verification of Step 4 is a precondition to that side effect.
Handlers MUST NOT perform, initiate, or authorise any action
addressed by an alter: URI until the envelope has been retrieved
and verified. Handlers SHOULD treat any verification failure as a
hard error and SHOULD NOT fall back to unverified retrieval or to
executing the addressed action.¶
An alter: URI in artefact-ref-form addresses a typed artefact
and names no ~handle. The resolution procedure of Steps 1-5 above is
defined entirely in terms of DNS zone resolution for a handle and
does not apply to it. This document does not define how an
artefact-type is resolved to a genus, how an artefact-ref is
dereferenced to content, or what a handler does upon receiving one.
The specification that defines the artefact genus named by
artefact-type owns those semantics, as a surface specification
owns facet and action-path semantics. A conforming
handler that receives an artefact-ref-form URI and has no such
specification registered MUST treat it as unresolvable and MUST NOT
attempt handle resolution against it.¶
3.5. Encoding Considerations
alter URIs are ASCII per [RFC3986]; characters outside the
unreserved set MUST be percent-encoded. The IRI form per [RFC3987]
is supported for action-paths that contain non-ASCII characters;
the handle-ref, org-scope, and facet productions MUST be ASCII,
as the DNS labels of [MCPDNS] are. The tilde
character U+007E is reserved as the handle prefix and is treated as
a literal, not as an unreserved-character escape.¶
3.6. Applications and Protocols That Use This Scheme
No software outside the author's own company runs the resolution
procedure of Section 3.4 today. Every implementation that handles
the scheme at this revision belongs to Alter Meridian Pty Ltd, and
none of them performs Steps 3 and 4 of that procedure on an alter:
URI. Section 9 records each one. They are:¶
-
A command-line client by the present author accepts
alter:URIs supplied to it as input. It does not register as an operating-system handler for the scheme and does not run the resolution procedure of Section 3.4.¶ -
The author's own service parses both reference forms with one shared grammar and refuses a string that the grammar and its table of forms do not hold. For a
handle-ref-formURI it then looks the handle up in the service's own database of handles. That lookup retrieves no_alter.<zone>record, validates no DNSSEC chain and verifies no envelope signature, and is therefore outside the procedure of Section 3.4.¶ -
The same service queries the
_alter.<domain>TXT record when a company claims a handle on its domain. That is a DNS retrieval of the record that Step 3 names. It runs when a handle is claimed, and dereferencing analter:URI does not trigger it.¶ -
The service's agent-facing tools parse an
artefact-ref-formURI and resolve nothing.¶
Any agent runtime, client, or operating-system component that
resolves ~handle references can register a handler for the
scheme. The author knows of no such handler outside Alter Meridian
Pty Ltd at this revision. Section 10 states the resolution path and
what a deployment outside the author's company would look like.¶
3.7. Interoperability Considerations
Each target platform has its own URI handler registry:¶
-
macOS:
CFBundleURLSchemesentries in an application'sInfo.plist[LSHANDLERS].¶ -
Windows:
HKEY_CLASSES_ROOT\alterwithURL Protocolandshell\open\commandsubkeys.¶ -
Android:
<intent-filter>with<data android:scheme="alter">.¶ -
iOS:
CFBundleURLSchemesentries in an application'sInfo.plist[LSHANDLERS].¶
Where multiple applications register a handler for alter:, the
operating system's default-application policy applies. No special
arbitration mechanism is defined by this document.¶
Browsers MAY treat alter: URIs as opaque external schemes and
delegate dispatch to the operating-system handler. Clients SHOULD NOT attempt direct retrieval of alter: URIs over HTTP; the
resolution procedure of [MCPDNS] Section 12.3 retrieves the envelope
by a DNS query and defines no HTTP retrieval of it.¶
The alter scheme does not displace any existing scheme and does
not contradict the path-handling rules of [RFC3986]. It coexists
with https:, mailto:, and other schemes that an operating
system may dispatch on the same surface.¶
3.8. Context Artefact Type
context is a member of the artefact-type genus (Section 3.3),
naming the reference shape for a context artefact. A context
artefact is an object the presenting principal holds, distinct from
an organisational scope or a facet. This document
specifies the reference shape only; it assigns no meaning to what a
context artefact carries, in the same way it assigns no meaning to
an artefact reference generally.¶
context-ref-form = "context" "/" context-ref
[ "?" query ] [ "#" fragment ]
context-ref = personal-context / opaque-context-ref
personal-context = "personal"
; RESERVED. Denotes the presenting
; principal's own organisation-free
; default context, as a positive,
; present value rather than the
; absence of one.
opaque-context-ref = 1*( ALPHA / DIGIT / "." / "_" / "-" )
; opaque within the context genus,
; using a character class that itself
; excludes "~". MUST NOT carry
; the handle or the organisational
; domain of its holder; a reference
; that carries either is
; non-conforming.
¶
context-ref-form is artefact-ref-form with artefact-type =
"context"; it introduces no third alternative to alter-URI and
no change to the discriminator rule of Section 3.3. Worked forms:
alter:context/personal, alter:context/9f2a-freelance-b. The
RESERVED personal literal is the one exception to full opacity
within this genus. Because it is identical across every principal,
resolving it never
distinguishes one principal's personal context from another's, and
it reveals only that a personal-context resolution was attempted.¶
A context artefact reference is an address authored by its holder,
naming which context artefact is meant. Determining which context
is presently acting for a given session or request is out of scope,
as the resolution meaning of a facet or an action-path is; see
Context Reference Confusion in Section 6.¶
3.9. Artefact Type Genus Membership
Beyond context (Section 3.8), this document admits no member to
the artefact-type genus and establishes no registry of
artefact-type names. A specification that defines a kind of
artefact MAY admit a member by naming its artefact-type, stating
what an artefact-ref under it denotes and how one is dereferenced,
and stating any sub-grammar it imposes on artefact-ref, following
the pattern of Section 3.8. A member that needs no sub-grammar
conforms to artefact-ref-form as specified, with artefact-ref
opaque within the member.¶
artefact-ref is a sequence of ref-segments so that a member can
place a scoping name ahead of the reference it scopes, for example
alter:example/scope-a/item-7, without folding the two into one
segment that only the emitter could read.¶
3.10. Security Considerations
See Section 6 below.¶
4. Operating-System Handler Registration
These subsections are non-normative. Each sketches the registration entries that a conforming handler installs on one platform. Implementations are responsible for the platform-specific syntax; this document does not prescribe handler binaries or invocation shapes.¶
4.1. Linux desktops
A .desktop file with MimeType=x-scheme-handler/alter; and an
Exec= line invoking the platform resolver.¶
4.2. macOS
A CFBundleURLTypes entry with CFBundleURLSchemes=("alter") and
a CFBundleURLName of Identity Handle Reference in the
application's Info.plist.¶
4.4. Android
An <intent-filter> declaring
<data android:scheme="alter"/> on an Activity capable of
performing the resolution procedure of [MCPDNS] Section 12.3.¶
4.5. iOS
A CFBundleURLTypes entry with CFBundleURLSchemes=("alter") in
the application's Info.plist [LSHANDLERS]. Associated domains and
universal links serve https: URLs and do not register a custom
scheme. An application that only opens alter: URIs, and handles
none, lists alter under LSApplicationQueriesSchemes if it needs
to test whether a handler is installed.¶
5. Addressing Examples
The following non-normative examples illustrate the addressing syntax.¶
alter:~alice alter:~example.com/decisions/123 alter:~bob/inbox alter:~acme@acme.example alter:~acme@acme.example:security alter:~acme@acme.example:security/verify alter:~example.com:billing/invoices¶
The first form addresses an envelope; the second and third address
action surfaces under an envelope; the fourth scopes the
organisation's own handle to its zone; the fifth adds a facet; the
sixth adds a typed action under that facet; the seventh addresses a
facet-scoped surface. The fourth to sixth resolve through the one
envelope published at _alter.acme.example ([MCPDNS] Section 7.1).
The first three, and the seventh, carry no org-scope. A handler
resolves them only through a zone association held out of band
(Section 3.4). No example addresses an Instrument-tier handle, for
the reason given in Section 3.4.¶
6. Security Considerations
6.1. Verification Mandate
The verification mandate of [MCPDNS] Section 12.3 is the security
floor of this scheme. Handlers that accept an alter: URI without
verifying the envelope's signature against the DNSSEC-validated
publishing record violate the scheme's invariants. An attacker
who induces a handler to perform unverified retrieval can
substitute an envelope. Implementations MUST treat envelope
verification as a precondition to any side effect (writing files,
sending requests, dispatching a sub-handler, or performing an
addressed action).¶
6.2. Action-Address Confusion
Because an alter: URI MAY address a typed action, a handler that
acts on the action-path before verifying the envelope exposes a
confused-deputy surface. An attacker-supplied URI could name a
privileged action under a handle the attacker does not control.
The Step-4 verification MUST complete, binding the resolved envelope
to the addressed handle, before any action-path is dispatched. A
handler MUST NOT infer authority from the URI's textual form alone.¶
6.3. Context Reference Confusion
A context artefact reference (Section 3.8) is a claim for a
handler to verify and confers no authority by itself. A handler that treats the mere presence
of a context artefact reference in an inbound request as
sufficient to act under that context, without a separate admission
step re-deriving the verdict against the principal's actual
holdings, reproduces on the context axis the confused-deputy
surface described in Action-Address Confusion above.¶
A context artefact is held privately and reveals nothing about any
other context the same principal holds. The resolution procedure for a
context artefact reference MUST NOT expose, to any party other
than the presenting principal's own bound credential, the
existence, name, or count of any other context the same principal
holds. An unresolvable context-ref and a context-ref the
resolver declines to answer MUST be indistinguishable; a resolver
that distinguishes them creates an existence oracle over the
principal's context set.¶
This document specifies no resolution path for a context artefact
reference other than resolution by its holder, using the holder's
own bound credential. It neither describes nor forbids resolution
by any other party.¶
6.4. Handler Substitution
The operating-system's default-application policy is the
trust-anchor for which binary handles alter: URIs. Users
configuring the default handler MUST treat handler selection with
the same caution they apply to default browsers or default mail
clients. A malicious handler could parse an alter: URI, present
a forged envelope to the user, and act on attacker-supplied data
without performing verification. This document defines no manifest
against which a handler binary could be checked.¶
6.5. Path-Component Privacy
An organisational scope, facet, or action-path included in an
alter: URI is part of the URI's textual form and may be logged by
the operating-system handler registry, browser history, terminal
scrollback, and chat-client indexers. Surface owners that consider
a facet or action identifier (e.g. a decision identifier, a thread
identifier) sensitive SHOULD provide indirected forms (opaque
tokens, ephemeral identifiers) and SHOULD NOT recommend embedding
sensitive identifiers in the URI.¶
6.6. Ref-Segment Traversal
An artefact-ref is a sequence of named segments and has no
filesystem meaning. A ref-segment MUST NOT be . or .., and MUST NOT be
empty. An artefact-ref of ../secret, one of /etc/passwd
(whose first segment is empty), and an artefact-ref-form URI
ending in / are therefore all malformed and MUST be rejected.
Implementations MUST reject them on the textual form, before any
resolution is attempted, and MUST NOT
normalise a navigation segment away and resolve what remains. A
resolver that receives an already-normalised reference cannot tell
that a traversal was ever requested. The percent-encoded spellings
of these segments are covered by the same rule, because
pct-encoded decoding happens before a segment is compared.¶
6.7. Cross-Scheme Confusion
A URI in which the scheme separator alter: is followed by //,
the introducer of an [RFC3986] authority component, is malformed and
MUST be rejected. Implementations MUST NOT silently coerce such a
URI to the same URI without the double slash; divergent parsers
risk confusing a third-party authority component with a handle
reference. The @ of an org-scope MUST NOT be parsed as an [RFC3986] userinfo delimiter; there is no
authority component in an alter: URI.¶
6.8. Form Confusion
The two forms defined in Section 3.3 share one scheme prefix and
are discriminated solely by the octet following the scheme
separator. A parser that accepts a leading tilde character inside
an artefact-type production, or that treats an artefact-ref-form
URI as containing a handle-ref when no tilde is present, breaks
the partition between the two forms and creates a parser-divergence
surface. Two conforming implementations could disagree about which
form a given URI carries, and an attacker could craft a URI that one
implementation resolves as a handle reference and another resolves
as an artefact reference. Implementations MUST reject any URI in
which the octet following alter: is neither U+007E TILDE nor a
lowercase ALPHA. Implementations MUST NOT attempt
handle-ref-form parsing on a URI beginning with a lowercase ALPHA,
and MUST NOT attempt artefact-ref-form parsing on a URI beginning
with U+007E. A handler that dispatches based on a partial or
best-effort match of either form, rather than a full match against
the discriminator rule of Section 3.3, is non-conforming.¶
6.9. Handle-Domain Confusion
handle-name admits U+002E FULL STOP, because the tier productions
it mirrors from [MCPDNS] use a trailing .bot label to carry the
bot tier lexically. A handle-name may therefore be spelled so
that it resembles a DNS domain name. alter:~example.com is a
well-formed handle reference naming a principal whose handle is
example.com, and nothing in this scheme connects it to the
example.com zone.¶
Implementations MUST NOT derive DNS meaning from the lexical form of
a handle-name, MUST NOT resolve a handle through DNS on the basis
of its spelling, and MUST NOT treat a handle ending in a public
suffix as evidence of any relationship to the corresponding domain.
An association between a domain and a handle is established out of
band and is never inferred from the handle's characters. A surface
that renders a handle to a person MUST retain the leading tilde,
because a handle stripped of its tilde and placed where a reader
expects a domain cannot be distinguished from one. Only a trailing
.bot label carries meaning under [IDCOMMITS]; no other label
within a handle-name carries any.¶
6.10. IRI Considerations
When an alter: URI is presented in IRI form per [RFC3987] with
non-ASCII characters in the action-path, implementations MUST
apply the conversion procedure of [RFC3987] Section 3.1 before
performing the resolution procedure. Non-ASCII characters in the
handle-ref, org-scope, or facet MUST be rejected; those
productions are restricted to the ASCII forms above.¶
7. IANA Considerations
Provisional registration of the alter URI scheme in the Uniform
Resource Identifier (URI) Schemes registry was requested of IANA on
30 September 2026, under [RFC7595] Section 4 and the procedure of
[RFC7595] Section 7.2, and IANA registered the scheme as Provisional
on 5 October 2026, citing revision 03 of this document. [MCPDNS]
Section 11 and [MCPDNS] Section 16.2 cross-reference the
registration. The template submitted is:¶
-
URI scheme name:
alter¶ -
Status: Provisional¶
-
URI scheme syntax: As specified in Section 3.3 above.¶
-
URI scheme semantics: As specified in Section 3.4 above.¶
-
Encoding considerations: As specified in Section 3.5 above.¶
-
Applications/protocols that use this URI scheme name: As specified in Section 3.6 above.¶
-
Interoperability considerations: As specified in Section 3.7 above.¶
-
Security considerations: As specified in Section 6 above.¶
-
Contact: Blake Morrison blake@truealter.com, Alter Meridian Pty Ltd.¶
-
Author/Change controller: Blake Morrison, Alter Meridian Pty Ltd. Change control transfers to the IETF if this scheme is later specified by an IETF Stream document.¶
9. Implementation Status
[RFC EDITOR: remove this section, and the reference to RFC 7942, before publication as an RFC.]¶
This section records the status of known implementations of the scheme defined by this specification at the time of posting of this Internet-Draft, and follows the shape of [RFC7942]. Listing an implementation here does not imply endorsement by anyone. No effort has been spent to verify the information beyond the author's own reading of the code. Other implementations may exist.¶
All three implementations below are written and run by Alter Meridian
Pty Ltd, and none of them runs the resolution procedure of
Section 3.4 on an alter: URI.¶
- Command-line client:
-
Organisation: Alter Meridian Pty Ltd. Description: accepts
alter:URIs supplied to it as input. Maturity: the author's own tool. Coverage: input acceptance only. It does not register as an operating-system handler and does not run Section 3.4. Licensing: Apache-2.0, published on npm as@truealter/cli. Contact: blake@truealter.com. Last updated: 2026-11.¶ - Address parser and handle lookup in the author's service:
-
Organisation: Alter Meridian Pty Ltd. Description: one shared parser for both reference forms, with a table of the forms the service accepts, and a lookup that resolves a
handle-ref-formhandle to the service's own bound record. Maturity: part of the service's code. Coverage: Section 3.3 syntax and the reject rules of Section 6; of Section 3.4 only Step 1. The lookup reads the service's own database in place of the_alter.<zone>record. Version compatibility: written against revision 03 of this document; the grammar is unchanged through this revision. Interoperability: a conformance check over the author's own sources tests emitted URIs against the same grammar. Licensing: proprietary and not released. Contact: blake@truealter.com. Last updated: 2026-11.¶ - DNS claim check in the author's tooling:
-
Organisation: Alter Meridian Pty Ltd. Description: a service route that queries the
_alter.<domain>TXT record when a company claims a handle on its domain. Maturity: the author's own tooling. Coverage: it does not perform Step 4 of Section 3.4 on analter:URI, and retrieves the record named in Step 3 for a claim. Licensing: proprietary and not released. Contact: blake@truealter.com. Last updated: 2026-11.¶
10. Open Issues
This section is removed before publication as an RFC.¶
-
Resolution path. The resolution path of the scheme is the DNS path of Section 3.4: parse, take the zone from
org-scope, retrieve and DNSSEC-validate the_alter.<zone>TXT record, verify the envelope signature, and forward any facet or action-path. It is specified and has no running implementation outside Alter Meridian Pty Ltd. Section 3.6 records what the author's own software does today, and that does not include Steps 3 and 4 on analter:URI.¶ -
Outside deployment. A deployment outside the author's company has two parts. A zone publisher that is not Alter Meridian Pty Ltd publishes a signed record at
_alter.<zone>for a handle it controls. A client or operating-system handler that is not Alter Meridian software then receives analter:URI naming that handle and zone, retrieves and validates the record, verifies the envelope, and only then acts. Until a handler of that kind exists, the author intends to keep the registration Provisional under [RFC7595] Section 4.¶ -
Artefact references. This document defines no resolution for
artefact-ref-form(Section 3.4), and the author knows of no resolver for it. The tools recorded in Section 3.6 parse the form and resolve nothing.¶
11. Acknowledgements
The scheme builds on the ~handle identity primitive defined in
[MCPDNS] and the tier taxonomy of [IDCOMMITS]. The lexical choice
of tilde for the handle prefix is informed by [POSIX-TILDE] and by
the long-standing shell convention that the tilde denotes a named
principal.¶
12. Normative References
- [RFC2119]
- Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/info/rfc2119>.
- [RFC8174]
- Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/info/rfc8174>.
- [RFC3986]
- Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform Resource Identifier (URI): Generic Syntax", STD 66, RFC 3986, DOI 10.17487/RFC3986, , <https://www.rfc-editor.org/info/rfc3986>.
- [RFC5234]
- Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", STD 68, RFC 5234, DOI 10.17487/RFC5234, , <https://www.rfc-editor.org/info/rfc5234>.
- [RFC7595]
- Thaler, D., Ed., Hansen, T., and T. Hardie, "Guidelines and Registration Procedures for URI Schemes", BCP 35, RFC 7595, DOI 10.17487/RFC7595, , <https://www.rfc-editor.org/info/rfc7595>.
- [RFC3987]
- Duerst, M. and M. Suignard, "Internationalized Resource Identifiers (IRIs)", RFC 3987, DOI 10.17487/RFC3987, , <https://www.rfc-editor.org/info/rfc3987>.
- [RFC4033]
- Arends, R., Austein, R., Larson, M., Massey, D., and S. Rose, "DNS Security Introduction and Requirements", RFC 4033, DOI 10.17487/RFC4033, , <https://www.rfc-editor.org/info/rfc4033>.
- [MCPDNS]
- Morrison, B., "Discovery of Model Context Protocol Servers via DNS TXT Records", Work in Progress, Internet-Draft, draft-morrison-mcp-dns-discovery-10, , <https://datatracker.ietf.org/doc/draft-morrison-mcp-dns-discovery/>.
- [IDCOMMITS]
- Morrison, B., "Identity-Attributed Git Commits via Tier-Structured Trailers", Work in Progress, Internet-Draft, draft-morrison-identity-attributed-commits-05, , <https://datatracker.ietf.org/doc/draft-morrison-identity-attributed-commits/>.
13. Informative References
- [IDACCORD]
- Morrison, B., "Identity Accord Protocol: A Peer Ceremony for Bilateral Agreements Between Identity-Substrate-Bound Principals", Work in Progress, Internet-Draft, draft-morrison-identity-accord-04, , <https://datatracker.ietf.org/doc/draft-morrison-identity-accord/>.
- [IDPRONOUNS]
- Morrison, B., "Identity Pronouns: A Client-Side Shorthand for ~handle References and the Rule That Keeps It Off the Wire", Work in Progress, Internet-Draft, draft-morrison-identity-pronouns-06, , <https://datatracker.ietf.org/doc/draft-morrison-identity-pronouns/>.
- [POSIX-TILDE]
- "IEEE Std 1003.1-2017, Shell Command Language, Section 2.6.1 Tilde Expansion", , <https://pubs.opengroup.org/onlinepubs/9699919799/>.
- [XDG-MIME]
- "Shared MIME-info Database Specification", , <https://specifications.freedesktop.org/shared-mime-info-spec/latest/>.
- [LSHANDLERS]
- "CFBundleURLTypes (Information Property List)", , <https://developer.apple.com/documentation/bundleresources/information-property-list/cfbundleurltypes>.
- [RFC7942]
- Sheffer, Y. and A. Farrel, "Improving Awareness of Running Code: The Implementation Status Section", BCP 205, RFC 7942, DOI 10.17487/RFC7942, , <https://www.rfc-editor.org/info/rfc7942>.
- [RFC8141]
- Saint-Andre, P. and J. Klensin, "Uniform Resource Names (URNs)", RFC 8141, DOI 10.17487/RFC8141, , <https://www.rfc-editor.org/info/rfc8141>.
- [RFC3650]
- Sun, S., Lannom, L., and B. Boesch, "Handle System Overview", RFC 3650, DOI 10.17487/RFC3650, , <https://www.rfc-editor.org/info/rfc3650>.
- [ARK]
- Kunze, J. and E. Bermes, "The ARK Identifier Scheme", Work in Progress, Internet-Draft, draft-kunze-ark-44, , <https://datatracker.ietf.org/doc/draft-kunze-ark/>.
- [PURL-ADMIN]
- Internet Archive, "PURL Administration", , <https://purl.archive.org/>.
Appendix A. Change Log
A.1. draft-morrison-alter-uri-scheme-07
-
Section 3.4 states that its procedure resolves the one handle a zone publishes at
_alter.<zone>, the organisation's own or a Bot-tier handle, in line with [MCPDNS] Section 7.1. That section advises against a per-individual envelope there. Section 3.4 also states that how a reference scoping a person's handle to an organisation is resolved is outside this document. The fourth to sixth Addressing Examples scope the organisation's own handle, and the Terminology entry for the organisational scope no longer says a handle's envelope is resolved under it.¶ -
The Terminology entry for
~handlestates that a pronoun of [IDPRONOUNS] is not itself a~handle, in place of the statement that an identity-pronoun reference axis could own a facet. Revision 06 of that document no longer describes such an axis.¶ -
Update the titles of [IDACCORD] and [IDPRONOUNS] to the titles of the cited revisions.¶
-
Make the three
handle-nameproductions disjoint. In -06 the Sovereign production also matched every Bot-tier and Instrument-tier name. The Sovereign production now excludes a name ending in.botor beginning with the Instrument marker, a name ending in.botis Bot-tier whatever it begins with, and the set of nameshandle-namematches is unchanged.¶ -
Change the Instrument-tier marker from
cc-toai-. The old marker named one vendor's tool, where the tier covers any AI instrument.¶ -
Tighten the prose of the Introduction, the Addressing Examples, the
ref-segmentcomment and Section 3.8. No requirement changes.¶
A.2. draft-morrison-alter-uri-scheme-06
-
Tighten the prose.¶
-
State in Section 3.6 what resolves today: the implementations that handle the scheme are all the author's company's own, and none runs the procedure of Section 3.4 on an
alter:URI.¶ -
Add Related Work (Section 8), comparing URN, the Handle System, ARK and PURL, and an Implementation Status section (Section 9) in the shape of RFC 7942.¶
-
Add Open Issues (Section 10), stating the resolution path and what a deployment outside the author's company would look like.¶
-
Record the licence of each listed implementation in Section 9.¶
-
Open Issue 3 says that the author knows of no resolver for
artefact-ref-form, as Section 3.6 records, where it pointed at a resolver that Section 9 does not list.¶ -
The comment on
opaque-context-refin Section 3.8 says that a context reference MUST NOT carry the handle or the organisational domain of its holder. It previously said that a reference MUST NOT lexically embed a handle-name or a domain-label. The worked example9f2a-freelance-bfails that condition, as does any reference containing a letter. No other requirement changes.¶
A.3. draft-morrison-alter-uri-scheme-05
-
Rewrite the prose and pin each citation of another Internet-Draft to its latest posted revision. The grammar, the examples and every requirement are unchanged.¶
A.4. draft-morrison-alter-uri-scheme-04
-
Correct the section references into [MCPDNS]: the envelope record is [MCPDNS] Section 7, and the resolution and verification procedure is [MCPDNS] Section 12.3. Revision 03 cited Sections 5 and 8 of that document for them.¶
-
State that a handle carries no zone of its own. Step 2 of Section 3.4 takes the zone from
org-scope, or from an association held out of band, and otherwise treats the reference as unresolvable; it no longer points at a handle-to-zone procedure in [MCPDNS], because that document defines none. Note this in theorg-scopedefinition and under the Addressing Examples.¶ -
Remove the statement that [MCPDNS] falls back to an HTTPS well-known surface for envelope retrieval. [MCPDNS] defines no such fallback, and the statement contradicted Section 3.7. Drop the [RFC8615] reference, since nothing else cited it.¶
-
State that an Instrument-tier handle is not an independent handle and has no envelope of its own, as [MCPDNS] Section 2 states, and that a handler MUST NOT treat one as naming an independent principal. Correct the Introduction to match, remove the Instrument-tier addressing example, and attribute the
cc-prefix in the ABNF comments to [MCPDNS] rather than [IDCOMMITS]. The grammar is unchanged.¶ -
Correct the [RFC7595] section references: provisional registration is [RFC7595] Section 4, the registration procedure is [RFC7595] Section 7.2, and the requirements for permanent registration are [RFC7595] Section 3.¶
-
Record in the Abstract, Status and IANA Considerations that provisional registration was requested on 30 September 2026 and that IANA registered the scheme as Provisional on 5 October 2026.¶
-
Correct the iOS registration text: a custom scheme is registered with
CFBundleURLTypesinInfo.plist, as on macOS; associated domains and universal links servehttps:URLs.¶ -
Describe the one command-line client that accepts
alter:URIs as it is: it does not register as an operating-system handler and does not run the resolution procedure. Remove the statement that it registers itself as the default handler.¶ -
Reduce the Artefact Type Genus Membership subsection to the rule for admitting a member, and remove the list of members that named one implementation's own artefact kinds and file titles. Replace the examples that used them in Terminology and under Ref-Segment Traversal with generic ones.¶
-
Replace the closing paragraph of Context Reference Confusion: this document specifies no resolution path for a
contextartefact reference other than its holder's, and neither describes nor forbids resolution by another party.¶ -
Remove a SHOULD that depended on a handler manifest no specification defines.¶
-
Replace the hand-typed BCP 14 paragraph with the standard boilerplate, use a neutral handle in the examples, remove a statement of the document's own contribution from the Abstract, and name in words the documents the Abstract relies on, where it had cited them by tag.¶
-
Describe the malformed forms under Ref-Segment Traversal and Cross-Scheme Confusion without spelling each as a complete URI. The requirements are unchanged.¶
-
Shorten the Abstract, Introduction, Status and Scheme Semantics prose. No requirement changes.¶
-
Correct step 5 of Scheme Semantics, where a facet or action-path was dispatched to a resolver named by the envelope. The envelope names none; the step now defers to the specification that defines the facet or action surface.¶
A.5. draft-morrison-alter-uri-scheme-03
-
Add a Handle-Domain Confusion security consideration. Because
handle-nameadmits "." in order to carry the.bottier suffix of [IDCOMMITS], a handle may be spelled to resemble a DNS domain. State that no DNS meaning follows from a handle's lexical form, that a domain's association with a handle is established out of band, and that a rendering surface MUST retain the leading tilde.¶ -
Partition the scheme into two disjoint reference forms carried under one scheme name:
handle-ref-form, unchanged from revision 02, and a newartefact-ref-form,alter:<artefact-type>/<artefact-ref>, addressing a typed artefact rather than a~handle.¶ -
Add a discriminator rule: the octet immediately following the scheme separator selects the form, U+007E TILDE for a handle reference and a lowercase ALPHA for an artefact reference. No other leading octet is valid, and the tilde MUST NOT begin an artefact type.¶
-
Add Artefact type and Artefact reference to Terminology, defining the shape of the reference only, and state that this document assigns artefact resolution no meaning.¶
-
Make
artefact-refa sequence ofref-segments separated by "/" so that a scoping name can precede the reference it scopes, and widen each segment to1*( unreserved / pct-encoded )so that a~handleor its percent-encoded form can be carried. Make theartefact-refcomponent OPTIONAL so that a bare artefact type is expressible.¶ -
Add Form Confusion and Ref-Segment Traversal security considerations. A
ref-segmentMUST NOT be "." or "..", and is rejected on its textual form, afterpct-encodeddecoding, before any resolution.¶ -
Add
contextas a member of theartefact-typegenus, with a Context Artefact Type subsection specifyingcontext-ref-formand the RESERVEDpersonalliteral, and a Context Reference Confusion security consideration. Defineorg-scopeas a DNS zone qualifier that carries no acting context.¶ -
Add an Artefact Type Genus Membership subsection listing further members of the genus.¶
-
Repoint the informative Apple reference to the current CFBundleURLTypes page. The mechanism cited is unchanged.¶
A.6. draft-morrison-alter-uri-scheme-02
-
Broaden the addressing syntax to the full
~handle@org:facet/actionreference: add theorg-scope,facet, andaction-pathproductions and their left-to-right parsing rules. Every added component is OPTIONAL; a barealter:~handleis unchanged.¶ -
State explicitly that facet and action-path are addressing information only, with resolution semantics owned by the surface specification and out of scope here.¶
-
Add an Action-Address Confusion security consideration and extend the verification mandate to cover addressed actions.¶
-
Correct the registration Status to Provisional, the registration this document actually requests.¶
A.7. draft-morrison-alter-uri-scheme-01
-
Editorial and reference alignment.¶