# AllowedBy — Specification Set

Version 0.2.14-draft · 28 November 2026 · Status: working draft, not for implementation claims

**AllowedBy** is the one brand: company, product, SDKs and badge. It has three layers:

| Layer | Prefix | What it names |
|---|---|---|
| Identity and network | `oaid` (wire prefix only: `/.well-known/oaid`, `oaid-node`) | The passport, the nodes, the transparency log, trust lists, custody tiers, assurance levels, human registration. |
| Consent | ABY | The grant, the capability model, the HTTP envelope and the challenge a service returns. |
| Approval | AMH — the **AskMyHuman** page and link domain | The approval request, the link and binding code a human receives, the approval page on the human's home node and how the grant comes back. |

## Document map

| Id | Title | Defines |
|---|---|---|
| CHANGES-0.2 | Changes in 0.2.x-draft | What changed and why. Normative for this revision; §15 (second review fixes) overrides earlier sections. |
| [ARCH-1](https://docs.allowedby.com/specs/ARCH-1-architecture) | Product and technical architecture (informative) | The five surfaces, the hot path budget, node/runtime/service internals, threat model, the simplicity contract, targets, build order, product and governance. Read first. |
| [OAID-1](https://docs.allowedby.com/specs/OAID-1-core) | Core: terminology, identifiers, cryptography, encodings | Vocabulary, identifier syntax, signature suites, JWS profile, errors, standards alignment, IANA, privacy. |
| [OAID-2](https://docs.allowedby.com/specs/OAID-2-node) | Node: statement, discovery, endpoints | The `/.well-known/oaid` statement, node and role keys, DNS binding, the node HTTP API. |
| [OAID-3](https://docs.allowedby.com/specs/OAID-3-passport) | Passport: format, issuance, renewal, revocation | The identity document of an agent runtime and its lifecycle. |
| [OAID-4](https://docs.allowedby.com/specs/OAID-4-log) | Transparency log and witnessing | Commitment log, C2SP checkpoints, proofs, witness cosignatures, monitors. |
| [OAID-5](https://docs.allowedby.com/specs/OAID-5-trust) | Trust lists, vouching, trust programs | How a service decides which nodes it accepts. |
| [OAID-6](https://docs.allowedby.com/specs/OAID-6-custody) | Key custody tiers and attestation | Where private keys live, what evidence a runtime presents, how a node grades it. |
| [OAID-7](https://docs.allowedby.com/specs/OAID-7-levels) | Assurance levels and human registration | L0 to L3, qualified signatures, human registration (`human.reg`), pairwise ids, organisational authority, privacy. |
| [ABY-1](https://docs.allowedby.com/specs/ABY-1-grant) | Grant: format, human signature, delegation, lifecycle | The consent document, `display`, how a human signs it, revisions, attenuation, expiry. |
| [ABY-2](https://docs.allowedby.com/specs/ABY-2-http) | HTTP envelope, proof, challenge | Two headers (`Allowed-By` + `AllowedBy-Proof`), the proof JWT, the `AllowedBy` challenge, verification algorithm, replay, rebind, errors. RFC 9421 via the Web Bot Auth profile, optional. |
| [ABY-3](https://docs.allowedby.com/specs/ABY-3-capabilities) | Capability model | Capability strings, JSON constraints, attenuation rules, classes and their defaults. |
| [AMH-1](https://docs.allowedby.com/specs/AMH-1-approval) | Approval flow and page | Creating an approval request, the link and binding code, states and polling, the page, step-up, denial. |
| [ORG-1](https://docs.allowedby.com/specs/ORG-1-organisations) | Organisations | Organisation profile, SaaS and API provider configuration and tenants, personal data shared, budgets (grant, human, organisation), mandates to act for a company, fleet management of humans and agents. |
| [CONF-1](https://docs.allowedby.com/specs/CONF-1-conformance) | Conformance profiles and test vectors | What a runtime, a node, a verifier and an approval page must implement; test vectors in `vectors/` (generated by `vectors/generate.py`). |

## Levels

Assurance and authority are two axes. **L0**: an agent with a passport and no human (identification without consent). **L1**: a human with a passkey. **L2**: a human whose legal identity was verified (eIDAS substantial; EU Digital Identity Wallet by default). **L3**: verified at eIDAS high, on a hardware passkey. A route may also require a **qualified electronic signature**. The service chooses the level per route. Organisational authority is a separate `authority` countersign, not a level. Every grant carries a human passkey signature.

## Reading order

Everyone: ARCH-1 first, for the shape of the system and why it is fast, secure and simple. CHANGES-0.2 if you read 0.1.

Implementers of a **service** that wants to accept agents: OAID-1, ABY-2, ABY-1, OAID-7 §4 (just the human registration a grant embeds), OAID-5, ABY-3. Nothing else is required; a service never contacts a node at request time.

**SaaS and API providers** setting up: ORG-1 §2–§3 first (profile, configuration file, setup steps, tenants), then the service list above. **Enterprises** managing staff and agents: ORG-1 §5–§8.

Implementers of an **agent runtime**: OAID-1, OAID-3, OAID-6, ABY-2, AMH-1.

Operators of a **node**: everything.

## Conventions

The key words MUST, MUST NOT, REQUIRED, SHALL, SHOULD, SHOULD NOT, RECOMMENDED, MAY and OPTIONAL are to be interpreted as described in RFC 2119 and RFC 8174 when, and only when, they appear in all capitals.

JSON examples are illustrative; where an example and normative text disagree, the text wins. All examples use `node.example.org` as a node, `acme.example` as an operator and `api.example.com` as a service.

## Versioning

The **set version** is the highest document version, today 0.2.14-draft. Each document carries its own version and a **Change log** section at its end.

Every change to a document, however small:

1. adds a row to that document's Change log (version, date, one-line change, the CHANGES section that holds the reasoning);
2. increments the document's version: the patch number for changes within a release (0.2.1 → 0.2.2), the minor number for a new release (0.2.x → 0.3.0);
3. raises the set version here if it is now the highest;
4. adds the reasoning to the current CHANGES file when it is normative.

`tools/check_versions.py` checks rules 1–3 and runs in the pre-commit hook. Wire formats carry a `v` field; implementations MUST reject documents whose major version they do not implement.

## Change log

Every change to this document adds a row here and increments its version (README, Versioning).

| Version | Date | Change |
|---|---|---|
| 0.2.14-draft | 2026-11-28 | Set version 0.2.14-draft (CHANGES §28). |
| 0.2.13-draft | 2026-11-26 | Set version 0.2.13-draft (CHANGES §27). |
| 0.2.12-draft | 2026-11-26 | Set version 0.2.12-draft (CHANGES §26). |
| 0.2.11-draft | 2026-11-19 | Set version 0.2.11-draft (CHANGES §25). |
| 0.2.10-draft | 2026-11-18 | Set version 0.2.10-draft (CHANGES §24). |
| 0.2.9-draft | 2026-11-08 | Set version 0.2.9-draft (CHANGES §23). |
| 0.2.8-draft | 2026-10-29 | Set version 0.2.8-draft (CHANGES §22). |
| 0.2.7-draft | 2026-10-29 | Set version 0.2.7-draft (CHANGES §21). |
| 0.2.6-draft | 2026-10-29 | Set version 0.2.6-draft (CHANGES §20). |
| 0.2.5-draft | 2026-10-29 | Set version 0.2.5-draft (CHANGES §19). |
| 0.2.4-draft | 2026-10-29 | ORG-1 added to the map and reading order; set version 0.2.4-draft (CHANGES §18). |
| 0.2.3-draft | 2026-10-28 | Levels L0–L3 and QES; set version 0.2.3-draft (CHANGES §17). |
| 0.2.2-draft | 2026-10-27 | Set version 0.2.2-draft; versioning rule: every change adds a change-log entry and increments the version. |
| 0.2.1-draft | 2026-10-27 | Set index updated for the second review fixes (CHANGES §15). |
| 0.2.0-draft | 2026-10-27 | Single brand AllowedBy; document map and reading order rewritten for 0.2 (CHANGES §1). |
