Skip to Content
How it composes

How it composes with your stack

The capsule answers one question: what the agent did. Identity, authorization and runtime enforcement already have their own layers. Each one keeps its own record, and they join on a digest of the action.

The four slots

SlotThe questionIn this example
CANWas the agent permitted to act?An authorization or policy profile (a mandate, a grant, a policy decision).
WHOWhich accountable human authorized this exact action?A named-human authorization profile, separate from the agent that acted.
WHATWhat outcome was recorded at the effect boundary?The Agent Action Capsule.
AUDITDid the runtime enforce correctly, in order?A runtime or gate profile: what the runtime enforced, in causal order.

The four slots are the composition draft’s (draft-mih-sato-agent-accountability-composition, section 6). Each slot is answered by its own profile and joins the others on a shared subject digest of the action, or through a signed cross-reference between their own digests. A digest match is a join key. It does not by itself show that anything recorded is true.

How the capsule joins the others

A capsule’s references carry the digest of another layer’s artifact and say why it is cited. A verifier recomputes the digest from the artifact it is shown and checks the binding. The artifact itself stays where it lives. The Canonical Payload Binding (CPB ) has each payload profile declare its canonicalization by a registered identifier, so independent records can show they committed to the same bytes.

On a real run

Another project published a composition pack pinned to the capsule draft -02 and Composition -00: a vector that walks one action through four records, ending in a capsule, with an independent verifier of the capsule rules, plus a cross-slot conformance pack. Two from-scratch adapters by a third organisation, one TypeScript and one Python, re-ran the cross-slot pack, and all 27 cases reproduced their pinned expectations.

Sources: emilia-protocol, cross-slot pack ↗ · aps-conformance-suite, composition run ↗

The composition story shows the other kind of join: two parties’ halves of one exchange.