Examples

Two pieces of work at Harbor & Pine, followed from request to outcome, with the five objects the reference runtime produced for them. Each was run when this site was built, with the default settings on the Relay runtime, so every object below is real output, not an illustration.

Simulation: fictional company, mock agents, no real actions

A competitor launches a feature

Quillstone launches an AI brand check. Harbor & Pine's agents read the feedback they are allowed to read, find that clients want explicit approvals for branded external projects rather than feature parity, and run a bounded experiment that ends in a technical preview the owner accepts. Business impact stays unknown.

Outcome Accepted as a technical preview. Business impact is unknown, and nothing went to production.

The story

  1. 12 Oct 2026, 08:30:00 UTC, Dana Whitfield, request

    Quillstone launches an AI brand check

    Quillstone, a competitor, has launched an "AI brand check". Dana Whitfield, head of product, asks whether Harbor & Pine should respond, and how.

  2. 12 Oct 2026, 08:50:00 UTC, Research agent, context

    The research agent reads the feedback it may read

    It reads 14 Aster Foods comments about approvals, 9 feedback board requests tagged approvals and which Aster Foods roles may approve (fictional fixture counts). It does not touch Lumen Beverages, outside the allowed workspaces. Each source is referenced, not copied, and provenance is not proof of truth.

  3. 12 Oct 2026, 08:55:00 UTC, Planning agent, proposal

    Differentiate, scoped as an experiment

    The feedback shows clients asking for explicit approval before anything branded goes out, not for an AI brand check. Three options: copy Quillstone's feature (evaluate-copy), differentiate with client approvals, or wait (defer). The planning agent proposes a scoped differentiation experiment because this feedback points there. It is a reading of this feedback, not a universal truth.

  4. 12 Oct 2026, 09:00:00 UTC, Planning agent, proposal

    A bounded work contract is proposed

    The planning agent drafts contract wc_brand_approvals for Dana Whitfield, its accountable owner: five criteria (AC-5 measured only after a pilot is approved), USD 400.00 at most, medium risk, due 26 October 2026, and no production deploy. It waits for Priya Raman's approval.

  5. 12 Oct 2026, 09:05:00 UTC, Research agent, context

    The context manifest records what may be used

    Manifest ctx_brand_approvals lists 3 items by reference, each with its scope, classification, provenance, freshness limit of 168 hours and who may see it. It records Lumen Beverages as excluded.

  6. 12 Oct 2026, 10:15:00 UTC, Priya Raman, approval

    Priya Raman approves the bounded contract

    Priya Raman, the contract's approver, approves revision 1 with these 6 grants for the coding agent until 10:15 UTC on 15 October 2026. The approval covers the binding's digest, so any change to its grants, window, policy or delegation makes it stale. A JSON record cannot grant authority; the gate enforces it.

  7. 13 Oct 2026, 09:00:03 UTC, Coding agent, effect

    Done: create the branch feat/brand-approval-gate

    Created branch feat/brand-approval-gate from main. The simulated effect log records eff_01. Receipt rcpt_brand_branch records it.

  8. 13 Oct 2026, 11:00:04 UTC, Coding agent, effect

    Done: commit the approval gate and its tests

    Committed the approval gate and its tests. The simulated effect log records eff_02. Receipt rcpt_brand_commit records it.

  9. 13 Oct 2026, 11:19:41 UTC, Coding agent, effect

    Done: run CI on the commit

    CI passed: 142 tests, none failed. The simulated effect log records eff_03. Receipt rcpt_brand_ci records it.

  10. 13 Oct 2026, 11:25:05 UTC, Coding agent, effect

    Done: open the pull request

    Opened pull request 318 for review. The simulated effect log records eff_04. Receipt rcpt_brand_pull_request records it.

  11. 13 Oct 2026, 11:36:11 UTC, Coding agent, effect

    Done: deploy a preview with the gate switched on

    Deployed preview pr-318 with the approval gate switched on. The simulated effect log records eff_05. Receipt rcpt_brand_preview records it.

  12. 14 Oct 2026, 10:00:00 UTC, Evaluator agent, evaluation

    The evaluator checks the criteria

    It verifies the receipt chain, then judges each criterion from its evidence: AC-1 pass, AC-2 pass, AC-3 pass, AC-4 pass, AC-5 unknown. Technical result: pass. Execution is recorded as complete, apart from the technical result. A passing test suite is not evidence of customer value.

  13. 16 Oct 2026, 15:00:00 UTC, Dana Whitfield, acceptance decision

    Dana Whitfield accepts the technical preview

    The owner accepts the technical preview, and only that: there is no production deploy, and business impact stays unknown until a pilot client approves and the 30-day window is measured.

The five objects

One work contract, and four kinds of object that each name its exact revision. Every object below validates on its own, and together they pass every cross-object invariant as one closed world.

Work contract wc_brand_approvals, revision 1

Run a scoped experiment: block and record explicit client approval before a branded external project is published, keeping client workspaces isolated. Budget USD 400.00, medium risk, due 26 October 2026.

Outcome wanted
Agency clients can require their own approval before anything branded goes out, so they keep trusting shared projects.
Implementation asked for
Add an approval gate to external publishing for branded projects, behind a feature flag, with a preview for the owner.
Accountable owner
Dana Whitfield
Requested by
Dana Whitfield
Others
Priya Raman (approves as product manager), Theo Okafor (consulted)
Cost limit
USD 400.00
Risk
medium at most
Due
26 Oct 2026, 17:00:00 UTC

How done is judged

  1. AC-1 Publishing a branded external project is blocked until a client approver has approved it. automated check
  2. AC-2 Every approval is recorded with the approver, the time and the version approved. automated check
  3. AC-3 Nothing from one client workspace is visible in another. automated check
  4. AC-4 The owner reviews the preview and judges the flow usable. human judgment
  5. AC-5 Pilot clients use the approval gate on at least half of their branded projects. measurement window, not required, measured over 30 days starting on pilot approval

Constraints

  • C-1 Must not: read or write anything in the Lumen Beverages workspace.
  • C-2 Must: keep the gate behind a feature flag that is off for clients outside the pilot.
  • C-3 Must not: deploy to production.
The work contract as JSON
{
  "protocol_version": "0.1",
  "type": "work_contract",
  "id": "wc_brand_approvals",
  "revision": 1,
  "created_at": "2026-10-12T09:00:00Z",
  "scope": {
    "organization": "harborpine.example",
    "workspace": "internal",
    "project": "brand-approvals"
  },
  "profile": "software-delivery/0.1",
  "summary": "Run a scoped experiment: block and record explicit client approval before a branded external project is published, keeping client workspaces isolated. Budget USD 400.00, medium risk, due 26 October 2026.",
  "objective": {
    "outcome": "Agency clients can require their own approval before anything branded goes out, so they keep trusting shared projects.",
    "request": "Add an approval gate to external publishing for branded projects, behind a feature flag, with a preview for the owner."
  },
  "owner": {
    "kind": "person",
    "id": "dana.whitfield",
    "issuer": "https://id.harborpine.example",
    "display": "Dana Whitfield"
  },
  "requester": {
    "kind": "person",
    "id": "dana.whitfield",
    "issuer": "https://id.harborpine.example",
    "display": "Dana Whitfield"
  },
  "stakeholders": [
    {
      "principal": {
        "kind": "person",
        "id": "priya.raman",
        "issuer": "https://id.harborpine.example",
        "display": "Priya Raman"
      },
      "role": "approver",
      "approver_roles": [
        "product_manager"
      ]
    },
    {
      "principal": {
        "kind": "person",
        "id": "theo.okafor",
        "issuer": "https://id.harborpine.example",
        "display": "Theo Okafor"
      },
      "role": "consulted"
    }
  ],
  "criteria": [
    {
      "id": "AC-1",
      "statement": "Publishing a branded external project is blocked until a client approver has approved it.",
      "required": true,
      "method": "automated_check"
    },
    {
      "id": "AC-2",
      "statement": "Every approval is recorded with the approver, the time and the version approved.",
      "required": true,
      "method": "automated_check"
    },
    {
      "id": "AC-3",
      "statement": "Nothing from one client workspace is visible in another.",
      "required": true,
      "method": "automated_check"
    },
    {
      "id": "AC-4",
      "statement": "The owner reviews the preview and judges the flow usable.",
      "required": true,
      "method": "human_judgment"
    },
    {
      "id": "AC-5",
      "statement": "Pilot clients use the approval gate on at least half of their branded projects.",
      "required": false,
      "method": "measurement_window",
      "measurement": {
        "window_seconds": 2592000,
        "starts": "on_pilot_approval"
      }
    }
  ],
  "constraints": [
    {
      "id": "C-1",
      "kind": "must_not",
      "statement": "Read or write anything in the Lumen Beverages workspace."
    },
    {
      "id": "C-2",
      "kind": "must",
      "statement": "Keep the gate behind a feature flag that is off for clients outside the pilot."
    },
    {
      "id": "C-3",
      "kind": "must_not",
      "statement": "Deploy to production."
    }
  ],
  "deadline_at": "2026-10-26T17:00:00Z",
  "limits": {
    "cost": {
      "currency": "USD",
      "amount": "400.00"
    },
    "risk": {
      "max_level": "medium",
      "notes": "Preview only; nothing reaches clients without the flag."
    }
  },
  "outputs": [
    {
      "id": "OUT-1",
      "kind": "pull_request",
      "description": "A reviewed pull request with the gate."
    },
    {
      "id": "OUT-2",
      "kind": "preview_url",
      "description": "A preview the owner can try."
    }
  ]
}

Context manifest ctx_brand_approvals, revision 1

Ground the experiment in what clients asked for, reading no more than it needs.

  • Harbor & Pine workspace comments

    Workspace
    aster-foods
    Classification
    confidential
    Uses only
    comment text about approvals, comment date
    Fresh
    as of 12 Oct 2026, 08:40:00 UTC, for 7 days
    Read by
    Research agent, api read
    May see it
    Planning agent, Coding agent, the product team
  • Harbor & Pine feedback board

    Workspace
    internal
    Classification
    internal
    Uses only
    request titles, vote counts
    Fresh
    as of 12 Oct 2026, 08:45:00 UTC, for 7 days
    Read by
    Research agent, api read
    May see it
    the product team
  • Harbor & Pine identity

    Workspace
    aster-foods
    Classification
    restricted
    Uses only
    which client roles may approve
    Fresh
    as of 12 Oct 2026, 08:50:00 UTC, for 7 days
    Read by
    Research agent, api read
    May see it
    Coding agent

Deliberately left out

  • The Lumen Beverages workspace. Outside the allowed workspaces, and no grant covers it.

Known unknowns

  • Whether clients other than Aster Foods want the same gate.
  • How Quillstone's brand check performs in practice.

Items are references, not copies, and provenance is not proof of truth.

The context manifest as JSON
{
  "protocol_version": "0.1",
  "type": "context_manifest",
  "id": "ctx_brand_approvals",
  "revision": 1,
  "created_at": "2026-10-12T09:05:00Z",
  "scope": {
    "organization": "harborpine.example",
    "workspace": "internal",
    "project": "brand-approvals"
  },
  "contract": {
    "id": "wc_brand_approvals",
    "revision": 1
  },
  "purpose": "Ground the experiment in what clients asked for, reading no more than it needs.",
  "items": [
    {
      "id": "item_aster_comments",
      "kind": "workspace_comments",
      "source": {
        "system": "Harbor & Pine workspace comments",
        "ref": "https://app.harborpine.example/api/workspaces/aster-foods/comments?topic=approvals",
        "version": "snapshot-2026-10-12"
      },
      "scope": {
        "organization": "harborpine.example",
        "workspace": "aster-foods"
      },
      "classification": "confidential",
      "disclosure": {
        "allowed_to": [
          {
            "kind": "agent",
            "id": "https://agents.harborpine.example/planning",
            "display": "Planning agent"
          },
          {
            "kind": "agent",
            "id": "https://agents.harborpine.example/coding",
            "display": "Coding agent"
          },
          "product_team"
        ],
        "redactions": [
          "commenter names",
          "email addresses"
        ]
      },
      "minimal": [
        "comment text about approvals",
        "comment date"
      ],
      "provenance": {
        "produced_by": {
          "kind": "agent",
          "id": "https://agents.harborpine.example/research",
          "display": "Research agent"
        },
        "retrieved_at": "2026-10-12T08:40:00Z",
        "method": "api_read"
      },
      "freshness": {
        "as_of": "2026-10-12T08:40:00Z",
        "max_age_seconds": 604800
      },
      "digest": "sha256:fb657a5c458704c15af8ed99a7972f7e22bb3becb8377c17f0b4155988c8593e"
    },
    {
      "id": "item_feedback_board",
      "kind": "feedback_items",
      "source": {
        "system": "Harbor & Pine feedback board",
        "ref": "https://app.harborpine.example/api/feedback?tag=approvals",
        "version": "export-2026-10-12"
      },
      "scope": {
        "organization": "harborpine.example",
        "workspace": "internal"
      },
      "classification": "internal",
      "disclosure": {
        "allowed_to": [
          "product_team"
        ]
      },
      "minimal": [
        "request titles",
        "vote counts"
      ],
      "provenance": {
        "produced_by": {
          "kind": "agent",
          "id": "https://agents.harborpine.example/research",
          "display": "Research agent"
        },
        "retrieved_at": "2026-10-12T08:45:00Z",
        "method": "api_read"
      },
      "freshness": {
        "as_of": "2026-10-12T08:45:00Z",
        "max_age_seconds": 604800
      },
      "digest": "sha256:a9552f81b1ce5d71bc8dd9cf8456a6f8b47794ce295ce6471a6a751f1fe46a59"
    },
    {
      "id": "item_aster_approvers",
      "kind": "identity_records",
      "source": {
        "system": "Harbor & Pine identity",
        "ref": "https://id.harborpine.example/api/workspaces/aster-foods/roles/approver",
        "version": "etag-7f3a"
      },
      "scope": {
        "organization": "harborpine.example",
        "workspace": "aster-foods"
      },
      "classification": "restricted",
      "disclosure": {
        "allowed_to": [
          {
            "kind": "agent",
            "id": "https://agents.harborpine.example/coding",
            "display": "Coding agent"
          }
        ],
        "redactions": [
          "names"
        ]
      },
      "minimal": [
        "which client roles may approve"
      ],
      "provenance": {
        "produced_by": {
          "kind": "agent",
          "id": "https://agents.harborpine.example/research",
          "display": "Research agent"
        },
        "retrieved_at": "2026-10-12T08:50:00Z",
        "method": "api_read"
      },
      "freshness": {
        "as_of": "2026-10-12T08:50:00Z",
        "max_age_seconds": 604800
      },
      "digest": "sha256:f65470269d55ac5483cf5e4030b799e89ebd408ad4bd6d7d94e0f04225676b51"
    }
  ],
  "known_unknowns": [
    "Whether clients other than Aster Foods want the same gate.",
    "How Quillstone's brand check performs in practice."
  ],
  "excluded": [
    {
      "description": "The Lumen Beverages workspace.",
      "reason": "Outside the allowed workspaces, and no grant covers it."
    }
  ],
  "retention_seconds": 7776000
}

Authority binding auth_coding_agent, revision 1

Agent
Coding agent
Granted by
Dana Whitfield for harborpine.example
For
contract wc_brand_approvals, revision 1
Valid
12 Oct 2026, 10:15:00 UTC to 26 Oct 2026, 17:00:00 UTC

What it allows

  • harborpine.example/workspace_comments.read on workspace_comments in the aster-foods workspace, at most 50 times
  • repo.branch.create on harborpine/collab-app in the internal workspace, at most once
  • repo.commit on harborpine/collab-app in the internal workspace, at most 20 times
  • repo.pull_request.open on harborpine/collab-app in the internal workspace, at most once
  • ci.run on collab-app-ci in the internal workspace, up to USD 150.00, at most 10 times
  • preview.deploy on preview_environment in the internal workspace, up to USD 100.00, at most 3 times

Approvals

  • Approver
    Priya Raman, product manager
    Decision
    approved at 12 Oct 2026, 10:15:00 UTC
    Expires
    15 Oct 2026, 10:15:00 UTC
    Covers
    revision 1 and this binding, by digest
    Recorded as
    interactive, asserted

A JSON record cannot grant authority. The runtime's gate enforces it before every effect.

The authority binding as JSON
{
  "protocol_version": "0.1",
  "type": "authority_binding",
  "id": "auth_coding_agent",
  "revision": 1,
  "created_at": "2026-10-12T10:15:00Z",
  "scope": {
    "organization": "harborpine.example",
    "workspace": "internal",
    "project": "brand-approvals"
  },
  "profile": "software-delivery/0.1",
  "contract": {
    "id": "wc_brand_approvals",
    "revision": 1
  },
  "grantor": {
    "organization": "harborpine.example",
    "person": {
      "kind": "person",
      "id": "dana.whitfield",
      "issuer": "https://id.harborpine.example",
      "display": "Dana Whitfield"
    }
  },
  "grantee": {
    "kind": "agent",
    "id": "https://agents.harborpine.example/coding",
    "display": "Coding agent"
  },
  "grants": [
    {
      "action": "harborpine.example/workspace_comments.read",
      "resource": {
        "type": "workspace_comments",
        "scope": {
          "organization": "harborpine.example",
          "workspace": "aster-foods"
        }
      },
      "limits": {
        "count": 50
      }
    },
    {
      "action": "repo.branch.create",
      "resource": {
        "type": "repository",
        "id": "harborpine/collab-app",
        "scope": {
          "organization": "harborpine.example",
          "workspace": "internal",
          "project": "brand-approvals"
        }
      },
      "limits": {
        "count": 1
      }
    },
    {
      "action": "repo.commit",
      "resource": {
        "type": "repository",
        "id": "harborpine/collab-app",
        "scope": {
          "organization": "harborpine.example",
          "workspace": "internal",
          "project": "brand-approvals"
        }
      },
      "limits": {
        "count": 20
      }
    },
    {
      "action": "repo.pull_request.open",
      "resource": {
        "type": "repository",
        "id": "harborpine/collab-app",
        "scope": {
          "organization": "harborpine.example",
          "workspace": "internal",
          "project": "brand-approvals"
        }
      },
      "limits": {
        "count": 1
      }
    },
    {
      "action": "ci.run",
      "resource": {
        "type": "pipeline",
        "id": "collab-app-ci",
        "scope": {
          "organization": "harborpine.example",
          "workspace": "internal",
          "project": "brand-approvals"
        }
      },
      "limits": {
        "cost": {
          "currency": "USD",
          "amount": "150.00"
        },
        "count": 10
      }
    },
    {
      "action": "preview.deploy",
      "resource": {
        "type": "preview_environment",
        "scope": {
          "organization": "harborpine.example",
          "workspace": "internal",
          "project": "brand-approvals"
        }
      },
      "limits": {
        "cost": {
          "currency": "USD",
          "amount": "100.00"
        },
        "count": 3
      }
    }
  ],
  "approvals": [
    {
      "id": "apr_priya_brand",
      "approver": {
        "kind": "person",
        "id": "priya.raman",
        "issuer": "https://id.harborpine.example",
        "display": "Priya Raman"
      },
      "approver_role": "product_manager",
      "decision": "approved",
      "decided_at": "2026-10-12T10:15:00Z",
      "expires_at": "2026-10-15T10:15:00Z",
      "covers": {
        "contract": {
          "id": "wc_brand_approvals",
          "revision": 1
        },
        "binding_digest": "sha256:6a2cb3d9e95586316b4c7768bb021e3bda5ec7033321960671ca14eef68f9ffd"
      },
      "method": "interactive",
      "assurance": "asserted"
    }
  ],
  "policy": {
    "policy_id": "harborpine-agent-work",
    "policy_version": "1"
  },
  "valid_from": "2026-10-12T10:15:00Z",
  "expires_at": "2026-10-26T17:00:00Z",
  "revocation": {
    "status_ref": "https://id.harborpine.example/enna/status/auth_coding_agent"
  },
  "delegation": {
    "depth": 0,
    "max_depth": 1,
    "subdelegation": "attenuate"
  },
  "credential_refs": [
    {
      "kind": "oauth_grant",
      "ref": "vault://harborpine/agents/coding/git"
    }
  ]
}

Execution receipt rcpt_brand_ci

CI passed: 142 tests, none failed.

Action
ci.run
On
collab-app-ci in the internal workspace
By
Coding agent
Gate
Permitted
Decided
13 Oct 2026, 11:05:03 UTC
Outcome
succeeded
Ran
13 Oct 2026, 11:05:03 UTC to 13 Oct 2026, 11:19:41 UTC
Cost
USD 12.40
Idempotency key
brand-ci
Runtime
relay 0.1.0 (mock)

Changes it made

  • One CI run recorded.

Artifacts

  • test report https://ci.harborpine.example/collab-app/runs/812/report.json

Integrity

sha256:5a42a1e68b7ff373b9943dd2f48635004adcd955f8b13b275bb53a4e4398670f

Unsigned (attestation none): sealed with an RFC 8785 digest, chained to the receipt before it. What the digests prove: the receipts are consistent with each other; a digest shows a record is unchanged only against a digest you already trust, and an edited record can be resealed.

The execution receipt as JSON
{
  "protocol_version": "0.1",
  "type": "execution_receipt",
  "id": "rcpt_brand_ci",
  "created_at": "2026-10-13T11:19:41Z",
  "scope": {
    "organization": "harborpine.example",
    "workspace": "internal",
    "project": "brand-approvals"
  },
  "profile": "software-delivery/0.1",
  "contract": {
    "id": "wc_brand_approvals",
    "revision": 1
  },
  "action": {
    "name": "ci.run",
    "resource": {
      "type": "pipeline",
      "id": "collab-app-ci",
      "scope": {
        "organization": "harborpine.example",
        "workspace": "internal",
        "project": "brand-approvals"
      }
    },
    "requested_at": "2026-10-13T11:05:00Z",
    "idempotency_key": "brand-ci",
    "payload_digest": "sha256:f877baea3633b43df2d10f966e172cf53d9e38dc1a1f7396a1d4bf41c0f2371d"
  },
  "actor": {
    "principal": {
      "kind": "agent",
      "id": "https://agents.harborpine.example/coding",
      "display": "Coding agent"
    },
    "performed_by": "agent",
    "runtime": {
      "name": "enna-reference-runtime",
      "version": "0.1.0",
      "adapter": "relay 0.1.0 (mock)"
    }
  },
  "trace": {
    "traceparent": "00-a08ff49b6f772632716c43069c43a8c3-d4e8eb2af2f26165-01",
    "correlation_id": "evt_bede10d4"
  },
  "context": {
    "id": "ctx_brand_approvals",
    "revision": 1
  },
  "authority": {
    "id": "auth_coding_agent",
    "revision": 1
  },
  "decision": {
    "result": "permit",
    "reasons": [],
    "evaluated_at": "2026-10-13T11:05:03Z",
    "policy_ref": "harborpine-agent-work@1"
  },
  "outcome": {
    "status": "succeeded",
    "summary": "CI passed: 142 tests, none failed."
  },
  "started_at": "2026-10-13T11:05:03Z",
  "finished_at": "2026-10-13T11:19:41Z",
  "effects": [
    {
      "description": "One CI run recorded."
    }
  ],
  "artifacts": [
    {
      "id": "art_ci_report",
      "kind": "test_report",
      "ref": "https://ci.harborpine.example/collab-app/runs/812/report.json",
      "media_type": "application/json",
      "digest": "sha256:f66e2a96185b07ebe6c2214d5c71496ff39cd963d94966e6b3e2f565aaaf6090"
    }
  ],
  "cost": {
    "currency": "USD",
    "amount": "12.40"
  },
  "integrity": {
    "canonicalization": "rfc8785",
    "previous_digest": "sha256:f9cf62a8d4f6508e5d74a4da2c5a875da0654cd6045470bd8161b31c00f75ed8",
    "attestation": {
      "kind": "none"
    },
    "digest": "sha256:5a42a1e68b7ff373b9943dd2f48635004adcd955f8b13b275bb53a4e4398670f"
  }
}
Every receipt of the run, in chain order
ReceiptActionGateOutcome
rcpt_brand_branchrepo.branch.createPermittedsucceeded
rcpt_brand_commitrepo.commitPermittedsucceeded
rcpt_brand_cici.runPermittedsucceeded
rcpt_brand_pull_requestrepo.pull_request.openPermittedsucceeded
rcpt_brand_previewpreview.deployPermittedsucceeded

Evaluation result eval_brand_approvals, revision 2

Execution
complete
Technical result
Pass
Acceptance
accepted by Dana Whitfield at 16 Oct 2026, 15:00:00 UTC
Business impact
unknown
Evaluator
Evaluator agent, enna-reference-evaluator

Accepted scope: technical_preview

Criteria

  1. AC-1 Pass

    Unapproved publishing is blocked. (18 passed, 0 failed)

  2. AC-2 Pass

    Each approval is recorded. (9 passed, 0 failed)

  3. AC-3 Pass

    No cross-workspace reads. (24 passed, 0 failed, 1 skipped)

    One cross-region case is skipped in the preview environment.

  4. AC-4 Pass

    Dana Whitfield tried the preview and found the flow usable.

    The preview answered in 840 ms, an illustrative figure the scenario states.

    Sandbox latency: 840 ms, illustrative

  5. AC-5 Unknown

    The 30-day window starts only when a pilot client approves.

AC-5 is measured over 30 days starting on pilot approval; nothing has been measured.

  • A passing test suite is not evidence of customer value.
  • Demo receipts carry no attestation. A digest shows a record is unchanged only against a digest you already trust, and an edited record can be resealed.
The evaluation result as JSON
{
  "protocol_version": "0.1",
  "type": "evaluation_result",
  "id": "eval_brand_approvals",
  "revision": 2,
  "created_at": "2026-10-16T15:00:00Z",
  "scope": {
    "organization": "harborpine.example",
    "workspace": "internal",
    "project": "brand-approvals"
  },
  "profile": "software-delivery/0.1",
  "contract": {
    "id": "wc_brand_approvals",
    "revision": 1
  },
  "receipts": [
    {
      "id": "rcpt_brand_branch",
      "digest": "sha256:c074b7edb7bd09ca1a96edacd6aa2fae3af8c674fe276bbe7ecf3848f68c2f06"
    },
    {
      "id": "rcpt_brand_commit",
      "digest": "sha256:f9cf62a8d4f6508e5d74a4da2c5a875da0654cd6045470bd8161b31c00f75ed8"
    },
    {
      "id": "rcpt_brand_ci",
      "digest": "sha256:5a42a1e68b7ff373b9943dd2f48635004adcd955f8b13b275bb53a4e4398670f"
    },
    {
      "id": "rcpt_brand_pull_request",
      "digest": "sha256:3a1390bec3198d6ba42abdc22fab5235cfeda5171824eb9f0e1ed22c204880c9"
    },
    {
      "id": "rcpt_brand_preview",
      "digest": "sha256:6a79a7295ddf17a8589d9006b16d49c24eefb4e22adefc0161081281bef34ccb"
    }
  ],
  "evaluator": {
    "principal": {
      "kind": "agent",
      "id": "https://agents.harborpine.example/evaluator",
      "display": "Evaluator agent"
    },
    "name": "enna-reference-evaluator",
    "version": "0.1.0"
  },
  "execution": {
    "status": "complete"
  },
  "criteria": [
    {
      "criterion_id": "AC-1",
      "result": "pass",
      "method": "automated_check",
      "evidence": [
        {
          "kind": "test_report",
          "ref": "https://ci.harborpine.example/collab-app/runs/812/approval-gate.json",
          "digest": "sha256:97ab49ed582226109b4f03bf24a7a457ef7afc80e169700fe96fcd6205125965",
          "summary": "Unapproved publishing is blocked.",
          "counts": {
            "passed": 18,
            "failed": 0
          }
        }
      ]
    },
    {
      "criterion_id": "AC-2",
      "result": "pass",
      "method": "automated_check",
      "evidence": [
        {
          "kind": "test_report",
          "ref": "https://ci.harborpine.example/collab-app/runs/812/approval-records.json",
          "digest": "sha256:0d85ea6c0293a60fa7a8dd6bdad6ac999f883285179a4b1900e892872dbfc916",
          "summary": "Each approval is recorded.",
          "counts": {
            "passed": 9,
            "failed": 0
          }
        }
      ]
    },
    {
      "criterion_id": "AC-3",
      "result": "pass",
      "method": "automated_check",
      "evidence": [
        {
          "kind": "test_report",
          "ref": "https://ci.harborpine.example/collab-app/runs/812/tenant-isolation.json",
          "digest": "sha256:b154122e627f8df5df4ea965aba0ebff8ee3f3e09d906428950108300233b97a",
          "summary": "No cross-workspace reads.",
          "counts": {
            "passed": 24,
            "failed": 0,
            "skipped": 1
          }
        }
      ],
      "limitations": [
        "One cross-region case is skipped in the preview environment."
      ]
    },
    {
      "criterion_id": "AC-4",
      "result": "pass",
      "method": "human_judgment",
      "evidence": [
        {
          "kind": "review",
          "ref": "https://git.harborpine.example/collab-app/pull/318#review-1",
          "digest": "sha256:2872e8521761d0942dd54eef3302d333ae603eaa1b86698b5e3a23981d0712a9",
          "summary": "Dana Whitfield tried the preview and found the flow usable."
        },
        {
          "kind": "harborpine.example/latency_check",
          "ref": "enna:receipt/rcpt_brand_preview",
          "digest": "sha256:6a79a7295ddf17a8589d9006b16d49c24eefb4e22adefc0161081281bef34ccb",
          "summary": "The preview answered in 840 ms, an illustrative figure the scenario states.",
          "measurements": [
            {
              "name": "sandbox_latency",
              "value": 840,
              "unit": "ms",
              "illustrative": true
            }
          ]
        }
      ]
    },
    {
      "criterion_id": "AC-5",
      "result": "unknown",
      "method": "measurement_window",
      "evidence": [],
      "limitations": [
        "The 30-day window starts only when a pilot client approves."
      ]
    }
  ],
  "technical_result": "pass",
  "acceptance": {
    "decision": "accepted",
    "by": {
      "kind": "person",
      "id": "dana.whitfield",
      "issuer": "https://id.harborpine.example",
      "display": "Dana Whitfield"
    },
    "at": "2026-10-16T15:00:00Z",
    "scope": "technical_preview",
    "notes": "Accepted as a technical preview. Nothing goes to production, and business impact stays unknown until a pilot is approved and measured."
  },
  "business_impact": {
    "status": "unknown",
    "notes": "AC-5 is measured over 30 days starting on pilot approval; nothing has been measured."
  },
  "limitations": [
    "A passing test suite is not evidence of customer value.",
    "Demo receipts carry no attestation. A digest shows a record is unchanged only against a digest you already trust, and an edited record can be resealed."
  ],
  "revision_author": {
    "kind": "person",
    "id": "dana.whitfield",
    "issuer": "https://id.harborpine.example",
    "display": "Dana Whitfield"
  },
  "change_summary": "Recorded the owner's decision: accepted."
}

A Kestrel Media admin reports through a personal agent that they paid but cannot get in. Harbor & Pine's agents separate billing, entitlement, provisioning and onboarding, reuse the existing provisioning path, and restore access. When Fernhill Health, a regulated customer, needs the same fix with a named approval first, a new contract revision makes the old approval stale, a new test fails, the plan is revised, and unapproved activation is blocked until Fernhill's compliance approver signs.

Outcome Accepted: Kestrel Media took the immediate path; Fernhill Health waited for its compliance approver, then proceeded.

The story

  1. 18 Oct 2026, 08:55:00 UTC, Kestrel Media's admin, through a personal agent, request

    Kestrel Media's admin reports paying without access

    Through a personal agent, Kestrel Media's admin writes: "We paid for the Studio plan on Friday, but nobody on our team can get in." Illustrative: a PAP 0.1 operation shaped by the protocol package's mapping. No PAP client or server runs here.

  2. 18 Oct 2026, 09:10:00 UTC, Support agent, context

    The support agent separates four possible causes

    Billing: paid, the Studio plan invoice is settled. Entitlement: granted. Provisioning: job prov-4471 failed when a retry reused an expired token. Onboarding: complete, not the issue. Each record is referenced, not copied.

  3. 18 Oct 2026, 09:15:00 UTC, Planning agent, proposal

    Reuse the provisioning path, not a new onboarding assistant

    A new onboarding assistant was proposed, but onboarding is not what failed. The planning agent rules it out and proposes the narrow fix: correct the retry bug and re-run the existing provisioning path for Kestrel Media.

  4. 18 Oct 2026, 09:20:00 UTC, Support agent, proposal

    A PAP operation becomes the work contract

    The support agent proposes PAP operation op_kestrel_restore revision 1 to the personal agent: "Restore access to the Kestrel Media workspace on the paid plan by re-running provisioning. No charge." The protocol package's PAP mapping turns it into contract wc_kestrel_access: the requester is the personal agent's user, Dana Whitfield owns it, Priya Raman approves, the cost limit is USD 200.00.

  5. 18 Oct 2026, 09:22:00 UTC, Support agent, context

    The context manifest records the diagnosis inputs

    Four Kestrel Media records, by reference, each with a freshness limit of 24 hours.

  6. 18 Oct 2026, 09:30:00 UTC, Kestrel Media's admin, through a personal agent, approval

    The admin confirms the operation in the personal agent

    The personal agent shows the terms, and the admin approves revision 1 (approved_by: user, confirmed_at 2026-10-18T04:30:00-05:00, which Enna records as 2026-10-18T09:30:00Z). Enna stores this confirmation as an external approval with assurance asserted: it rests on the personal agent's word.

  7. 18 Oct 2026, 09:40:00 UTC, Priya Raman, approval

    Priya Raman approves the fix and the provisioning re-run

    The coding agent may commit and run CI; the support agent may re-run and activate Kestrel Media's provisioning. The admin's PAP confirmation and Priya Raman's approval both sit on the support agent's binding: at the Controlled level an approval from someone other than the requester is required. Priya Raman's approvals last until 17:40 UTC on 18 October 2026.

  8. 18 Oct 2026, 10:00:04 UTC, Coding agent, effect

    Done: commit the retry fix and its regression test

    Committed the retry fix and a regression test. The simulated effect log records eff_01. Receipt rcpt_kestrel_fix records it.

  9. 18 Oct 2026, 10:11:54 UTC, Coding agent, effect

    Done: run CI on the fix

    CI passed: 61 tests, including the new retry regression test. The simulated effect log records eff_02. Receipt rcpt_kestrel_ci records it.

  10. 18 Oct 2026, 11:01:38 UTC, Support agent, effect

    Done: re-run provisioning for Kestrel Media's sandbox

    Re-ran provisioning job prov-4471 for the sandbox; the admin can sign in to it. The simulated effect log records eff_03. Receipt rcpt_kestrel_retry records it.

  11. 18 Oct 2026, 11:30:00 UTC, Support agent, request

    Fernhill Health hit the same failure, and is regulated

    Fernhill Health's provisioning failed the same way. It is a regulated customer: its external activation needs manual approval by its own compliance approver first. Harbor & Pine's policy moves to version 2 to say so.

  12. 18 Oct 2026, 11:40:00 UTC, Dana Whitfield, revision

    Revision 2 of the contract

    Dana Whitfield revises the contract: Fernhill Health joins the scope, with a new constraint, criterion AC-5 for its named approval, and its compliance approver named as the only holder of the compliance_approver role. Every approval of revision 1 now covers a superseded revision, so none of them authorizes anything.

  13. 18 Oct 2026, 11:45:02 UTC, Policy gate, gate decision

    Refused: activate Kestrel Media's external workspace under revision 1's authority

    The policy gate refused at 11:45 UTC on 18 October 2026, before any effect, because the contract is neither authorized nor executing, so nothing may start (illegal_transition); the approval covers an earlier revision of the contract or of the binding (approval_stale, invariant 4); and the authority binds another revision of the contract (revision_mismatch, invariant 2). Receipt rcpt_kestrel_stale_attempt records the refusal; the effect log is unchanged.

  14. 18 Oct 2026, 11:48:00 UTC, Priya Raman, approval

    Priya Raman approves revision 2

    Priya Raman approves revision 2's grants for the fix, for Kestrel Media's activation and for reading Fernhill Health's provisioning record. Fernhill Health's activation sits on its own binding, whose grant demands an approval under the compliance_approver role, which the contract gives only to Fernhill Health's compliance approver. Nobody has given one yet.

  15. 18 Oct 2026, 11:50:00 UTC, Support agent, context

    Fernhill Health's record gets a manifest of its own

    The support agent reads Fernhill Health's provisioning record under the grant Priya Raman just approved. It goes into a manifest of its own, cited only by Fernhill Health's activation: an action may cite only context its own authority reaches, so the coding agent never sees another customer's record.

  16. 18 Oct 2026, 11:50:00 UTC, Support agent, context

    Kestrel Media's records serve revision 2

    The next revision of Kestrel Media's manifest serves contract revision 2, with the same records. The fix, CI and Kestrel Media's activation cite it.

  17. 18 Oct 2026, 12:00:05 UTC, Coding agent, effect

    Done: commit a new test: regulated activation needs a named approval

    Committed a test that regulated activation needs a named approval. The simulated effect log records eff_04. Receipt rcpt_kestrel_new_test records it.

  18. 18 Oct 2026, 12:11:54 UTC, Coding agent, effect

    Failed: run CI against the old plan

    CI ran 64 tests: 63 passed and 1 failed. test_regulated_activation_needs_named_approval: the plan activates Fernhill Health without one. The simulated effect log records eff_05. Receipt rcpt_kestrel_ci_new_test records it.

  19. 18 Oct 2026, 12:15:00 UTC, Planning agent, revision

    The plan is revised

    The failing test is right: the old plan would activate Fernhill Health without its named approval. The planning agent revises the plan: Kestrel Media activates now; Fernhill Health's activation waits for its compliance approver.

  20. 18 Oct 2026, 12:20:05 UTC, Coding agent, effect

    Done: commit the revised plan: hold regulated activation for its approval

    Committed the revised plan: regulated activation waits for its named approval. The simulated effect log records eff_06. Receipt rcpt_kestrel_plan_fix records it.

  21. 18 Oct 2026, 12:31:54 UTC, Coding agent, effect

    Done: run CI on the revised plan

    CI passed: 64 tests, including the regulated-activation test. The simulated effect log records eff_07. Receipt rcpt_kestrel_ci_plan records it.

  22. 18 Oct 2026, 12:35:48 UTC, Support agent, effect

    Done: activate Kestrel Media's external workspace

    Activated Kestrel Media's external workspace; its admins can sign in. The simulated effect log records eff_08. Receipt rcpt_kestrel_activate_kestrel records it.

  23. 18 Oct 2026, 12:40:02 UTC, Policy gate, gate decision

    Refused: activate Fernhill Health's external workspace

    The policy gate refused at 12:40 UTC on 18 October 2026, before any effect, because no valid approval covers it (approval_missing, invariant 6); and the context it cites reaches a workspace its own authority does not (context_out_of_scope, invariant 3). Receipt rcpt_kestrel_activate_fernhill records the refusal; the effect log is unchanged.

  24. 18 Oct 2026, 12:40:02 UTC, Orchestrator, blocked

    Blocked: activate Fernhill Health's external workspace

    Nothing ran. The contract is blocked because no valid approval covers it (approval_missing, invariant 6); and the context it cites reaches a workspace its own authority does not (context_out_of_scope, invariant 3).

  25. 18 Oct 2026, 14:00:00 UTC, Fernhill Health's compliance approver, approval

    Fernhill Health's compliance approver signs

    The runtime asked the one person the contract gives the compliance_approver role. Fernhill Health's compliance approver approves its activation, and only now does a valid approval cover it.

  26. 18 Oct 2026, 14:00:47 UTC, Support agent, effect

    Done: activate Fernhill Health's external workspace

    Activated Fernhill Health's external workspace; its admins can sign in. The simulated effect log records eff_09. Receipt rcpt_kestrel_activate_fernhill_2 records it.

  27. 18 Oct 2026, 14:25:47 UTC, Evaluator agent, evaluation

    The evaluator checks the criteria

    It verifies the receipt chain, then judges each criterion from its evidence: AC-1 pass, AC-2 pass, AC-3 pass, AC-4 pass, AC-5 pass. Technical result: pass. Execution is recorded as complete, apart from the technical result. A passing test suite is not evidence of customer value.

  28. 18 Oct 2026, 14:55:47 UTC, Dana Whitfield, acceptance decision

    Dana Whitfield accepts the result

    Kestrel Media took the immediate authorized path; Fernhill Health waited for its compliance approver, then proceeded. The owner accepts.

  29. 18 Oct 2026, 14:55:47 UTC, Support agent, result to the personal agent

    Receipts roll up into the PAP operation

    Receipts rcpt_kestrel_retry and rcpt_kestrel_activate_kestrel changed Kestrel Media's workspace and roll up into op_kestrel_restore: state succeeded, with a result that lists every change.

A changed requirement

Revision 1 of the contract covered Kestrel Media. When Fernhill Health, a regulated customer, needed a named compliance approval before external activation, the contract moved to revision 2, whose change summary reads: “Extended the fix to Fernhill Health, whose external activation waits for its named compliance approval under policy version 2.”

An approval binds one contract revision and the digest of the whole binding, so the old approval did not carry over. A worker still holding revision 1's authority was refused:

Execution receipt rcpt_kestrel_stale_attempt

Refused before anything ran: the contract is neither authorized nor executing, so nothing may start (illegal_transition); the approval covers an earlier revision of the contract or of the binding (approval_stale, invariant 4); and the authority binds another revision of the contract (revision_mismatch, invariant 2).

Action
harborpine.example/provisioning.activate
On
kestrel-media in the kestrel-media workspace
By
Support agent
Gate
Refused
Decided
18 Oct 2026, 11:45:02 UTC
Outcome
denied
Cost
none recorded
Idempotency key
kestrel-activate_kestrel
For PAP operation
op_kestrel_restore
Runtime
relay 0.1.0 (mock)
  • approval_stale The approval covers another contract revision or another version of the binding.
  • illegal_transition The lifecycle does not allow this event in this state.
  • revision_mismatch A reference names a revision other than the one present, or revisions that must match differ.

Integrity

sha256:e7a3da6d46ea9d919eb26e190dd2a5a0485f950a9db2b02ae809fcf296a27bb9

Unsigned (attestation none): sealed with an RFC 8785 digest, first in its chain. What the digests prove: the receipts are consistent with each other; a digest shows a record is unchanged only against a digest you already trust, and an edited record can be resealed.

The refused receipt as JSON
{
  "protocol_version": "0.1",
  "type": "execution_receipt",
  "id": "rcpt_kestrel_stale_attempt",
  "created_at": "2026-10-18T11:45:02Z",
  "scope": {
    "organization": "harborpine.example",
    "workspace": "kestrel-media"
  },
  "profile": "software-delivery/0.1",
  "contract": {
    "id": "wc_kestrel_access",
    "revision": 2
  },
  "action": {
    "name": "harborpine.example/provisioning.activate",
    "resource": {
      "type": "workspace",
      "id": "kestrel-media",
      "scope": {
        "organization": "harborpine.example",
        "workspace": "kestrel-media"
      }
    },
    "requested_at": "2026-10-18T11:45:00Z",
    "idempotency_key": "kestrel-activate_kestrel",
    "payload_digest": "sha256:9546f2bf302cc80adbf80b38f32f305c33dc7fa1a214ca720ae08fe876b67ac1"
  },
  "actor": {
    "principal": {
      "kind": "agent",
      "id": "https://agents.harborpine.example/support",
      "display": "Support agent"
    },
    "performed_by": "agent",
    "runtime": {
      "name": "enna-reference-runtime",
      "version": "0.1.0",
      "adapter": "relay 0.1.0 (mock)"
    }
  },
  "trace": {
    "traceparent": "00-a08ff49b6f772632716c43069c43a8c3-a881cd424e42a851-01",
    "correlation_id": "evt_1cd424e4",
    "transport": {
      "pap_operation_id": "op_kestrel_restore"
    }
  },
  "decision": {
    "result": "deny",
    "reasons": [
      "approval_stale",
      "illegal_transition",
      "revision_mismatch"
    ],
    "evaluated_at": "2026-10-18T11:45:02Z",
    "policy_ref": "harborpine-agent-work@1"
  },
  "outcome": {
    "status": "denied",
    "summary": "Refused before anything ran: the contract is neither authorized nor executing, so nothing may start (illegal_transition); the approval covers an earlier revision of the contract or of the binding (approval_stale, invariant 4); and the authority binds another revision of the contract (revision_mismatch, invariant 2)."
  },
  "integrity": {
    "canonicalization": "rfc8785",
    "attestation": {
      "kind": "none"
    },
    "digest": "sha256:e7a3da6d46ea9d919eb26e190dd2a5a0485f950a9db2b02ae809fcf296a27bb9"
  }
}

The objects that changed

Work contract wc_kestrel_access, revision 2

Restore access to the Kestrel Media workspace on the paid plan by re-running provisioning. No charge. Extend the same fix to Fernhill Health, whose activation waits for its compliance approver.

Outcome wanted
Kestrel Media's team can use the workspace they paid for.
Implementation asked for
Fix the provisioning retry bug and re-run the existing provisioning path. No new onboarding assistant.
Accountable owner
Dana Whitfield
Requested by
person u_8f3a2c91
Others
Priya Raman (approves as product manager), Theo Okafor (consulted), Fernhill Health's compliance approver (approves as compliance approver)
Cost limit
USD 200.00
Risk
low at most
Due
20 Oct 2026, 17:00:00 UTC

How done is judged

  1. AC-1 Kestrel Media's admin can sign in to the sandbox workspace. automated check
  2. AC-2 The provisioning retry bug is fixed, with a regression test. automated check
  3. AC-3 Kestrel Media's external workspace is active for its clients. automated check
  4. AC-4 Fernhill Health's external workspace is active for its clients. automated check
  5. AC-5 A regulated customer's activation runs only with its named compliance approval. automated check

Constraints

  • C-1 Must: reuse the existing provisioning path.
  • C-2 Must not: charge the customer for the fix.
  • C-3 Must: a regulated customer's external activation waits for its named compliance approval.

Revision 2: Extended the fix to Fernhill Health, whose external activation waits for its named compliance approval under policy version 2.

The work contract as JSON
{
  "protocol_version": "0.1",
  "type": "work_contract",
  "id": "wc_kestrel_access",
  "revision": 2,
  "created_at": "2026-10-18T11:40:00Z",
  "scope": {
    "organization": "harborpine.example",
    "workspace": "kestrel-media"
  },
  "summary": "Restore access to the Kestrel Media workspace on the paid plan by re-running provisioning. No charge. Extend the same fix to Fernhill Health, whose activation waits for its compliance approver.",
  "requester": {
    "kind": "person",
    "id": "u_8f3a2c91",
    "issuer": "https://pa.example/agent"
  },
  "profile": "software-delivery/0.1",
  "owner": {
    "kind": "person",
    "id": "dana.whitfield",
    "issuer": "https://id.harborpine.example",
    "display": "Dana Whitfield"
  },
  "objective": {
    "outcome": "Kestrel Media's team can use the workspace they paid for.",
    "request": "Fix the provisioning retry bug and re-run the existing provisioning path. No new onboarding assistant."
  },
  "stakeholders": [
    {
      "principal": {
        "kind": "person",
        "id": "priya.raman",
        "issuer": "https://id.harborpine.example",
        "display": "Priya Raman"
      },
      "role": "approver",
      "approver_roles": [
        "product_manager"
      ]
    },
    {
      "principal": {
        "kind": "person",
        "id": "theo.okafor",
        "issuer": "https://id.harborpine.example",
        "display": "Theo Okafor"
      },
      "role": "consulted"
    },
    {
      "principal": {
        "kind": "person",
        "id": "fernhill-health.compliance",
        "issuer": "https://id.harborpine.example",
        "display": "Fernhill Health's compliance approver"
      },
      "role": "approver",
      "approver_roles": [
        "compliance_approver"
      ]
    }
  ],
  "criteria": [
    {
      "id": "AC-1",
      "statement": "Kestrel Media's admin can sign in to the sandbox workspace.",
      "required": true,
      "method": "automated_check"
    },
    {
      "id": "AC-2",
      "statement": "The provisioning retry bug is fixed, with a regression test.",
      "required": true,
      "method": "automated_check"
    },
    {
      "id": "AC-3",
      "statement": "Kestrel Media's external workspace is active for its clients.",
      "required": true,
      "method": "automated_check"
    },
    {
      "id": "AC-4",
      "statement": "Fernhill Health's external workspace is active for its clients.",
      "required": true,
      "method": "automated_check"
    },
    {
      "id": "AC-5",
      "statement": "A regulated customer's activation runs only with its named compliance approval.",
      "required": true,
      "method": "automated_check"
    }
  ],
  "constraints": [
    {
      "id": "C-1",
      "kind": "must",
      "statement": "Reuse the existing provisioning path."
    },
    {
      "id": "C-2",
      "kind": "must_not",
      "statement": "Charge the customer for the fix."
    },
    {
      "id": "C-3",
      "kind": "must",
      "statement": "A regulated customer's external activation waits for its named compliance approval."
    }
  ],
  "deadline_at": "2026-10-20T17:00:00Z",
  "limits": {
    "cost": {
      "currency": "USD",
      "amount": "200.00"
    },
    "risk": {
      "max_level": "low"
    }
  },
  "outputs": [
    {
      "id": "OUT-1",
      "kind": "commit",
      "description": "The retry fix with its regression test."
    }
  ],
  "extensions": {
    "pap": {
      "version": "1",
      "operation_id": "op_kestrel_restore",
      "revision": 1,
      "terms": {
        "workspace": "kestrel-media",
        "charge": {
          "currency": "USD",
          "amount": "0.00"
        }
      },
      "expires_at": "2026-10-20T17:00:00Z",
      "user_approval_required": true,
      "url": "https://harborpine.example/account/operations/op_kestrel_restore",
      "account": "acct_kestrel_admin"
    }
  },
  "revision_author": {
    "kind": "person",
    "id": "dana.whitfield",
    "issuer": "https://id.harborpine.example",
    "display": "Dana Whitfield"
  },
  "change_summary": "Extended the fix to Fernhill Health, whose external activation waits for its named compliance approval under policy version 2."
}

Authority binding auth_support_fernhill, revision 1

Agent
Support agent
Granted by
Dana Whitfield for harborpine.example
For
contract wc_kestrel_access, revision 2
Valid
18 Oct 2026, 11:48:00 UTC to 25 Oct 2026, 17:00:00 UTC

What it allows

  • harborpine.example/provisioning.activate on fernhill-health in the fernhill-health workspace, at most 2 times, needs a compliance approver

Approvals

No approval yet.

A JSON record cannot grant authority. The runtime's gate enforces it before every effect.

The authority binding as JSON
{
  "protocol_version": "0.1",
  "type": "authority_binding",
  "id": "auth_support_fernhill",
  "revision": 1,
  "created_at": "2026-10-18T11:48:00Z",
  "scope": {
    "organization": "harborpine.example",
    "workspace": "fernhill-health"
  },
  "profile": "software-delivery/0.1",
  "contract": {
    "id": "wc_kestrel_access",
    "revision": 2
  },
  "grantor": {
    "organization": "harborpine.example",
    "person": {
      "kind": "person",
      "id": "dana.whitfield",
      "issuer": "https://id.harborpine.example",
      "display": "Dana Whitfield"
    }
  },
  "grantee": {
    "kind": "agent",
    "id": "https://agents.harborpine.example/support",
    "display": "Support agent"
  },
  "grants": [
    {
      "action": "harborpine.example/provisioning.activate",
      "resource": {
        "type": "workspace",
        "id": "fernhill-health",
        "scope": {
          "organization": "harborpine.example",
          "workspace": "fernhill-health"
        }
      },
      "limits": {
        "count": 2
      },
      "conditions": {
        "approver_roles": [
          "compliance_approver"
        ]
      }
    }
  ],
  "policy": {
    "policy_id": "harborpine-agent-work",
    "policy_version": "2"
  },
  "valid_from": "2026-10-18T11:48:00Z",
  "expires_at": "2026-10-25T17:00:00Z",
  "revocation": {
    "status_ref": "https://id.harborpine.example/enna/status/auth_support_fernhill"
  }
}

Execution receipt rcpt_kestrel_activate_fernhill

Refused before anything ran: no valid approval covers it (approval_missing, invariant 6); and the context it cites reaches a workspace its own authority does not (context_out_of_scope, invariant 3).

Action
harborpine.example/provisioning.activate
On
fernhill-health in the fernhill-health workspace
By
Support agent
Gate
Refused
Decided
18 Oct 2026, 12:40:02 UTC
Outcome
denied
Cost
none recorded
Idempotency key
kestrel-activate_fernhill
Runtime
relay 0.1.0 (mock)
  • approval_missing No valid approval covers the action.
  • context_out_of_scope A context item lies outside the tenant boundary, or an action cites context that neither the contract nor its own binding reaches.

Integrity

sha256:578587e5df175827b78fc0818bb160e8c8f90d04fcad82232270ed37c42bb5d8

Unsigned (attestation none): sealed with an RFC 8785 digest, chained to the receipt before it. What the digests prove: the receipts are consistent with each other; a digest shows a record is unchanged only against a digest you already trust, and an edited record can be resealed.

The refused receipt as JSON
{
  "protocol_version": "0.1",
  "type": "execution_receipt",
  "id": "rcpt_kestrel_activate_fernhill",
  "created_at": "2026-10-18T12:40:02Z",
  "scope": {
    "organization": "harborpine.example",
    "workspace": "kestrel-media"
  },
  "profile": "software-delivery/0.1",
  "contract": {
    "id": "wc_kestrel_access",
    "revision": 2
  },
  "action": {
    "name": "harborpine.example/provisioning.activate",
    "resource": {
      "type": "workspace",
      "id": "fernhill-health",
      "scope": {
        "organization": "harborpine.example",
        "workspace": "fernhill-health"
      }
    },
    "requested_at": "2026-10-18T12:40:00Z",
    "idempotency_key": "kestrel-activate_fernhill",
    "payload_digest": "sha256:460814b13871e1d6789b2f7824e9544a475a7db3d4d8b3c2a15d914c557bba9f"
  },
  "actor": {
    "principal": {
      "kind": "agent",
      "id": "https://agents.harborpine.example/support",
      "display": "Support agent"
    },
    "performed_by": "agent",
    "runtime": {
      "name": "enna-reference-runtime",
      "version": "0.1.0",
      "adapter": "relay 0.1.0 (mock)"
    }
  },
  "trace": {
    "traceparent": "00-a08ff49b6f772632716c43069c43a8c3-a11d2b4a48e112a0-01",
    "correlation_id": "evt_088ad7c1"
  },
  "context": {
    "id": "ctx_fernhill_access",
    "revision": 1
  },
  "decision": {
    "result": "deny",
    "reasons": [
      "approval_missing",
      "context_out_of_scope"
    ],
    "evaluated_at": "2026-10-18T12:40:02Z",
    "policy_ref": "harborpine-agent-work@2"
  },
  "outcome": {
    "status": "denied",
    "summary": "Refused before anything ran: no valid approval covers it (approval_missing, invariant 6); and the context it cites reaches a workspace its own authority does not (context_out_of_scope, invariant 3)."
  },
  "integrity": {
    "canonicalization": "rfc8785",
    "previous_digest": "sha256:a7e051f5edf5ede8eed1b285ff0c283a87b44b59c56d977ba29aae038fc488c3",
    "attestation": {
      "kind": "none"
    },
    "digest": "sha256:578587e5df175827b78fc0818bb160e8c8f90d04fcad82232270ed37c42bb5d8"
  }
}

Evaluation result eval_kestrel_access, revision 2

Execution
complete
Technical result
Pass
Acceptance
accepted by Dana Whitfield at 18 Oct 2026, 14:55:47 UTC
Business impact
unknown
Evaluator
Evaluator agent, enna-reference-evaluator

Criteria

  1. AC-1 Pass

    The admin signed in to the sandbox after the re-run, which answered in 1200 ms, an illustrative figure the scenario states.

    Sandbox latency: 1200 ms, illustrative

  2. AC-2 Pass

    The retry regression test passes. (64 passed, 0 failed)

  3. AC-3 Pass

    Kestrel Media's admins can sign in.

  4. AC-4 Pass

    Fernhill Health's admins can sign in.

  5. AC-5 Pass

    test_regulated_activation_needs_named_approval passes. (64 passed, 0 failed)

    The gate refused Fernhill Health's activation until its compliance approval existed.

Business impact has not been measured.

  • A passing test suite is not evidence of customer value.
  • Demo receipts carry no attestation. A digest shows a record is unchanged only against a digest you already trust, and an edited record can be resealed.
The evaluation result as JSON
{
  "protocol_version": "0.1",
  "type": "evaluation_result",
  "id": "eval_kestrel_access",
  "revision": 2,
  "created_at": "2026-10-18T14:55:47Z",
  "scope": {
    "organization": "harborpine.example",
    "workspace": "kestrel-media"
  },
  "profile": "software-delivery/0.1",
  "contract": {
    "id": "wc_kestrel_access",
    "revision": 2
  },
  "receipts": [
    {
      "id": "rcpt_kestrel_stale_attempt",
      "digest": "sha256:e7a3da6d46ea9d919eb26e190dd2a5a0485f950a9db2b02ae809fcf296a27bb9"
    },
    {
      "id": "rcpt_kestrel_new_test",
      "digest": "sha256:e1295d205eb9d08b985f3f9de228c13d347bf914d5fc1cd2144960702ff84daa"
    },
    {
      "id": "rcpt_kestrel_ci_new_test",
      "digest": "sha256:494fa2220f186c8f1a6ab75f4591428268b13af508e7106e59fccf0558df69d3"
    },
    {
      "id": "rcpt_kestrel_plan_fix",
      "digest": "sha256:a5278e6cfb74bbd9c95c94f3d139be17904a89152bdff04f60766c5a09971bc1"
    },
    {
      "id": "rcpt_kestrel_ci_plan",
      "digest": "sha256:61bcab897b1ca31cde23a643140ac02bfd1c1eab9d50aa0f5280112a9acb6b40"
    },
    {
      "id": "rcpt_kestrel_activate_kestrel",
      "digest": "sha256:a7e051f5edf5ede8eed1b285ff0c283a87b44b59c56d977ba29aae038fc488c3"
    },
    {
      "id": "rcpt_kestrel_activate_fernhill",
      "digest": "sha256:578587e5df175827b78fc0818bb160e8c8f90d04fcad82232270ed37c42bb5d8"
    },
    {
      "id": "rcpt_kestrel_activate_fernhill_2",
      "digest": "sha256:544690da6eb9409555f42aff52b18dc4b02bcaa6906e38b0cd9a2140b35a05f6"
    }
  ],
  "evaluator": {
    "principal": {
      "kind": "agent",
      "id": "https://agents.harborpine.example/evaluator",
      "display": "Evaluator agent"
    },
    "name": "enna-reference-evaluator",
    "version": "0.1.0"
  },
  "execution": {
    "status": "complete"
  },
  "criteria": [
    {
      "criterion_id": "AC-1",
      "result": "pass",
      "method": "automated_check",
      "evidence": [
        {
          "kind": "harborpine.example/sign_in_check",
          "ref": "enna:receipt/rcpt_kestrel_retry",
          "digest": "sha256:b7151dfd4f3b377481bed0f0435be92dda01fe0dd6a7936a733357c2ab249647",
          "summary": "The admin signed in to the sandbox after the re-run, which answered in 1200 ms, an illustrative figure the scenario states.",
          "measurements": [
            {
              "name": "sandbox_latency",
              "value": 1200,
              "unit": "ms",
              "illustrative": true
            }
          ]
        }
      ]
    },
    {
      "criterion_id": "AC-2",
      "result": "pass",
      "method": "automated_check",
      "evidence": [
        {
          "kind": "test_report",
          "ref": "https://ci.harborpine.example/collab-app/runs/912/report.json",
          "digest": "sha256:24a4ae15986f4f0a9d8157fa4fbd2b93712a84772f635ae86f98da1795407e42",
          "summary": "The retry regression test passes.",
          "counts": {
            "passed": 64,
            "failed": 0
          }
        }
      ]
    },
    {
      "criterion_id": "AC-3",
      "result": "pass",
      "method": "automated_check",
      "evidence": [
        {
          "kind": "harborpine.example/activation_check",
          "ref": "enna:receipt/rcpt_kestrel_activate_kestrel",
          "digest": "sha256:a7e051f5edf5ede8eed1b285ff0c283a87b44b59c56d977ba29aae038fc488c3",
          "summary": "Kestrel Media's admins can sign in."
        }
      ]
    },
    {
      "criterion_id": "AC-4",
      "result": "pass",
      "method": "automated_check",
      "evidence": [
        {
          "kind": "harborpine.example/activation_check",
          "ref": "enna:receipt/rcpt_kestrel_activate_fernhill_2",
          "digest": "sha256:544690da6eb9409555f42aff52b18dc4b02bcaa6906e38b0cd9a2140b35a05f6",
          "summary": "Fernhill Health's admins can sign in."
        }
      ]
    },
    {
      "criterion_id": "AC-5",
      "result": "pass",
      "method": "automated_check",
      "evidence": [
        {
          "kind": "test_report",
          "ref": "https://ci.harborpine.example/collab-app/runs/912/report.json",
          "digest": "sha256:24a4ae15986f4f0a9d8157fa4fbd2b93712a84772f635ae86f98da1795407e42",
          "summary": "test_regulated_activation_needs_named_approval passes.",
          "counts": {
            "passed": 64,
            "failed": 0
          }
        },
        {
          "kind": "harborpine.example/gate_refusal",
          "ref": "enna:receipt/rcpt_kestrel_activate_fernhill",
          "digest": "sha256:578587e5df175827b78fc0818bb160e8c8f90d04fcad82232270ed37c42bb5d8",
          "summary": "The gate refused Fernhill Health's activation until its compliance approval existed."
        }
      ]
    }
  ],
  "technical_result": "pass",
  "acceptance": {
    "decision": "accepted",
    "by": {
      "kind": "person",
      "id": "dana.whitfield",
      "issuer": "https://id.harborpine.example",
      "display": "Dana Whitfield"
    },
    "at": "2026-10-18T14:55:47Z",
    "notes": "Access restored by reusing the provisioning path. No new onboarding assistant was built."
  },
  "business_impact": {
    "status": "unknown",
    "notes": "Business impact has not been measured."
  },
  "limitations": [
    "A passing test suite is not evidence of customer value.",
    "Demo receipts carry no attestation. A digest shows a record is unchanged only against a digest you already trust, and an edited record can be resealed."
  ],
  "revision_author": {
    "kind": "person",
    "id": "dana.whitfield",
    "issuer": "https://id.harborpine.example",
    "display": "Dana Whitfield"
  },
  "change_summary": "Recorded the owner's decision: accepted."
}

The result for the personal agent

Operation op_kestrel_restore ends in the succeeded state. Its result rolls up the final receipt of each action done for the operation, the receipts that carry its ID: rcpt_kestrel_retry, rcpt_kestrel_activate_kestrel.

Illustrative: a PAP 0.1 operation shaped by the protocol package's mapping. No PAP client or server runs here.

The operation as JSON
{
  "operation_id": "op_kestrel_restore",
  "revision": 1,
  "state": "succeeded",
  "summary": "Restore access to the Kestrel Media workspace on the paid plan by re-running provisioning. No charge.",
  "terms": {
    "workspace": "kestrel-media",
    "charge": {
      "currency": "USD",
      "amount": "0.00"
    }
  },
  "expires_at": "2026-10-20T17:00:00Z",
  "user_approval_required": true,
  "url": "https://harborpine.example/account/operations/op_kestrel_restore",
  "confirmation": {
    "revision": 1,
    "approved_by": "user",
    "confirmed_at": "2026-10-18T04:30:00-05:00"
  },
  "result": {
    "summary": "Re-ran provisioning job prov-4471 for the sandbox; the admin can sign in to it.\nActivated Kestrel Media's external workspace; its admins can sign in.",
    "data": {
      "receipts": [
        {
          "id": "rcpt_kestrel_retry",
          "digest": "sha256:b7151dfd4f3b377481bed0f0435be92dda01fe0dd6a7936a733357c2ab249647"
        },
        {
          "id": "rcpt_kestrel_activate_kestrel",
          "digest": "sha256:a7e051f5edf5ede8eed1b285ff0c283a87b44b59c56d977ba29aae038fc488c3"
        }
      ]
    }
  }
}

Change the run yourself

The playground runs both scenarios in your browser. Lower the cost limit, let an approval expire, revoke it, inject a stale context or a tampered receipt, or switch to the Docket runtime, and watch the same objects change. Its 60-second walkthrough shows six of those runs.