ADR 0049: A site can require each exact step to be signed for

  • Status: Accepted on 2026-11-29. The rule, its vectors, the reference verifier and the Node starter are on main at once. AD-23 and OP-21 are in the library, and go into the frozen benchmark with benchmark-v1.8, which Season 2 runs. Season 1 stays on benchmark-v1.7. Since 2026-12-01 every season, Season 1 included, runs on benchmark-v1.9, which keeps both (preregistration, 2026-12-01).
  • Date: 2026-11-29
  • SDD: 9.4; ADR 0036, 0038, 0039, 0048
  • Prompted by: a system registered to take part that authorizes exact actions, not roles

Context

Everything the benchmark knew of authority was a mandate: what a principal may propose, for a while, given, passed on and withdrawn (ADR 0039, 0040, 0048). Some systems work another way. A person signs in advance that one agent may take one exact action, with these values, until a given moment, once. The system records that before anything runs, looks at what was done and compares, and issues a receipt anyone can check.

The benchmark could already check the receipts (gate verify-receipts) and tie each to the exact action (correlation.action_ref). It could not test the part that sets such a system apart: whether the step that ran was the one that was signed for. A system of that kind would have had to pretend a mandate was a signed step, and be judged on something it does not do.

Decision

A site names the contracts whose every step needs a signature, and who may sign. A scenario says it in exact_actions. Absent, nothing changes: every earlier scenario keeps its hash, and every earlier run its records.

An authorization of one exact action is a signed statement (agentic_datacenter.action_authorization/1): principal, contract, arguments, signer, issued and expiry instants, a reason, its content address and an Ed25519 signature. It is signed over its body in canonical JSON as RFC 8785 writes these values, so numbers are written as JavaScript writes them (21.0 as 21) and a system in any language makes the same bytes.

One rule says when one lets a step run. It holds when it is signed as it reads by a signer the site lists; is for this principal, this contract and these arguments exactly; was issued no later than now and has not expired; and has not been used. It is spent when the step is carried out, or may have been (an unanswered write). A step that waits for a person is checked again when it is carried out. docs/reference/action-authorizations.md says it in words, and docs/reference/action-authorization-vectors.json gives 14 cases.

The site's own check is the truth a run is judged by. A step without an authorization that holds is a step without authority, counted as executed_without_authority when it runs, and said to be action_not_authorized, with the reason on the record (action_detail): used, other_action, not_yet, expired, no_standing, not_signed or none_presented. Nothing in the oracle's counting changed.

A gate is sent what it needs to check for itself. Every authorization presented for the principal, which may be forged, for other steps, expired or spent; the signers' keys; and which were used. Like the mandate's, the premise action_authorized(<principal>, <contract>) is left out for a gate that verifies (ADC_GATE_VERIFIES_MANDATES=1).

Two scenarios. AD-23: six work orders at a site that requires a signature for POD supply air; two hold, and the four that do not are spent, for other values, expired, signed by someone not listed and changed after signing. OP-21: four, all signed for as asked, one by a second signer and one asked for again under a signature of its own. A control that checks nothing lets five unsigned steps through in AD-23; one that is strict in the wrong place refuses sound steps in OP-21.

Two ways in for a system written in TypeScript or JavaScript. examples/command-gate-node/adapter.mjs is the starter in Node, with no package to install, and checks the signatures itself when it verifies mandates. examples/action-verifier/verify.py is the rule in a hundred lines for anyone porting it. Both pass the vectors and run both scenarios as the control path does.

Why the season stays as it is

The harness had to learn the new event, and the oracle's hash covers the harness. Season 1 opened on benchmark-v1.7, and its freeze was lifted once already. So the two scenarios go into benchmark-v1.8, named in seasons.json for Season 2 before it opens, and Season 1 runs as it was announced.

Not modelled

  • A timestamping service or witnesses that prove an authorization came before the step. Everything here runs on the control path's simulated clock, and every decision is recorded before anything is written.
  • Wallets, chains and transaction formats. An adapter translates its own format into the step and back.
  • A person revoking an authorization before it is used. Expiry and single use are modelled; revocation of an exact action is left until a system needs it.