{
  "passed": true,
  "steps": [
    {
      "result": [
        "IDENTIFY",
        "IDENTIFY",
        "REQUIREMENTS",
        "OFFER",
        "REJECT_CONDITION",
        "COUNTEROFFER",
        "ACCEPT"
      ],
      "step": "NEGOTIATE (7 signed AGN messages)",
      "transcript_root": "4ed3d93cfa8c482d0e851a6bbd2b5595029800f42e4b49f58b4b5f7baa442278"
    },
    {
      "result": "ACTIVE",
      "state_root": "8963831db4b4eb8ef8e2af1e7dd148af3f332a1b5263e61d171024a456a6c53f",
      "step": "ESTABLISH AFO (co-signed by A and B) + register at B"
    },
    {
      "reason": "LOCAL_DOMAIN_AUTHORIZED",
      "result": "ALLOW",
      "step": "REQUEST inventory.read -> B local policy/authorization"
    },
    {
      "executed": true,
      "receipt": {
        "at_ms": 101,
        "auth_id": "2a369701f34d2d9d7e3d71f9c73b4a1d37aea860763c349e758a50336f344f13",
        "executed": true,
        "request_hash": "f9bd964e8892a6307e55897cab450cb27cf1fb1801c8f613db462ecea8dcb47d",
        "schema": "cain.govfederation.receipt.v1",
        "sig": "W5i98cczHZUggZq7/ek6UJHYqVvRi+zHdp/wqsHnkVGMAKInearHch1yDXPmdvi3aL+hynyyodc6ME1LjkVLDw==",
        "token_hash": "f9809df727ca97ceb6bff9fcedea54e22b837d6cabb7bc049f9557d81abc485e",
        "tool_result": "OK"
      },
      "result": "ALLOW",
      "step": "B MCPGATE -> E34 boundary token -> tool subprocess",
      "tool_output": {
        "item": "widget",
        "quantity": 42,
        "result": "OK",
        "token_digest": "a849d9922875049e",
        "tool": "inventory.read"
      }
    },
    {
      "result": "ALLOW",
      "step": "second authorization issued (not yet used)"
    },
    {
      "result": {
        "affected": [
          "fed-A-B"
        ],
        "decision": "DEGRADE",
        "explicit": true,
        "grants_global_authority": false,
        "ok": true
      },
      "step": "ASSURANCE REVOCATION (issuer-signed event; B applies local policy)"
    },
    {
      "executed": false,
      "reason": "FEDERATION_NOT_ACTIVE",
      "result": "BLOCK",
      "step": "OLD AUTHORIZATION at MCPGATE"
    },
    {
      "reason": "FEDERATION_DEGRADED",
      "result": "BLOCK",
      "step": "new request while DEGRADED"
    },
    {
      "result": {
        "federation_id": "fed-A-B",
        "ok": true,
        "state_root": "cc6c4dea6674be77b7b39d147cadc6d1e121fc25452874898b9eb84b6c6866fb",
        "status": "ACTIVE"
      },
      "step": "RENEGOTIATE epoch 2 + fresh assurance + reverify -> NEW CONTRACT"
    },
    {
      "executed": true,
      "result": "ALLOW",
      "step": "NEW AUTHORIZATION -> MCPGATE -> EXECUTION",
      "tool_output": {
        "item": "widget",
        "quantity": 42,
        "result": "OK",
        "token_digest": "6e3ac277328fb92d",
        "tool": "inventory.read"
      }
    }
  ]
}
