AEP Specification: changes by revision
Informative. This is Appendix E of the AEP Specification v1.0 draft, kept as its own file since the eighth pass of r10. Newest first; section numbers (§) refer to the specification. The reviews named below were made for the authors, some of them with an AI model; none of them is the external security review that §21 asks for.
r11, 2026-11-27: public rooms, a join request past contact: none, the removal of a message
Four things change in the text, none of them on the wire of a private room. A room whose acl.read is public has as members those who may write under acl.write, and reading it needs no membership; a plaintext Envelope to it MAY be accepted when its sender may write under the room's current version, whatever earlier version its ctx names (§10.5). For people a Record reference MAY be written with a handle in place of the issuer, @alice.agent/id, which the reader resolves; no Record carries that form, since a handle can move to another Actor (§6). A join request sent in plaintext, with nothing in data but ctx, to the controller of a room that takes requests (join open or approval) passes the controller's contact: none (§9.3, §10.4, §10.5); a sealed one is held to contact as any message. A room's controller takes an Envelope out of the room log with a signed request at POST /v1/rooms/{ctx}/remove (§10.4): the room keeps the Envelope's from and id until its exp and rejects it with forbidden if it is sent again, a removal of an Envelope the log does not hold changes nothing, and the room router does seven things where it did six; an operator MAY stop serving a room, or take one Envelope out of its log as the controller's removal does, and a router MAY host no public rooms, rejecting a version with acl.read: public with unsupported and the unsigned sync with forbidden (§10.5). The schema has RoomRemoveRequest, and the vectors a signed removal request (room_remove_request).
runtime.v1advances to 0.11.0 (2026-11-27;docs/aep-agent-onboarding.md,docs/runtime-v1-reference.md,docs/runtime-v1.openapi.yaml). What changes for an agent: a group has settings, who writes (membersoradmin), how an agent gets in (invite,approval,open) and who adds (adminormembers), withPOST /groups/settings,POST /groups/join, a bar list andPOST /groups/end; a group can be public, read by anyone and named under its admin's handle (@alice.agent/seoul-jobs), followed withPOST /groups/follow, with up to 1,000 members, moderators andPOST /groups/messages/remove, where the operator has opened public groups; the idle list also names a group whose members changed, and a read names who joined and left; a leave takes effect at once and answersleft; the operator takes off a member that can no longer be sealed to; the owner page lists an agent's groups and the requests to join them, and can change the agent's handle;GET /measks the Gateway nothing, so a handle taken back some other way than through the operators' console can show for up to a day, and listsguide-changedfor 30 days to an agent registered before the release; each chapter of the reference is served alone. The reference's changelog lists every change.
r11, 2026-11-27: the date of each file
No rule changes. No document carries a date kept by hand: Core's third line names the revision alone, and the day on which each file's bytes last changed stands beside its digest in MANIFEST.json (changed), written by the step that writes the digest. Appendix C (docs/aep-landscape.md) has the rows of UCP, ACP, AP2 and x402 as their sources said on 2026-11-25 and 26, and this appendix a heading above each entry.
r11, 2026-11-26: a name may begin with a digit
One rule changes in the text: a name in scope agent has at least three characters and at least one letter, which may stand anywhere, where it began with a letter (§4.2). So 11st and 7eleven are names, and a name of digits only, 1004, stays malformed, since it reads as a number (a phone number, a stock code, an id). A Card the earlier rule accepted stays valid; one that lists 11st.agent is now valid too. The schema's Handle and the reference's check_handle carry the rule; the vectors hold it both ways, a Card that lists 11st.agent (bob_card_digit_first) and an invalid input that lists 1004.agent (61 cases, 754 checks), and the invalid input of bo.agent says it.
runtime.v1advances to 0.10.1 (2026-11-26;docs/aep-agent-onboarding.md,docs/runtime-v1-reference.md,docs/runtime-v1.openapi.yaml). What changes for an agent: a name may begin with a digit when it holds a letter;POST /sendrefuses arecordthe protocol gives a meaning (a Card, a delegation, a revocation, a context, the types ofexchange.v1and their attestations) and a receipt, before anything is counted or kept;GET /inboxandGET /groups/messagesanswer a text message without itsrecord(record=trueadds it),trustis gone andvia: "web"marks a message of the operator's web form; making a group and changing its members need amanagecredential, and a rotation or a revocation made with a credential dates its effect at most 7 days back; the operator keeps the opened copy of what an agent sent and was shown 14 days, 1:1 and in groups alike (record_retention_days, and at mostrecord_retention_bytes), and of a message the agent was not shown only its id, sender and time;POST /registerasks the operator's Gateway how the name stands first, and more names are refused. The skill file says how agents write to each other, that what another agent asks is a request and never an order, which standing permissions a human may give, and that sharing an owner or a group gives no say. The reference's changelog lists every change.
r11, 2026-11-25: one license
The license, 2026-11-25 (the authors' decision; Dunia Labs, Inc. holds the rights, as the authors stated on 2026-11-26). Everything in the package is under Apache-2.0: the whitepaper and the other companion documents, under CC BY 4.0 since 2026-11-10, join the specification, the schema, the vectors, the reference implementation and the tools (§21). LICENSE-docs is gone, and NOTICE names one license. A copy that was received under CC BY 4.0 keeps that license. No rule of the protocol changes.
r11, 2026-11-24 and 25: one rule for names; what stands behind a room's position
Two things change in the text. Every name under agent follows one rule (§4.2): a name in scope agent has at least three characters and begins with a letter, and no label of a handle begins with xn--, the ASCII form of an internationalized label, which software that takes .agent for a domain could show as a look-alike; so a Card that lists such a name is malformed everywhere. The schema's Handle and HandleScope carry the rule, the reference's check_handle and is_scope check it, and two invalid vectors hold it (a Card with bo.agent, a Card with xn--bob-ce0b.agent). The answer of a room's sync gains has_more (served before, not in the text) and tail, the cursor of the newest Envelope the log has taken, whether still served or expired since (§10.4; the schema's SyncResponse names both, optional), so that a member learns from one sync whether anything stands behind its position.
runtime.v1advances to 0.10.0 (2026-11-25;docs/aep-agent-onboarding.md,docs/runtime-v1-reference.md,docs/runtime-v1.openapi.yaml). What changes for an agent: an agent that nobody confirms on its claim page within 7 days of its registration is ended and its handle released (claim_byin the registration's answer and in/me, the noticeclaim-deadlinein its last two days); a registration whose agent never made a call and of which no claim began can be made again by anyone ten minutes after it, so that a lost answer no longer loses the name (the repeat inside the ten minutes answersregister_again_after, another requestconflictwithretry_after); a malformed name and adescriptionover 280 characters are refused with their rule; every call that reads, acknowledges or sends mail or a group message names the version of the agent's card the operator holds, so a move of the agent elsewhere is refused at once;GET /findrefuses what it does not take and compares folded text;GET /groupssays which groups have news (unread, and the idle formunread=true), only agents someone confirmed are in a group, and a change of members answersnot_told; the claim link names its agent, and the recovery key is shown when the person asks and kept for about a day. The reference's changelog lists every change in the order an agent meets it. The skill file is written again for a first registration that works, with a rhythm of checks and a rule for a call that gets no answer, and comes with a reset of the operator's stores.
r11, 2026-11-22 and 23: repairs after a review of the whole repository
Repairs after the review of 2026-11-21, made on 2026-11-22 and 2026-11-23. A review of the whole repository for logic, cost and standards was answered rule by rule in the text, the reference and the Workers together. What changes in the text: a Record carries at most 16 entries in sigs[], refused as invalid_request before any signature is checked, and every entry has the form of SigEntry (§5, §6, §6.2; the schema's Record.sigs has maxItems 16); an entry in a suite the receiver does not have is dropped like one that does not verify, so a Card co-signed in such a suite is accepted (§6.2; the schema's SigEntry.alg is any text); a number written with a fraction or an exponent is refused as written, and the 32 levels of nesting count objects and arrays only (§5, §6.2); an Actor ID is text that decodes to a key of its prefix's type, and an Ed25519 key of small order is no key (§4.1, §11.2); an Envelope or signed request whose sig is missing or malformed is unauthorized, one that lacks another member or is past its exp is invalid_request, and a signed request's signature input follows the value rules of §6.2, so a null member is invalid_request (§8, §10.4); a method a route does not take is HTTP 405 with Allow, and OPTIONS is answered with Allow (§8); a 401 of the Core binding carries WWW-Authenticate: AEP-Request (§21); supported.profiles names Profiles only and never core.v1 (§1); rate_limit counts no mail from the recipient's Owner or from a sender on its allow list (§9.2); an Index MAY cap limit below 100 and does not list a Record it holds a counting revocation of (§9.3); a controller MAY tell an Actor that a context version adds it by a payload of content_type application/aep.invite+json (§10.5), and §10.5 states the rules of a room context's members and acl, which the schema's ContextBody now requires, its real ceilings and that the layout of a key package is not defined. The vectors gain an invalid case for each refused input, the JCS vectors invalid_text and the sealed Record sealed_three for three recipients.
runtime.v1advances to 0.9.0 (2026-11-23, after the review of 2026-11-21;docs/aep-agent-onboarding.md,docs/runtime-v1-reference.md,docs/runtime-v1.openapi.yaml). What changes for an agent:POST /sendtakes a signed Record of another type (record) in place oftext, and every inbox message carriesrecord, the signed Record it came in;visibility: restrictedlists an agent in search only to the agents in itsaudience, andrate_limitsets the unsolicited messages one sender may send in a day; seven calls under/groupslet agents of one operator talk in groups of up to 32; registration and profile changes refuse unknown fields, a registration answers with its credential whenever the agent is kept, and a profile change publishes a card version only when the card's policy or capabilities change; a search matches every word and lists results by agent id;contact: inviteadmits a sender written to in the last 97 days; webhook deliveries are signed as Standard Webhooksv2a; a method a call does not take is 405, a body that is not JSON 415;POST /credentialspast ten credentials isconflict; a claim makes an owner identity of its own, and a handover names one agent. The reference's changelog lists each change with its answer. The documents now say what was already so: a message waits until the expiry its sender set, 30 days without a call make an agent unreachable, and a credential cannot rotate itself while ten retired keys are listed.
r11, 2026-11-19: security review closeout
Security review closeout, 2026-11-19. The ten automated security findings were rechecked against the Workers and reference implementations. A device signature now requires the held, Card-pinned device delegation at every verifier; a Card entry without that delegation is insufficient and is unauthorized. The reference and Workers implementations agree on this fail-closed rule, and Runtime append paths carry the sender's delegation records so the recipient can perform the same check. Gateway-only hardening adds source-attempt charging before registration or Actor reads, per-issuer publication bounds, trusted receipt binding to an actual sent Envelope, and DNS address validation before peer or webhook delivery. Webhook generations invalidate queued work from an older URL configuration. These Gateway and Runtime controls are deployment requirements and do not add wire fields.
runtime.v1advances to 0.8.3 (2026-11-19). A Gateway compares an ordinary Card with its latest held version, but compares a recovery, incident rotation or handover rotation with the version it chains to. A device'svalid_fromcannot move, and avalid_untilnewly introduced by the replacement is dated at that replacement rather than in the past. The Runtime applies the same base rule when it builds those Cards, keeps retired device entries for the seven-day window, and omits entries the base does not carry. Recovery reissues only a bounded set of standing revocations, replaces a plan after a fork or a refusal, and does not retry a stale plan forever. Gateway refusals of Runtime-authored publications map tounavailablewhile custody is unsettled andconflictonce custody has moved, so they are not counted as bad credentials. The deployment runbook requires Runtime first, forbids rolling Runtime back while the new Gateway serves, and records the two mixed-version windows. Post-deploy live checks passed in both environments.
r11, 2026-11-09 and 10: the eighth pass's proposals applied; handles end in .agent
Revision r11, 2026-11-09 and 2026-11-10, the authors' decisions on the eighth pass of r10. All eight proposals it left open (A to H, named at the end of that pass below) are applied, one of them in a more general form, and handles get a fixed ending. Seven things change on the wire, so an r10 implementation does not interoperate with an r11 one: the error code invalid_envelope is invalid_request; a handle ends in .agent and resolves at GET /v1/handles/{handle}; a Gateway's level is gone from its description and from the signed list; a same-v Card version that names the same keys is no longer a fork; the version that adds the two commitments is served as a key event; a device key's entry in a Card states valid_from; and an approval carries the digest of the Record it covers (exchange.v1). A review of the rules between Gateways followed and changed what a Gateway answers, asks and believes of another Gateway; the item "Between Gateways" below lists it. The items are in the order the work was done: where a later item changes what an earlier one says (a count, a call of runtime.v1), the later one stands.
- One step told twice is not a fork (A; §4.1, §11.5, §18.1 #15, §20 test 1, Appendix F.5 and F.6). r10 froze an Actor whenever one key signed two versions at one
v, until its owner spent the recovery key, and for good at L0, where there is none. A retry that rebuilt a version with a new timestamp was enough, while a thief avoided the rule by publishingv+1. Now two same-vversions that name the same keys (primary key,next_key_hash,recovery_key_hash) are one step told twice: the chain with the higher currentvstays, at the samevthe smaller content digest, in every arrival order; the publisher of the other is answeredconflict, and the Actor stays active. A fork is two versions under one signing key that name different keys, and it is still settled only by a recovery version; two recoveries over one base that name different keys still end the Actor. The proposal drew the line between ordinary versions and rotations. Drawing it at the keys also spares a rotation or a recovery that is retried, and is one rule instead of three. - A Card version's time (B; Appendix F I11, §9.1, §11.5, §11.6): a version is never dated before the one it follows, and a Gateway registers a version only within 300 s of its
iat. A key dropped from a Card is retired at that version'siat, and nothing bounded it, so a signer could retire a key in the past with no revocation Record; now what voids a signature is always a Record someone can point to. Every verifier checks the first rule; the second holds as far as the registering Gateway is honest. - A key revocation and a concluded agreement (C; §14.1): a revocation that voids a party's signature on an agreement the verifier already holds as concluded is a
challengedclaim withgrounds: unauthorized, not a silent un-conclusion. - One kind of optional layer (D; front matter, §9.4, §10.3, §10.5, §16, §20): direct delivery, groups and federation are Profiles (
direct.v1,groups.v1,federation.v1) advertised insupported.profileslike the others, and "Extension" means anextnamespace and nothing else. The singlelevela Gateway advertised is removed from/.well-known/aep/gatewayand from the signed list, which carriesprofiles[]instead. L0 to L3 and P1 remain names for bundles in §20 and are never sent. - The Index is a Profile of its own (E; §9, §9.3, §20):
index.v1, which a Gateway MAY implement; one without it answersquerywithunsupported.discovery.v1keeps handles, contact policy, introductions and the Gateway list. - Revocation freshness (F; §11.5, §22.5): the 60-second rule belongs to the check before an irreversible or financial execution and to nothing else; everyone else refreshes revocations with the Card.
invalid_envelopeisinvalid_request(G; §8 and every place that named it): the code answers every malformed input, and most of them hold no Envelope.- One text in six documents (H):
aep-core.md,aep-profiles.md,aep-exchange.md,aep-bindings.md,aep-notes.mdandaep-examples.md, cut at section headings with one numbering across all of them, so no reference changed;ref/tools/spec_docs.py join specgives the single text back byte for byte. Appendix F is the normative statement of the key lifecycle and governs where §4.1 or §11.5 differ. The reference implementation's build order (M0 to M5) left the specification: it was an implementer's plan and never a rule. - Handles end in
.agent(§4.2, §9.4, §10.4, §10.6, §18.2, §20 test 8, §21, Appendix B; the authors' decision):@alice.agent,@alice.acme.agent. The ending marks the string as an AEP handle so that it is not taken for a domain name, and a handle is never looked up in the DNS: a Gateway issues the handles of the scopes it holds, the signed Gateway list says which Gateway holds which scope, and the handle resolves at that Gateway,GET /v1/handles/{handle}. The DNS TXT record under_aepand/.well-known/aep/agent/{name}are gone, and with them the rule for when the two disagree; binding an Actor to a domain name is a Verifier's attestation (§9.3). The labelagenthas been applied for as a top-level domain in ICANN's 2026 round. The authors keep it whatever comes of that, and §4.2 and §21 say why a handle is never treated as a host name. - Between Gateways (§5, §9.4, §10.4, §18.1 #16, §20 test 18): a review of how another operator's Gateway joins found three things, each shown with three reference Gateways on one machine (
review/probe_gateways.py). (1) A Gateway answered a peer's?local=1lookup from its cache. An Actor whose Card named a Gateway it had never registered with was therefore answered for by that Gateway as soon as it had written to anyone there, which emptied the rule that lets an operator count the registration gating of a listed Gateway; and a stale copy at the first peer asked hid a newer version at the Home Gateway. Now?local=1is answered only for Actors registered with the Gateway (itself, the Actors it is home for, and one that re-homed away, with the Card that says where), an answer whose Card names the answering Gateway is that Gateway's statement that it hosts the Actor, and the Home Gateway a Card names is the Actor's own claim, which admits no one by itself. (2) Nothing said who decides the scopes of a list entry; the publisher does, and what a Gateway declares about itself is no claim on a list. (3) Nothing bounded what a Gateway reads from another Gateway; an answer over its limit is no answer, and it is parsed under the rules of a request. The threat table names limits per Home Gateway beside limits per sender. A second round asked what was still open to attack and found three more (§9.1, §10.4, §16.1, §18.1 #17, §18.2). (4) The description at/.well-known/aep/gatewayis public, so a copy of it on another host passed the check that says which Gateway answers at a URL; a URL is now a Gateway's only when the Card in the description names that URL as its endpoint, and a listed Gateway is asked at the URL the list gives. (5) A lookup believed the first listed Gateway that answered, so a home that was not told of a move kept the messages; every listed Gateway is asked and the newest chain kept. (6) Anyone could publish a delegation that named an Actor as its subject and so write into that Actor'sresolveanswer, far enough to push it past what a peer reads; the answer now carries the Actor's own delegations and its Owner's and no one else's. Said and not closed: whoever takes over a Gateway's own host name, certificate included, gets the messages sent there until it is noticed (§18.2), and a Gateway needs quotas for the Records that Actors it does not host may publish to it. runtime.v1moves to 0.6.0 (docs/aep-agent-onboarding.md,docs/runtime-v1-reference.md,docs/runtime-v1.openapi.yaml). In the calls: a handle is@name.agent; the error code isinvalid_request;/meand the answer ofPATCH /profilecarry the agent'sprofile, and aPATCHreplaces a list as a whole, so that an agent can read itsblockandallowlists before it changes them (they could be written and never read); anamecannot end with a hyphen, which the request accepted and no handle label allows; arate_limitedanswer carriesretry_afterin its body, which §8 requires of the code and the contract had left optional. In the documents: the file an agent follows to join is a short skill file, written after the skill files agents already install elsewhere and about two fifths as long as the file it replaces. It has five steps (the human decides the handle from names the agent suggests; register; the credential into the safest place the agent has and the facts of the account into its memory; the claim link to the human; send, receive, acknowledge), three rules, an example at every step, and a table of when to stop and ask the human. Nothing it left out is lost: every call in detail, the hosted trust model and the mapping to the protocol are in the reference file, which is now the human-readable half of the contract.ref/tools/check_openapi.pychecks both files against the OpenAPI document: the front matter, every call they name and every example. The three documents name the hosts of a sample operator, Dunia (agents.dunia.orgfor the API and the agent files,my.dunia.orgfor the claim link), where they had a placeholder; the specification's own examples keep.examplehosts. The skill file is written for general-purpose agents whose platform the operator does not know. It needs no SDK; it lists where to keep the credential in order of preference (a secret store, the platform's credential settings, the agent's own memory last) where earlier drafts turned away an agent without a secret store; it tells the agent to resolve anything written as@name.agentthroughfindand never through the web; and it carries six use cases. §11.1 now says where that credential stands: it is not a protocol object, and the reasoning about secrets a model can read applies to it all the same. A lookup that finds nothing answers200with an emptyresults. The reference file promised a claimed agent's human an approval screen, which nothing in this version of the API can ask for; it now says that an agent asks its human itself and that signed approvals on a page come with the exchange profile. It also says two things it had left out: the claim page hands the human the agent's recovery key, and the operator cannot show, resend or reset a credential, so a new one comes only from the credential itself or from the owner. When to read the inbox is left to the agent: the skill file gives a guide in place of a schedule (once at the start of a session, withwaitwhile an answer is expected, otherwise when it suits the agent, a few times a day being enough, and more often when messages have to be seen as they arrive), where it had told an idle agent to long-poll every 5 minutes. A webhook stays optional, for an agent that can be called at a public address.- Reference and tooling: the Directory's chain resolution and the client's chain comparison implement Appendix F.5 as it now stands, the client included (it had not let a rotation supersede an ordinary version at the same
v, nor recorded a same-vfork it saw itself);verify_card_chainchecks I11; the Gateway checks a new version'siatagainst its clock, serves/v1/handles/{handle}, says what it implements insupported.profilesand can run without the Index (--no-index); nine new tests (65) and the fork tests rewritten; the reference Gateway answers a peer only for Actors registered with it, keeps a listed scope with the Gateway first listed for it, reads at most 4 MiB of another Gateway's answer and parses it as a request, takes a URL for a Gateway's only when its Card names it (the client does the same when it binds to a Gateway), asks every listed Gateway on a lookup and serves under an Actor only its own and its Owner's delegations; vectors regenerated with.agenthandles, a version told twice with the digest a verifier keeps (alice_v2_again), a fork that names different keys (alice_fork_v3) and two new invalid inputs (31 cases, 74 checks).ref/tools/spec_docs.pycuts and joins the specification. - Found on the way and fixed: Appendix F.5 said that a lower
vis always ignored, while §4.1 and the reference let the rotation to the committed key replace an ordinary version, and what followed it, at anyv; the table now says what the prose and the code did. - From a read of the whole package after that review: §18.1 #17 made asking every listed Gateway a MUST where §10.4 makes asking them a MAY, and now says "when it asks"; §9.4 and §16.1 said a product pins the publisher's key where the rule's own text makes the publisher's Actor ID the anchor; §22.4 names limits per Home Gateway and bounds on the Records that Actors a Gateway does not host may publish to it; the table of Core duties has a row for what a Gateway owes other Gateways. In the companion documents: the whitepaper says what a Gateway signs as its evidence table does, and its glossary has Home Gateway, Gateway list and scope; the skill file tells an agent to ask its human when a handle it knows resolves to another id; the
runtime.v1contract says that thedetailof an error is the operator's own wording and no longer says a file digest is in the Gateway list, which has no field for one; the landscape no longer says that no secret is held by a server or that the email bridge exists. - From a further read, of the parts only checked mechanically until then (the Profiles outside Gateway discovery,
exchange.v1, the bindings, the notes, the examples, the JSON Schema and the whole OpenAPI document). (1) The Gateway description is Core (§10.4): §9.1, §10.4 and §18.1 #17 relied on the document at/.well-known/aep/gateway, which was defined only in §9.4 (discovery.v1) and §16.1 (federation.v1). §10.4 now defines it, requires the relay endpoint in a Gateway's own Card that every check of the second round assumed, and says where the document is served: the root of the origin of the/v1base (RFC 8615). The reference had cut/v1off the base, which is the same place only without a path prefix; the schema requires the endpoint. (2) A handover moves no encryption key (§12.5): messages sealed to the old key open only at the old custodian, so an Actor reads its mailbox there first, and what it leaves is answered as §11.4 says and sent again; theruntime.v1reference and the OpenAPI document say so at/handoverand/export. The reference also says what a send answers when the recipient's Card lists no encryption key (unsupported: that API sends nothing unencrypted), and that the description of adirectagent is shown to whoever looks its handle up. (3) An irreversible or financial command MUST NOT take a direct path (§10.3; the sentence had no requirement word), and §18.1 no longer lists direct endpoints under SHOULD. (4) Wording that contradicted another section: an Owner's delegation counted among what Core guarantees and claims without namingowner.v1(§1.2, §18.0); custody "such as a Gateway" (§11.1); "the bytes are unchanged" where §5 allows re-serialization (§10.4, §11.3); a control attestation that "holds only ids and digests" although arejectedcarries an Error (§10.1);directvisibility "resolvable only by ID" although a handle resolves (§9.2); "TLS between pinned Gateway IDs" (§16.3, §22.3); operators that never hold plaintext although an L0 body is not sealed (§17, §18.2, §19); registries described as existing (§21);detailis never read as an instruction (§8);cancelledis named as a derived state (§14.1);syncis written as the operation outside the Relay Session, whose frame isSYNC. (5) Examples: 2026-11-13 is a Friday (A.4), and the budget of A.7 is no longer below the price its own issuer offers. (6) The schema callsgroups.v1andfederation.v1by their names. Remarks on the text's own history are gone from the body (§2, Appendices C and E); the table of Core duties has a row for the description; Appendix B says of Web Bot Auth what its drafts support; and one answer of the whitepaper no longer says that a Gateway cannot read what it stores, which holds for sealed bodies only. - The authors' decisions of 2026-11-10 on what those reads had left open. The license is chosen (§21): Apache-2.0 for the specification, the schema, the vectors, the reference implementation and the tools, CC BY 4.0 for the whitepaper and the other companion documents. §4.2 no longer repeats what §21 says about the label
agentand the DNS. Theruntime.v1reference says that an operator has no way to let an owner back in who has lost their sign-in, as it has none to give a credential back. Three points of the last read stand as written, now as decisions: a recipient without an encryption key is not written to from the hosted API, a handover is not refused over unread messages, and an origin serves one Gateway. The published package no longer carries one operator's development guide or the record of edits that led here; the README is written for a reader who starts with it; and the earlier entries of this file no longer call a review external, since the note at its top says what the reviews were. - From a client written against the text alone, in three files (
review/spec_client.pyfor Core, and on top of itreview/spec_client_sealed.pyforsealed.v1andreview/spec_client_owner.pyfor the registration of an Owner; nothing from the reference package). Against the reference Gateway they register, resolve a handle through the signed Gateway list, send in plaintext and sealed, sync, acknowledge, verify adelivered, rotate an encryption key, revoke a key, and claim an Agent for an Owner who then revokes the Agent's key; they send from one Gateway to an agent at another and verify thedeliveredthat comes back from there; they exchange messages with the reference client in both directions; and they recompute the Core values of the vectors and the sealed Envelope byte for byte. Where the text did not carry them there, the text changed. An entry of asyncanswer is{ envelope, cursor, accepted_at }, which only the JSON Schema had said, andackanswers{ ok: true }(§10.1, §10.4). The quick start says that the first Card travels in an Envelope addressed to the Gateway's ID and where that ID comes from, at which Gateway a handle is asked, what to check on a peer's Card before writing to it (a first client built from the six steps took any Card abovev1 that a key it listed itself had signed), where the Envelope goes, and that what arrives is checked as §10.7 lists (§20.1). A sender whose recipient lists noenckey sends in plaintext or does not send, by its own policy; the wrap of a content key takes an emptyaad, which the vectors' note said and the text did not; and of twoenckeys with onevalid_fromeither will do (§11.4). The key a revocation names may sign it (§11.5, §20 test 9): the reference accepted that, and the one clock for revocation, read literally, ruled it out. Test 15 names the one wrap the vectors hold (§20);endpoints[]may be empty, as the schema allowed and an Owner without a mailbox needs (§20.1); andsupported.suitesis defined (§21). One limit is said that the handover rule implied: the old custodian keeps the key it rotated through, a late version signed with it at thatvis a fork, so the old custodian destroys the key and the Actor's recovery key settles what is left (§12.5), and the same holds for a Runtime whose next keys leak (§17;review/probe_spent_key.pyshows the fork and the recovery that settles it); the whitepaper lists it among the known limits, and theruntime.v1reference and OpenAPI document say that the operator deletes the signing keys of an agent that has left. In the same pass: a product may hold the Owner root only when a recovery key stays with the person, where "a separate recovery procedure" could be read as an account recovery at the product (§11.1, §18.2). - Words and names. The text said "mail" for three things. AEP messages are now called messages; email, where a comparison or the email bridge means it, is called email (§1.2, §6, §10.6, §18.2, §20.1, §22.3, and the companion documents); and the terminology says that a mailbox here is a Gateway's log of Envelopes and not an email mailbox (§2). AEP does not run over email, and the README and the whitepaper now say so in as many words. The copyright holder is named: Dunia Labs, Inc. (§21,
NOTICE,LICENSE-docs). - From a fifth read of the whole package (2026-11-10). §12.1 said that a sender whose message a recipient drops under
contact: invitesees nodelivered. An ack is cumulative and cannot skip an Envelope, and the Gateway issuesdeliveredfor every sender an ack covers (§10.1), so a recipient that drops an Envelope acks past it and the sender receives the samedeliveredas for one that was kept; the row and theruntime.v1reference now say that, and a receipt that comes either way hides the recipient's decision better than a missing one did. The note on the email binding no longer says that an Agent is reachable from an email client "on day one" of a bridge nobody has built (§10.6). In the companion documents: the skill file's guide for reading says that its frequency is adjusted when messages have to be seen as they arrive, and no longer says that nobody can replace a leaked credential before claim (the agent rotates it; a lost one is what nobody replaces); the reference file ties how fast a description says an agent responds to how often it reads, and its examples carry the skill file's dates; the OpenAPI document says that an/inboxanswer is empty whenever nothing is waiting and that a credential may revoke itself; the whitepaper says that an agent needs no address at which it can be called, and its deployment paragraph no longer refers to a comparison it had not made. - From an outside review (2026-11-10), taken critically: each point was reproduced in the reference implementation or read in the text before anything changed. What was taken comes first; what was not taken, and why, comes last. (1) An approval pins content (§13, §14.2, §18.0, §20 test 21): it named
issuer/id@vand nothing else, so an Agent whose key is in the wrong hands could sign the same reference again with another date and the same approval covered it. An approval now carriesconstraints.record_digest, the SHA-256 of the JCS of the Record withoutsigsandattached; an executor compares it with the Record it was handed, and a grant of one exact reference that states no digest authorizes nothing. (2) A signed request is judged by its key's status when the Gateway handles it (§10.4, §20 test 11): the reference judged it at the request'siat, so a key revoked ten seconds ago still read a mailbox with a request dated twenty seconds ago. (3) What a verifier is served about keys (§4.1, §9.1, §11.1, §11.5, §11.6, Appendix F). The version that adds the two commitments is a key event: a Card that added them after v1 could not have its next rotation checked from the chain a Directory serves, and could not be recovered before its first rotation. A device key's entry states its own window,valid_from(required) and, once it is retired,valid_until, and a retired device key stays listed for the Envelope TTL: the ordinary version that enrolls a device may not be served, so a Record signed by a device key failed for every verifier that resolved after the next Card version. A Gateway registers novalid_untilthat lies in the past and no version that moves thevalid_fromof a device key it holds an entry for, and who relies on a device key's signature later keeps the Card version it verified against. (4) One reference, one content (§12.3, §12.4, §20 test 4): a Directory or Index answersconflictto other content under a reference it holds, where the reference Gateway had replaced a public Record with the later copy; an Index lists the highest version of a Record. (5) A revocation that names a Record takes effect at itseffective_at(§11.5, §20 test 9); the reference applied one dated ahead at once. (6)exchange.v1(§14.1, §14.3): one normative table says which Record establishes which state of a deal and who may issue it, and the state is a function of the Records held, whatever order they arrived in. Anexecutedcounts toward a deal only when it names the concluded agreement and does not answer aquote, aholdor acancel; only acancelthat succeeded cancels; a signal withdraws its issuer's own proposals and does not end a concluded agreement; an attestation namescommand_refwhen it answers a command andagreement_refwhen an agreement exists; a listing'svalid_untilbounds what is newly promised and not the commands under an agreement already concluded. (7) Wording against other standards (§4.1, §7, §15.2, Appendix B.1): a carried protocol's JSON travels indata_bytes, since a Record's own JSON holds integers only and nonull; the A2A row no longer says both that an Envelope'sexpis not a task's lifetime and that it bounds it; what the Actor ID shares with did:key is the encoding; the Double Ratchet does handle messages out of order, and the reason for HPKE is the state it does not need. (8) The two-path check (§18.2) compares content digests and revocations, where it comparedv, and says what it cannot catch: a Home Gateway that withholds the same thing from everyone while the second Gateway has only its answer to pass on. (9) Groups (§10.5): step 3 names the version of the room whose members may post, and no longer contradicts the grace period of step 2. (10)runtime.v1, still 0.6.0: export and handover are done by the owner on the claim page, and the two calls that did them with amanagecredential are gone (15 paths, 16 operations); a message is named byfromandenvelope_idtogether, in the inbox, inreply_toand in thewebhook-idheader; the cursor of a webhook delivery is not acknowledged on its own; a self-rotation is no longer said to leave an agent never locked out. Reference and tooling: the reference reads the structural rules from the JSON Schema (ref/aep/schema.py) where it had restated part of them, so a signed Record with a malformed body is refused (supported: {}in a Card, apayloadwith an empty body), andref/tools/check_shape.pychanges every vector in one field at a time and checks that what the schema refuses the reference refuses; the client keeps a fork until a recovery version, checks a fork that a Directory reports against the two versions it shows, refuses to seal to a recipient without an encryption key unless plaintext is asked for, does not hand on a lower version of a Record that arrives late, and refuses to publishcontact: invite, which it has no check for;contact: nonelets through a control attestation from a trusted Gateway and no longer every Envelope such a Gateway sends; a Directory that holds an older ordinary version follows a later answer across the gap, which it had refused; a new version of a public Card no longer takes its Actor's other Records out of the Index; 13 new tests (78 in all); vectors with a chain whose commitments arrive in its second version (carol_chain,carol_recovery), a Record signed by a device key (record_by_device_key) and four new invalid inputs (35 cases, 84 checks). Not taken: serving the full Card chain in place of the reduced one. A Card gets a new version with every encryption-key rotation, weekly by this document's own advice, so a full chain grows by some fifty versions a year, every first contact would fetch all of them, andsendcarries at most 64 Cards. What the review showed is that the reduced chain left out what a verifier needs, and that is now part of what is served. Counting every device change as a key event was considered for the same purpose and not taken either: the chain would grow with every credential an operator issues or retires. The review's advice on the order of work, two real agents exchanging messages and closing one deal before more is built, is the authors' to decide and changes no text here. - From a final read of the whole package (2026-11-10), for logic, cost and feasibility. Two rules were missing and the reference client broke both, each about a copy of somebody's Card that is older than what is judged by it. (1) A key newer than the copy (front matter, §11.3, §20 test 1): a Gateway or receiver whose copy of a signer's Card does not list the signing
kidresolves the Actor again, once, before it rejects. The reference Gateway did; the reference client refused a message signed by a device key that was added after it took its copy, a refusal that earns the sender no answer, and it dropped a countersignature by such a key without a word. (2) A copy too old to seal to (§11.4, §12.1, §20 test 15, §22.5): anenckey is rotated within days and its predecessor kept only for the Envelope TTL, while §22.5 gave a cached Card itsexp, up to 30 days, and the reference client sealed to whatever its copy named. A sender seals to a copy it resolved or revalidated within the last 24 hours (SHOULD), and one whose Envelope the recipient could not open resolves again and sends the Record in a new Envelope; the recipient says so in arejectedof its own, which counts over thedeliveredits Gateway issues for the same Envelope. (3) A device that is no longer in force (§10.1, §10.2, §20 test 16): an Envelope is deleted when every device in force that synced within the Envelope TTL has acked it. A retired or revoked device had gone on counting for seven days after its last sync, so after a device was replaced nothing was deleted before itsexp; and a session lease ends when its device key is retired, as when it is dropped. (4) Device keys at a handover (§12.5): they stay with the old custodian and the Card still lists them, so the version that installs the new custodian's key gives each of them avalid_until. (5) Places that had not caught up with this revision:record_digestin the list of digests (§6.2), in thedelegationrow (§7) and in the threat table (§18); the device-window rule in §18.1 #15 and in the verification steps of Appendix F.4, where the reference checked it and the text did not; and the opening of this entry, which counted four changes on the wire where there are seven. (6) Informative: a card authorization lapses after about a week, so the Stripe sketch says what a longer deal does (§14.5, A.7). In the companion documents: the skill file and theruntime.v1reference say that awaitbelow 20 is fine where an agent's HTTP tool gives up sooner; the reference says that a credential of the operator an agent leaves stops working after the handover, and that a message which fails because the recipient changed its encryption key is sent again, a case in which the contract no longer callsdeliveredfinal; the whitepaper's answer about being online says what is removed after seven days, and its limit about a stale Card says what bounds it. Reference: the client resolves a signer again before it refuses a key its copy does not list, for the Envelope and for the Record inside, and resolves a recipient again before sealing when its copy is a day old or the recipient could not open the last Envelope; the Gateway no longer waits for the ack of a device whose key is retired or revoked; three new tests (81 in all); the vectors are unchanged. - From a second outside review (2026-11-10), taken critically as the first was: each point was reproduced in the reference implementation or read in the text before anything changed, and nothing is added to the wire. What was taken comes first; what was not taken, and why, comes last. (1) A recovery key signs one recovery (§4.1, §11.5, §18.1 #15, §20 test 1, Appendix F.3, F.5, F.6). Two recovery versions were told apart by their base, and a recovery over a held earlier base replaced whatever followed that base, a later recovery included. So a recovery key that had been used, and that an earlier version of the chain still committed to, could sign a second recovery over that earlier version and take the Actor from the first; the first chain handed over again took it back, so two Directories could hold different owners of one ID. Now two recovery versions signed by one recovery key that name different keys are a fork of that key, whatever bases they name and whichever arrived first, and two that name the same keys are the same recovery told twice. The second one counts by its own two signatures, wherever it claims to stand, so every Directory decides alike whether or not it holds that version's base; the fork is recorded at the lower of the two
v. A recovery version commits to a recovery key that no earlier version committed to (I7), so no chain uses a recovery key twice. A recovery key that has been used can still end an Actor and can no longer take it, and its holder destroys it (SHOULD). The fifth pass of r10 closed the same hole for two recoveries over one base; this closes it for every base. (2) What another signature covers is not normalized (§6.2, §20 test 3): the reference normalized thesigs[]of a Record insideattached[]in place, and of a Card inside a registration Envelope, so a Record that carried an attached Record with two entries of one signer verified once and failed the second time, and a Card that its key had signed twice could not be registered. (3) A receiver processes an Envelope only whentois its own ID (§10.7, §18.1 #3, §20 test 14); the reference client read a plaintext Envelope that a mailbox handed it although it was signed for another Actor. (4) No key was in force before an Actor's first Card version (§11.5, §20 test 1): the reference took the first version for every earlier moment, so a signature could be dated before the identity existed. A verifier allows 300 s there, because a request is judged by the Gateway's clock. (5) Other bytes under a (from,id) already seen are aconflictat the receiver as at a Gateway (§10.7, §12.2, §20 test 4); the reference client returned its first result. (6) Who may narrow a grant (§13, §14.2, §20 test 21): a delegation under a parent is a link only when its issuer is the parent's subject, or the parent's own issuer for the same subject. The text said "whoever issued it", and the evaluator returned a stranger's delegation with arecord_digest, hung under an Owner's standing grant, as the chain that carries the digest. §14.2 now says that the approval is the digest-carrying delegation the Owner issued. (7)exchange.v1, four things the text said two ways. The executor's key isissuer/idwithout@v, with thevand the digest it accepted stored beside it (§12.2, §12.3, as §14.1 said). The state of a deal depends on one fact beyond the Records held, which the agreement row always needed: whether the party held the agreement as concluded before a revocation reached it (§14.1). An agreement that carries a payment needs the approval, and a standing delegation is not one (§14.1, as §14.2 and §20 test 21 said). And the clause that a standing delegation caps a total "withexpand narrowtargets" is gone, because it does not (§14.2). (8) Smaller: a sender's "expired" is its own inference, and adeliveredthat arrives later replaces it (§12.1); an Agent's own device keys are Core and the Owner hierarchy isowner.v1, and an implementation withoutowner.v1reaches self-owned Actors only (front matter, §20); Gateways withoutfederation.v1still deliver to one another over §10.4 (front matter); a Gateway that does not answer a lookup in time is left out (§10.4); the A2A binding carries a task state as the A2A side names it and never as a transportrejected(§15.2);signed_atis the time a signer states (§12.1); and email does sign, for a domain or under a sender's certificate (§1.1).runtime.v1stays 0.6.0, and two of its answers carry less. A register retry returns neither the credential nor the claim link: the link makes whoever opens it the owner, and a registration request is no secret. A webhook notification names the agent and carries no message: its signature covered the message and not whom it was for, and the agent reads/inboxin any case in order to acknowledge. The contract also says how long asendkey is remembered and thatfailedwithexpiredcan still becomedelivered, and the skill file's Step 2 command keeps the answer when the secret store refuses the credential, where it had deleted it. In the package: six new tests (87 in all), each of which fails on the reference as it was;test_1a, which had asserted that a second recovery over an earlier base replaces the first, now asserts the fork; one more Card incards.jsonand two more invalid inputs (37 cases, 87 checks), with every vector that existed unchanged; two more checks in the walk-through of the skill file; and the backdating probe now sends from an Actor whose Card is older than the date it signs with, because one registered a moment ago is refused. Not taken, and why: a version condition onPATCH /profile(the race is between one agent's own processes, and every agent would carry anIf-Matchfor it; the reference file says to change the lists from one place); one state table in place of §4.1, §11.5 and Appendix F (Appendix F already governs where they differ, and moving three sections is a revision of its own); a compatibility matrix between levels (the layer table says what each Profile reaches); introduction links that carry an Actor ID and a Card location (a new feature); a restructuring of the skill file (it is five steps); persistence tests for the reference (it holds everything in memory, and says so); and benchmarks (nothing in this package is a measured figure, and the numbers of §22 are targets). - From the last review before development (2026-11-10), for consistency, format, abstraction, standards and simplicity. Nothing is added to the wire, and no test or vector changes. The key lifecycle is stated once: §18.1 #15 and §20 test 1 point at Appendix F and no longer repeat its rules, into which every fix to the lifecycle had to be written a second and a third time. Where the reference had decided and the text was silent, the text now says so: a replayed
ridis answeredconflict(§8, §10.4, §20 test 11); akidis 1 to 64 characters without#,/or whitespace (§4.3, andKidin the schema); an Error is served asapplication/problem+json(§8); and 256 KiB is what every Gateway accepts for an Envelope, where the text spoke of a limit a Gateway advertises and nothing advertises one (§5). Layers: the handle route and the policy request are markeddiscovery.v1in §10.4, as the Core duties and the Core row of §20 already had them, test 11 says which part of it is L0, and the whitepaper counts six Core calls; a rule stated for a level binds whoever lists that level's Profiles (front matter); the binding row of the layer table names the bindings that §10.6 and §15.2 define, and the README's row foraep-bindings.mdnames the ones that file holds. Standards: the two "MUST never" are MUST NOT; the normative references name RFC 9110, RFC 8615, RFC 4648 and FIPS 180-4, on which the body already relied (Appendix B, §11.2); and §21 names the one requirement of HTTP that the binding does not meet yet, aWWW-Authenticatechallenge on a 401. Inruntime.v1a 401 carriesWWW-Authenticate: Bearer, the two calls that need no credential name the error answer like the other fourteen, and the reference file names the media type of an error as the OpenAPI document did. Notation: field names, codes and Profile names in running text are written in code; I11 stands before I12 (Appendix F.3); Appendix F.6 quotes three vector names exactly; the lower-case "owner" of §4.1, which meant whoever rightfully holds a key and read like the Owner, is "the rightful holder"; and the whitepaper's row forowner.v1says that the device keys it adds are the owner's. - From a second look the same day, read as a newcomer would: the whitepaper, the contract of
runtime.v1, the examples and the Profiles in full, and the edits of the review before. The Core message format had areply_toof its own, which nothing used, while an answer is named in the Record'sparenteverywhere else (§6.2) andruntime.v1already maps itsreply_totoparent; two fields for one link would have split a thread between an agent that sets one and an agent that reads the other. The field is gone from the format (§7,Messagein the schema), the reference'smessage_payloadandsend_textput the reference inparent, and the test of the Core flow answers a message that way. Aparentchain was said to be at most 64 links long, and nothing was said of a longer one, which any long conversation is: the 64 links bound how far a verifier follows a chain to the anchor of an exchange, and nothing else (§6).limitonsyncandqueryis 1 to 100 and a Gateway clamps what lies outside, as the reference did and the text did not say (§9.3, §10.1, and the twolimitfields of the schema). One item of the review before is taken back: theagent:,owner:andenv:prefixes are not among the names that 1.0 registers or renames, because an Actor ID is signed into every Record and does not change (§21). The first pages now say what the rest says: four walls where §1.1 counted three and then four things, abuse that is attributable and not absent where §1.2 said that spam is not the default, every reference inside a Record pinned and the issuer's entry first insigs[]where the rules at a glance said "inside commitments" and "signs first". Example A.1 is "the basic flow (L0)" and no longer "Core-only", because it looks a handle up, which isdiscovery.v1, and §9.2 and §17 no longer say "Core" where they meant the protocol withoutexchange.v1. The heading of the table in §14.2 is written in code, and the one description in the schema that wrote the section sign as an escape writes it like the others. The test count stays at 87. - From a final check before publication (2026-11-10), for abstraction, standards, simplicity, feasibility and logic. Nothing is added to the wire or to the API, and no test or vector changes. Where the reference implementation or the schema had decided and the text was silent or said otherwise, the text now says so: the 256 KiB of an Envelope are counted on its JCS form, the one form that a re-serialization leaves alone (§5);
foreign.versionis optional, asPayloadBodyin the schema has it (§7); a repeat returns the first answer of an Envelope that was accepted or queued, and one that was refused is judged again, without whichretryablewould mean nothing (§10.4); the version of a policy is 0 before the first request (§10.4). Layers: the heading of §10.4 said "L0" where every other heading names a layer, and the sentence under its table bound "L1 implementations" to a binding that is Core and mandatory at every level; test 16 of §20 names the part of it that §10.1 gives to L1, as tests 9 and 11 name theirs; and the reading list forcore.v1in the front matter is the list of Core sections, of which it lacked §10.7, §12.4, §12.5 and §18.1. Terms: §2 defines Profile, Extension and binding as the front matter uses them, where it had one row for "a domain-semantics spec and its extensions". Key loss: what ends an Actor is the loss of every key that could still sign a version, the committed next key included, since that key signs its own rotation; the text spoke of the current key and the recovery key, and the whitepaper of a lost recovery key alone (§4.1, §11.5, Appendix F.5). Inexchange.v1the first row of the state table names the anchor of an exchange whatever its type: A.2 opens one with aholdcommand, and no row gave that a state forexpected_stateto be compared with (§14.1). The whitepaper no longer counts the reference implementation among what is normative, says that the starter level is L0, lists what condition 1 of §21 still lacks (an OpenAPI description and a conformance suite for the Core binding) in place of a governance body, which is no condition, and calls the scope of a handle a name scope, since a delegation has a scope too; and it writes record, envelope and profile in lower case throughout, as it did in all but ten places. Proposed and not applied, because each changes what an implementation does: issuingdeliveredand keeping cursors per device as plain Core duties of every Gateway, after which no rule would be bound to a level, and adeliveredthat fails to come would mean the same thing at every Gateway (§10.1, §12.1); and a way for a client to read back the version of its policy, which today only the answer to a successful request states (§10.4). - What that check left open, decided the same day (2026-11-10) on one instruction of the authors: add no complexity, and weigh standards, abstraction and efficiency. No test, vector or schema changes, and nothing in the reference implementation does: it issues the receipt and keeps cursors per device at every level already.
deliveredand cursors per device are Core duties of every Gateway, and nothing a Gateway does depends on a level any more (front matter, §7, §10.1, §10.6, §16.1, §20, A.1): an L0 Gateway was free to issue no receipt and kept one cursor per Actor, while the rest of the text read a receipt that does not come as an Envelope that expired (§12.1, §18) and counted device keys, whose acks one cursor would have mixed, as Core (§11.1). Tests 16 and 18 are Core tests, and in the Nostr row of §10.6 a relay is the store of a mailbox behind the Gateway Actor that issues the receipt. Aconflicton a policy request gets no new member: the text says that only the answer to a request that succeeded states the version, and how a client whose answer was lost finds it again, by sending the same lists under the samebase_versionand then under the next (§10.4). A handover covers the Owner: where the custodian that is left also holds the root key of the Agent's Owner, the Owner's Card is handed over by a rotation of its own in the same step, because the grant is checked at every Card version of the Agent and only the holder of the root renews it; the Agents of one such Owner leave together, or the one that leaves alone is given another Owner by a recovery version (§12.5). Inruntime.v1, which stays 0.6.0:contact: invitelets through the agents an agent has written to and those on its allow list, and no longer an agent that one of them introduces, because the statement an introduction has to carry (§9.3) was to be kept by the operator, so that the Actor that would have carried it never held it, and the API has no call for making an introduction or withdrawing one; and the reference file says that a handover moves the human's own identity with the agent. Not taken: a member of the Error that states the current version of a policy, which a second request settles; and a rule by which a rotation to the committed key outranks an ordinary version numbered ahead of it, which changes Appendix F.5 and belongs to the review that §21 asks for (the next item names it). - The email binding is taken out (2026-11-11; the authors' decision). §10.6 sketched an optional binding by which an operator's bridge turned email into Envelopes and Records into email. The protocol carries messages between agents, each signed by its sender, and specifies no bridge to email: the row is gone from §10.6, and with it the three places that pointed at it (the reading table of the front matter, the Mailbox entry of §2, the
summaryrow of §6). Email stays in the text as a comparison (§1.2). In the companion documents the whitepaper no longer speaks of bridges, the landscape no longer says that a bridge to email is specified, andruntime.v1dropsemailfrom the channels a message can arrive by (docs/runtime-v1-reference.md,docs/runtime-v1.openapi.yaml; the version stays 0.6.0). Nothing changes on the wire:foreignand theextnamespace are as they were, and no test, vector or schema changes. runtime.v1moves to 0.7.0 (2026-11-15;docs/aep-agent-onboarding.md,docs/runtime-v1-reference.md,docs/runtime-v1.openapi.yaml). In the calls, one thing joins the contract that the operator already did:GET /findadmits a number of lookups and searches a minute per agent and answersrate_limitedwithRetry-Afterpast it. The answer ofGET /limitsgains a field for that number,finds_per_minute(60 at the sample operator), and the documents now nameinbox_read_min_interval_s, which the answer already carried: the second between two inbox reads that the reference file already asked for. The documents also describe two things the answer ofGET /mealready carried:notices, the list in which the operator tells an agent to replace its credential or that its handle no longer reaches it, and ahandlethat is null in the second case. Two answers change what they report: the position of the inbox (inbox.next_cursorinGET /me, thecursorthatPOST /ackanswers) now also moves when the operator settles what it does not show the agent, so that the sender of a message dropped undercontact: inviteseesdelivered, as §12.1 has it and as the reference file already said; anddelivered_atis the time the receipt states, where it was the moment the operator came to read the receipt. The answer ofGET /inboxgains a member,has_more: a read now works through more of the mailbox when what it found was not for the agent (receipts for what the agent sent stand in the same mailbox), and says whether more may stand behind it, so a client reads again whilemessagesis not empty orhas_moreis true. Nothing else in the calls changes. In the documents: the skill file is rewritten, in about half the lines (238 where it had 478). It says each thing once: how every call works and the three rules stand before the five steps, a call is a sentence in the step that uses it, with its path relative to one base URL, and the one block left is the note an agent writes into its memory. The request and answer examples, the shell command of Step 2, the worked example and the tables of use cases and of what a human can ask are gone; the examples of every call stay in the reference file, andref/tools/check_openapi.pygoes on checking the calls the skill file names.review/skill_walkthrough.pyran that shell command and is retired with it. The front matter follows the Agent Skills format (name,description,license,compatibility, andmetadatawith the version, the origin and the addresses), and the file names one address for itself, at the operator. It adds what an agent could not learn from it before (the form of anidempotency_key, and that a request is repeated unchanged, key included, after no answer,rate_limitedorunavailable; that a read returns up to 20 messages, so an agent acknowledges and reads again until nothing is left; that it acknowledges once the messages are stored, without waiting for its human; that an answer goes to the message'sfrom; thatallowandblockhold agent ids; whataccepted,queued,failedand no reply mean for a sender; how a credential that the owner issues reaches the agent; that an agent with an account does not register again) and corrects three statements (contact: nonelets theallowlist through; the credential is an opaque string; a handle needs no lookup before a message, becausesendtakes it as it is). The reference file is corrected in the same places, and its sample loop acknowledges once the messages are stored. No test or vector of the specification changes, and no schema of it; nothing in the specification does.runtime.v1moves to 0.8.0 (2026-11-16, after a review that compared what the three documents say with what the deployment of the sample operator does;docs/aep-agent-onboarding.md,docs/runtime-v1-reference.md,docs/runtime-v1.openapi.yaml). Where the two differed, either the operator was changed to do what the documents said, or the documents were changed to say what the operator does. In the calls: the answer ofPOST /registerno longer carriesmcp_url, and the reference file's section on MCP and OAuth is gone, because the operator serves neither. The answer ofGET /me, and with it that ofPATCH /profile, gainsowner_url, the address of the Owner's page on the operator's host for people, null before the claim: the documents had sent the human to "the claim page" to issue and revoke credentials and to leave the operator, but a claim link works once, and no document gave the address of the page that does those things. The answer ofGET /limitsgainsrecord_retention_days(90 at the sample operator): the operator keeps the Envelope and the opened Record of what a hosted agent sent and received for that many days, where the documents had named only the 7 days of the mailbox; the reference file now says what is kept, for how long, and that an archive without an end date stays after a handover.GET /credentials, which the operator already answered, joins the contract (15 paths, 17 operations). A hosted agent's message is apayloadwithcontent_typeapplication/aep.message+jsonanddata: { text }, the Core message format of §7 and the one type its Card lists as accepted, where it had been labelledtext/plainover the same body; what an agent reads from its inbox does not change. Once a handover has happened every call of the agent that takes a credential answersconflict,GET /inboxandPOST /ackincluded, which had gone on working until the operator removed the agent, and its webhook is no longer notified. Two things beside it are as they were, and the reference file now says them: while a handover is under way and has not completed those two calls still work, and once the operator has seen the new custodian's rotation and deleted the account a call answersunauthorized. The reference file also names the interrupted handovers that reach neither end; the operator does not end them by itself today. The names the documents use or have used in their examples (nova,bob,carla,alice,name,example) are reserved at the sample operator, as the reference file already said they were, so that nobody can register one and receive what a copied example sends. In the documents only:GET /findis described as what it is, a search over the public agents the operator hosts that does not ask the Index (§9.3), and a lookup that goes on to the operator's own Gateway; a handle that another operator issued is not found there today, where the documents said it is found the same way once two operators are connected, and an agent's own handle is one that agents registered at the operator can message today, where the reference file said any agent on any operator; thesuggestionsthat aconflictfor a taken name could carry are gone from the reference file and from the contract, because the operator sends none; an agent that impersonates can have its handle taken back under the operator's handle policy, where the reference file said that its account is suspended, which the operator has no means to do; an agent is told to send aUser-Agentheader that names its client, because the operator's edge answers 403 to the default of some HTTP libraries before a request reaches the operator; and the claim page as it is served creates an Owner of its own for each claim, so an agent claimed there is handed over with its own Owner, where the reference file said that the agents of one human leave together. Smaller statements of the reference file are corrected as well: a search matches a text as one string and lists in the order of the handles, where the documents said that it ranks; a result showsdisplay_nameanddescriptiononly when the agent set them;inbox.unreadofGET /meandmailbox_snapshot[]of an export hold what the agent's reads of its inbox have brought and it has not acknowledged, which leaves out the mail that still waits at the Gateway; a handle that does not exist, a contact policy ofnoneand a block are refusals ofPOST /senditself, where they were listed as causes offailed; the errors table names the causes of aconflict; and the operator's web form is said to take whoever the operator's sign-in admits, which today is the operator's own account. The reference's errors table names, forexpiredandunsupported, the one case in which a call answers each (aPOST /sendto a recipient whose Card has run out, or that this API cannot seal to), its example Problem shows adetailthe operator sends, and it says that an agent which makes no call with its credential for 30 days can no longer be written to until it calls again, and that the operator's web form reads replies for 30 minutes. The skill file changes only where one of these makes a sentence false or leaves an agent without something it needs: its first sentence (other agents write to a handle), theUser-Agentheader,owner_urlas an address the agent keeps and gives its human, what a search covers, how it matches a text and in what order it lists, what a result holds, the handle of another operator, who the operator's web form takes, a lost credential and whatconflictandunauthorizedmean when its human moves it, the further causes of aconflict(a lost write, which is sent again, and a Card in conflict at the Gateway, the recipient's or the agent's own), and the version. The whitepaper and the README say, beside their statement thatruntime.v1is not implemented here, that a deployment of the Gateway and ofruntime.v1runs at dunia.org and is not part of this repository, and they ask for comments by email (aep@dunia.org) where they asked for issues in this repository; the reference file names abuse@dunia.org for a report about an agent. The reference client (ref/aep/client.py) and the client ofreview/spec_client.pysend aUser-Agentheader of their own (aep-ref-client/1,aep-spec-client/1), because the edge in front of that deployment answers 403 to the default of Python'surllib. Two answers of that deployment outside this contract were brought to what the specification says at the same time: its Gateway sends noWWW-Authenticatewith a 401 (§21), and its pages for Owners refuse one passkey too many withconflict, where they answeredrate_limitedwithout theretry_afterthat §8 requires. No test or vector of the specification changes, and no schema of it; nothing in the specification does.runtime.v1moves to 0.8.1 (2026-11-17, after a review of interrupted handovers;docs/aep-agent-onboarding.md,docs/runtime-v1-reference.md,docs/runtime-v1.openapi.yaml). The handover of a hosted Agent and its Owner to another custodian (§12.5) now ends by itself where it could stop half way, except in the cases the reference file names, and a refusal by the operator's Gateway of what the operator signed is no longer passed on to the agent as a statement about its credential. In the calls:unauthorizedanswers the credential and nothing else. Where the operator's Gateway refused asunauthorizedwhat the operator signed or published for an agent (a read or acknowledgement of its mailbox, a message, a Card version), the call answered 401 withWWW-Authenticate: Bearerand was counted against the caller's address; it now answersunavailablewithretry_after, orconflictonce the operator finds at its Gateway a version of the agent's Card under a key it never held (the new custodian's rotation, or a recovery made elsewhere), and from that finding on every call of the agent answers thatconflict, also while a handover is only under way, until the operator deletes the account. APOST /sendto a recipient whose chain does not verify at the operator answersconflict, and a lookup of such an Actor withGET /findan emptyresults, where both answeredunauthorized; a Card that the operator's Gateway serves for the recipient or its Owner and that is no valid Card counts as a chain that does not verify, where a send answeredinvalid_request. A handover whose first Card, the Owner's, the Gateway holds is carried through by the Owner's next try or by the operator's hourly check, also after the new custodian has published later versions, and one of which the Gateway holds no Card is given up; both act on the chain the Gateway serves, verified, and conclude nothing from a missing answer, and while the Gateway gives the Owner's try no answer the try can also send handover versions built on the chain the operator stores, and answersunavailablewhen that chain does not begin at the Owner's first version (an Owner renewed since its claim whose keys no incident replaced), where it built on the current version. A version of an agent's Card that waited for the Gateway when the handover began is published first, where the handover was refused until a read or acknowledgement of the agent's inbox published it. Every handover version the operator makes for one Actor under one handover stands on the Actor's last key event with the content of its current version, so two of them are the same step told twice (§4.1) and none of them can replace the new custodian's rotation (Appendix F.5); a handover version is therefore numbered after that key event, ascard_vin the handover's answer shows, where it was numbered after the current version. A second handover of an Owner with other hashes is refused for good once the Gateway shows the first begun, as before. While the Gateway gives no answer about the Owner it answersunavailablewithretry_after, where it was refused for good or went on, and it is refused for good when the operator has recorded an agent as handed over under the first. Otherwise it is refused, withretry_after, while a Card of the first can still be registered (§9.1), where it could fork the Owner. None of these publishes anything. A handover tried after the Owner's Card at the Gateway has moved to keys other than those the try names is refused withconflictand marks no agent as leaving, where it marked them all and their calls other thanGET /inboxandPOST /ackansweredconflictuntil the hourly check gave the handover up. Agents that an earlier try marked as leaving before the Owner's Card moved that way stay so until a try with the hashes of the published handover, a recovery of the agent or a move of the agent's own Card at the Gateway, where the hourly check released them. After the Gateway refuses the Owner's first Card, the agents are released at once only when the refusal is notunavailable,rate_limitedorconflictand a fresh reading shows that the Gateway holds no Card of the handover; otherwise they stay marked as leaving until the Owner's next try or the hourly check, where they were released at once after any refusal butunavailable. A renewal of an Owner's Card or grants, and a claim that adds an agent to the Owner, when it is prepared and when a prepared one is finished, now look for a handover of the Owner before they sign with its keys, and sign nothing when they find one; before, the renewal and the finish of a prepared claim did not look, and the preparation of a claim looked only for agents marked as leaving. The operator's replacement of keys after an incident waits while a Card of a handover of the Owner can still be registered, and once one is public it is refused for the Owner and for the agents the handover takes along, whose incident the new custodian then handles, and, when the Owner's keys are among those to replace, for every other agent of the Owner too; it sends nothing signed with the Owner's keys, nor with the key an agent's handover version is signed with, while a Card of the handover can still be registered or once one is public. Before, it went on for the Owner and for an agent not yet marked as leaving, and could fork the Owner or take it back from the new custodian. Of a handover and such a replacement of an agent's keys that run at the same moment, only one changes that agent's keys, where both could. A handover answersunavailablewhile that replacement changes the Owner's keys, and after it until the Owner's new key has signed each agent's grant again, where it went on unless an agent's own part of the replacement was under way. A handover is refused withconflictwhile a recovery of one of the Owner's agents is under way, where it went on and could leave that agent half moved, and it answersconflictwithretryabletrue when it loses against a change made at the same moment, where one of two tries that both found no handover stored answeredconflictwithretryablefalse. When the operator's vault answers that it could not store a handover's record, the handover answersunavailablewithretry_after, where it answeredunavailablewithout it. The operator deletes an agent's keys once the new custodian's rotation is at its Gateway, now also when a Card version of the agent had waited for the Gateway, and an Owner's keys once the Owner's rotation is there, now also when the Owner's try did not complete the handover.POST /registeranswers an internal fault withunavailable, where it answeredconflictwith the fault's own message. On the operator's host for people,HEAD /owneranswers asGETdoes, without a body and without setting a cookie, and aGETunder/owner/auth/is not found. A claim there now answersconflictfor a Card in conflict at the Gateway, for an agent whose custody has left and when it would add the agent to an Owner whose custody is leaving, also when it finishes a claim prepared earlier, where it went on, and once the operator has deleted what it kept for the Owner, where it answeredunavailableon every try (while the Gateway gives no answer about the agent or the Owner, such a finish answersunavailablewithretry_after), answers a refusal by the operator's Gateway of what the operator published or asked of it for the claim withunavailableandretry_after, or with thatconflictonce the agent's custody has left, and answers a fault of the operator or of its vault withunavailable; none of these is counted against the caller's address, where they could answerforbiddenand be counted. When the operator's vault fails to hand out the agent's recovery key, the claim's answer carriesrecovery_key_error, a Problem that says so, in place ofrecovery_key, where it left the key out without saying so, or answeredforbiddenalthough the claim was made; and a prepared claim of which the Gateway holds every Card is recorded with nothing signed, also after the operator has deleted the Owner's keys, where it then answeredunavailable. The owner page's actions, an export included, answerunavailablewhen the operator's vault cannot check the session or authorize the action, and so does one that renews the Owner's Card or grants when the Owner's history the operator keeps does not verify, where they could answerunauthorized; an export answersunavailablewhen the operator's Gateway serves a Card of the agent that is no valid Card, where it answeredinvalid_request, a handover answersunavailablewithretry_afterwhile the Gateway serves the Card of the Owner or of one of its agents as no valid Card, where it could answerinvalid_request, and the operator's web form answersunavailablewhen the Gateway serves its bridge's Card as no valid Card or as a chain that does not verify at the operator, where it answeredinvalid_requestorunauthorized. In the documents: the reference file says how an interrupted handover ends, where it listed the cases that did not end, its errors table says whenunauthorized,conflictandunavailablecome from a handover, from the operator's Gateway or from a recipient's Card, it names the lookups of an existing Actor that answer an emptyresults, and it says what to do when a claim answersconflictfor an Owner whose custody is leaving or has left; the skill file changes in its version, in itsconflictrow, which names a recipient whose Card does not verify, and in what an emptyresultsmeans. No test or vector of the specification changes, and no schema of it; nothing in the specification does.runtime.v1moves to 0.8.2 (2026-11-17, after a review of ten changes that an automated security scan of the deployed implementation proposed;docs/aep-agent-onboarding.md,docs/runtime-v1-reference.md,docs/runtime-v1.openapi.yaml). Each of the ten was tested against the deployed code before anything was taken from it. Three concern the operator's Runtime; none of the three was taken as it was written, and this item is what came of them. In the calls: aPUT /webhookof the URL already set, while the webhook is not disabled, changes nothing, where everyPUTstarted the count of failed deliveries again and one that was repeated within 24 hours kept a failing webhook from being disabled. A notification is tried for 24 hours from when it was made, and after that only when its webhook has by then been failing for 24 hours or more: once, and again only if the operator could not store the result of a try that failed. Before, a notification was tried until a failure disabled its webhook, the webhook was removed or set to another URL, or the operator's queue gave the notification up after 100 retries, about four days, and one whose webhook went on delivering other notifications, or was set again, at least once in every 24 hours was tried that long. A webhook is disabled as before, by a delivery that fails 24 hours or more after the first failure since the last delivery that succeeded; a notification whose 24 hours end while its webhook has been failing for less is dropped and leaves the webhook active, where it went on being tried. APOST /registerthat fails before anything of the agent is public is taken back and answers with what it failed with, now also when the operator cannot delete one of the three things it keeps of such an agent beside the stored agent (a sealed copy of its state, its keys in the operator's vault, its row of the operator's registry): the operator deletes the others and logs what stayed, and the name stays taken only when the row is what stayed, where a failed deletion of the sealed copy answeredunavailableand left the keys in the vault and the name taken, and a failed deletion in the vault or of the row was not logged. Two changes alter no answer. For the operator: when it replaces keys after an incident (§17), a second copy of the job for one Actor waits while the first is at work and does nothing once that one is done (two deliveries of one message of the operator's queue at the same moment are still not kept apart), and the jobs that share an Owner's part, which the job of each of the Owner's agents does before its own, give up a plan of new keys only after asking the Gateway again, when it shows nothing of the plan or shows the Actor forked, and only if no other job has written the plan since, where two jobs at work at the same moment could leave an agent with two successors of one key event (a fork, §4.1), replace an Owner's keys twice, or delete the only copy of an Owner's new keys. For the keys of an agent that has left (§12.5): a release that stopped after the stored agent was deleted is now finished also for the sealed copy of the agent's state that the operator keeps in a second store, signing and encryption private keys included, where that copy stayed for good. In the documents: the reference file says how long a notification is tried, which delivery disables a webhook and from which failure its 24 hours are counted, where it said that the operator disables the webhook after 24 hours of failed deliveries, and it names the two times of 24 hours under its limits; the OpenAPI document says the same ofPUT /webhookand of the notification; the skill file changes in its version. No test or vector of the specification changes, and no schema of it; nothing in the specification does.- The whitepaper is corrected on what a revocation dated back to a theft voids (2026-11-17;
docs/aep-whitepaper.md), from the review named in the item before this one. Its answer about a stolen key said that once the owner revokes the key with the time of the theft, what the thief signed after that time is void. The reference implementation and the deployed Gateway both void what the revoked key signed fromeffective_aton wherever a signature is judged, and both refuse a new Card version signed with it. But a Card version that the key signed at or aftereffective_atand that a Directory already holds stays the Actor's current version, with the encryption key, the endpoints and the device keys it lists, and those device keys go on signing and reading the mailbox; a probe on each implementation shows it. Both apply I5 (Appendix F.3) when a version arrives, and Appendix F.5 has no transition for a revocation that arrives after a version it would void. A recovery version settles it, as §4.1 says of any compromise: it discards every version above its base, and a key that only those versions listed verifies nothing afterwards. A rotation to the committed next key that takes thevof the first such version replaces that version and every version after it as well, when the thief does not hold the next key (§4.1, "Different keys"; Appendix F.5, a rotation toN(pred)where an ordinary version is held at itsv); a rotation built on a version that the revoked key signed at or aftereffective_atis refused withkey_revoked. A revocation that the key signed at or aftereffective_atand that a Directory already holds stays in force as that Card version does: both implementations judge a revocation's signature when the revocation arrives, and both go on treating the key it names as revoked. Probes on each implementation show these as well. A delegation that the key signed at or aftereffective_at, by which an Agent's Card names the Owner, and that a Directory already holds goes on being served with that Card, and the Agent goes on sending. The deployed Gateway refuses a next Card version of that Agent that names the Owner (unauthorized), unless it holds another delegation to that Agent whose signing key is not revoked, for instance one signed with a device key that the thief added to the Owner's Card with the stolen key; the reference implementation registers it. On both, a key of that Agent which the Owner revokes, after a recovery version and with its new key, signs nothing that is taken from that revocation'seffective_aton, and a device key that the Agent's Card lists goes on sending and reading the mailbox until it is revoked as well. On the deployed Gateway the Owner so ends it by revoking first every key that the thief added to the Owner's own Card and then every signing key that the Agent's Card lists. The reference implementation goes on taking a version with a new key from that Agent while the Agent's chain verifies, also fromcards[]and also after the delegation itself is revoked; there the Agent is stopped for good when the key that signed its first version is revoked from before that version. Probes on each implementation show it. An Actor without an Owner whose one signing key was stolen can revoke the thief's device keys with that key only before it revokes it, because that key signs the revocation; afterwards it needs the key that a recovery version or such a rotation gives it. The whitepaper's answer now says so, and its list of known limits (Section 5) has an item for it. The item stays until the specification says what a revocation does to the versions, revocations and delegations that a Directory already holds, and both implementations do it. Nothing in the specification, the schema, the vectors or the tests changes. - A key revocation reaches what a Directory already holds (2026-11-18, from a security review of the sample operator's deployment; §4.1, §4.3, §6.2, §8, §9.1, §10.4, §11.1, §11.5, §20 test 9, Appendix F.1 to F.6). Appendix F I5 says that a version is not signed by a key revoked at that signature's
signed_at, and §11.5 that revoking a key voids every delegation it issued fromeffective_at. Both implementations applied the first only to a version that arrived after the revocation and never applied the second to a delegation they held, so a revocation dated back to a theft left the thief's Card version current and in force and the device key it had enrolled verifying, and the state depended on which arrived first. Now a revocation changes nothing of a chain, and I5 is read where a version or a key is used. A version signed by a revoked key is void: it stays in the chain and is served, nothing it lists is relied on, a device key that only void versions list verifies nothing, and an Actor whose current version is void has no version in force: nobody seals to it or routes by it and nothing is delivered to it, until its next key event. A held revocation counts when a primary key of its issuer signed it and its issuer is the Actor or the Owner its current version names; no revocation voids a revocation, and no Card version takes one back by what it lists. A Directory holds a delegation or a revocation for as long as it holds a version that lists the key which signed it, the two versions of a recorded fork included: a fork at the version that introduced the key takes no revocation back, and a recovery, or a fork below that version, discards the Record with the version, so that akidwhich comes back with another key finds no Record to count. A revocation by a key of the Actor names no key that a later version introduced. A Gateway registers a revocation that a primary key signed which is in force and not revoked at its clock, and only for akidthat a version it holds lists: no key is revoked before a version lists it. It registers no version whose signing key is revoked at its clock. A version that a revoked key signed counts elsewhere only as the Home Gateway serves it (§10.4, §11.5). The remedy has an order, which §11.5 now states: the rotation to the committed key or a recovery version first, then the new key's revocation of the old one from the theft. Rules that the mechanism needs and that are rule changes in their own right: akidnames one key of one kind through all versions of an Actor, for every entry ofkeys[](§4.3, F.1, F.2), and a new key SHOULD take akidthat cannot be known before it is listed (§11.5); the signature of a version that counts is the earliest that verifies inside 300 s before itsiatto itsexp(F.3 I1; the reference did not bound it); a revocation and a device-key delegation are signed by a primary key of their issuer, never by a device key (§11.1, §11.5); a device delegation is held with the issuer signature that verified within 300 s of its Envelope (§9.1); the rotation to the committed key replaces the ordinary versions held above its key event whatever theirv(F.5; listed as left open until now); a Gateway that registers a version which takes the place of held versions (that rotation at or below theirv, or a recovery version) compares thevalid_fromof a device key, and avalid_untilthe version newly states, with the version it chains to and with none of the versions it replaces, and every other version with the latest version it holds (§9.1, §11.5, F.6: until now the sample operator's Gateway compared every version with the latest one it held, so one version published with a copy of the current key decided whether the holder's rotation or recovery was registered, and the reference compared every version with the one held below it, so one step told again could move thevalid_fromof a device that the held copy had enrolled); a version that takes the place of held versions, and is neither that rotation nor a recovery version, names the Owner the latest of them names (F.3 I10, F.5: until now the current key could leave the Owner out by numbering a version ahead of the claim, or by telling the claim step again with a smaller content digest); one step told again, and one recovery told again, keeps thekidof its primary key and of its recovery key (§4.1, §4.3, F.5: until now whoever held a copy of a revoked first key could tell its version again with the key under anotherkidand verify again); a Directory holds a Card version, a delegation and a revocation with the issuer signature it took it with, and a copy changes nothing of it (§6.2, F.3 I1); two delegations or two revocations under one reference with different content are both held, both revocations count, and a device key verifies only when each held delegation grants it (§6.2, §11.1, §11.5); a Gateway registers no revocation for an issuer whose chain is forked or whose current Card has expired (§9.1). Nothing changes in what a Directory serves of a chain. §8:key_revokedis answered where a revocation voids the signature, and by a Gateway for a key that is revoked at its clock. Vectors:vectors/revocations.json(eighteen chains with their revocations, what is held, what is served, which revocations count and the answer for each key at each moment, checked with the chain first, with the Records first and as a newcomer takes it; three Records that no Directory holds);invalid.jsongains five cases. Reference:KeyBook.judged,KeyBook.listing,KeyBook.in_force,KeyBook.discard_unsigned,rotation_replaces,keys_keep_their_kids,Gateway._compared_version. Not closed by this entry: an Actor whose key is revoked at its Home Gateway can be moved by that key to a Gateway that does not hold the revocation, which is then published at that Gateway as well (§11.5, §12.5). - A device-key delegation carries no
exp(§7, §8, §11.1, §20 test 9). §11.1 says a device key is judged by its Card entry and by revocation. Both implementations also ended the key at its delegation'sexp, but only where they held the delegation, and answeredunauthorizedwhere §8 listedkey_revoked, so two verifiers could disagree about one signature. A delegation withkey_kidthat carriesexpis now invalid (invalid_request), and no lookup reads one.vectors/cards.json:alice_device_delegationhas noexp;invalid.jsongains one case. - A binary value has one text (§6.2, §11.2, §20 test 17). The reference decoded any base64url text of the same bytes, so one signature had several texts that verified and gave the Envelope several digests; the sample operator's deployed implementation refused them. Whoever decodes a value now refuses a text that is not the canonical one:
unauthorizedfor a signature,invalid_requestotherwise.invalid.jsongains two cases. The JSON Schema pattern does not change. In the package, the three items together bring 33 new tests (120 in all), eight more invalid inputs (45 cases) and 719 vector checks where there were 87. - Left open, and said so: who assigns handle scopes once there is more than one list publisher (§21); a late same-
vversion signed by a key that a later key event has retired, naming other keys, is still recorded as a fork wherever it is found; one revocation by a copied primary key of its ownkidends every device that was enrolled from itseffective_aton, with what those devices signed, and the holder enrolls them again (§11.5); a fork recorded at or below the version that named the Owner ends that Owner's standing until a recovery version names it again, and a fork recorded below the version that introduced the key which signed a revocation (by an earlier key of the chain, or by a recovery key that signs a second recovery further down) discards that revocation, so that what it revoked verifies again for the time before the fork; for an Owner's chain that is every revocation of an Agent's key that a later key of the Owner signed, and an Owner whose chain is forked at its first version has no recovery with which to issue them again (§11.5); a chain in which two key events list different keys under onekid, which a Directory may hold from before the rule, is refused by every verifier, and no later version repairs it (Appendix F.2); while an Actor's current version is void, a Gateway's Index and its handle table still show that version, and nothing is sealed to it or routed by it (§10.4); a Gateway does not learn by itself what was revoked at another Gateway, so after a copied key has moved an Actor to another Gateway the revocation is published at that Gateway as well (§11.5, §12.5); the rotation to the committed key may leave out the Owner when it stands on a key event below the version that named the Owner (§4.1); a verifier that holds only whatresolveserves refuses, while an Actor's current version is void, what a device that an ordinary version enrolled signed beforeeffective_at(§11.5); the Home Gateway of an Agent judges a revocation that the Agent's Owner issued by the Owner's chain and the revocations of the Owner's keys as it holds them, and asks no other Gateway when the Owner is homed elsewhere (§9.1); an ordinary version that a copied key numbered ahead and handed to a Directory other than the Actor's Home Gateway stays that Directory's current version until the Actor's next key event, though a Gateway that holds a revocation of the key does not rely on it (§10.4); a Directory other than an Actor's Home Gateway that is handed a registered version with another signature of its key before it has the Home Gateway's copy holds the version with that signature, and a Gateway that asks whether the Home Gateway serves a version compares the content and not the signature (§10.4, Appendix F.3 I1); and the sample operator's recovery of a hosted Agent publishes again the revocations of the keys that the key events at or below its base list, and not that of a device which only ordinary versions between them listed (runtime.v1).
r10, eighth pass, 2026-11-09
Eighth pass, 2026-11-09, from a third review, which read the whole package and ran it: the vectors and the test suite were re-run under JCS, base58 and HPKE implementations written from the RFCs for the purpose (all passed, and the vectors regenerate byte for byte, a second independent check after r9's), and the reference Gateway was probed for cases no test covered. One rule changes meaning (who may change owner), one wire detail changes (what the ETag of a resolve answer covers), runtime.v1 moves to 0.4.0, and this document loses two appendices to files of their own. Everything else makes two places that disagreed say one thing, or says out loud what the rules already implied. What the review proposed and this pass did not apply is listed last, for the authors to accept or decline.
owneris not the primary key's to change (§4.1, §9.1, §18.1 #15, §20 test 1, Appendix F I10): an ordinary or rotation version carries its predecessor'sownerunchanged, or adds one where there was none (a claim); only a recovery version names another Owner or none. Before, nothing constrained the field: whoever held an Agent's primary key could publish a version naming an Owner of its own (with that Owner's ownrepresent:delegation), after which the real Owner's revocation of the stolen key was refused asunauthorized, since "the Owner" is whoever the current Card names; droppingowneraltogether worked too. The remedy the document prescribes for a stolen Agent key was removable with the stolen key. The reference Gateway accepted both; it now refuses them, and the builder inheritsownerlike the two commitments.- The
ETagof a resolve answer validates the whole answer (§7, §9, §10.4, §22.5, §20 test 9): r10 made the Card's content digest the ETag of an answer that also carries delegations, revocations and fork state, so a conditional request would be answered "not modified" across a new revocation, which HTTP does not allow a validator to do and which hides exactly what a cache must not miss. The content digest remains whatprevnames and what tells two copies of a Card apart. The reference Gateway also never answered 304 at all; it does now. - How far a signature can be backdated (§5, §11.5, §18.0): the text said a sender cannot backdate its own signature by more than the 300 s skew window of an honest ingress, and that seven days takes collusion with the ingress Gateway. An ingress checks no lower limit on
iat, by design, so any sender can date an Envelope and its signature up to the Envelope's lifetime in the past (an Envelope dated six days back is accepted and verifies in the reference). The seven-day acceptance rule of §11.5 already covers that window; the three sentences now describe it as it is. - What a signature can be relied on for (§11.6, §18.0): stated instead of left to be found. A signer or its Owner can void the signer's own earlier signatures with a backdated
effective_at, or with a Card version that drops the key under an earlieriat; the non-repudiation goal now names that condition, and the whitepaper lists it among the known limits. - One definition of Core (§1.2, front matter): §1.2 still listed §4 to §9, §11 to §13 and §15 as Core, which counted handles, the Index, sealing and delegation chains in and contradicted the layer table added in the seventh pass; it now points to that table. A "Core by role" table says which Core duty falls on an Agent and which on a Gateway, since an implementer builds one of the two.
- Smaller alignments: discovery and messaging are three operations, and the HTTP binding's other routes are named for what they are (§9); a Gateway MAY cap
waitlower and clamps instead of refusing (§10.1); "Companion Gateway" in §10.2 named a component the document elsewhere insists is not a Gateway;sendanswers 200 whenever the request could be read, with Problem Details only for a request that could not be taken apart (§10.4); the signed-request route is the route's own path from/v1on, whatever prefix a deployment adds (§10.4); a handle whose scope is a public suffix resolves through DNS only (§4.2); M0 to M2 make L1 only together with the Index of M3 (§20); §4.1 says that an honest retry which rebuilds a Card version instead of resending it is a fork, so a publisher builds each version once; the Owner in A.2's examples had an ID with a character outside the base58 alphabet, and its standing delegation was named with anagent:prefix. - One name: the key-holding component is a Runtime everywhere (§2, §10.2, §17, §18, §20, the whitepaper, the onboarding file, the README). It was "Companion" here, "key service" in the onboarding file and "Runtime" in the Profile's own name and in the internal guide.
- Structure: Appendix C (the comparison with similar projects and its sources) is kept as
docs/aep-landscape.mdand this appendix asspec/CHANGELOG.md, with a stub under each heading, which takes a sixth off the document without touching a rule or a section number. Eighteen paragraph-long rules (§4.1, §4.2, §5, §6.2, §9.1, §9.3, §9.4, §10.1, §10.4, §11.5, §13, §14.1, §17) are broken at 102 sentence boundaries into nested bullets or paragraphs; no word of a rule changed, and the only text added is a bold run-in label on some of them. runtime.v10.4.0 (the onboarding file anddocs/runtime-v1.openapi.yaml): the OpenAPI document was not valid OpenAPI 3.1 (fifteen responses had nodescription, which is REQUIRED) and had nooperationIds; both are fixed, and each operation'ssecuritynow names the lowest scope that may call it. Webhook deliveries follow the Standard Webhooks conventions (webhook-id,webhook-timestamp,webhook-signaturewithv1aEd25519,whpk_keys, a{ type, timestamp, data }body) instead ofX-AEP-*headers of our own.cursoron/inboxis optional and defaults to the acknowledged position. A message's status isqueued,accepted,deliveredorfailed; the document listed a separateexpiredstatus that the prose never produced. The registration example lacked theclaimfield the schema requires./limitsand/webhook/keysneed no credential.- Reference and tooling: the Owner rule in
verify_card_chainandmake_card; the whole-answer ETag andIf-None-Match;open_bodyhands the receiver a copy of a plaintext Record, becauseverify_recordnormalizessigs[]in place and doing that to the Envelope itself changed its digest and broke its signature (§6.2 now says a receiver normalizes its own copy); four new tests (56); one new invalid vector (29 cases, 71 checks; every other vector file is byte-identical);ref/tools/check_openapi.py, which checks the OpenAPI document and the onboarding file's examples against each other;review/, the probes and the independent JCS, base58 and HPKE this pass used. - Proposed, not applied (r11, above, applies all eight): (A) settle a fork by tiers, ordinary versions by rotation, rotations by recovery, recoveries not at all, because today one honest double publish of an ordinary version freezes an Actor until its owner spends the recovery key, and an L0 Card without one for good, while a thief avoids the rule by publishing
v+1; (B) bound a Card version'siat(not earlier than its predecessor's, and within 300 s of the Home Gateway's clock at first publication); (C) say in §14.1 what a voided countersignature means for a concluded agreement, which §11.5 hands to the Profile and the Profile does not take up; (D) name direct delivery, groups and federation as Profiles and replace the singlelevelof a Gateway (L0toL3) with the Profile names, since L2 and L3 are independent and one value cannot say both; (E) move the Index andqueryout ofdiscovery.v1into an optional Profile of their own, so that a Gateway anyone can run is not also a search service; (F) say when the 60-second revocation freshness applies; (G) renameinvalid_envelope, which answers every malformed input including ones that hold no Envelope; (H) publish one document per layer, as the front matter already promises for 1.0.
r10, 2026-11-08 and 09
Revision r10, 2026-11-08 and 2026-11-09, from a second pass over r9 for gaps and logic errors, then a third pass with three separate reviews (specification, reference implementation against the specification, companion documents), then a fourth from a review of the whole package, then a fifth and a sixth, two self-reviews of the whole package read end to end, then a seventh from a second review of the text. The first pass tightened three rules and clarified one; the third to sixth fixed the logic holes below and made the schema agree with the body; the seventh restructures how the document is read and closes the gaps the review found, and changes the meaning of no Core rule except where it says so below.
r10, seventh pass
Seventh pass, from a second review (the same reviewer's text read three times with variations, taken critically: what was accepted is listed first, what was declined and why last):
- Layering (front matter, every section heading, §20, §21): the document now says which layer each section belongs to, Core
core.v1, the Profilessealed.v1,owner.v1,discovery.v1,exchange.v1andruntime.v1, the Extensions direct, groups and federation, and the binding, with a layer table ("Sections", "Adds", "Without it") and a reading order by layer; the levels L0–L3 and P1 are defined as bundles of layers and the milestones M0–M5 are named as a build order only, so the three groupings are one taxonomy seen three ways. No section was renumbered. Core keeps identity with rotation and recovery: the review asked for a Core of "1:1 signed async messaging" with recovery as a Profile, and that was declined, because a verifier that lacks the recovery rules can disagree with one that has them about who an Actor is, and an identity layer whose implementations disagree about identity is a hole, not a smaller core. The cost is paid with Appendix F instead. - Key lifecycle as a state machine (Appendix F, normative): objects, the three kinds of version recognized by content, invariants I1–I9, the served-chain verification algorithm, the Directory state table (
active,conflicted(v),dead), the transitions on every input, and the priority cases each tied to a vector or a test. §4.1, §11.5 and §18.1 #15 are unchanged in meaning and now point to it. - Evidence (§12.1): two kinds, transport (
accepted,delivered, Gatewayrejected) and application (processed,verified,executed,settled, a recipient'srejected), with a table of who signs each, what it proves and what a verifier also needs; "non-repudiation" throughout means signature verifiability under the stated premises, never legal effect (§11.6). - Delivery states closed (§12.1, §12.2): a transition table for the cases that go wrong (no ack before
exp; a client crash betweenackand saving its cursor; two consumers under onekid; dual receipts after re-homing; a dead letter after the sender stopped syncing;invite's silent drop; the sender's own Gateway unreachable; an undeliverable control attestation); the Envelope dedup key is (recipient,from,id), keptexp+ 300 s, a resend of the same bytes isacceptedagain and the same key with other bytesconflict; the mailbox is append-only within its retention window and is not an archive; a client stores what it will process before it acks. - Verification and authorization are two questions (§11.5): a Record signed before a revocation's
effective_atstays verifiable as history; a command whose key has been revoked since is not executed,key_revoked, unless a Gateway-signedaccepted_atprecedeseffective_at. - Wire (§5, §4.3, §6.2, §18.1 #10, Appendix B): the wire is I-JSON (RFC 7493) and every signature and digest is over JCS (RFC 8785), so a re-serialized object still verifies and no implementation needs to preserve bytes; a duplicate name or a nesting deeper than 32 is refused; ids are ULID in canonical uppercase (RECOMMENDED) or UUIDv7 in lowercase and compare bytewise; a writer MUST emit set arrays sorted and a receiver never reorders; the limits (256 KiB per Envelope, 100 Envelopes and 64 Cards per request, depth 32) are applied before any signature is checked,
payload_too_largefor size and count,invalid_envelopefor malformed JSON; endpoint URLs are absolute https with a host and nothing else (http only in alocaldeployment) andspkiis a base64url DER SubjectPublicKeyInfo; a Gateway connects only to public addresses, checked at connect time. Normative references are listed in Appendix B (RFC 7493, 8785, 8032, 9180, 9457, 3339, 9562, 2119/8174). RFC 9421 was considered for request signing and not adopted: it carries more than the one signed JSON request the protocol already has, and would be a second authentication path inside Core; Appendix B records the decision. - Discovery (§9, §9.3, §9.4): §9 opens with what contact gating does not do (it is not anti-spam; a Gateway cannot read sealed bodies, so abuse control is quotas, operator policy and the recipient's filter);
inviteis one hop, lasts as long as the introducer's ownverified, is withdrawn by its revocation, and block > allow > policy; the signed Gateway list's trust anchor is the publisher's Actor ID, its key rotates through the publisher's Card chain, a lowervnever replaces a higher one, and lists from different publishers are kept apart; a cached Card is revalidated by its digest, never byv(§9, §22.5 had said an equalvskips the fetch, which would hide a fork or a recovery sitting at the samev). - Delegation and custody (§14.2, §17, §12.5): a
side_effect_levela Surface declares is a floor the executor may raise and never lower; a hosted Agent is self-certifying in protocol terms with its key in the operator's custody, and the document says so; export is the Actor's signed Records and nothing more, handover is a rotation that commits to the next custodian's key (or a co-signed recovery version when the old custodian also held the recovery key), and no private key crosses between custodians. - 1.0 (§21): five conditions, each checkable: public machine-readable artifacts including an OpenAPI description of the binding; two independent implementations from different organizations with a published interop matrix; an external security review published and addressed; governance, license, registries and the deprecation rule in force; a standard export and handover procedure.
runtime.v1(the onboarding file 0.3.0 anddocs/runtime-v1.openapi.yaml): the hosted API is a Profile with a machine-readable contract; its four security findings are fixed (a register retry never returns the credential; the claim link lives 24 hours and once; an unclaimed Agent holds one credential, mints none and rotates it; export has a format); scopes aresend,messagingandmanage; a webhook notifies and never acks.- Reference and tooling: I-JSON parsing with duplicate-name rejection and a depth cap; limits before verification; endpoint URL and SPKI validation; keyset paging for
query;acceptedorqueuedin thesendanswer;check_schema.pyruns the structural side of conformance andcheck_manifest.pyties the documents' counts and versions toMANIFEST.json; six new tests (52), vectors regenerated with set arrays sorted (70 checks, 28 invalid). - Declined, with reasons: dropping batch
sendor moving to JSON Text Sequences (the reason given was byte preservation, which I-JSON plus JCS removes); a UCAN wire mapping and a DIDComm binding (bindings, written when there is a second implementation to bind to); splitting the onboarding file into six documents (one file in six parts plus the OpenAPI document gives an Agent one thing to install and pin); makingmanagebefore claim weaker rather than unique (one credential and no minting closes the hole the review found without a second permission model).
r10, sixth pass
Sixth pass, a second self-review, reading every file as a stranger would:
- A conflicted Actor is not routed (§4.1, §10.4): §4.1 said a Directory "keeps routing" on the last unconflicted version while §10.4 refused sends to and from a forked Actor; the key is in two hands and whatever a mailbox took in could be read by whoever holds the copy, so the refusal stands and §4.1 now says so. A Directory that learns a Card from a peer takes the fork (
conflict.versions[]) and the revocations in the same answer with it, and a Gateway handed an unknown sender's Card incards[]asks that sender's Home Gateway, the authoritative revocation source (§10.4, §11.5), before trusting the key; the reference Gateway did neither, so a revoked key stayed usable at any Gateway that had not seen the revocation. - Publication is the sender's own statement (§9.1, §11.3, §18.1 #3): the reference Gateway stored a published delegation or Record whoever carried it, against rule 5; it now requires
fromamong the signers, with one exception stated in the text, a forwardedrevocation, which is complete in itself and which anyone may carry (§11.5). - What a Gateway issues (rule 10, §16.1, §18, §18.1 #12, §22.3, §10.6): the signed Gateway list is a Record the Gateway signs, so "only its Card and three attestations" was wrong; the rule is now "about others' traffic, only
delivered,rejectedandroutable". - Stated for the first time: a Gateway-scope handle follows the email model and may not survive re-homing (§4.2); an Owner's delegation is re-checked at every Card version, so it SHOULD outlive the Card (§9.1); a revocation is published to the Home Gateway of the Actor it names (§11.5); a sender whose Card has expired is refused with
expired(§10.4); which Owner a delegation chain must reach (§13);valid_fromis what orders severalenckeys (§11.4);httpendpoints exist only inside alocaldeployment (§7, schema). - Text made to agree with itself: a recipient's
rejectedMAY omiterrorwhen it simply declines, as A.8 does, and is plaintext because it carries nothing confidential, not "because the sender's key failed" (§7); the Home Gateway is "the" Gateway the Card names (§2); A.1 says an L0 Gateway MAY issuedelivered; a recovery base may be handed in the same chain (§4.1). Reference fixes beyond the two above: a chain with two versions at onevis refused outright instead of depending on sort order; an issuer's stale duplicate signature is dropped when another of its entries verifies (§6.2); a device-key delegation is never a link (§13); a lookup that fails withconflictwhile receiving keeps its code. Schema: theprofilepattern admits dotted vendor names likeextkeys (§4.3); the scope verb is[a-z][a-z0-9_]*(§13);key_events[]is required in a resolve answer (§10.4);policy.audiencelists Actors.
r10, fifth pass
Fifth pass, a self-review of specification, schema, reference implementation and companion documents:
- Recovery is
v+1 of its base (§4.1, §11.5, §18.1 #15, §20 test 1): the fourth-pass rule let recoveries over one base compete byv, so whoever held the old recovery key after the owner had spent it could publish a higher-vrecovery and take the Actor until a further key event; the text asked the owner to "rotate once more soon", which no verifier enforced. Now a recovery version sits exactly at its base'sv+1, a recovery key is spent by the version that uses it, and a second, different recovery over the same base is a fork of the recovery key itself: the Actor is conflicted for good and its Owner retires the ID. A forked version is never a base, and voided versions leave the Actor's history, so that a key only they introduced verifies nothing. The chain gap rule loses its recovery exception, since a recovery opens no gap. The reference Directory, client, tests and vectors follow (the recovery vector is nowv: 2, and a recovery at the wrongvis an invalid-input vector). - Peer lookups are one hop (§10.4): a Directory that does not hold an Actor MAY ask the Gateways on its list, each for what it holds (
?local=1), so a lookup for an Actor nobody holds ends instead of circling the list; the reference Gateways had asked each other recursively. - Delivery identity check and renewal (§10.4, §7): the reference outbox now verifies the Gateway behind a Card's URL before posting, as §10.4 already required, dead-letters a mismatch to its hosted sender, and renews the Gateway's own Card before it expires; a recipient that cannot decrypt sends the sender a plaintext
rejectednaming the Envelope (§11.4, §12.1), and the reference client does so. - Registration (§9.1): the reference Gateway accepted a Card naming an Owner on the strength of any delegation from that Owner; it now requires an unexpired, unrevoked
represent:<owner>grant to that Agent, as the text says, and refuses a published delegation that is neither such a grant nor a device-key delegation. - Text made to agree with itself: rule 10, §18 and §18.1 #14 say a Gateway issues its own Card as well as its three attestations, and that a
deliveredcounts from the Gateway the Card named at sending time or since (§7);conflictis{ v, versions[] }everywhere (§4.1, §10.4); the recipient's fork is aconflictonsend(§10.4); the Extension namespace admits Profile and binding names (§4.3); the Envelope has nine fields includingbody(§5); therejectedrow says whenerroris required (§7);retry_afteris a field in the structure and a header on a synchronous answer, andconflictcovers forks and handles (§8);policy.audiencelists Actors (§9.2); rooms are one log with per-member cursors throughout (§10.5, §22.3, A.5); re-homing in §12.5 and §16.3 matches §10.4, with forwarding an L3 lease; the delegation tie-break is stated once (§13); §17 is informative and no longer says MUST; a hosted Companion is the stated exception to the credential-leak row, and approvals on the person's device are a SHOULD with the custody exposure named (§18, §18.2); the onboarding-file claim in §20.1 describes what the file is; the L0 estimate and the license statement are hedged (§20, §21); B.1 says what forward secrecy HPKE lacks.
r10, fourth pass
Fourth pass, from a review of the whole package (specification, companion documents, reference implementation):
- Recovery outranks
v(§4.1, §11.5, §18.1 #15, §20 test 1): a recovery version over a held base is applied whatever thevof the versions after that base, so a thief who keeps publishing higher versions can no longer keep the owner out (the third-pass rule had a liveness hole, and the "jump far ahead" procedure is gone with it); among recoveries over one base the highervwon, and a recovery whose base is no longer held is rejected, which is what stops replays. Verifiers of every kind (Directory, client) share the rule. The fifth pass fixes thevof a recovery version and removes the competition between recoveries. - Gateway trust (§9.3, §10.1, §10.4): control attestations and the
contact: noneexemption count only from Gateways on the signed list the receiving Gateway trusts;actor_type: gatewayis self-declared. The reference Gateway had trusted the Card field. - Re-homing (§10.4): the old Home Gateway answers new sends for a moved Actor with
unavailablenaming the move, so a sending outbox re-resolves and delivers to the new Home Gateway; previously a sender on a third Gateway holding the old Card was refused as an open-relay attempt. The reference has the three-Gateway test. - Registration (§9.1): a batch is not a transaction; each Record is stored when it verifies on its own, and an Agent Card never exists without its Owner's delegation; the "no half-registered state" claim is now about that invariant, not about atomicity.
- Hosted Companions (§17): named as what the operator product APIs are, with the guarantees their compromise breaks and the ones that survive; one Core device per hosted Agent.
- Direct delivery (§10.3): the direct endpoint and the mailbox client MUST share one dedup store, or the recipient offers no direct endpoint.
- Smaller rules made explicit: the ID prefix follows
actor_typeandowneris anowner:ID (§4.1, schema); issuer entries insigs[]sort bykid(§6.2); a carried signature's lower bound is its Record'sexp, and attached Records nest one level (§5, §13); scope grammar and the evaluator's tie-break (§13); a futureeffective_atschedules a retirement (§11.5); the epoch grace period is a stated trade-off (§10.5); artifact ciphertext format (§7);accepted_atandsigned_atare clock claims (§11.5); signed requests carry everything in the body; the levels are capability levels and §20 names a build order M0–M5; §22.4 no longer claims the reference runs a production Gateway; the schema checks structure and says so;exp < iatis malformed; an Envelope past itsexpearns nodelivered(reference fix).
r10, third pass
Third pass:
- Same-
vversions (§4.1, §20 test 1): a competing version counts only when it verifies as a successor of the held predecessor; a copied Card with an edited body never freezes an Actor. The reference Directory recorded forks from unverified content and now verifies first. - Commitments (§4.1, §11.5, §18.1 #15):
next_key_hashandrecovery_key_hashare present together or absent together; an ordinary version MAY add both where the previous version had neither. Allowing one without the other let a stolen current key plant its own recovery key beside an existing commitment, which the owner's rotation could not remove. - Revoked keys (§11.5): a Card version signed by a revoked key is rejected with
key_revoked, and a retired key verifies only what it signed while in force; the reference KeyBook keeps every Card version so that both rules can be checked, and the vectors' payload is now signed by the current key (r9's was signed by a retired key after its retirement). sigs[](§5, §6.2): a receiver normalizes order and duplicates instead of rejecting, drops a third party's entry that fails to verify, and rejects the Record only when the issuer's (or the sender's) entry fails or falls outside its window.- Control attestations (§10.1):
delivered,rejectedandroutabletravel in plaintext Envelopes from the Gateway, so any Gateway can recognize one and receipts never chain; a sealed receipt could not be told from a message. - Rooms (§10.4, §10.5): members read the room log at the room's Gateway with a signed room sync under per-member cursors, so an L2 room works for members whose Home Gateways are L0 or L1; succession is a new
contextnaming itspredecessor, since a Record has one issuer. invitegating (§9.3): the introducer's ownverifiedattestation about the newcomer is required, so possession of a public attestation is not an introduction.- Registration (§9.1): the Owner's Card precedes the Owner's delegation, since the delegation's Envelope is
fromthe Owner. - Device keys (§11.1, §13): a device-key delegation is evaluated by the Card listing, not by the §13 chain rules; Owner device keys are defined the same way.
contact: none(§9.3, §10.4): enforced by the Home Gateway withforbidden;invitestays the recipient's check.- Revocation feed (§10.4):
sinceis a position, never a timestamp. - Schema: a revocation subject
issuer/idvalidates;extkeys such asexchange.v1andbridge.v1validate;Error.codeis open to Profile registrations; a businessrejectedneeds noerror; relay endpoints requiregateway, direct endpointsspkiand https;conflictcarries both forked versions; the Gateway's well-known document carriesregistrationandlevel. - Text: §2 and §5 agree on nine fields including
body; the Home Gateway is the first source of Card freshness, not its authority; A.2, A.5 and A.8 examples agree with §9.3, §10.5, §13 and §14.2; stalesearchable_fields,dr.v1,listings.jsonandfreshnesswording removed.
r10, first pass
First pass:
- Forks (§4.1, §20 test 1): two versions with the same
vare a fork only when both are signed by the same primary key. r9 called any same-vdisagreement a fork, which let a key retired by an earlier rotation freeze an Actor into the conflicted state from afar by publishing a stale-looking version. Signed by different keys, the rotation to the committed key wins in either arrival order and the other branch is discarded; a version signed by any other key is invalid. The reference Directory follows. deliveredduring a move (§7, §20 test 18): the sender accepts a receipt from the Gateway the recipient's Card named when the Envelope was sent, or from any later version it has verified, so the old Home Gateway's receipts for Envelopes it still held are not lost when the recipient re-homes. The reference client remembers the Home Gateway at sending time.- Recovery
v(§4.1): superseded in the fourth pass below, where recovery outranksv. - Receipts (§7): the no-receipt-for-a-receipt rule names Gateway control attestations only, as §10.1 and the reference implementation already did; an Agent's own
rejectedis a business statement and earns adeliveredlike any other Record. Test 8 names the half-registration rule.
r9, 2026-11-08
Revision r9, 2026-11-08, from a review of r8 (specification, schema, vectors and reference implementation, with the vectors and tests re-run under an independent HPKE, JCS and base58 implementation). Two rules change meaning (key events, how agreement delegations travel), one check is added (who may issue a delivered), one Core field is added and several are removed; everything else makes two places that disagreed say one thing or states a rule the reference implementation lacked.
- Key events (§4.1, §7, §11.5, §20 test 1, §18.1):
next_key_hashchanges only in a rotation andrecovery_key_hashonly in a recovery version. r8 let an ordinary version signed by the current key change either, which made the recovery key replaceable by whoever stole the current key, and the reference implementation did exactly that; a verifier now rejects such a version. With key events reduced to rotations and recoveries, a verifier tells the three kinds of version apart by content, so thekey_eventflag and theprev_key_eventdigest are removed from the Card. A recovery version's base is a key event and itsprevis that base's digest; a Directory applies it over a held base without having observed a fork (the fourth pass made it outrankv, see above). The reference vectors and the Directory logic follow. delivered(§7, §10.1, §18.1, §20 test 18): a sender accepts adeliveredonly from the Gateway the recipient's Card names askind: relay; r8 stated the rule and gave no check, and the reference client accepted a forged receipt from any self-declaredactor_type: gateway.claims.accepted_atis the latest Envelope's, an upper bound.- Agreements (§14.1, §14.2, A.6 to A.8): the countersigner of an agreement cannot change the signed
attached[], so each party puts its delegation and approval in the counterparties' hands in its own Record of the exchange (or theattached[]of its next Record); approvals are referenced from theevidence[]of attestations, not of agreements. - Discovery (§7, §9.2, §9.3, §9.4, §4.2): Core
capabilities[]{name, description, tags} gives Core discovery a functional vocabulary; exchange.v1 keeps its invocation details underextkeyed by the same name.queryresults are full signed Records plus ascore;freshness,claimand Card projections leave Core, andpolicy.searchable_fieldswith them.regionandcredentialare Profile additions. The signed Gateway list,GET /.well-known/aep/gateway, the DNS TXT record and the handle well-known answer (or redirect) have wire shapes; a scope publishes a pointer, never the changing Card. - Core vocabulary (§8, §13, §14.0, §14.1):
approval_required,resource_staleandexecution_failedare registered by exchange.v1, leaving 11 Core codes; Core scope verbs arediscloseandrepresent(which also scopes device keys), exchange.v1 registerscommandandagree; §3 marks its Profile and L3 rows. - Signatures and encodings (§4.1, §5, §11.2, §11.3, Appendix B): v1 signs with Ed25519 only; ES256, secp256k1 Schnorr and CBOR leave the document until a binding defines them (the Schnorr input for arbitrary-length messages was never specified, and §5 and §11.3 contradicted each other about CBOR). Protocol timestamps are whole seconds. Set arrays keep the writer's order and MUST NOT repeat a key; the "unsorted means invalid" rule is gone, since the signature already covers the order.
artifact.keys[]wraps andcontent_digestoverdatahave definitions. - Carried signatures (§5): signatures inside
attached[]are bounded bysigned_at ≤ iat + 300 slike any other, and an Actor that forwards a Record it signed earlier re-signs it; the reference implementation checked neither. - Handles and policy (§4.2, §10.4, §20 test 11): a handle is requested through the Card's
handles[], evaluated before anything is stored, so aconflictleaves no half-registered Actor; a policy request is ordered bybase_versionalone, since ids are opaque and a UUIDv7ridcompared as a string had made the reference implementation drop a newer policy while answeringok. - Custody (§11.1, §18.2, §15.2, Appendix B): the Owner key lives in a device keystore or offline; a passkey can unlock it but cannot be it, because WebAuthn does not sign the inputs of §11.3. One encryption key per Actor in v1 is stated, with per-device encryption as an Extension.
- Smaller alignments: Card freshness has an authority row (§3); a Record revocation may name every version (
issuer/id) or one (issuer/id@v) (§6, §7, §11.5); introductions travel inattached[](§9.3); a prior counterparty is the issuer of a Record the target attested or the subject of itsverified(§9.3); members sendctxEnvelopes to the room's Gateway directly (§10.5); parking is bounded by the carrying Envelope's TTL (§12.4); a Gateway MAY narrow admission for senders it does not host (§10.4); a stale Card against confidentiality is listed as a known limit (§18.2); receipts are never published Records (§9.3); shared-namespace names are provisional until registered (§21); the reduced reading list for L0 includes §9.4 and §10.1; the reference implementation gains the §13 evaluator, andsupportedlosesencodingsandinterop.
r8, 2026-11-08
Revision r8, 2026-11-08, from a full re-read of r7 for internal consistency. No rule changes meaning; every item below makes two places that disagreed say one thing, or states a rule the reference implementation already needed.
- Device keys (§7, §11.1, §11.5, §20): a Card has exactly one primary signing key, the
purpose: sigentry withoutdelegation, which alone carriesnext_key_hashand signs Card versions; every othersigentry is a device key. Adding or removing a device key is an ordinary version signed by the primary key, not a key event; a Card version signed by a device key is invalid. r7's key-event rule ("adds or rotates apurpose: sigkey") made A.2'sdev-1impossible to enroll, and the reference implementation rejected it; the implementation, schema and vectors now enforce the r8 rule. Changingrecovery_key_hashis a key event like changingnext_key_hash. deliveredissuer (§3, §7, §10.3, §12.1): "the recipient's Home Gateway and nobody else" contradicted §10.5, where the room's Gateway (and at L3 a mirror) issuesdeliveredper member. The rule is now "the Gateway that holds the acked mailbox or room log"; never a sender, a forwarder or a direct endpoint.- Payment attestations (§2, §3, §12.1, §14.1, §14.5, A.2, A.6, A.7):
authorizedis funds reserved and not moved,settledis funds moved into the payment Actor's or contract's custody,releasedis funds with the payee. r7 placed an escrow deposit under bothauthorizedandsettled; the x402 column, A.6 and A.7 now follow one definition, A.7'spayment_intentclaim ispayment_refas §14.5 says,provider_refsits insideclaims, and thefinancialrow's examples are the real actionsbuyandrelease. - Digests (§6):
next_key_hashandrecovery_key_hashhash the rawkeys[].pubbytes, as §4.1, §11.5 and the vectors already did; r7's "multicodec-prefixed" sentence was wrong and also calledpreva key hash. - Smaller alignments:
subjectvalues listed (§6, §7); identifiers are ULID or UUIDv7 everywhere (§4);/v1/actors/<id>path (§4.3);envelopes[]is{ id, digest }in §10.1 as in §7; the restricted-Index query carriesridandexplike every signed request (§9.3) and its presentation format is Appendix D;keys[].purposelistsrecovery(§11.2); the Context AAD formula is written in one piece (§11.4);supportedandinterop[]shapes match §7 (§15.2, §21); aroutablelease is issued on any authentication, not onlyOPEN(§16.3); the session binding SHOULD signACKso a stolen resume token cannot move a cursor (§10.2); §20 tests 1, 5, 9 and 18 name the r7 rules they exercise; the recovery key is listed with the secrets and kept apart (§20.1); A.2's derived state follows the §14.1 ladder; A.3 runs over long-pollsync; A.8's standing delegation bindstargetas §14.1 requires; Appendix B names the recovery key, B.1 no longer leans on the Relay Session's frames, Appendix C's Nostr row says "relay" and C.1 no longer calls Nostr heavy; the Contents calls §10.3 an Extension, as its heading does.
r7, 2026-11-07
Revision r7, 2026-11-07 (late), from a second review of r6 and a reference-implementation pass. A reviewer's claim that r6 had reverted earlier fixes was checked against the 2026-11-05 draft and withdrawn by the reviewer; none of the items below restores anything, every one is a defect present in both drafts.
delivered(§7, §10.1, §10.3, §12): issued by the recipient's Home Gateway and nobody else; a direct path produces nodelivered, only the recipient'sprocessed; L1 Gateways MUST, L0 MAY;claims.envelopes[]is a list of{ id, digest }, the digest being SHA-256 of the JCS of the whole Envelope.- Recovery version (§4.1, §7): its wire shape is fixed: a
purpose: recoverykey inkeys[]matching the base'srecovery_key_hash, two issuer signatures (recovery key and new active key),key_event: true,prev= the base's content digest, freshnext_key_hashandrecovery_key_hash,vabove every branch; it does not enumerate the branches it voids. - Card content digest (§7, §10.4, §11.5):
prev,prev_key_eventand the ETag are SHA-256 of the JCS of the Card withoutsigs. revocation.subjectfor a key is<actor id>#<kid>; the effect of revoking one signer's key on a multi-signed Record is stated (§7, §11.5).- Carried signatures are checked for
signed_at ≤ iat + 300 s(§5). attached[]sorts by the embedded Record'sissuer/id@v; the exchange anchor isissuer/id@1(§6).queuedonly after a durable outbox write;cards[]keyed by issuer; dead-lettering MUST producerejectedto the hosted sender (§10.4, §12); at most onekind: relayendpoint and optionalcard_url/card_digestininterop[](§7); a Card naming anowneris rejected unless the Owner's delegation is held or in the same batch (§9.1); a late device's first sync starts at the oldest retained Envelope (§10.1).- Groups (§10.5): epoch-key wraps inline up to 1,000 members, beyond that in a chunked key-package
artifact. - A2A binding (§15.2):
processedonce; task states asa2a.taskattestations. - exchange.v1 (§14.1, §14.2):
agree:<agreement@v>withmax_amountis the approval of that agreement's one payment, further financial commands needcommand:;expected_stateevaluation, approval consumption and acceptance are one atomic step;payment_refis a claim, not a term.
r6, 2026-11-07
Revision r6 of 2026-11-07, from a review of the 2026-11-05 draft. Section numbers are unchanged; headings now carry their status (Core, Extension, Profile, optional binding).
- Identity (§4.1, §7, §11.5): a same-
vfork is no longer "resolved by the pre-rotated key", which cannot work against a holder of the current key; it is settled only by a version signed with the recovery key committed inrecovery_key_hash, kept apart fromnext_key_hash. Key events (prev_key_event) letresolvereturn a chain as long as the number of rotations rather than the number of edits. - Handles (§4.2): the name/scope split is defined (first label = name) so that the
.well-knownpath is well-formed;handles[]carries the lowercase handle without@. - Signatures (§6.2, §10.2, §10.4, §11.3): every signature input starts with a domain tag (
aep/1/envelope,aep/1/record,aep/1/request,aep/1/open); the signed-request route string is defined byte for byte; RFC 9421 is no longer a second path in Core. signed_at(§5, §6.2, §11.5, §12.2): the receiver checks the sender's own signatures against the carrying Envelope (iat± 300 s) and carried-along signatures only forsigned_at ≤ iat; a resend after expiry re-signs with a freshsigned_at; same-signer entries merge by keeping the earliest valid one;effective_atmay be backdated, and the 7-dayaccepted_atrule is a SHOULD for irreversible and financial evidence only.- Values (§6, §4.3):
amountis always a decimal integer string;expis SHOULD on Records and absent on durable evidence; set arrays MUST be sorted by the signer;ids may be ULID or UUIDv7. - Transport (§10.1, §10.2, §10.3, §10.6, §20): HTTP long polling with per-device cursors is the L1 MTI; the Relay Session is an optional binding whose framing is left to a separate document; direct delivery is an optional Extension with the reason for its irreversible-command rule stated.
- Core/Profile boundary (§1.2, §2, §6.1, §6.2, §7, §8, §9.2, §14.0, Appendix D): Core guarantees three things, not five;
capabilities[],represented_principalandclaimmove toagent_card.ext["exchange.v1"]; the agreement-conclusion, agreement-revocation and command-immutability rules move to §14.1;contextis reserved rather than counted;routablebelongs to the Federation Extension; the credentials sketch is Appendix D;supported.content_typesis added. - Approvals (§14.2, §18): approval screens render from structured fields, never from a counterparty's
summary;max_amountcaps one command. - Cryptography (§11.2, §11.6): a hybrid post-quantum HPKE suite id is reserved; sealed sender is named as a known limit, not a non-goal.
- Appendices B and C: Web Bot Auth, DNS-AID, AIMS and WIMSE added to the standards map;
draft-chapman-a2a-mls, ActivityPub + WebFinger and Matrix added to the comparison; ERC-8004 and AGNTCY rows updated to late-2026 status; AP2 governance flagged as unconfirmed; 2026 inbox services extended; sources added. - Editorial: stray text in §10.1 and §22.5 removed, §10.5 code span fixed, tests 14 and 15 ordered by level, example captions in A.2 and A.5 corrected.
- From building the reference implementation (same day): the multicodec prefix inside an Actor ID is an unsigned varint (
ed 01), which §4.1, §11.2 and §20.1 now say;key_eventmarks key-event Card versions (§7, §11.5); a futureiatisinvalid_envelope(§5); path encoding of IDs stated (§10.4); §18.0 states the four security goals and the assumptions they rest on; §20 names the schema, vector, checker and reference-implementation artifacts that accompany this revision.
Package notes by pass (from the README, before the eighth pass)
These paragraphs closed the package README until the eighth pass. They retell the entries above for a reader of the package rather than of the specification, and are kept as they were written, except that a review is no longer called external or independent (the note at the top of this file).
What r10 changed
A second pass over r9 for gaps and logic errors, a third pass from three separate reviews of the whole package, a fourth from a review, a fifth and a sixth, two self-reviews of the whole package read end to end, and a seventh from a second review of the text (Appendix E, r10). From the second pass: a fork requires both versions to be signed by the same primary key, so a key retired by a rotation cannot freeze an Actor from afar; a sender accepts a delivered from the Gateway the recipient's Card named at sending time as well as the current one, so receipts survive a re-homing; the recovery-version v rule has a procedure (jump far ahead, re-issue if a higher branch turns up); the no-receipt-for-a-receipt rule names Gateway control attestations only.
From the third pass, the rules that changed: a same-v version counts only when it verifies as a successor (the reference Directory had recorded forks from unverified content, which let anyone freeze any Actor); next_key_hash and recovery_key_hash are present together or absent together (adding one alone let a stolen key plant its own recovery key); a Card version signed by a revoked key is rejected, and a retired key verifies only what it signed while in force (the reference KeyBook now keeps every version, and the r9 vectors' payload, signed by a retired key after its retirement, was itself invalid under the rule it was meant to show); sigs[] is normalized by receivers, not rejected; Gateway control attestations travel in plaintext so receipts never chain across Gateways; L2 rooms are read at the room's Gateway with a signed room sync; contact: none is enforced by the Home Gateway; invite needs the introducer's own attestation about the newcomer; the revocation feed cursor is a position. In the reference: the client no longer wedges on one undecryptable Envelope, verifies revocations before applying them, refuses conflicted Actors, re-homes with move(), and publishes v+1 instead of a second v1; the Gateway re-resolves on delivery failure, forwards a definite remote rejection as rejected, drops hosted/handle/Index state when a Card version withdraws it, delivers only to https public endpoints unless started with --local-endpoints, and answers every malformed request with Problem Details.
From the fourth pass: recovery outranks v (the third-pass rule let a thief who kept publishing higher versions keep the owner out; now a recovery over a held base voids everything after it whatever their v, the "jump far ahead" procedure is gone; among recoveries over one base the higher v won, which the fifth pass below replaced); Gateway control traffic and the contact: none exemption count only from Gateways on the signed list the receiving Gateway trusts (the reference had trusted actor_type: gateway); re-homing failover works for a sender on a third Gateway (the old Home Gateway answers unavailable naming the move and the sending outbox re-resolves); registration batches are described as what they are (idempotent Records, not a transaction); hosted Companions (operator product APIs such as the onboarding file's /agent/v1) are named in §17 with the guarantees their compromise breaks; direct delivery requires a shared dedup store; the ID prefix follows actor_type; attached Records nest one level; exp < iat is malformed; an expired Envelope earns no delivered; the schema ties body to enc and key purpose to algorithm and types owner as an owner: ID; §20 names a build order M0–M5 and says the levels are capability levels. Tests 43, vectors unchanged from the third pass (69 checks).
From the fifth pass, one rule changed meaning: a recovery version sits at its base's v+1 exactly, a recovery key is spent by the version that uses it, and a second, different recovery over the same base is a fork of the recovery key that ends the Actor (the fourth-pass rule let recoveries over one base compete by v, so a thief of the old recovery key could take the Actor after the owner had used it, and the "rotate once more soon" advice that was meant to close that window was enforced by nobody). The rest is the reference catching up with the text and the text agreeing with itself: peer resolve lookups are one hop (?local=1; the reference Gateways had asked each other in a loop, which also made the test suite three times slower), the outbox checks the Gateway behind a Card's URL before posting and dead-letters a mismatch, the Gateway renews its own Card, a recipient that cannot decrypt sends a plaintext rejected, registration requires the Owner's unexpired, unrevoked represent: grant to that Agent, conflict is { v, versions[] } everywhere, the Envelope has nine fields including body, rooms are one log with per-member cursors throughout, re-homing reads the same in §10.4, §12.5 and §16.3, §17 is informative and says so, retry_after is a field and a header, and the hosted Companion is the stated exception to the credential-leak row. Tests 45, vector checks 70 (28 invalid cases).
From the sixth pass, read once more as a stranger would: a conflicted Actor is not routed (§4.1 had said "keeps routing" while §10.4 refused); a Gateway that learns a Card from a peer takes the revocations and the fork in the same answer, and one handed an unknown sender's Card in cards[] asks that sender's Home Gateway before trusting the key (the reference did neither, so a revoked key stayed usable wherever the revocation had not arrived); publication requires from among the signers, with a forwarded revocation as the one stated exception (the reference stored published Records whoever carried them); the signed Gateway list is a Record the Gateway signs, so every "issues only its Card and three attestations" sentence now reads "about others' traffic"; a handle under a Gateway's scope follows the email model; an Owner's delegation is re-checked at every Card version; a revocation goes to the Home Gateway of the Actor it names; an expired sender Card is expired; a recipient's rejected may omit error when it declines. Reference: a chain with two versions at one v is refused outright, an issuer's stale duplicate signature is dropped when another verifies, a device-key delegation is never a link. Schema: dotted profile names, the scope-verb grammar, key_events[] required. Tests 46, vector checks 70.
From the seventh pass, a second review, taken critically: what it asked for and what this package did with it. Accepted. The spec now says which layer every section belongs to (Core core.v1, the Profiles sealed.v1, owner.v1, discovery.v1, exchange.v1, runtime.v1, the Extensions), with a layer table and a reading order in the front matter and the levels redefined as bundles of layers; a normative key-lifecycle state machine (Appendix F: objects, kinds by content, invariants, the served-chain algorithm, the Directory state table and the transitions, each priority case tied to a vector or a test); evidence split into transport and application kinds with a table of what each proves and what a verifier also needs, and "non-repudiation" defined as signature verifiability; a transition table for the delivery cases that go wrong (expiry before ack, a crash between ack and cursor save, two consumers on one cursor, dual receipts after re-homing, a dead letter after the sender stopped syncing, the silent drop of invite); the idempotency key scoped to (recipient, from, id) with retention exp + 300 s and a resend of the same bytes answered accepted again; the mailbox append-only within its retention window and not an archive; verification and executable authorization separated (a command whose key was revoked since is history, not an order); I-JSON on the wire with JCS under every signature so that re-serialization is allowed, duplicate names and deep nesting refused, ids in canonical forms compared bytewise, set arrays written sorted (MUST), limits applied before any signature is checked, endpoint URLs and SPKI pins validated, connections only to public addresses checked at connect time; invite given exact semantics (one hop, the introducer's lifetime, withdrawn by revocation, block over allow over policy); the Gateway list given a trust anchor (the publisher's Actor ID, rotation by its chain, a lower v never replacing a higher, per-publisher lists); an anti-abuse disclaimer in §9; side_effect_level declared by a Surface made a floor; the hosted agent's custody said plainly; export and handover defined (§12.5: signed Records, and a rotation committing to the next custodian's key); five conditions for 1.0; and in runtime.v1, the four security findings fixed (register retries never return the credential, the claim link lives 24 hours once, an unclaimed agent holds one credential, mints none and rotates it, the export has a format), the scopes send/messaging/manage, an OpenAPI 3.1 document, and a webhook that notifies and never acks. In the reference: I-JSON parsing, limits before verification, URL and SPKI checks, keyset paging for query, accepted or queued in the send answer, a schema checker and a manifest checker, six new tests. In the documents: the whitepaper rewritten in six parts without the recovery algorithm, room epochs, leases, payment states or HTTP detail, with the "three operations and five objects" sentence, the DNS/SMTP analogy, the "not a central server" claim and the unmeasured figures corrected; the internal guide restructured into normative invariant, interface contract, reference adapter and deferred, with fork-capable storage, quotas and backpressure, and an operational checklist; and one manifest that ties test counts and document versions together. Rejected, with reasons. Moving recovery and forks out of Core: a verifier without them can disagree with one that has them about who an Actor is, and an identity layer whose implementations disagree about identity is a hole, not a smaller core, so they stay in Core and the complexity is paid for with Appendix F instead. RFC 9421 HTTP Message Signatures: more moving parts than the one signed JSON request the protocol already has, and a second authentication path inside Core; recorded in Appendix B as considered. Dropping batch send or moving to JSON Text Sequences: the reason given was raw-byte preservation, and I-JSON plus JCS removes the need for it. Splitting the onboarding file into six documents: one file in six parts plus the OpenAPI document gives an agent one thing to install and pin. A UCAN wire mapping and a DIDComm binding: bindings, written when there is a second implementation to bind to. Tests 52, vector checks 70 (28 invalid cases), 17 routes in the OpenAPI document.
What r9 changed, and why
r9 comes from a review of the whole r8 package in which the vectors and tests were re-run under an independent HPKE, JCS and base58 implementation (all passed: a first check of the reference under building blocks it does not use, not yet the "two independent implementations from different organizations" condition of §21, which needs a second implementation, not a second set of libraries under this one). The review found two rules whose meaning had to change:
- A stolen current key could replace the recovery key. §4.1 said
recovery_key_hashchanges only under the recovery key; §11.5 and the reference implementation let any key event signed by the current key change it. r9 fixes the invariant:next_key_hashchanges only by rotating,recovery_key_hashonly by recovering, and a verifier rejects any other change. Key events are now exactly rotations and recoveries, which a verifier recognizes by content, so thekey_eventflag and theprev_key_eventdigest are gone. A recovery version's base is a key event; a Directory applies it over a held base without an observed fork and ignores one whosevdoes not exceed what it holds. - A forged
deliveredwas accepted. The spec said only the recipient's Gateway may issue one, but gave no check, andactor_type: gatewayis self-declared. A sender now accepts adeliveredonly from the Gateway the recipient's Card names.
The rest reduces Core: the three exchange.v1 error codes, credential contact gating, Card projections, freshness and claim in query results, searchable_fields, encodings, interop, ES256, Schnorr, CBOR and the "unsorted array is invalid" rule leave Core; Core gains capabilities[] (name, description, tags) so that discovery has a functional vocabulary, and wire shapes for the Gateway list, the Gateway's well-known document, the DNS TXT record and the handle well-known answer. The multi-party agreement no longer asks a countersigner to modify signed content; a passkey is no longer called an Owner key; policy requests are ordered by base_version alone; handles are evaluated before anything is stored. Appendix E has the full list.
Earlier revisions: r8 was a consistency pass over r7 (one primary signing key per Card, device keys as ordinary versions); r7 fixed the recovery version's wire shape, delivered digests and revocation.subject; r6 introduced the recovery key, domain-tagged signatures and the signed_at rules.