This ERC defines the Agent Information Flow Paradigm (AIFP): a model of how information flows between autonomous agents, humans, tools and contracts, and an on-chain binding of that model. A flow paradigm is a content-addressed, versioned description of an interaction context: which carriers and structural operators it uses, and how each rule dimension (discovery, observation, contribution, management, redistribution, history, time, disclosure timing, contributor visibility, admission basis, representation, object relations, ordering) is set. A channel is under exactly one paradigm version at a time. Participation is recorded as separately addressable role bindings: each binding carries role bits, a scope, a basis, a validity interval and the rule version it was granted under, and it can be suspended, revoked and re-admitted on its own. Role acquisition is checked by composable predicates whose verification outcome is one of four values: satisfied, not satisfied, undeterminable, verifier error. Rule changes carry an explicit effective timepoint on the registry’s ERC-6372 clock; disclosure records are append-only facts. The ERC standardizes three registries (paradigms, channels, participation), a predicate verifier interface, the canonical descriptor and subject-reference encodings, and optional profiles for event anchoring and absence semantics. Message transport is out of scope and attached through declared bindings.
Motivation
Agents already exchange information through many systems: task protocols, tool protocols, chat rooms, federated social feeds, signed-event relays, encrypted groups, notification channels and on-chain events. Each of these fixes its own notion of who may read, who may write, what history a late joiner sees and whether content may leave the room. None of them lets two independent implementations answer the same five questions about one interaction context in the same way: may this actor observe, may it contribute, may it publish what it read into another context, which version of the rules decides, and which conditions cannot be verified.
Human communication offers a useful starting taxonomy - broadcast, panel, open assembly, closed meeting, acquainted peer-to-peer, referred peer-to-peer, stranger peer-to-peer - but these are platform-shaped observations. They mix structure (who speaks to whom), boundary (who may enter which role), time (synchronous or asynchronous) and relationship (how the parties met). They also miss forms that matter to agents: many-to-one intake where submitters cannot see each other, shared objects that agents change and observe without ever addressing each other, selective dispatch to one of several candidates, and the distinction between forwarding an object unchanged and deriving a new one from it.
Agents also change the premises. Identity is cheap at the margin, so the stranger relationship is first a Sybil problem and admission must be a verifiable condition rather than a social fact. Speech can be signed, so provenance and the forward/derive distinction become checkable. What an agent reads may be executed, so a received message is an attack surface and the authority to act can never come from content. Memory is cheap, so retention is a policy to declare rather than a default. And a single venue can host agents as contributors and humans as observers at the same time, so boundaries are per role, not per venue.
AIFP therefore separates the problems that existing systems fold together, so that each can be answered by itself: a generative model (two carriers, eight operators, thirteen rule dimensions and two extension dimensions) in which the familiar named forms are merely common combinations; three on-chain registries that give independent operators a shared, verifiable record of which rules a channel adopted, when they took effect, who holds which role in which scope on what basis, and what was disclosed to whom; and a four-valued verification result so that an unverifiable condition is never recorded as a failed one. Transport stays where it is; AIFP adds the rule and authority layer that transports can attach to. Readers who approach this specification from agent communication protocols may find the following reading useful: those protocols carry the messages, and AIFP states, for each context, who may observe, contribute and redistribute under which version of the rules, in a form that every participant and every transport can verify; in that reading a paradigm is a communication pattern, a channel is a communication context, a role binding is a listener, speaker, forwarder or moderator permission, and a transport binding is the attachment of a concrete protocol to the context. This is a reading aid for the definitions that follow, not an additional normative layer.
Specification
The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “NOT RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC 2119 and RFC 8174 when, and only when, they appear in all capitals, as shown here.
1. Terminology
Actor: a party that is identified, authorized or held responsible: an agent, a human, a tool or a contract. Actors are referenced by a subject reference (Section 3).
Subject reference: a bytes32 derived from a canonical identifier string (Section 3).
Information object: a message, document, state version or other content, referenced on-chain by a bytes32 (a content hash or a committed identifier). Content is never stored by the registries.
Channel: an interaction context (a topic, thread, archive, shared object or bounded activity) recorded in the channel registry. A channel adopts one paradigm version at any timepoint.
Paradigm: a flow paradigm descriptor (Section 5). It is identified by the keccak256 hash of its canonical encoding and never changes; a change is a new version in the same family.
Family: a named lineage of paradigm versions sharing one controller.
Role binding: a record that a subject holds a set of role bits in a scope of a channel, with a basis, a validity interval, a state and the rule version under which it was granted (Section 9). Each role binding has a bindingId.
Transport binding, governance binding, economic binding: declarations attached to a channel describing an external system through which the channel’s messages travel, through which its rules or participation may be changed, or which carries its economic terms (Section 12). The word “binding” is always qualified in this document.
Scope: a bytes32 naming a sub-context or object inside a channel; bytes32(0) denotes the whole channel.
Timepoint: a uint48 read on the channel registry’s ERC-6372 clock (Section 4).
Outcome: one of SATISFIED (0), NOT_SATISFIED (1), UNDETERMINABLE (2), VERIFIER_ERROR (3).
2. Vocabulary
2.1 Carriers
Information travels on one or both of two carriers:
delivery: an object is delivered to addressed receivers. The addressed set, the set permitted to observe and the set that actually received are three different sets.
shared-object: participants interact by contributing to a common object and observing its changes, without necessarily addressing each other.
2.2 Structural operators
Operator
Meaning
fan-out
one source to many receivers
fan-in
many sources to one or few receivers; sources need not observe each other
feedback
bidirectional exchange with request-response correlation
n-party
many participants contribute and observe each other
select
a receiver is chosen from a candidate set by a rule
forward
the same object enters another channel with its reference and integrity evidence unchanged
derive
a new object is produced from one object and attributed to a new contributor
merge
a new object is produced from several objects
A paradigm declares the set of operators it uses. Composition of operators is unrestricted; every combination is a candidate configuration, and the compatibility rules of Section 5.4 decide which candidates are valid.
2.3 Rule dimensions
Each dimension answers one question and is declared separately. unspecified means “not declared”, never a default.
Dimension
Question
Separately declared values
discovery
who can learn that the channel exists
public-directory, directed, undiscoverable
observation
who can read what
read scope; submission visibility (whether contributors see each other’s submissions); payload protection; metadata protection
sequencer; total or partial order; whether the order is observable
Two extension dimensions are declared under extensions: economic (profile, chain, contract, asset, subject, amount or threshold, period, verifier) and modality (media, meanings, handling hints). An economic declaration is a declaration of terms, not a settlement; the registries hold no funds.
2.4 Roles
A role binding carries a bitmask of role bits. Each bit is a separate role and there is no “member” flag. Suspension and revocation address a binding (Section 9.1), so roles that have to be suspended or revoked independently of each other are granted in separate bindings.
Bit
Role
Meaning
1
DISCOVER
may learn that the channel exists
2
OBSERVE
may read objects within the scope
4
SUBMIT
may publish or submit new objects
8
RESPOND
may respond to existing objects
16
MODIFY
may modify shared objects
32
MANAGE_ADMISSION
may grant, suspend and revoke role bindings in its scope
64
MANAGE_ORDER
may sequence contributions
128
MANAGE_REMOVE
may remove objects from provision
256
MANAGE_RULES
may adopt paradigm versions and declare bindings
512
REDISTRIBUTE
may forward, quote or derive outside the channel
1024
MANAGE_DISCLOSURE
may record disclosures and restrictions
Bits above 1024 are reserved. A function that takes a single role MUST reject a value with zero or more than one bit set, or with a reserved bit set.
2.5 Outcomes and composition
Every verification answers one of four outcomes. UNDETERMINABLE and VERIFIER_ERROR MUST NOT be recorded or reported as NOT_SATISFIED.
Code
Outcome
Meaning
0
SATISFIED
the condition holds under the evaluated rule version
1
NOT_SATISFIED
the condition is shown not to hold
2
UNDETERMINABLE
a necessary condition cannot be verified (unknown required extension, missing proof, data not available)
3
VERIFIER_ERROR
a verifier has no code, reverted, needed more gas than the composite verifier’s bound, or returned malformed or out-of-range data
Composition is fixed. For allOf: if any child is NOT_SATISFIED the result is NOT_SATISFIED; otherwise if any child is UNDETERMINABLE the result is UNDETERMINABLE; otherwise if any child is VERIFIER_ERROR the result is VERIFIER_ERROR; otherwise SATISFIED. For anyOf: if any child is SATISFIED the result is SATISFIED; otherwise if any child is UNDETERMINABLE the result is UNDETERMINABLE; otherwise if any child is VERIFIER_ERROR the result is VERIFIER_ERROR; otherwise NOT_SATISFIED. A value above 3 is normalized to VERIFIER_ERROR before composition. A fault in one leaf is that leaf’s VERIFIER_ERROR and nothing more: it MUST NOT abort the evaluation of the other leaves or of the tree. An evaluation that could not be supplied with enough gas is not a leaf fault and has no outcome at all (Section 6.3). Child lists MUST be non-empty. There is no negation operator in this version.
An enforcement point MAY refuse to proceed on any outcome other than SATISFIED. A record of such a refusal MUST keep the outcome that was obtained.
3. Subject references
A subject reference is keccak256 of the UTF-8 bytes of a canonical string of the form <scheme>:<domain>:<identifier>. Scheme and domain are lowercase ASCII and never contain :; the identifier is everything after the second : and MAY contain :.
The erc8004 scheme refers to an agent registered in an ERC-8004 identity registry. There is exactly one encoding: an address MUST NOT be left-padded into a bytes32 and used as a subject reference. Consumers verify a reference by recomputing it from the canonical string supplied in a descriptor or proof. A plain reference is not a hiding commitment, because identifiers are guessable; committed (salted) subjects are a separate profile with their own proof rules (Section 13.3).
The reference of the account that sends a transaction on the current chain is keccak256("eip155-address:" || decimal(block.chainid) || ":" || lowercaseHex(msg.sender)). Registry functions that let a subject act for itself resolve msg.sender this way.
4. Clock
Each registry deployment MUST implement ERC-6372 (clock() and CLOCK_MODE()). All timepoints in a deployment (adoption effective timepoints, validity intervals, suspension intervals, disclosure timepoints, evaluation timepoints) are read on that clock. The participation registry of a deployment MUST report the same clock and clock mode as its channel registry: one deployment is one clock domain, and the clock domain is immutable for the life of the deployment. The reference implementation uses mode=timestamp.
Ordering within one timepoint is fixed by registration order: a later-recorded adoption with the same effective timepoint supersedes an earlier one, and state changes to role bindings apply in transaction order. A revocation at timepoint t excludes t from the binding’s valid interval; a grant whose validity starts at t includes t.
Several transactions can carry the same timepoint: all transactions of a block do, and on a chain where consecutive blocks can share a clock value, so do the transactions of those blocks. A read for timepoint t made while the clock still reads t reflects the changes recorded so far, and can therefore differ from a read made later within t; once the clock has passed t, no later record changes a read for t. A decision to accept an action is taken when its transaction executes, against the state recorded up to that position in the chain; Section 10 says what is evidence of such a decision afterwards.
5. Paradigm descriptors and identifiers
5.1 Document and canonical form
A paradigm descriptor is a JSON document conforming to the descriptor schema, whose predicates conform to the predicate schema. Its canonical form is the JSON Canonicalization Scheme of RFC 8785 applied to the document (object members sorted by UTF-16 code units, no insignificant whitespace, integers only). The paradigm identifier is:
The descriptor declares: aifp (the constant "1"), family, version (informative), optional title, labels, carriers, operators, cardinality (contributors in single, roster, qualified, open; pairwise), the thirteen dimensions of Section 2.3, optional predicates keyed by role name, optional requiredBindings.capabilities (Section 12) and optional extensions (economic, modality, absence, ext).
A descriptor whose dimensions.time.absence is rule-defined MUST carry extensions.absence (rule, window length, objection role, default outcome); a descriptor whose absence is none MUST NOT.
5.2 Labels and identification conditions
Labels name common configurations. A label in the reserved namespace aifp:paradigm/<name>/v1 MUST be one of the eleven names below, and a descriptor carrying it MUST satisfy the identification condition, which is decidable from the descriptor alone. Conditions may overlap, so a descriptor may carry several labels. Labels in aifp:ext/<vendor>/<name>/vN are not checked by this specification.
Name
Identification condition
source
cardinality.contributors is single and operators contains fan-out
intake
operators contains fan-in and observation.submissionVisibility is collector-only
direct
cardinality.pairwise is true and operators contains feedback
panel
cardinality.contributors is roster, operators contains n-party, observation.readScope is open or predicate, and contribution.acquisition is manager or closed
club
cardinality.contributors is qualified or open, operators contains n-party, and contribution.acquisition is open or predicate
meeting
cardinality.contributors is roster, operators contains n-party, observation.readScope is members, and contribution.acquisition is manager or closed
archive
carriers contains shared-object, time.delivery contains pull, and history.mutable is false
blackboard
carriers contains shared-object, history.mutable is true, and operators contains n-party
dispatch
operators contains select
forward
operators contains forward and redistribution.forward is true
derive
operators contains derive or merge, and redistribution.derive is true
A label describes the identification condition and nothing else. Changing a value the condition does not mention (for example delivery from push to pull under source) does not change the label, and no label changes implicitly: a different label set is a different descriptor and therefore a new paradigm version.
5.3 Validation and division of responsibility
The canonical validator (a reference is listed in the assets index) checks the descriptor against the schemas, checks the identification conditions of every reserved label, derives the per-role predicate encodings and hashes of Section 6, and produces the registration bundle. The paradigm registry checks only identity (the hash of the canonical bytes it receives), family control, succession and state; it does not interpret the descriptor, and hasLabel reports that a label was registered, not that the behaviour of any channel conforms to it.
5.4 Compatibility rules
A validator MUST reject a descriptor that declares commit-reveal disclosure timing without a delivery carrier or a shared-object carrier that retains history; anonymous-qualified contributor visibility without a credential predicate for at least one contribution role; the blackboard label with history.mutable false; or an ordering.sequencer of moderator while management.ordering does not contain moderator. A descriptor that fails a compatibility rule is rejected at validation, never silently accepted.
5.5 Extensions
extensions.ext lists third-party extensions by identifier aifp:ext/<vendor>/<name>/vN with a required flag. A consumer that does not understand a required extension MUST evaluate every predicate of the paradigm as UNDETERMINABLE and MUST NOT treat the paradigm as understood. Optional extensions are ignored when not understood.
6. Predicates
6.1 Encoding
A predicate is a tree encoded as abi.encode(Node[]):
structNode{uint8kind;// see 6.2
uint8childStart;// composites: index of the first child
uint8childCount;// composites: number of children, at least 1
addressverifier;// ALLOWLIST: the subject set; delegated kinds: the verifier
bytes32ref;// leaf-specific reference
bytesparams;// leaf-specific parameters, opaque to the composite evaluator
}
Node 0 is the root. The children of a composite node i are nodes[childStart .. childStart + childCount), and every child index is greater than i. A tree MUST have between 1 and 64 nodes, and no node deeper than 8, the root having depth 0 and a child the depth of its parent plus one; leaves MUST have childCount == 0 and childStart == 0; composites MUST have childCount >= 1. Every node other than node 0 MUST be the child of exactly one composite: an array in which two composites name the same node, or in which a node cannot be reached from node 0, is not a tree and is malformed. Each node is therefore evaluated at most once, and a predicate has at most 63 leaves. These conditions hold for the array as a whole and are judged before any node is evaluated: whether a predicate is well formed MUST NOT depend on the subject, or on which branches an evaluation would visit. The predicate hash committed by a paradigm is keccak256(abi.encode(nodes)).
The canonical validator derives the node array from the JSON predicate breadth-first: the root takes index 0; when a composite is processed, its children are allocated as one contiguous block at the current end of the array, in order, and are then processed in the same order. This makes the encoding of a JSON predicate deterministic.
abi.encode(uint256 chainId, address contract, address asset, uint256 minAmount, uint8 period) with asset zero for the native asset and period 0 active, 1 epoch, 2 lockup
7
identity
verifier
registry address left-padded
abi.encode(uint8 requiredState) with 0 registered, 1 active, 2 bound
8
member
verifier
group identifier
empty
9
decision
verifier
decision identifier
empty
Kinds 5 to 9 are semantic leaves: they are delegated to the verifier exactly like kind 2, and the kind tells the verifier which vocabulary the parameters follow. A credential leaf typically refers to a know-your-agent attestation or zero-knowledge proof scheme; an identity leaf to an agent identity registry such as ERC-8004; a member leaf to a swarm or group registry; a decision leaf to a collective decision registry such as ERC-8436. This specification does not define those registries.
A leaf verifier MUST return an outcome and MUST NOT revert to signal a negative answer. evidence[i] is the caller-supplied evidence for node i; missing entries are empty.
A composite verifier MUST judge a leaf call by its raw return data, not by whether that data decodes as the declared type: the call to verify MUST yield VERIFIER_ERROR for that leaf unless it succeeds and returns exactly one 32-byte word whose value is at most 3, and the call to contains MUST yield VERIFIER_ERROR for that leaf unless it succeeds and returns exactly one 32-byte word equal to 0 or 1. It SHOULD NOT copy more of a leaf’s return data than the 32 bytes it needs: the size of the return data already tells whether the answer is well formed, and copying a large buffer would let a leaf charge the composite verifier a cost that the leaf’s own gas bound does not cover.
A composite verifier MUST give every leaf call a fixed amount of gas, its gas bound, so that one leaf cannot exhaust the evaluation of the tree, and MUST report that amount through leafGasLimit(). A leaf call that does not complete within the bound is VERIFIER_ERROR for that leaf, however much gas the caller supplies; a paradigm whose leaf needs more has to be evaluated by a composite verifier with a higher bound. The reference implementation uses 1,000,000 gas. That figure is a property of the reference implementation, not of this specification: it is ample for a pairing-based proof check and too small for a verifier that needs several million gas.
The gas supplied to an evaluation MUST NOT decide its outcome. A composite verifier MUST forward the full bound to every leaf it calls, or fail the evaluation as a whole by reverting with the error AIFP_InsufficientGas() (selector 0xc9b4ddbd); it MUST NOT call a leaf with less than the bound and report what comes back, whether that is a failure of the call or an answer. Because a call receives at most 63/64 of the gas remaining, forwarding the full bound requires about 64/63 of the bound to be available before the call, and the availability MUST be established before the call rather than inferred from the gas left after it. An evaluation that is given too little gas therefore fails; it does not answer differently. Any revert of evaluate means that there is no outcome, and a caller MUST NOT convert one into an outcome (Section 9.3).
Two properties of a transaction still reach a leaf, and no composite verifier can remove them. The first is what the transaction has already touched: state access is cheaper for accounts and storage slots touched before - through an earlier call, an access list, or a sibling leaf evaluated first - so the gas a leaf uses is not a constant. The dependence runs one way, because warm access never costs more than cold: a leaf that completes within the bound from a cold start completes in every transaction and answers the same in a preview and in the admission, while a leaf whose cold cost exceeds the bound is VERIFIER_ERROR when its reads are cold and can answer when they are warm. A leaf that reads gasleft() after touching state sees what its reads cost and can answer differently for the same reason, however exactly the bound is forwarded. The second is the gas limit itself, by way of whoever pays for it: the payer of a transaction’s gas is charged for the whole gas limit before execution and refunded the unused part afterwards - the sender’s native balance in an ordinary transaction, a deposit held for the account or its sponsor where gas is paid through a contract - so such a balance, read during an evaluation, is lower the higher the gas limit. No opcode exposes the gas limit of a transaction, so nothing on chain can correct for the charge, and an eth_call run at a gas price of zero does not reduce the balance at all, so a preview overstates it every time. A leaf verifier SHOULD complete within the bound from a cold start, with nothing it reads touched before, SHOULD NOT make its answer depend on the gas it has left, and SHOULD NOT make its answer depend on a balance from which the gas of the transaction can be paid (a stake leaf reads what the staking contract records, not what the subject’s account holds). A paradigm SHOULD NOT name a verifier that does otherwise.
6.4 Evaluation order
A composite verifier MUST evaluate in this order: (1) decode the node array, reverting if the bytes do not decode; (2) check that every node kind is supported, and return UNDETERMINABLE for the whole predicate if any kind is not, before anything else is judged - a verifier that does not know a kind cannot tell whether a node of that kind has children, and so cannot tell whether the array is a tree; (3) revert if the array is malformed (Section 6.1) - a malformed predicate is a caller error, not an outcome; (4) evaluate the children of each composite in index order - open and allowlist leaves natively, delegated kinds through the declared verifier, where a zero address in the verifier field of an allowlist or delegated leaf yields UNDETERMINABLE, and an address with no code, a call that reverts or does not complete within the gas bound, return data that is not exactly one 32-byte word, or a word outside the range of Section 6.3 yields VERIFIER_ERROR for that leaf alone; (5) combine children with the composition rules of Section 2.5. A fault in a leaf never ends the evaluation of the children that follow it. A composite verifier SHOULD stop evaluating the children of an anyOf at its first SATISFIED child and of an allOf at its first NOT_SATISFIED child: those answers decide the composite whatever the remaining children would answer, the leaves of the remaining children are then not called, and neither their cost nor their faults weigh on the evaluation. An evaluation that cannot forward the full bound to a leaf it has to call reverts (Section 6.3) and yields no outcome.
paradigmId MUST equal keccak256(canonicalDescriptor); an empty descriptor and a duplicate identifier MUST be rejected.
The first registration in a family makes the caller the family controller; later registrations in the family MUST come from the controller. The controller MAY transfer the family.
supersedes MUST be zero or an existing paradigm of the same family.
Each rolePredicates[i].role MUST be a single defined role bit. A role with no predicate hash cannot be acquired through the admission path of Section 9.3.
The registry MUST emit the canonical descriptor bytes once, in ParadigmDescriptor, so that the paradigm can be reconstructed from the event log.
The registry MUST NOT interpret the descriptor (Section 5.3).
Opening a channel records its first adoption at the current clock value with requiresReadmission false. paradigmId MUST exist in the paradigm registry; parent, when non-zero, MUST be an existing channel.
adoptParadigm appends an adoption. effectiveAt MUST NOT be earlier than the current clock value. Adoptions are never modified or removed.
paradigmAt(channelId, t) returns the paradigm of the adoption with the latest effectiveAt not after t; among adoptions with the same effectiveAt the later-recorded one is in force; the result is zero before the first adoption. Adoptions need not be recorded in the order in which they take effect: one scheduled for a later timepoint may be recorded first, and it comes into force at its own timepoint whatever was recorded afterwards for an earlier one. currentParadigm is paradigmAt at the current clock value, returned together with the effectiveAt of the adoption in force (effectiveSince).
readmissionEpochAt(channelId, t) is the number of adoptions with requiresReadmission true and effectiveAt <= t. Role bindings admitted before a re-admission epoch are pending from that epoch onward (Section 9.4). An adoption that another adoption supersedes at its own effective timepoint still counts: a re-admission requirement, once recorded, is not withdrawn.
authorizationRef references the evidence that authorized the adoption (for example a collective decision). It confers no power by itself; the caller’s power comes from Section 8.4.
8.2 Transport, governance and economic bindings
BindingDecl.kind is 0 transport, 1 governance of rules, 2 governance of disputes, 3 governance of safety, 4 economic. target is the endpoint identifier of a transport or the left-padded address of a governance or economic contract; version identifies the protocol or policy version. capabilities is the transport capability bitmask of Section 12; a transport binding MUST have effectScope == 0. effectScope is a bitmask of governance effects: 1 rules (may adopt paradigm versions and declare or revoke bindings), 2 participation (may grant, suspend and revoke role bindings and confirm their re-admission), 4 disclosure (may record disclosures). adoptionMode is 0 automatic (the target executes directly) or 1 confirmed (the channel authority confirms each result). isGovernanceExecutor(channelId, executor, effect) is true only for the target of an active, non-transport, non-economic binding in automatic mode whose effectScope contains effect.
8.3 Disclosure records and state
recordDisclosure appends a record of kind 0 (DISCLOSED: the audience was authorized to observe the object or object set) or kind 1 (RESTRICTED: future provision of the object to the audience was withdrawn). Records are append-only facts and are permitted in every channel state, including Closed (Section 11).
setState moves a channel between Active and Frozen, or to Closed; Closed is terminal. In Frozen and Closed no adoption, binding declaration, grant, admission or re-admission (readmit, confirmReadmission) is accepted, and previewAdmission reverts as admit does; evaluation of past and present timepoints, suspension, reinstatement and revocation of role bindings, and disclosure records continue to work. revokeBinding is accepted in Frozen and not in Closed. An adoption that was recorded while the channel was Active comes into force at its effective timepoint whatever the state of the channel is by then. Closing a channel revokes nothing and undoes no disclosure.
8.4 Call permissions
Function
Permitted caller
openChannel
anyone; the caller names the authority
adoptParadigm, declareBinding, revokeBinding
the channel authority; a subject holding MANAGE_RULES for the whole channel at the current clock value; an executor with the rules effect
recordDisclosure
the channel authority; a subject holding MANAGE_DISCLOSURE for the whole channel; an executor with the disclosure effect
setState, transferAuthority
the channel authority
Every management event of the two registries (ParadigmAdopted, BindingDeclared, BindingRevoked, DisclosureRecorded, RoleGranted, RoleSuspended, RoleRevoked, RoleReadmitted) names the caller (by), the grounds on which the caller was authorized (authorityKind: 0 the channel authority - or the opener, for the records that openChannel writes -, 1 a governance executor with the required effect, 2 a subject holding the management role, 3 the subject of the binding acting for itself) and, when the grounds are a management role, the role binding relied on (authorizingBinding; zero otherwise). The grounds are examined in that order, so a channel authority that also holds the role is reported as the authority. RoleReinstated is authorized by having imposed the suspension, which the RoleSuspended log already shows. Events are not part of the interface identifiers of Section 15.
Every grant and every admission creates one role binding with a fresh bindingId. The binding records the subject, an optional represented principal (onBehalfOf), the role bits, the scope (bytes32(0) for the whole channel), the basis kind - 0 manager grant, 1 allowlist, 2 predicate (admission path), 3 decision, 4 external evidence - with its reference, the outcome obtained when it was granted, the paradigm in force when it was granted (ruleVersion), the validity interval [validFrom, validUntil) with validUntil == 0 meaning no end, and its state. Suspension and revocation address a binding, never a subject in general: the same subject can be able to submit in one scope and be suspended in another.
A grant or an admission records for the new binding the re-admission epoch of the channel as it reads when the call executes - readmissionEpochAt(channelId, now) at that position in the chain - also when validFrom is later; readmit and confirmReadmission record the epoch in the same way. The epoch read at a position counts the adoptions that are recorded before that position and already effective at its clock value. A binding is therefore pending from the effective timepoint of an adoption that requires re-admission unless it was granted, re-admitted or confirmed with that adoption already recorded and already in effect: a binding granted while the adoption is still scheduled becomes pending at its effective timepoint like every earlier one, and of two grants at the effective timepoint itself only the one that comes after the adoption in the chain is not pending.
An implementation MUST keep enough history (suspension intervals and admission epochs with their timepoints) for evaluate at a timepoint the clock has passed to return the same outcome ever after (Section 4).
9.2 Manager path
grant is callable by the channel authority, by a subject whose MANAGE_ADMISSION binding covers the requested scope (a whole-channel binding covers every scope; a scoped binding covers only its scope), or by an executor with the participation effect. roles MUST be a non-empty set of defined role bits; basisKind MUST NOT be 2 (the predicate basis is reserved for the admission path). validFrom of zero means the current clock value; a validFrom earlier than the current clock value MUST be rejected (grants are never back-dated); a non-zero validUntil MUST be later than validFrom. The channel MUST be Active.
9.3 Admission path
admit lets a subject acquire a single role by satisfying the paradigm’s predicate for that role. The caller’s subject reference is derived from msg.sender (Section 3). The registry MUST reject the call when the current paradigm has no predicate hash for the role, when keccak256(predicate) differs from that hash, or when the channel is not Active. The predicate is evaluated through the deployment’s composite verifier with the supplied evidence. On SATISFIED a binding with basis kind 2, basisRef equal to the predicate hash and validFrom equal to the current clock value is created and AdmissionEvaluated is emitted. On any other outcome the call MUST revert with an error naming that outcome (AIFP_NotSatisfied(), AIFP_Undeterminable(), AIFP_VerifierError(), selectors 0xb7fb4bfd, 0x3b6109ae, 0x92be3077), so that no record of a failed admission is written that could be read as NOT_SATISFIED. previewAdmission performs the same checks and the same evaluation for any subject without state change: for each of the reasons above for which admit rejects a call it MUST revert in the same way, and otherwise it returns the outcome.
The registry reports an outcome only when the composite verifier returned one: its call succeeded and returned exactly one 32-byte word with a value of at most 3. Every other result of that call - a revert of any kind, including the revert for a malformed predicate and AIFP_InsufficientGas(), exhaustion of the gas forwarded to the verifier, or an answer that is not one outcome word - means that the evaluation did not complete: admit, readmit and previewAdmission MUST then revert, and MUST NOT report or record VERIFIER_ERROR or any other outcome. VERIFIER_ERROR is an outcome about leaf verifiers, produced by an evaluation that completed; it is never the registry’s description of an evaluation that did not. The reference implementation reverts with AIFP_InsufficientGas() when the composite verifier did, and otherwise with AIFP_EvaluationFailed(bytes4) (selector 0x69812968) carrying the first four bytes of the verifier’s revert data. An admission sent with too little gas therefore fails; the gas forwarded to it does not make it answer differently from a preview. The two properties of a transaction named in Section 6.3 - what it has already touched, and the charge for its gas limit on the balance that pays for it - reach the leaves of an admission as they reach those of any evaluation.
9.4 Suspension, revocation, re-admission
suspend opens a suspension interval at the current clock value and records who imposed it; it is callable by the parties permitted to grant in the binding’s scope (Section 9.2). reinstate closes the current interval and MUST be callable only by the party that imposed it: an intervener’s suspension is not lifted by the channel authority, and an authority’s suspension is not lifted by an intervener. Suspension intervals are kept as history.
revoke sets revokedAt to the current clock value, closes any open suspension interval and makes the binding Revoked; revocation is terminal. It is callable by the parties permitted to grant in the binding’s scope.
A binding is pending at timepoint t when readmissionEpochAt(channelId, t) exceeds the greatest epoch recorded for the binding at or before t (zero when none is recorded by then). readmit re-evaluates a predicate-based binding against the current paradigm’s predicate for its role, callable only by the subject itself, and records a new admission epoch on SATISFIED (reverting as in Section 9.3 otherwise). confirmReadmission records a new admission epoch for a non-predicate binding and is callable by the parties permitted to grant in its scope. Both require the channel to be Active and the binding to be pending at the current clock value, and both update ruleVersion to the paradigm in force at that time; readmit also sets basisRef to the hash of the predicate it evaluated.
9.5 Evaluation
evaluate(channelId, subject, role, scopeRef, t) MUST be computed as follows. For each role binding of the subject in the channel, the binding is not applicable if the role bit is not set, if its scope is neither zero nor scopeRef, if t < validFrom, if validUntil != 0 && t >= validUntil, or if revokedAt != 0 && t >= revokedAt. An applicable binding has status NOT_SATISFIED if t lies within one of its suspension intervals [from, to) (to open while the suspension is in force); otherwise UNDETERMINABLE if the binding is pending at t; otherwise SATISFIED. The result is SATISFIED if any applicable binding is SATISFIED; otherwise UNDETERMINABLE if any is UNDETERMINABLE; otherwise NOT_SATISFIED (including when the subject has no applicable binding).
evaluateWithBinding performs the same computation and also names a binding that satisfies it: when the result is SATISFIED, bindingId is the earliest-created binding of the subject in the channel whose status is SATISFIED (bindingIdsOf returns a subject’s bindings in creation order); otherwise it is zero. The identifier is a witness that the role is held; when several bindings satisfy the check it says nothing about the capacity in which the subject acts. Section 10 says how a contract that records accepted actions uses it.
evaluateNow is evaluate at the current clock value. rolesOf returns the union of the role bits of the bindings with status SATISFIED at t for the given scope; it is a summary and MUST NOT be the sole basis for authorizing an action - authorization checks use evaluate on the role being exercised.
10. Historical validity and admission
Rules are applied to the interaction process, not to isolated messages. The timepoint at which an event was accepted and the timepoint at which it is examined are different things, and the rules below keep them apart:
Historical evaluation. An event accepted into a channel at timepoint t remains valid as a historical fact however late it is delivered. Changes recorded at a timepoint later than t - revocations, suspensions, rule changes, re-admission requirements - change neither evaluate(..., t) nor paradigmAt(channelId, t). Changes recorded at t itself after the event was accepted change those reads and not the event’s validity (see “Decisions within a timepoint” below).
Admission of new events. An event first offered for acceptance now MUST be evaluated at the current clock value, not at a sender-asserted earlier timepoint. A transport binding MUST NOT accept a back-dated timeRef as the basis of a permission unless it holds evidence, recognized by the binding, that the event was accepted at that earlier time (for example an anchored event reference of Section 13.1 or its own delivery record). The on-chain admit, grant and readmit functions use the current clock value for this reason.
Rule version. An event is judged under the paradigm in force when it is accepted, that is paradigmAt(channelId, t) as read at that position in the chain; a record of the event keeps that value. After an adoption’s effectiveAt, the admission path accepts only the new version’s predicate hash; a predicate of a superseded version is rejected with a mismatch. A superseded version remains the correct basis for historical evaluation of events accepted before effectiveAt.
Re-admission. When an adoption requires re-admission, bindings granted before it took effect are pending from effectiveAt (Section 9.1) and evaluate to UNDETERMINABLE until re-admitted or confirmed; they are neither revoked nor treated as NOT_SATISFIED.
Decisions within a timepoint. Acceptance is decided when the transaction executes, against the state recorded up to that position in the chain, whereas a later read of evaluate(..., t) reflects every change recorded for t, including changes recorded later within t itself (Section 4). A contribution accepted at t whose author’s binding is revoked later at the same timepoint is the typical case: after the revocation evaluate(..., t) is NOT_SATISFIED (unless the author holds another binding), and the acceptance was authorized all the same. The converse also occurs: a read can be SATISFIED for a timepoint within which an action was refused, because the binding was granted, reinstated or re-admitted later within it. The evidence of an acceptance is therefore the record written when it was accepted, not a later re-evaluation.
Records of accepted actions. A contract that records accepted actions SHOULD record, together with the clock value at which it accepts, the identifier of a binding that satisfied its check (evaluateWithBinding, Section 9.5), as the event-anchor profile does (Section 13.1), and SHOULD make no state-changing call between the check and the record, so that the position of the record’s log is the position of the decision. A record is evidence for the timepoint of the block that carries it and for no other. It is authorized if the binding it names belongs to the record’s subject and channel, covers the role and the scope the action needs, and is applicable and SATISFIED at the record’s timepoint when only the state changes recorded before the record are taken into account. The grant of the binding is itself one of those changes; changes recorded at earlier timepoints all precede the record; changes recorded at later timepoints do not reach its timepoint; and for changes recorded at the record’s own timepoint the order is that of the corresponding logs in the chain (block number, transaction index, log index). The rule is applied by replaying the events of the registries, each with the clock value of the block that carries it: the events of a grant and of a re-admission do not state the timepoint at which they were recorded. A contract cannot apply it on chain and relies on the recorder; a transport that accepts off chain has no position in the chain and records the block whose state it read together with the binding.
Management actions. The registries’ own management functions are decided in the same way: grant, suspend, revoke, confirmReadmission, adoptParadigm, declareBinding, revokeBinding and recordDisclosure accept a caller who is authorized at that position in the chain, and their events name the caller, the grounds and, for a caller authorized by a management role, the binding relied on (Section 8.4). The same rule applies to them as to records of accepted actions: a management event is authorized if the binding it names belongs to its caller’s subject and channel, covers the management role and the scope, and is applicable and SATISFIED at the event’s timepoint counting only the changes recorded before it in log order; for the channel authority and for an executor the grounds are the AuthorityTransferred, ChannelOpened, BindingDeclared and BindingRevoked logs recorded before it. A reader of the log therefore needs no call trace, which matters when the caller is a contract account.
11. Disclosure monotonicity
A disclosure that has occurred is a fact: for every information object the set of subjects that have observed it is non-decreasing in time. Consequently:
A rule change or a RESTRICTED record MUST NOT be interpreted as the object never having been disclosed. DISCLOSED records are never removed; a later RESTRICTED record for the same object and audience is an additional fact, not a correction.
Future observation rights, key distribution and content provision MAY contract, including for existing objects: a channel that moves from open observation to a closed roster may stop serving earlier objects to new requests. Contraction does not prove that any existing recipient’s copy was deleted, and MUST NOT be presented as such.
Opening a channel to new observers does not by itself extend the disclosure of existing objects: opening future discussion and disclosing existing objects are two independent actions, and the latter leaves one DISCLOSED record per object or declared object set.
A supersedes or retracts relation preserves history and basis: the superseded or retracted object stays referenced and its earlier observation stays a fact, while its content need not remain readable.
A DISCLOSED record declares that an audience was authorized to observe; it does not prove that the audience read the object. Recording a migration proves that the rule or state record changed; key rotation, access control and transport capability changes are implementation steps outside the registry.
12. Transport binding capabilities
A transport binding declares the capabilities of the system it attaches, and a paradigm declares the capabilities it requires under requiredBindings.capabilities. A channel whose declared transport bindings do not cover a required capability MUST be rejected at validation or marked UNDETERMINABLE by consumers; a binding MUST NOT silently degrade a required capability.
Bit
Capability
Question answered
1
identity
can the binding verify the sender’s subject reference
2
rule-association
can messages carry channelId and ruleVersion
4
push
push delivery
8
pull
pull delivery
16
stream
streaming delivery
32
batch
batched or epoch delivery
64
delivery-records
does the binding record who actually received
128
history-retention
does the binding retain history
256
late-join-history
can a late joiner read earlier objects
512
payload-protection
is the payload protected end to end
1024
metadata-protection
is metadata (membership, frequency, size) protected
2048
membership-privacy
is the member list hidden from non-members
4096
total-order
does the binding sequence contributions totally
8192
absence-detection
can the binding detect that an expected event did not occur
Candidate transports include agent task protocols, tool protocols, matrix-style rooms, federated activity feeds, signed-event relays, encrypted group messaging, wallet-to-wallet messaging, decentralized pub/sub and on-chain events. This specification does not define any of them.
Actions are 0 publish, 1 submit, 2 respond, 3 modify, 4 forward, 5 derive, 6 synthesize, 7 supersede, 8 retract. Relation kinds are 0 replyTo, 1 forwards, 2 derivesFrom, 3 synthesizes, 4 references, 5 supersedes, 6 retracts. An anchor MUST check at the current clock value, in the channel named in the call and for the whole of it (scope zero), that the actor holds the role the action needs (SUBMIT for publish, submit, supersede and retract; RESPOND for respond; MODIFY for modify; REDISTRIBUTE for forward, derive and synthesize). It MUST record the current clock value as at, paradigmAt(channelId, now) as the rule version, and as bindingId the binding that evaluateWithBinding names for that check (Section 9.5). A refusal SHOULD report the outcome of the check, so that a binding pending re-admission is not reported like the absence of a binding. The record is the evidence that the action was authorized when it was accepted (Section 10): the rule version and the binding can differ from what a read at the record’s timepoint returns later, when the rules were changed, the binding was revoked or suspended, or an earlier-created binding of the subject was reinstated or re-admitted later within that timepoint. bindingId is a witness that the role was held, not a statement about the capacity in which the subject acted. A forward MUST keep the object reference unchanged, MUST carry a forwards relation and MUST refer to an already anchored object; a derivation or synthesis anchors a new object and MUST carry a derivesFrom or synthesizes relation; supersede and retract MUST be accepted only from the subject that anchored the target object. An anchor is a declaration at a time: it proves neither delivery nor truth, and a chain of forwards adds propagation, not independent evidence. The role is checked in the channel that receives the record and in no other: this profile does not consult the channel in which a forwarded or derived object was first anchored, and the object references of an anchor share one namespace in which the first anchor of a reference stands (see Security Considerations).
13.2 Absence semantics and objection windows (aifp:profile/objection-window/v1)
Where a paradigm declares time.absence as rule-defined, the absence of an event has meaning only inside an authoritative window agreed in advance: a window declares the channel, the proposal, the objection role, a start not earlier than its opening, a deadline and the default consequence. The objection role MUST be a single defined role bit, and an objection MUST be registered by a holder of that role inside [start, deadline). After the deadline, resolution yields objected when a valid objection was registered - an objection is a recorded fact and decides the window whatever else happened to the channel; otherwise the default consequence when the window’s integrity is confirmed (it was open for its whole duration and the channel was active throughout); and otherwise UNDETERMINABLE. Integrity MUST be confirmed, not presumed: the absence of a report that the channel was frozen is not a confirmation. Confirming it on chain needs a record of the channel’s state over the window, which the interface of Section 8 does not expose; the reference channel registry counts the state changes of a channel for this purpose, and the reference companion confirms integrity only when the channel is active at resolution and its state has not changed since the window was opened - a stricter condition, which errs towards UNDETERMINABLE. The default consequence proves that the agreed condition occurred; it proves neither that any participant read the proposal nor that anyone consented. A liveness rule is handled the same way: a missing heartbeat yields only “expired or marked inactive under the rule”.
A role binding MAY record a commitment keccak256(subjectRef || salt) in place of a subject reference, together with the proof rules under which the subject later demonstrates membership. The plain subject reference of Section 3 is not such a commitment. This profile defines no on-chain interface in this version.
A receiver MAY commit to the hash and version of the policy it applies when deciding whether to process what it is permitted to read. The three gates - the channel permits the publisher to publish, the receiver is permitted to read, the receiver chooses to process - are independent, and this profile only lets the third be demonstrated after the fact. This specification defines no universal trust score and no handling hint that could lower the protection a receiver requires.
14. Namespace
Identifiers use the aifp: namespace: aifp:paradigm/<name>/v<N> (labels, Section 5.2), aifp:op/<operator>, aifp:dim/<dimension>, aifp:pred/<predicate>, aifp:rel/<relation>, aifp:handling/<hint>, aifp:profile/<name>/v<N> and aifp:ext/<vendor>/<name>/v<N> for third-party extensions.
15. Interface detection
Every registry, the composite verifier and the event anchor MUST implement ERC-165 and report the identifier of the interface it implements:
The interface identifiers are listed in the Test Cases.
Rationale
A generative model instead of an enumeration. The familiar forms of human communication (broadcast, panel, assembly, meeting, three kinds of peer-to-peer) are kept, but as labels on configurations rather than as types. Two carriers, eight operators and thirteen separately declared dimensions generate those forms and the agent-native ones (intake, blackboard, dispatch, forward, derive) alike, and a new form is first expressed with the existing vocabulary before anything is added. Completeness is argued by closure under composition, explicit compatibility rules, a counterexample list and an open extension namespace, not by claiming that the Cartesian product of the dimensions is exhaustive. Identification conditions are deliberately decidable from the descriptor alone, so that a validator can check them and the registry does not have to; where two conditions overlap, a descriptor simply carries both labels.
Why the dimensions are split the way they are. It is tempting to merge “how many” with “how admitted”, “synchronous” with “request-response”, “relationship” with “proof”, and “end-to-end encryption” with “metadata hidden”. Each pair is a different question with independent answers: two participants can form an open club; a request-response exchange can be asynchronous; a stranger can present a valid credential; an encrypted group still leaks its membership and message frequency. Splitting them is what lets a paradigm say exactly which guarantee it offers.
Rules constrain processes, not isolated messages. Whether a message is acceptable depends on state (was the sender’s role revoked, was a one-time authorization already used, is the epoch quota exhausted, which version was in force) and on a clock. The three receiver sets - addressed, permitted, actually received - are kept apart because a public reply addressed to one person is read by thousands, and because a published archive has no determinate audience when it is published. Evaluation is therefore a function of registry state at a timepoint, and the registry keeps suspension intervals and admission epochs as history so that the function is stable.
Separately addressable role bindings. A subject-level permission set cannot express “may submit in lane X, suspended in lane Y”, nor can it be suspended by an intervener without also being liftable by the channel’s own managers. Each grant therefore produces a bindingId with its own scope, basis, interval and state; evaluate takes a scope; suspension records who imposed it and only that party lifts it; rolesOf survives as a summary that is never the sole basis of an authorization. authorizationRef fields everywhere are references to evidence and confer nothing by themselves, which is why the call-permission tables are explicit.
Two acquisition paths. The manager path records what an authority asserts; the admission path records what a predicate proved. They are distinguished by basis kind so that a reader of the registry can tell a roster entry from a satisfied condition, and so that a predicate binding can be re-proved after a rule change while a roster binding is confirmed by a manager.
Four-valued outcomes. A verifier that timed out, an unknown required extension and a missing proof are not evidence that a subject is unqualified. Folding them into “not satisfied” would record a false negative that later readers cannot distinguish from a real one; the admission path reverts with the obtained outcome instead of writing anything. The composition tables give NOT_SATISFIED precedence in allOf and SATISFIED precedence in anyOf because those are the only definitive answers; among the non-definitive ones, UNDETERMINABLE outranks VERIFIER_ERROR because an unverifiable condition is a property of the request, while a verifier error may be transient. Negation is omitted because not(UNDETERMINABLE) is still undeterminable and the operator invites “could not verify, therefore unqualified”. The leaf-call rule of Section 6.3 exists because the promise “a faulty verifier is that leaf’s error” is only as good as the mechanism that keeps the fault inside the leaf: a typed external call decodes its return value in the caller, so a verifier that returns no data or a word outside the declared type would revert the whole evaluation - and, through the registry’s own error handling, turn anyOf(allowlist, external) into VERIFIER_ERROR for a subject the allowlist admits. Checking the raw return data and bounding the gas of each leaf call are what make the composition tables hold.
Gas is not evidence. A leaf that ran out of gas because its caller supplied too little has not been shown to be faulty, and a leaf that was given less gas than usual may return a different, well-formed answer. If such results were reported, whoever chooses the gas limit of a transaction - a relayer, a wallet’s estimate, a party calling on someone else’s behalf - would choose the outcome, and a preview made over eth_call would disagree with the transaction that follows it. The bound is therefore a fixed amount that every leaf receives in full; the evaluation fails as a whole when that amount cannot be forwarded; and a failed evaluation travels up to the transaction instead of being recorded as VERIFIER_ERROR. The registry treats every failure of the composite verifier that way, so that no arithmetic on leftover gas decides between an outcome and a failure. The check is made before the call because a check after it (comparing the gas left with 1/63 of the bound) recognizes a starved leaf only when the leaf used up everything it was given, and a verifier that catches its own inner failure and answers UNDETERMINABLE leaves gas behind. Return data is not copied beyond one word for a related reason: the bound limits what a leaf can spend, not what it can make its caller spend. What the bound does not fix is the dependence of a leaf’s cost on state that the transaction has already touched; an access list is chosen by the same parties as the gas limit, which is why a leaf verifier is expected to fit the bound from a cold start. Nor can it keep the gas limit away from a leaf that reads the native balance of the sender, which the protocol reduces by the price of the whole gas limit before execution: such a verifier lets the gas limit into its own answer, and the specification asks verifiers not to do that. Stopping at the child that decides a composite keeps the cost and the faults of a leaf away from every evaluation that does not need its answer, and requiring the node array to be a tree keeps the number of leaf calls within the number of nodes. Because an evaluation then no longer visits every node, the depth limit is a property of the array, checked before anything is evaluated: a predicate must not be an outcome for one subject and malformed for another.
Historical validity versus admission. “Evaluate under the rules in force at the event’s timepoint” and “reject old-version events after a migration” are reconciled by distinguishing re-evaluation of already accepted events from first-time admission: the former uses the historical timepoint, the latter the current clock value, and a back-dated timepoint is admissible only with binding-recognized evidence of earlier acceptance. Grants are never back-dated for the same reason. Re-evaluation at the historical timepoint is reliable against everything recorded at later timepoints; against changes recorded later within the timepoint of acceptance itself, the record of the acceptance is the evidence (see “Records name what they relied on” below).
One clock per deployment. Timepoints appear in adoptions, intervals, disclosures and evaluations; mixing block numbers and timestamps across registries would make paradigmAt and evaluate ambiguous. ERC-6372 is a true dependency because the registries expose clock() and CLOCK_MODE() and every timepoint is read on them; it is listed in requires. Ties are broken by recording order so that two changes at one timepoint have a determinate outcome.
Records name what they relied on. All transactions of a block carry the same clock value, so a role can be exercised and revoked at one timepoint. The revocation excludes that timepoint from the binding’s interval - a read made after a revocation fails closed - which means that a later evaluate at the timepoint of a record cannot show that an action accepted earlier at that timepoint was authorized. Moving the revocation boundary to the next timepoint would make the two agree, at the price of leaving a revoked binding readable as valid, and usable, for the rest of the timepoint. The specification keeps the boundary and lets the record carry the evidence: an anchored event names the rule version it was judged under and a binding that authorized it, and the order of two records at one timepoint is their order in the chain. The binding named is the earliest-created one that satisfied the check, a witness and no more; letting the actor choose it would add a parameter to every action for the sake of a distinction the role check does not make. evaluate at a timepoint is a statement about the registry’s history as recorded so far; it is final once the clock has passed that timepoint, and it is not the audit path for decisions taken within it.
Disclosure monotonicity as a fact about history. The only non-invertible operation in the model is disclosure: every other action has an inverse (join/leave, grant/revoke, commit/reveal, push/pull). The specification therefore forbids rewriting the fact that something was disclosed, while allowing future provision to contract - including for existing objects - because a registry can stop serving but cannot delete copies, and a specification that pretended otherwise would mislead. DISCLOSED and RESTRICTED records are both facts and both append-only.
What the registry does and does not validate. Verifying that a Panel’s observation scope contains its contribution scope is undecidable on-chain when both are arbitrary predicates. The split is therefore: the deterministic validator checks format, compatibility rules and the finite identification conditions; the contract checks hashes, family control, succession, state and the outcomes of the verifiers it calls; hasLabel means “registered”, nothing more.
One subject encoding. Addresses, agent registry identifiers, DIDs and external identifiers are hashed from one canonical string with explicit scheme and domain, so that an erc8004 reference names its chain and registry and an address names its chain. Two parallel encodings (left-padded addresses and hashed strings) would make the same actor appear twice. A plain hash is not a privacy commitment; committed subjects are a profile with their own proof rules.
Absence semantics. A clock is not enough to prove that nobody objected, because observers may have missed the proposal. The objection-window profile requires a window agreed in advance, an objection role, a registration place, a deadline and an integrity condition. A registered objection decides the window by itself; only the inference from silence needs the integrity condition, and that inference yields UNDETERMINABLE unless integrity is confirmed. The default consequence is the occurrence of an agreed condition, never a proof of consent.
Relationship to neighbouring work. Agent identity, reputation and validation registries (ERC-8004), know-your-agent credentials, agent identity anchors, collective decision registries (ERC-8436), resource discovery (ERC-8444), swarm registries, safety specification bindings, dispute resolution registries, task tenders and economic unit registries are attached through predicate leaves and governance or economic bindings. None of them is required to implement this ERC, and this ERC defines none of them. Transports are attached through transport bindings with declared capabilities and are not standardized here.
Counterexamples recorded during design. A panel with one speaker at the moment is not a source unless the rules allow only one contributor; a two-person meeting is a private direct link but says nothing about acquaintance; a club need not be synchronous; a referred peer-to-peer link need not be semi-public; a static web page is a source plus an archive with pull delivery, not the opposite of a source; moderators, capacity limits and speaking order do not decide between panel and club - the acquisition mechanism does; a dating application is a selection market, not open peer-to-peer; a venue where agents contribute and humans observe is one context with role-conditioned boundaries, not two paradigms; stranger, referral and prior link are not three mandatory stages of a link; and a chain of forwards adds propagation, not independent evidence.
Backwards Compatibility
This ERC introduces new interfaces and does not modify existing ones. It composes with ERC-165 for interface detection and ERC-6372 for clocks (both linked above). Registries of agent identity, credentials, decisions, discovery, swarms, safety and disputes remain independent and are referenced by subject references, predicate leaves and binding declarations only; an implementation of this ERC does not have to implement any of them, and they do not have to know about it.
and its hash is 0xd9748b88542c28c751ee2cfb24a3b2ab8d9ce5e6f55c9df01f4a1a4bbf53a91e.
{allowlist: {set: 0x0000000000000000000000000000000000000001}} hashes to 0xab7712d47464ad123b4b508fd749b08607b2e31cacca600d5a5ae06f61a111c9.
{allOf: [{credential: {verifier: 0x..01, scheme: 0xc3d44c83..6764, minLevel: 1, proofMode: attested}}, {identity: {verifier: 0x..02, registry: 0x..03, requiredState: active}}]} encodes as three nodes - node 0 allOf with childStart 1, childCount 2; node 1 credential with ref 0xc3d44c830a5c118f980f48317b97e9eaa920a7bbd204c7d3595ac191d4726764 and params abi.encode(uint256 1, uint8 0, uint256 0, address[] []); node 2 identity with ref 0x0000000000000000000000000000000000000000000000000000000000000003 and params abi.encode(uint8 1) - and hashes to 0x28b6f9620d46b8c2a90d9d0478093e46389160cee5efa63671f26daf04aa6ffc.
A nested predicate allOf(allowlist, anyOf(open, external), anyOf(member, allOf(stake, decision))) allocates breadth-first as nodes 0 allOf(1,3), 1 allowlist, 2 anyOf(4,2), 3 anyOf(6,2), 4 open, 5 external, 6 member, 7 allOf(8,2), 8 stake, 9 decision, where (s,n) is (childStart, childCount).
Outcome composition
left
right
allOf
anyOf
SATISFIED
SATISFIED
SATISFIED
SATISFIED
SATISFIED
NOT_SATISFIED
NOT_SATISFIED
SATISFIED
SATISFIED
UNDETERMINABLE
UNDETERMINABLE
SATISFIED
SATISFIED
VERIFIER_ERROR
VERIFIER_ERROR
SATISFIED
NOT_SATISFIED
NOT_SATISFIED
NOT_SATISFIED
NOT_SATISFIED
NOT_SATISFIED
UNDETERMINABLE
NOT_SATISFIED
UNDETERMINABLE
NOT_SATISFIED
VERIFIER_ERROR
NOT_SATISFIED
VERIFIER_ERROR
UNDETERMINABLE
UNDETERMINABLE
UNDETERMINABLE
UNDETERMINABLE
UNDETERMINABLE
VERIFIER_ERROR
UNDETERMINABLE
UNDETERMINABLE
VERIFIER_ERROR
VERIFIER_ERROR
VERIFIER_ERROR
VERIFIER_ERROR
The tables are symmetric; a value of 7 normalizes to VERIFIER_ERROR; an empty list is rejected.
Interface identifiers
Interface
Identifier
IAIFPParadigmRegistry
0xa30ca0da
IAIFPChannelRegistry
0x94dbe6d5
IAIFPParticipationRegistry
0x1d84a105
IAIFPCompositeVerifier
0xe3fe3554
IAIFPPredicateVerifier
0xe7a501b7
IAIFPSubjectSet
0x1d1a696d
IAIFPEventAnchor
0x62b24396
Paradigm identifiers
The canonical encodings of the example descriptors (source, panel, club, intake, blackboard) hash to: source0xea944ef3ca51ac0aa41ddb93ea4b1f940c1637633bb116d20a9f896bb8c5d3f8, panel0x05e65109a6abf73cdec4422cc754a69b1aec753041df036a9fd3c7099775bf66, club0x0a88feca81ef7365bf30b3457ea225e8e10d139bdb5e21efd126f39b8f2d7420, intake0x9ab153e21196d42fabe497ca76c0bfa82f2bfc0f001d6af2caee172243aa7694, blackboard0x1a4da67556be4c71967131eb983d083e9f2f3930f3587b76e99de2d528a0bf19. The panel example declares the observe role with the open predicate, so rolePredicateHash(paradigmId, 2) is 0xd9748b88542c28c751ee2cfb24a3b2ab8d9ce5e6f55c9df01f4a1a4bbf53a91e.
Evaluation scenarios
Let the clock be t0 at channel opening and let A be the channel authority.
A grants B role 2 (OBSERVE) at t0. evaluate(B, 2, 0, t0) is SATISFIED; evaluate(B, 4, 0, t0) is NOT_SATISFIED; evaluate(B, 2, 0, t0 - 1) is NOT_SATISFIED.
A revokes that binding at t1 > t0. evaluate(B, 2, 0, t1 - 1) stays SATISFIED; evaluate(B, 2, 0, t1) is NOT_SATISFIED.
A adopts a new paradigm version with requiresReadmission true and effectiveAt = t2. A binding granted at t0 evaluates SATISFIED at t2 - 1 and UNDETERMINABLE at t2; after readmit or confirmReadmission at t3 >= t2 it evaluates SATISFIED at t3 and still UNDETERMINABLE at any timepoint in [t2, t3).
After t2, admit with the predicate bytes of the superseded version reverts with a predicate mismatch; with the new version’s predicate bytes it succeeds when the predicate is SATISFIED.
C holds a scoped MANAGE_ADMISSION binding for scope X. C can grant in scope X and cannot grant in scope Y or for the whole channel.
An intervener (executor with the participation effect) suspends B’s binding. A cannot reinstate it; the intervener can. While suspended, another SATISFIED binding of B for the same role and scope still makes evaluate return SATISFIED.
recordDisclosure(kind 0) for object o to audience p, followed by recordDisclosure(kind 1) for the same pair, yields two records; disclosureCount is 2 and the first record is unchanged.
A composite verifier given a predicate that contains a node of kind 42 returns UNDETERMINABLE without calling any verifier, whether or not that node has children; given a delegated leaf whose verifier address has no code it returns VERIFIER_ERROR for that leaf.
A delegated leaf whose verifier returns no data, a word of value 256, 16 bytes, or two words is VERIFIER_ERROR for that leaf, and so is an allowlist leaf whose set returns the word 2; anyOf(allowlist, external) with the subject in the allowlist and such a verifier in the external leaf is SATISFIED, allOf of the same two leaves is VERIFIER_ERROR, and the admission path admits the subject that is in the allowlist. A delegated leaf that consumes all the gas it is given is VERIFIER_ERROR for that leaf, and anyOf(external, open) with that leaf is SATISFIED.
Under a composite verifier whose bound is 1,000,000 gas, a delegated leaf answers SATISFIED after using 800,000 gas. evaluate called with any gas limit either returns SATISFIED or fails for lack of gas - with AIFP_InsufficientGas() when it reaches the leaf call and cannot give it the bound, without error data when it runs out before that; it never returns VERIFIER_ERROR. The same holds for a leaf that answers UNDETERMINABLE when an inner call of its own runs out of gas. A leaf whose first instruction reads its gas observes exactly the bound less the cost of that instruction, at every gas limit at which the evaluation answers. admit sent with a gas limit of 700,000 reverts with AIFP_InsufficientGas() and records nothing, and the same call with 3,000,000 gas creates the binding. A leaf that needs 1,200,000 gas is VERIFIER_ERROR at every gas limit at which the evaluation answers. A composite verifier that reverts because the predicate is malformed, for example nested too deeply, makes previewAdmission and admit revert with AIFP_EvaluationFailed; neither reports VERIFIER_ERROR.
A delegated leaf that returns 600,000 bytes is VERIFIER_ERROR for that leaf, and evaluating it costs the composite verifier no more than evaluating a leaf that returns 64 bytes: the difference between the two evaluations is the leaf’s own cost of producing the buffer.
B holds SUBMIT through binding x, granted before timepoint t. At t, B anchors a submission and A then revokes x, both at the same clock value. The event record has bindingId equal to x and at equal to t, and bindingOf(x).revokedAt is t. evaluate(B, 4, 0, t) is NOT_SATISFIED from the revocation on and evaluate(B, 4, 0, t - 1) stays SATISFIED; a second anchor by B at t is refused; the EventAnchored log precedes the RoleRevoked log. evaluateWithBinding(B, 4, 0, t - 1) returns SATISFIED and x. A binding granted to C, used by C and revoked, all at t, leaves a record that names it although evaluate(C, 4, 0, ...) is NOT_SATISFIED at t - 1, t and t + 1.
A node array in which two composites name the same child is malformed and evaluate reverts. So does anyOf(open, X) when a leaf of X lies at depth 9, although an evaluation would stop at open; with that leaf at depth 8 the result is SATISFIED. anyOf(open, external) is SATISFIED without the external leaf being called, also when the gas supplied is a fifth of the bound; anyOf(external, open) with that gas fails with AIFP_InsufficientGas().
An adoption of P2 effective at t0 + 100 is recorded, then an adoption of P3 effective at t0 + 50. paradigmAt is the opening paradigm at t0 + 49, P3 from t0 + 50 to t0 + 99 and P2 from t0 + 100 on.
An adoption that requires re-admission is recorded at t0 with effectiveAt = t0 + 100. A binding granted at t0 + 10 evaluates SATISFIED up to t0 + 99 and UNDETERMINABLE at t0 + 100, like a binding granted before t0; a binding granted at t0 + 100 or later is not pending.
previewAdmission for a role to which the paradigm gives no predicate reverts as admit does. In a Frozen channel previewAdmission, admit, grant, readmit and confirmReadmission revert, while suspend, reinstate and revoke are accepted.
An objection window is opened in an active channel. If the channel is frozen and released before the deadline and nobody objects, the window resolves UNDETERMINABLE, although the channel is active when it is resolved and nobody reported the freeze. If an objection was registered inside the window it resolves objected, also when the channel is frozen at resolution. Opening a window with an objection role of zero, of two bits or of a reserved bit is rejected.
Low marginal cost of identities. An open or predicate-acquired role invites many subjects controlled by one party. A stake or credential condition raises the cost of a specific behaviour and ties admission to an external fact; it does not show that several subjects belong to independent controllers. Paradigms that rely on counts of distinct subjects (quorums, votes, objection windows) are exposed to this and are expected to combine conditions, for example a credential with a stake, rather than rely on one.
Content is never authority. A message in a channel can contain an instruction; a subject with execution capabilities that treats received content as a command is exposed to injection whatever the channel’s paradigm. Role bindings in this ERC authorize information actions - observe, submit, respond, modify, redistribute - and nothing else; the authority to execute an action in the world comes from a separate authorization mechanism, and handling hints supplied by a sender cannot lower the protection a receiver applies.
Declaration, enforcement and evidence are three different things. A registry record proves that a rule version, a role binding or a disclosure record existed at a time. It does not prove that a transport enforced the rule, that keys were rotated when observation contracted, or that off-chain behaviour followed the rules; those need their own evidence. Readers of the registry are advised to treat hasLabel as a declaration and the capability bits of a transport binding as the binding’s own claim.
Verifier liveness and misbehaviour. A leaf verifier that reverts, does not complete within the bound, returns data that is not one outcome word, returns an out-of-range value or has no code produces VERIFIER_ERROR for its leaf; a verifier that lies produces a wrong definitive outcome. The leaf-call rules of Section 6.3 keep a fault inside its leaf as far as the outcome is concerned: without them a single broken or malicious verifier in an anyOf could deny admission to subjects that another branch admits, and the party that sets a transaction’s gas limit could turn a sound leaf into a recorded verifier error. They do not make a faulty leaf free: every call of a leaf that burns its gas costs the evaluation the whole bound. The worst-case cost of evaluating a predicate is the number of its leaves that can be called times the bound, plus the evaluation’s own work, and a predicate for which that sum exceeds what one transaction can carry on its chain can be made impossible to evaluate by enough faulty leaves; admission then fails for lack of gas, and nothing is recorded. On a chain that enforces the transaction gas cap of EIP-7825 (2^24 gas) a transaction can fund at most 16 leaf calls of 1,000,000 gas each, so under the reference bound an anyOf with 17 or more faulty leaves ahead of the child that would satisfy it can never be admitted, whatever the caller supplies; the limit of 63 leaves in Section 6.1 is a limit on the shape of a predicate, not a guarantee that it can be evaluated. Paradigm authors are expected to keep that sum within the transaction gas limit, to place native and inexpensive conditions, and the conditions most likely to decide a composite, before delegated ones so that the deciding child is reached early (Section 6.4), to choose verifiers that complete within the bound from a cold start and do not depend on the gas they have left or on a balance that pays for gas (Section 6.3), and, where many delegated leaves are needed, to evaluate under a composite verifier with a lower bound: the bound is a property of the deployment, reported through leafGasLimit(). Each time a leaf is called, about 64/63 of the bound has to be available beyond what the evaluation has spent so far, whatever the leaf will actually use: an admission whose predicate calls even one inexpensive leaf needs a gas limit above the bound. A gas estimate obtained by simulation includes that headroom, because an evaluation that cannot fund a leaf fails instead of answering. Paradigms choose their verifiers, and the predicate hash commits to the verifier addresses, so a channel’s admission conditions change only with a new paradigm version. A verifier that is upgradeable behind a proxy weakens that commitment.
Timepoints supplied by callers. The registries take effectiveAt, validFrom and validUntil from callers and reject values in the past, but a caller can schedule changes far in the future; consumers reading paradigmAt and evaluate at future timepoints see those scheduled changes. Sender-asserted timepoints in transports are not accepted as a basis for permissions (Section 10).
Disclosure contraction is not deletion. Moving observation from open to closed, or recording a RESTRICTED disclosure, changes future provision only. Anyone who observed an object before the change may retain and republish it, subject only to the redistribution rules they accepted and to mechanisms outside this ERC.
Metadata. Membership lists, binding scopes, adoption times, disclosure records and anchored event references are public on-chain unless the committed-subject profile or an off-chain transport with membership privacy is used. Paradigms that promise anonymity or metadata protection depend on their transport bindings for it; the registry alone offers none.
Governance capture. An executor named in an automatic governance binding can change rules, participation or disclosure records without further confirmation. Its declared effect scope says what the executor is meant to do, not what it can obtain: the management capabilities are not independent of each other. An executor with the rules effect can declare a further binding, naming itself, with any effect scope; whoever can grant for the whole channel - a holder of MANAGE_ADMISSION, or an executor with the participation effect - can grant itself any role, MANAGE_RULES and MANAGE_DISCLOSURE included. Each of these capabilities is therefore to be treated as control of the channel, and given out accordingly. Channels that attach a decision or safety registry are advised to prefer the confirmed adoption mode for effects that cannot be undone, and to keep the rules effect behind a decision process whose participants are themselves subject to admission conditions.
Re-admission reaches the managers too. An adoption that requires re-admission makes every binding granted before it took effect pending, the MANAGE_ADMISSION bindings included, and a pending manager can neither grant nor confirm. A manager whose binding was granted has to be confirmed by someone else: the channel authority, an executor with the participation effect, or a manager whose own binding is not pending; a manager whose binding rests on a predicate re-admits itself. A channel that relies on granted managers alone, and whose authority cannot act, is left with nobody able to confirm unless an executor can (see “Governance capture” for how an executor with the rules effect can become one).
Absence semantics. A default consequence triggered by an objection window proves that no valid objection was registered in a complete window. It does not prove that participants read the proposal, agreed with it, or were able to object; a frozen channel or an unreachable transport during the window makes the resolution undeterminable rather than silent consent. That holds only for an implementation that confirms the integrity of a window instead of presuming it (Section 13.2): a freeze that begins and ends inside a window leaves no trace in the current state of the channel. What a contract cannot see at all - a transport that was unreachable, a proposal that was never served - has to be established off chain before a default consequence is relied on.
Reads within a timepoint. A read of evaluate for a timepoint is the state after the last change recorded at that timepoint, and nothing more. A consumer that re-evaluates a role at the timepoint of a recorded action can wrongly conclude that the action was unauthorized, when the binding was revoked or suspended, or the rules were changed, later within that timepoint; the record’s bindingId and rule version, together with the order of the logs, are the evidence (Section 10). It can also wrongly conclude that a role was held throughout a timepoint: a binding granted later within it, or suspended and reinstated within it, reads as SATISFIED although an action attempted in between was refused, and a binding granted, used and revoked within one timepoint never reads as held at all. A suspension imposed and lifted within one timepoint leaves no trace in evaluate; the binding’s own record (suspendedAt equal to reinstatedAt) and the logs show it. A revocation applies from its position in the chain and not from the next timepoint: nothing accepted after it at the same timepoint is authorized by the revoked binding.
Resource limits. Evaluation iterates over a subject’s bindings in a channel (capped at 64 per subject and channel in the reference implementation), over the suspension intervals of each of them, and over the channel’s adoptions; a management call by anyone but the channel authority iterates over every binding the channel has ever declared. Paradigms with very frequent re-adoption, managers that grant many bindings to one subject or suspend one binding many times, and channels that declare many bindings raise the gas cost of those calls for everyone. The cap on bindings counts every binding ever created for the subject in the channel - revoked and expired ones too, in any scope - because history has to stay evaluable: a subject that reaches it can receive no further binding in that channel from anyone, and a manager, including one whose authority covers a single scope, can exhaust it for a subject. An admission creates a binding each time, so a subject can also exhaust it for itself with short-lived admissions. The channel record that the registries read carries the metadata URI, whose length the opener of the channel chooses; a long one raises the cost of every call that reads the record.
Anchored object references. The event-anchor profile keeps one namespace of object references per anchor, and the first anchor of a reference stands: it fixes anchoredBy, and only that subject can supersede or retract the object. A reference that others can compute or observe before it is anchored - a bare content hash, a reference visible in a pending transaction - can be anchored first by anyone who holds a contribution role in any channel, including a channel opened for the purpose. Authors who rely on anchoredBy are expected to anchor references that commit to the channel and to the author, for example the hash of the channel identifier, the subject reference and the content hash. The anchor also checks roles in the channel named in the call only: it does not enforce the redistribution rule of the channel in which a forwarded or derived object was first anchored, and a relation such as retracts can be recorded through any channel in which its author holds the role. A consumer that needs those rules enforced has to check the origin of an object itself.
Gary Yang (@garyyang-finchip), "ERC-8489: Agent Information Flow Paradigm [DRAFT]," Ethereum Improvement Proposals, no. 8489, November 2026. Available: https://eips.ethereum.org/EIPS/eip-8489.