Specification
The draft of Enna: the Business Agent Protocol, one section per page, in reading order. Normative sections state requirements with MUST, SHOULD and MAY as BCP 14 defines them; informative sections explain and illustrate. Every section is also published as Markdown.
-
Overview, status and terms
What Enna is and is not, the status of this draft, how to read its requirements, and the terms it uses.
-
Conventions
Encoding, names, identifiers, revisions, references, time, money, scope, principals, extensions, versions and digests shared by every Enna document.
-
Work contract
The object that states what is to be done for an organization, the outcome it serves, who is accountable, how done is judged and within which limits.
-
Scoped context manifest
The object that lists, by reference, the context a contract revision may use, with purpose, provenance, freshness, classification and disclosure.
-
Authority binding
The object that describes and binds the authority an agent holds for one contract revision, with grants, limits, approvals, expiry, revocation and delegation.
-
Execution receipt
The immutable record of one proposed or performed action, with its authority, decision, outcome, changes, artifacts, cost, trace and integrity, and what its digest shows.
-
Evaluation result
The object that records criterion-by-criterion evidence, the derived technical result, the owner's acceptance and business impact, each kept apart.
-
Envelope and errors
The envelope that carries objects between parties, the order of validation, the error response format and the full catalog of error codes with their JSON Pointer paths.
-
Cross-object invariants
The rules a complete record of one contract revision must satisfy beyond each object's shape, with the exact checks, error codes and paths, and what they leave unchecked.
-
Business lifecycle
The states of a work contract, the events that move it, the normative transition table, business blocks, and the mappings to A2A 1.0 task states and PAP 0.1 operation states.
-
Execution semantics
How an Enforcement point gates each action, and how retries, partial failure, cancellation, stale context, scope changes, approval invalidation, idempotent replay, conflicting reuse and recovery work, with what is recorded versus enforced and no exactly-once promise.
-
Discovery document
The proposed /.well
-known/enna.json convention, its publication rules taken from PAP, its members, the issuer cross-check with enna_domains, and the two-way link with poppy.json. -
Conformance
The four conformance classes, the Essential, Controlled and Assured assurance levels chosen by risk rather than headcount, self-declared claims, and what the reference implementation claims.
-
Software-delivery profile
The software
-delivery/0.1 profile, with its seven actions, artifact and evidence kinds, the git digest rule and the rule that production deploys need their own grant and a non-standing approval. -
Relationships and mappings
How Enna builds on PAP 0.1 and bridges to it step by step, how it relates to MCP, A2A, OAuth, AuthZEN, in-toto, W3C PROV and OpenTelemetry, with a boundary table, a sequence in text, and each mapping marked implemented and tested or proposed.
-
Security and privacy
The security principles of the draft, its threat model for business agent work with what Enna requires and what it leaves to others, and its rules on secrets and privacy.
-
Non-goals, limitations, open questions and alternatives
What Enna does not attempt, the known limitations of draft 0.1 and its reference implementation, the questions it leaves open, and the alternatives it considered.
-
References
The normative and informative references of draft 0.1, each with the version cited and the date it was checked.
-
Conformance checklist
Every requirement of draft 0.1 by conformance class and assurance level, with the section that states it, for implementers to assess themselves against.
-
Conformance kit
What the fixtures, test vectors and catalogs published with draft 0.1 hold, how to run them against an implementation in any language, and how to check a download against the manifest.