Draft 0.1

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.

  1. 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.

    Normative Markdown of Overview, status and terms

  2. Conventions

    Encoding, names, identifiers, revisions, references, time, money, scope, principals, extensions, versions and digests shared by every Enna document.

    Normative Markdown of Conventions

  3. 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.

    Normative Markdown of Work contract

  4. Scoped context manifest

    The object that lists, by reference, the context a contract revision may use, with purpose, provenance, freshness, classification and disclosure.

    Normative Markdown of Scoped context manifest

  5. 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.

    Normative Markdown of Authority binding

  6. 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.

    Normative Markdown of Execution receipt

  7. Evaluation result

    The object that records criterion-by-criterion evidence, the derived technical result, the owner's acceptance and business impact, each kept apart.

    Normative Markdown of Evaluation result

  8. 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.

    Normative Markdown of Envelope and errors

  9. 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.

    Normative Markdown of Cross-object invariants

  10. 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.

    Normative Markdown of Business lifecycle

  11. 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.

    Normative Markdown of Execution semantics

  12. 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.

    Normative Markdown of Discovery document

  13. 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.

    Normative Markdown of Conformance

  14. 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.

    Normative Markdown of Software-delivery profile

  15. 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.

    Normative Markdown of Relationships and mappings

  16. 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.

    Normative Markdown of Security and privacy

  17. 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.

    Informative Markdown of Non-goals, limitations, open questions and alternatives

  18. References

    The normative and informative references of draft 0.1, each with the version cited and the date it was checked.

    Normative Markdown of References

  19. 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.

    Informative Markdown of Conformance checklist

  20. 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.

    Informative Markdown of Conformance kit