{
  "schema": "meridian-synthetic-machine-commitments-v1",
  "label": "Synthetic local conformance supplement; separate from frozen REB v0c",
  "status": "PASS",
  "caseCategoryCount": 9,
  "variantCount": 16,
  "eventCount": 103,
  "realJobCount": 14,
  "realJobCountMeaning": "Verified real computations in successful fixtures only, shared by both controllers; not a per-controller count.",
  "negativeControlRealJobCount": 3,
  "totalVerifiedRunAllJobCount": 17,
  "controllerComparison": "Exact signed fixture outcomes and snapshots match the independently implemented strong atomic central reservation baseline.",
  "conclusion": "No safety, spend, revocation, performance or economic advantage over that baseline is demonstrated.",
  "assumptions": [
    "Public synthetic Ed25519 identities and trusted initial root grants.",
    "One serial in-memory authority with an external monotonic logical clock; no persistence or distributed consensus.",
    "Identical external revoke delivery schedules, including immediate observation and delayed observation.",
    "Accepted holds survive grant expiry or observed revoke; RUNNING liabilities survive hold expiry.",
    "Supplier local admission quota applies before starts; running jobs are not preempted.",
    "One shared real local worker service plane supplies independently checked SHA-256 receipts to both controllers."
  ],
  "limits": [
    "Synthetic accounting units are not money, purchases, customer demand or provider integration.",
    "No latency, throughput, energy, crash recovery, partition, secure clock, hardware attestation or official protocol compliance claim.",
    "Fixture equivalence is limited to the listed traces; not a proof for all possible input sequences.",
    "Nothing in frozen REB v0c was changed or rerun."
  ],
  "sourceHashes": {
    "README.md": "a24aff45dcce6734b8a4d246bdab494539665c38ec6f65da7d98b4b859cab972",
    "authority.mjs": "153080e0c2794fcf3dcf585829ac602cd8ac650230844b4277cba4864394f378",
    "checks.mjs": "c4988a06ba8c629f945a50aac5f5623b492f4818db23e2656134b0be77a8ae64",
    "conformance.test.mjs": "5796c01f6350f4100d5e61e17c69784384b95b54a8170517e6a603adbfb2fa4a",
    "fixtures/cases.json": "187a3d445e62a2758f25191762fbf80de1ac52a29760cace6a98c53c90ea09e2",
    "mandate-ledger.mjs": "d4462df0db8a4b728d39d9860874550668337d3538a20edc82bbd5c0868e9e58",
    "reference-ledger.mjs": "8a5e1317653b2d8b6e7b03352f703d49cedca65e2ea35d0d385a75ce5ae95424",
    "run.mjs": "8f481188ac6972846a8af3762ebc3564b6ede442358c628a81f113b1aa6cfda0",
    "service-worker.mjs": "a147eef8c2960f15d04bd790ade2163897395189e62698134a408cd5e4a1e791"
  },
  "results": [
    {
      "id": "delivery/default",
      "eventCount": 4,
      "matchedControllers": true,
      "realJobCount": 1,
      "realJobs": [
        {
          "jobId": "r1",
          "payload": "Hello, local machine service.",
          "resultDigest": "76130ca019c18dc388bbff3e5c5d87e2c86228248900509709786bd6551de02d",
          "executionCount": 1,
          "settled": true,
          "independentlyVerified": true
        }
      ],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 2,
        "heldUnits": 0,
        "settledUnits": 20,
        "heldSlots": 0,
        "runningSlots": 0,
        "grants": [
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 100,
            "status": "live",
            "issuedAt": null,
            "observedAt": null
          }
        ],
        "reservations": [
          {
            "id": "r1",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "Hello, local machine service.",
            "startBy": 20,
            "status": "SETTLED",
            "startedAt": 1,
            "settledAt": 3,
            "digest": "76130ca019c18dc388bbff3e5c5d87e2c86228248900509709786bd6551de02d"
          }
        ]
      },
      "traceHash": "a48c23b28dc7548f929ff2de3ca17eb547a3d3a29bd020f65bbda474e1bc3fb2",
      "trace": [
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "Hello, local machine service.",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r1",
            "eventId": "delivery/default/0",
            "actor": "agent",
            "key": "delivery/default/0",
            "signature": "cQNuBrI43CExaGqbICVSsLloFroMRJtgHgNV3ffFfzJr7xs93Fzc7CqxuSYSKFLzgBvM6RhaFZ0kqc6BPX3hAQ=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "Hello, local machine service.",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 1,
            "reservationId": "r1",
            "eventId": "delivery/default/1",
            "actor": "agent",
            "key": "delivery/default/1",
            "signature": "fSXufM8ByLynPjAzkT6mnK3ti2pOtgiAWIaiyDoTKuG5K+qQKs4of9rhmgeXGJJgWYWBT6GsXM07w2zg7xMSDA=="
          },
          "result": {
            "code": "STARTED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "Hello, local machine service.",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 1,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 2,
            "reservationId": "r1",
            "digest": "0000000000000000000000000000000000000000000000000000000000000000",
            "eventId": "delivery/default/2",
            "actor": "supplier",
            "key": "delivery/default/2",
            "signature": "fT1QOfn6/bJLKyZo6wKjd2Qkx44VBrvi6Gp+rxmvwtO1wgnnWqs03sBiKO/Do12LWf529HB0tbDim6jii6F3Dg=="
          },
          "result": {
            "code": "DENIED_RECEIPT",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "Hello, local machine service.",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 1,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 3,
            "reservationId": "r1",
            "digest": "76130ca019c18dc388bbff3e5c5d87e2c86228248900509709786bd6551de02d",
            "eventId": "delivery/default/3",
            "actor": "supplier",
            "key": "delivery/default/3",
            "signature": "rrxXeleEEAIV9nH9ZtNaZhpSKv9EGC55ze8IIQ0FlvEx+AaPn3B3vVuxLefLvq3vEENcLjGR1EG3riEk9/eHAw=="
          },
          "result": {
            "code": "SETTLED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 20,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "Hello, local machine service.",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 3,
                "digest": "76130ca019c18dc388bbff3e5c5d87e2c86228248900509709786bd6551de02d"
              }
            ]
          }
        }
      ]
    },
    {
      "id": "authority/default",
      "eventCount": 15,
      "matchedControllers": true,
      "realJobCount": 0,
      "realJobs": [],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 2,
        "heldUnits": 0,
        "settledUnits": 0,
        "heldSlots": 0,
        "runningSlots": 0,
        "grants": [
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 100,
            "status": "live",
            "issuedAt": null,
            "observedAt": null
          },
          {
            "id": "narrow",
            "grantor": "agent",
            "grantee": "agent2",
            "parentId": "g0",
            "actions": [
              "reserve"
            ],
            "resource": "sha256",
            "perCallMax": 20,
            "maxTotal": 20,
            "notBefore": 0,
            "notAfter": 50,
            "status": "live",
            "issuedAt": null,
            "observedAt": null
          },
          {
            "id": "no-reserve",
            "grantor": "agent",
            "grantee": "agent2",
            "parentId": "g0",
            "actions": [
              "start"
            ],
            "resource": "sha256",
            "perCallMax": 20,
            "maxTotal": 20,
            "notBefore": 0,
            "notAfter": 50,
            "status": "live",
            "issuedAt": null,
            "observedAt": null
          }
        ],
        "reservations": [
          {
            "id": "child-job",
            "grantId": "narrow",
            "holder": "agent2",
            "price": 20,
            "slots": 1,
            "payload": "authority/default/child-job",
            "startBy": 20,
            "status": "RELEASED",
            "startedAt": null,
            "settledAt": null,
            "digest": null
          }
        ]
      },
      "traceHash": "093ff8a19111d6c8bf93d6558b76d20911ade7975497e1bebba56c7ae3dc7f59",
      "trace": [
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "authority/default/bad-signature",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "bad-signature",
            "eventId": "authority/default/0",
            "actor": "agent",
            "key": "authority/default/0",
            "signature": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=="
          },
          "result": {
            "code": "DENIED_SIGNATURE",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": []
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "authority/default/wrong-holder",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "wrong-holder",
            "actor": "intruder",
            "eventId": "authority/default/1",
            "key": "authority/default/1",
            "signature": "3X9T48JHJwPsqX9eahuodu/GHauBjrPQ7jRAlsRO+rG6Menf5PaWneMVg+mHW0i84iAU1eFA7UPci0DVZ8SmBA=="
          },
          "result": {
            "code": "DENIED_AUTH",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": []
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "unrelated-service",
            "price": 20,
            "slots": 1,
            "payload": "authority/default/wrong-resource",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "wrong-resource",
            "eventId": "authority/default/2",
            "actor": "agent",
            "key": "authority/default/2",
            "signature": "IvtW/K1Dtpan2m9zbfkSmG1JN+SyMDXMldNktPf7h41Y3OZvpxpBadGRlpqGWcqrhmISs4aThy9R4YZ13lzjDg=="
          },
          "result": {
            "code": "DENIED_AUTH",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": []
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 61,
            "slots": 1,
            "payload": "authority/default/per-call",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "per-call",
            "eventId": "authority/default/3",
            "actor": "agent",
            "key": "authority/default/3",
            "signature": "SrqKQcOHK89Q4jkIxDspcYNHZIAtwIQLfHznmd09q1kdGHujl6wuQ569vZjbzQjHN9X0zYXE1Fo/MTOFkBwyDw=="
          },
          "result": {
            "code": "DENIED_AUTH",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": []
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": -1,
            "slots": 1,
            "payload": "authority/default/negative-price",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "negative-price",
            "eventId": "authority/default/4",
            "actor": "agent",
            "key": "authority/default/4",
            "signature": "Thvvk4qTQ8ZgfoB4JTRW/lT2+iNrioCHoOS2LXgDWTkAJguW0QhH2Es2UNf9NijhdWXpXxJ0mtXPzjN2GIZaAQ=="
          },
          "result": {
            "code": "DENIED_AUTH",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": []
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 9007199254740992,
            "slots": 1,
            "payload": "authority/default/unsafe-price",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "unsafe-price",
            "eventId": "authority/default/5",
            "actor": "agent",
            "key": "authority/default/5",
            "signature": "OTUmP3tnUtVHHUk53jhldrvoP5tIV+rKxUg4Yjc0B5FPYwcixPCRyhmQUfRztJqGKckzKBQ4IWVmJ3qBwJEHAQ=="
          },
          "result": {
            "code": "DENIED_AUTH",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": []
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 2,
            "payload": "authority/default/invalid-slots",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "invalid-slots",
            "eventId": "authority/default/6",
            "actor": "agent",
            "key": "authority/default/6",
            "signature": "Bl7fjxbCfF5TJJmoeTuNG4ep/n92N2aLL3CRtlzKq8x1e9qNT5TVGeCj9PgBs2ArC7mCv4UkKHJ/09om9YQZDw=="
          },
          "result": {
            "code": "DENIED_AUTH",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": []
          }
        },
        {
          "event": {
            "type": "grant",
            "tick": 0,
            "eventId": "authority/default/7",
            "actor": "agent",
            "key": "authority/default/7",
            "signature": "8C+2impqQcpSedSbNPSzJHvzLVgtN6k2U8WW04hzf9LhLL4zxXjum29TdrYsryG6y/ggiLqKmQpRLDvp6gCQAw=="
          },
          "result": {
            "code": "DENIED_AUTH",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": []
          }
        },
        {
          "event": {
            "type": "delegate",
            "tick": 1,
            "parentId": "g0",
            "child": {
              "id": "wider",
              "grantor": "agent",
              "grantee": "agent2",
              "parentId": "g0",
              "actions": [
                "reserve"
              ],
              "resource": "sha256",
              "perCallMax": 61,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 50
            },
            "eventId": "authority/default/8",
            "actor": "agent",
            "key": "authority/default/8",
            "signature": "5m5ZIfLK5650eF4w27xSwiG/4lt/bf31MJkWEujGJwBrBOdOIQVt4pdVHPNmKda6pyxfl2bCQKUCC9CwNlSlDg=="
          },
          "result": {
            "code": "DENIED_AUTH",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": []
          }
        },
        {
          "event": {
            "type": "delegate",
            "tick": 1,
            "parentId": "g0",
            "child": {
              "id": "no-reserve",
              "grantor": "agent",
              "grantee": "agent2",
              "parentId": "g0",
              "actions": [
                "start"
              ],
              "resource": "sha256",
              "perCallMax": 20,
              "maxTotal": 20,
              "notBefore": 0,
              "notAfter": 50
            },
            "eventId": "authority/default/9",
            "actor": "agent",
            "key": "authority/default/9",
            "signature": "+5OxlYpyCxha6TklOyc4wq33nsiTxMmE++69VmOuRg1NtEk/TZ0/n/8ApacFflyWOUNHBVS8nFqlnJK/lM59Cg=="
          },
          "result": {
            "code": "DELEGATED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              },
              {
                "id": "no-reserve",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "start"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 20,
                "notBefore": 0,
                "notAfter": 50,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": []
          }
        },
        {
          "event": {
            "grantId": "no-reserve",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "authority/default/wrong-action",
            "startBy": 20,
            "type": "reserve",
            "tick": 2,
            "reservationId": "wrong-action",
            "actor": "agent2",
            "eventId": "authority/default/10",
            "key": "authority/default/10",
            "signature": "pH4mQSYY5JwxO6MQ4TbN8cxrgzMYA6TfDu1UJjh7cwgfKRvAaza74IOHhCNGtLg4QxF3g6PpSD7RDLwIdpfBCg=="
          },
          "result": {
            "code": "DENIED_AUTH",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              },
              {
                "id": "no-reserve",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "start"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 20,
                "notBefore": 0,
                "notAfter": 50,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": []
          }
        },
        {
          "event": {
            "type": "delegate",
            "tick": 3,
            "parentId": "g0",
            "child": {
              "id": "narrow",
              "grantor": "agent",
              "grantee": "agent2",
              "parentId": "g0",
              "actions": [
                "reserve"
              ],
              "resource": "sha256",
              "perCallMax": 20,
              "maxTotal": 20,
              "notBefore": 0,
              "notAfter": 50
            },
            "eventId": "authority/default/11",
            "actor": "agent",
            "key": "authority/default/11",
            "signature": "5VPBCH+z+yZSgb/c2jSWjvUQ14tzH/pT1OPCjFKRAIcv2FzCrXK0zjpxBQ9fprja/5iUDNj1KpPRZrT0kTlSCw=="
          },
          "result": {
            "code": "DELEGATED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              },
              {
                "id": "narrow",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "reserve"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 20,
                "notBefore": 0,
                "notAfter": 50,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              },
              {
                "id": "no-reserve",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "start"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 20,
                "notBefore": 0,
                "notAfter": 50,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": []
          }
        },
        {
          "event": {
            "grantId": "narrow",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "authority/default/child-job",
            "startBy": 20,
            "type": "reserve",
            "tick": 4,
            "reservationId": "child-job",
            "actor": "agent2",
            "eventId": "authority/default/12",
            "key": "authority/default/12",
            "signature": "03s0QbkslX4BoUs6wkFcro3kO5iOmC3jYCc2qv5zL88YNsu9O7RMoCGLRTBeY0/VLdfBL69HzjykiDZTnESfCA=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              },
              {
                "id": "narrow",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "reserve"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 20,
                "notBefore": 0,
                "notAfter": 50,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              },
              {
                "id": "no-reserve",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "start"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 20,
                "notBefore": 0,
                "notAfter": 50,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "child-job",
                "grantId": "narrow",
                "holder": "agent2",
                "price": 20,
                "slots": 1,
                "payload": "authority/default/child-job",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "grantId": "narrow",
            "resource": "sha256",
            "price": 10,
            "slots": 1,
            "payload": "authority/default/child-over-budget",
            "startBy": 20,
            "type": "reserve",
            "tick": 5,
            "reservationId": "child-over-budget",
            "actor": "agent2",
            "eventId": "authority/default/13",
            "key": "authority/default/13",
            "signature": "uGqUYllRQP5mt9Q7DV+jJE2ouy/i5wUPT9WPV5R3VoWbFvnLsHYUSjrvzwYb4HZK0UnwzwG99khBLhD/0p0yBQ=="
          },
          "result": {
            "code": "DENIED_BUDGET",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              },
              {
                "id": "narrow",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "reserve"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 20,
                "notBefore": 0,
                "notAfter": 50,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              },
              {
                "id": "no-reserve",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "start"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 20,
                "notBefore": 0,
                "notAfter": 50,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "child-job",
                "grantId": "narrow",
                "holder": "agent2",
                "price": 20,
                "slots": 1,
                "payload": "authority/default/child-job",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "release",
            "tick": 6,
            "reservationId": "child-job",
            "actor": "agent2",
            "eventId": "authority/default/14",
            "key": "authority/default/14",
            "signature": "y8MzTPpxWV9OJfsUfWwfw8KCem/GDHsYG2cAGNMG8Rp7SGsngZn0GzJjHqLxaUV/7yAbC9NgCSthWD4VfZ5HCA=="
          },
          "result": {
            "code": "RELEASED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              },
              {
                "id": "narrow",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "reserve"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 20,
                "notBefore": 0,
                "notAfter": 50,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              },
              {
                "id": "no-reserve",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "start"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 20,
                "notBefore": 0,
                "notAfter": 50,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "child-job",
                "grantId": "narrow",
                "holder": "agent2",
                "price": 20,
                "slots": 1,
                "payload": "authority/default/child-job",
                "startBy": 20,
                "status": "RELEASED",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        }
      ]
    },
    {
      "id": "joint-budget/60-first",
      "eventCount": 2,
      "matchedControllers": true,
      "realJobCount": 0,
      "realJobs": [],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 2,
        "heldUnits": 60,
        "settledUnits": 0,
        "heldSlots": 1,
        "runningSlots": 0,
        "grants": [
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 100,
            "status": "live",
            "issuedAt": null,
            "observedAt": null
          }
        ],
        "reservations": [
          {
            "id": "r1",
            "grantId": "g0",
            "holder": "agent",
            "price": 60,
            "slots": 1,
            "payload": "joint-budget/60-first/r1",
            "startBy": 20,
            "status": "HELD",
            "startedAt": null,
            "settledAt": null,
            "digest": null
          }
        ]
      },
      "traceHash": "9249503cb5b9ed47efcc60553abd88eac2e21cd3875dadb46cd7966212f2affe",
      "trace": [
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 60,
            "slots": 1,
            "payload": "joint-budget/60-first/r1",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r1",
            "eventId": "joint-budget/60-first/0",
            "actor": "agent",
            "key": "joint-budget/60-first/0",
            "signature": "nUzpdM0GZYnLP3vx1Li48lSrLtRNhBp6FP2ZmIiABJJquUypo9Z0cE4qMlT9tWXbE91AC0FflfSoNIT95W3gDg=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 60,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 60,
                "slots": 1,
                "payload": "joint-budget/60-first/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 50,
            "slots": 1,
            "payload": "joint-budget/60-first/r2",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r2",
            "eventId": "joint-budget/60-first/1",
            "actor": "agent",
            "key": "joint-budget/60-first/1",
            "signature": "1Ddob9NnEGt240hWjYoUYhPD7u7I/2u8VV8zQW8qG3G5LAyflrQkLtxui3oqY01p+Jbsf3MM/pQzN3xHiTVxAw=="
          },
          "result": {
            "code": "DENIED_BUDGET",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 60,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 60,
                "slots": 1,
                "payload": "joint-budget/60-first/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        }
      ]
    },
    {
      "id": "joint-budget/50-first",
      "eventCount": 2,
      "matchedControllers": true,
      "realJobCount": 0,
      "realJobs": [],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 2,
        "heldUnits": 50,
        "settledUnits": 0,
        "heldSlots": 1,
        "runningSlots": 0,
        "grants": [
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 100,
            "status": "live",
            "issuedAt": null,
            "observedAt": null
          }
        ],
        "reservations": [
          {
            "id": "r2",
            "grantId": "g0",
            "holder": "agent",
            "price": 50,
            "slots": 1,
            "payload": "joint-budget/50-first/r2",
            "startBy": 20,
            "status": "HELD",
            "startedAt": null,
            "settledAt": null,
            "digest": null
          }
        ]
      },
      "traceHash": "c79f0273f3b9955b358a24af94fd8cc1a4a608c4efa5c35b74bd87323111e00b",
      "trace": [
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 50,
            "slots": 1,
            "payload": "joint-budget/50-first/r2",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r2",
            "eventId": "joint-budget/50-first/0",
            "actor": "agent",
            "key": "joint-budget/50-first/0",
            "signature": "rJFAcnUVKzzv0GmlpEbY9Tv7owMrQFgqYcO+iFMgokyMQaxRDWSbNbWPS11GY8fEw8yTeY6vZzS5GtCX45yQAw=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 50,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 50,
                "slots": 1,
                "payload": "joint-budget/50-first/r2",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 60,
            "slots": 1,
            "payload": "joint-budget/50-first/r1",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r1",
            "eventId": "joint-budget/50-first/1",
            "actor": "agent",
            "key": "joint-budget/50-first/1",
            "signature": "b+vt7qAivpIMqPeRLr761GON0NV0VQR+HoeoJusTbdN58RHxCwjPsz0jzLQPg7USqpf97ZIUH8By3C6NAGR3Cg=="
          },
          "result": {
            "code": "DENIED_BUDGET",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 50,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 50,
                "slots": 1,
                "payload": "joint-budget/50-first/r2",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        }
      ]
    },
    {
      "id": "joint-capacity/default",
      "eventCount": 9,
      "matchedControllers": true,
      "realJobCount": 2,
      "realJobs": [
        {
          "jobId": "r1",
          "payload": "joint-capacity/default/r1",
          "resultDigest": "8acb9a83984d5e2e1f0fa98a44dfe57c43bc4ee29beb33fe8e951307b8cd1b3a",
          "executionCount": 1,
          "settled": true,
          "independentlyVerified": true
        },
        {
          "jobId": "r2",
          "payload": "joint-capacity/default/r2",
          "resultDigest": "2f8dad6f565fc00e4874e72ba97ef4ce24617c9976399cd4ea46f46904453bc1",
          "executionCount": 1,
          "settled": true,
          "independentlyVerified": true
        }
      ],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 2,
        "heldUnits": 0,
        "settledUnits": 40,
        "heldSlots": 0,
        "runningSlots": 0,
        "grants": [
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 100,
            "status": "live",
            "issuedAt": null,
            "observedAt": null
          }
        ],
        "reservations": [
          {
            "id": "r1",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "joint-capacity/default/r1",
            "startBy": 20,
            "status": "SETTLED",
            "startedAt": 1,
            "settledAt": 2,
            "digest": "8acb9a83984d5e2e1f0fa98a44dfe57c43bc4ee29beb33fe8e951307b8cd1b3a"
          },
          {
            "id": "r2",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "joint-capacity/default/r2",
            "startBy": 20,
            "status": "SETTLED",
            "startedAt": 1,
            "settledAt": 2,
            "digest": "2f8dad6f565fc00e4874e72ba97ef4ce24617c9976399cd4ea46f46904453bc1"
          },
          {
            "id": "r3",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "joint-capacity/default/r3",
            "startBy": 20,
            "status": "RELEASED",
            "startedAt": null,
            "settledAt": null,
            "digest": null
          }
        ]
      },
      "traceHash": "5e2144841d29edbc688bd8c042ad56f5bf78c9758df774d9a20953a55e30eafa",
      "trace": [
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "joint-capacity/default/r1",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r1",
            "eventId": "joint-capacity/default/0",
            "actor": "agent",
            "key": "joint-capacity/default/0",
            "signature": "IUrTA1u+zsTbwZhRcjvIRSfhv4tTyoUrKliDHKgMg7SqhOt4pes9g03jx8kzOr8Dk2LHCArwUDZr0DEaDuvsDg=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "joint-capacity/default/r2",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r2",
            "eventId": "joint-capacity/default/1",
            "actor": "agent",
            "key": "joint-capacity/default/1",
            "signature": "mYDpzMuq9ueY7GndXyVsIoqcB3ngJaH65WfK6RxFKslazbecF2/2dDHZUSi990FFdKWqJJjhxx05EqXAjZh2CA=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 40,
            "settledUnits": 0,
            "heldSlots": 2,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r2",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "joint-capacity/default/r3",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r3",
            "eventId": "joint-capacity/default/2",
            "actor": "agent",
            "key": "joint-capacity/default/2",
            "signature": "PMKEeloFsWqVT3Zt/5w9maaz0+D5eY7WQSkfbytsPoiqkv34SNuPZLQ0EcUO6P0llEqXFscVlGvpgiV96gciCA=="
          },
          "result": {
            "code": "DENIED_CAPACITY",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 40,
            "settledUnits": 0,
            "heldSlots": 2,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r2",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 1,
            "reservationId": "r1",
            "eventId": "joint-capacity/default/3",
            "actor": "agent",
            "key": "joint-capacity/default/3",
            "signature": "9jL2qmezF5L82xVmzDox+EGdd2wzGQULD4cM/xFFdEQNwZTpE8hM2rmAw2OOyWwep198ecF+4RpIVzjXso0rDA=="
          },
          "result": {
            "code": "STARTED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 40,
            "settledUnits": 0,
            "heldSlots": 2,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r1",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 1,
                "settledAt": null,
                "digest": null
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r2",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 1,
            "reservationId": "r2",
            "eventId": "joint-capacity/default/4",
            "actor": "agent",
            "key": "joint-capacity/default/4",
            "signature": "Xht7ciZKUdTuAWY02n6kRM588/KAhBQ7WtD7vqhjmRGOKRsl7eMBnHBVj0euHpkl7aQa2gONuDW1u6k0XvYRCg=="
          },
          "result": {
            "code": "STARTED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 40,
            "settledUnits": 0,
            "heldSlots": 2,
            "runningSlots": 2,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r1",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 1,
                "settledAt": null,
                "digest": null
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r2",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 1,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 2,
            "reservationId": "r1",
            "digest": "8acb9a83984d5e2e1f0fa98a44dfe57c43bc4ee29beb33fe8e951307b8cd1b3a",
            "eventId": "joint-capacity/default/5",
            "actor": "supplier",
            "key": "joint-capacity/default/5",
            "signature": "NFIY5HuUHsm2m5GoQMApN30odNqViyTdkZTYKlC4ROIaTEiag0O1RVxOPgmd/Fqdz2M5BSYRamodDQAtYM2lCg=="
          },
          "result": {
            "code": "SETTLED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 20,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "8acb9a83984d5e2e1f0fa98a44dfe57c43bc4ee29beb33fe8e951307b8cd1b3a"
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r2",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 1,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 2,
            "reservationId": "r2",
            "digest": "2f8dad6f565fc00e4874e72ba97ef4ce24617c9976399cd4ea46f46904453bc1",
            "eventId": "joint-capacity/default/6",
            "actor": "supplier",
            "key": "joint-capacity/default/6",
            "signature": "cG41SOb+k/VImNHEYIvDdfn2CEB6yRuTHpf/KKW5Sbp4LVmhbK46RBroJ1ptwRjUq0TbP7c5mWio96C/UlWQBA=="
          },
          "result": {
            "code": "SETTLED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 40,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "8acb9a83984d5e2e1f0fa98a44dfe57c43bc4ee29beb33fe8e951307b8cd1b3a"
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r2",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "2f8dad6f565fc00e4874e72ba97ef4ce24617c9976399cd4ea46f46904453bc1"
              }
            ]
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "joint-capacity/default/r3",
            "startBy": 20,
            "type": "reserve",
            "tick": 3,
            "reservationId": "r3",
            "eventId": "joint-capacity/default/7",
            "actor": "agent",
            "key": "joint-capacity/default/7",
            "signature": "kEizU4FKOHeKDN89XBX4KLyeQ9qlqdFuczmC6dIkVy8kDyT/hZ6qlDGgm5I3f/Tfw9a1/Wigj+DY4n0ZCE+hCA=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 40,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "8acb9a83984d5e2e1f0fa98a44dfe57c43bc4ee29beb33fe8e951307b8cd1b3a"
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r2",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "2f8dad6f565fc00e4874e72ba97ef4ce24617c9976399cd4ea46f46904453bc1"
              },
              {
                "id": "r3",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r3",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "release",
            "tick": 4,
            "reservationId": "r3",
            "eventId": "joint-capacity/default/8",
            "actor": "agent",
            "key": "joint-capacity/default/8",
            "signature": "rvRvqnwrtM5dZEap6AAANEKIo+9GpJqYz+KcnwduL4t7/rARM0JrvEzZlnx0cv/6/REj890Njj8PgiYBsTmwDw=="
          },
          "result": {
            "code": "RELEASED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 40,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "8acb9a83984d5e2e1f0fa98a44dfe57c43bc4ee29beb33fe8e951307b8cd1b3a"
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r2",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "2f8dad6f565fc00e4874e72ba97ef4ce24617c9976399cd4ea46f46904453bc1"
              },
              {
                "id": "r3",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "joint-capacity/default/r3",
                "startBy": 20,
                "status": "RELEASED",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        }
      ]
    },
    {
      "id": "idempotency/default",
      "eventCount": 9,
      "matchedControllers": true,
      "realJobCount": 1,
      "realJobs": [
        {
          "jobId": "r1",
          "payload": "idempotency/default/r1",
          "resultDigest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8",
          "executionCount": 1,
          "settled": true,
          "independentlyVerified": true
        }
      ],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 2,
        "heldUnits": 0,
        "settledUnits": 20,
        "heldSlots": 0,
        "runningSlots": 0,
        "grants": [
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 100,
            "status": "live",
            "issuedAt": null,
            "observedAt": null
          }
        ],
        "reservations": [
          {
            "id": "r1",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "idempotency/default/r1",
            "startBy": 20,
            "status": "SETTLED",
            "startedAt": 3,
            "settledAt": 5,
            "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8"
          }
        ]
      },
      "traceHash": "6bb936e1164ae2f5092a4758d6e7eea99ecdc06fe2b3dac8da62edeb75ad698c",
      "trace": [
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "idempotency/default/r1",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r1",
            "key": "reserve-once",
            "eventId": "idempotency/default/0",
            "actor": "agent",
            "signature": "ymLPDlxdRmT5TOLcUGWDsvE3AibYJ6rYm/MAn+FIFp/I2aRDJk2W/Y9nT5dGDA2uXZmuJq7vbAnE7VU2NpxLAA=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "idempotency/default/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "idempotency/default/r1",
            "startBy": 20,
            "type": "reserve",
            "tick": 1,
            "reservationId": "r1",
            "key": "reserve-once",
            "eventId": "idempotency/default/1",
            "actor": "agent",
            "signature": "7dOn7+L8e1402aCS3HbBcfTmkr3N34m4UUHJTp9jzUh2gT4VWphStPBLfiooI+8bYYvnz7hrC3BjdLiov7B5BA=="
          },
          "result": {
            "code": "RESERVED",
            "replay": true
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "idempotency/default/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 21,
            "slots": 1,
            "payload": "idempotency/default/r1",
            "startBy": 20,
            "type": "reserve",
            "tick": 2,
            "reservationId": "r1",
            "key": "reserve-once",
            "eventId": "idempotency/default/2",
            "actor": "agent",
            "signature": "SKCgg11E1QnW6bxgu3C4ekbSeVfR5x44i+m5U0/NJR6K4pyJZ98S76tH/NQwKVJUAq3SFDBYBpPUShYCDBPVCQ=="
          },
          "result": {
            "code": "IDEMPOTENCY_CONFLICT",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "idempotency/default/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 3,
            "reservationId": "r1",
            "key": "start-once",
            "eventId": "idempotency/default/3",
            "actor": "agent",
            "signature": "yn6449YI7PjjnvaOSPS6kXsVBIJ75NOKqZphCus4qYV0WpwE2FIGxLzWnyzNqeHNHnL1AmTHTTa+r/g1XBqwAQ=="
          },
          "result": {
            "code": "STARTED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "idempotency/default/r1",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 3,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 4,
            "reservationId": "r1",
            "key": "start-once",
            "eventId": "idempotency/default/4",
            "actor": "agent",
            "signature": "+DHyb8CpmiFCcwPbuO8WyEFE/jv2FFN+qLtUsGAPxwasmuavxsrsMRNopIJOmcSRnqyi866Zek21kln4n5OkDA=="
          },
          "result": {
            "code": "STARTED",
            "replay": true
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "idempotency/default/r1",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 3,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 5,
            "reservationId": "r1",
            "key": "settle-once",
            "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8",
            "eventId": "idempotency/default/5",
            "actor": "supplier",
            "signature": "BnAdGLEjtCw2XVk2LRXiPt0oA8WN+ldEqgYeFcK22XMqdjLo/AWDmpEOG3tO34vh04Pb6/pViDjxFgP60uCPBA=="
          },
          "result": {
            "code": "SETTLED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 20,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "idempotency/default/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 3,
                "settledAt": 5,
                "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8"
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 6,
            "reservationId": "r1",
            "key": "settle-once",
            "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8",
            "eventId": "idempotency/default/6",
            "actor": "supplier",
            "signature": "IWnb+3mprloVswWeZkO0tXS+PT5XA+MAYJbps2yDh/jlLtYGTSPXWuGUdUiz7T1vS2RFNzjplkMU57SVULzkCA=="
          },
          "result": {
            "code": "SETTLED",
            "replay": true
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 20,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "idempotency/default/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 3,
                "settledAt": 5,
                "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8"
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 7,
            "reservationId": "r1",
            "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8",
            "eventId": "idempotency/default/7",
            "actor": "supplier",
            "key": "idempotency/default/7",
            "signature": "x84WViXMKr50EGs08Mc5eC0pnFW+gNHW94pnnCdvvaO35b+WoacCQlGHDRbFZmu5VMxR3axZvt2ul0/dptwqAw=="
          },
          "result": {
            "code": "DENIED_STATE",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 20,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "idempotency/default/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 3,
                "settledAt": 5,
                "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8"
              }
            ]
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "idempotency/default/r1",
            "startBy": 20,
            "type": "reserve",
            "tick": 8,
            "reservationId": "intruder-job",
            "key": "reserve-once",
            "eventId": "idempotency/default/8",
            "actor": "intruder",
            "signature": "hoQDxbF3sWGd0zHk4m+S9qe5BXWB2vMmYr/ooG8x52X/1AI1Dbo8LVeol1aJBA6rrcRkDhgt+kd2Fzmn6Rg1BQ=="
          },
          "result": {
            "code": "DENIED_AUTH",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 20,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "idempotency/default/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 3,
                "settledAt": 5,
                "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8"
              }
            ]
          }
        }
      ]
    },
    {
      "id": "release-settle/release-before-start",
      "eventCount": 4,
      "matchedControllers": true,
      "realJobCount": 0,
      "realJobs": [],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 2,
        "heldUnits": 0,
        "settledUnits": 0,
        "heldSlots": 0,
        "runningSlots": 0,
        "grants": [
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 100,
            "status": "live",
            "issuedAt": null,
            "observedAt": null
          }
        ],
        "reservations": [
          {
            "id": "r1",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "release-settle/release-before-start/r1",
            "startBy": 20,
            "status": "RELEASED",
            "startedAt": null,
            "settledAt": null,
            "digest": null
          }
        ]
      },
      "traceHash": "6fdc3898de1d5dee341b6b6aa57f78dc52e1b11b9827d915cca7133fe03890e5",
      "trace": [
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "release-settle/release-before-start/r1",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r1",
            "eventId": "release-settle/release-before-start/0",
            "actor": "agent",
            "key": "release-settle/release-before-start/0",
            "signature": "9bTrWxcs+jPPoqxt4kgkp15cTLLQVUm7Jg2zSCRRnUQQmYT54D8T5JsjuW6nczIWK5V+2dv8Eo2JyC29aXNADg=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "release-settle/release-before-start/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "release",
            "tick": 1,
            "reservationId": "r1",
            "eventId": "release-settle/release-before-start/1",
            "actor": "agent",
            "key": "release-settle/release-before-start/1",
            "signature": "ZZnlyjwNXihetjtwMLumwsktKiMvFaXUX8HcON00RCTyzJgo+E4WQrutop7l8k+89Q3KPUluoQYfE+p4PEquCg=="
          },
          "result": {
            "code": "RELEASED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "release-settle/release-before-start/r1",
                "startBy": 20,
                "status": "RELEASED",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 2,
            "reservationId": "r1",
            "eventId": "release-settle/release-before-start/2",
            "actor": "agent",
            "key": "release-settle/release-before-start/2",
            "signature": "zrSIh9CyIQZw4UlqxpV6+TPkNBVQLbORyzBlz/uF1N2UHL9B5xJiKCh4S6f2Mcp0N6ppjoVyX/mBL2qt8DgWAg=="
          },
          "result": {
            "code": "DENIED_STATE",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "release-settle/release-before-start/r1",
                "startBy": 20,
                "status": "RELEASED",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 3,
            "reservationId": "r1",
            "digest": "7a1eee1d73554b249b33cf44bb7df3bb28a5530618fc09659059468ccfc7f609",
            "eventId": "release-settle/release-before-start/3",
            "actor": "supplier",
            "key": "release-settle/release-before-start/3",
            "signature": "IrTR280URVtf2+7T9zcoiIWCWK5xhVsnm7867qKAjex32Q3xM/6ABp5ibKEU8nXtWpGYsMjRUXHsWOXK3oCpBA=="
          },
          "result": {
            "code": "DENIED_STATE",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "release-settle/release-before-start/r1",
                "startBy": 20,
                "status": "RELEASED",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        }
      ]
    },
    {
      "id": "release-settle/release-before-settlement",
      "eventCount": 5,
      "matchedControllers": true,
      "realJobCount": 1,
      "realJobs": [
        {
          "jobId": "r1",
          "payload": "release-settle/release-before-settlement/r1",
          "resultDigest": "7fbda5fefa27f95598d386132e47c1227576ef490807c7ef3f03957c564a1879",
          "executionCount": 1,
          "settled": true,
          "independentlyVerified": true
        }
      ],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 2,
        "heldUnits": 0,
        "settledUnits": 20,
        "heldSlots": 0,
        "runningSlots": 0,
        "grants": [
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 100,
            "status": "live",
            "issuedAt": null,
            "observedAt": null
          }
        ],
        "reservations": [
          {
            "id": "r1",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "release-settle/release-before-settlement/r1",
            "startBy": 20,
            "status": "SETTLED",
            "startedAt": 1,
            "settledAt": 3,
            "digest": "7fbda5fefa27f95598d386132e47c1227576ef490807c7ef3f03957c564a1879"
          }
        ]
      },
      "traceHash": "cb13fcb6cb7e07580be91cf50f025f309733675ab392de7a36ff6a6673fb38cf",
      "trace": [
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "release-settle/release-before-settlement/r1",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r1",
            "eventId": "release-settle/release-before-settlement/0",
            "actor": "agent",
            "key": "release-settle/release-before-settlement/0",
            "signature": "4PwFUvIxI8vdJ3snmmcs/KMouuO9CPdI9XTCAp6/ZgtE3colQ06ddjjF6VqRhRlc2aITgttIC9OAEEbaMJmxCw=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "release-settle/release-before-settlement/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 1,
            "reservationId": "r1",
            "eventId": "release-settle/release-before-settlement/1",
            "actor": "agent",
            "key": "release-settle/release-before-settlement/1",
            "signature": "5lBjb/NB4Oec7zZ7a8Qi3k3xTqLc1SeeElAZ9KmtacqLPdRARPBAAZgRfvhg3uRxbh6jv4USG+twbWQ+DhilCA=="
          },
          "result": {
            "code": "STARTED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "release-settle/release-before-settlement/r1",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 1,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "release",
            "tick": 2,
            "reservationId": "r1",
            "eventId": "release-settle/release-before-settlement/2",
            "actor": "agent",
            "key": "release-settle/release-before-settlement/2",
            "signature": "5Ttj9jdQ+4BnFwQ0KnkBqicy50wvSNhYp1BM16ZTYEyZHKt7QaYuceaqvPKM7Qage7Z3mnpzvg5l1vpcQP/vCQ=="
          },
          "result": {
            "code": "DENIED_STATE",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "release-settle/release-before-settlement/r1",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 1,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 3,
            "reservationId": "r1",
            "digest": "7fbda5fefa27f95598d386132e47c1227576ef490807c7ef3f03957c564a1879",
            "eventId": "release-settle/release-before-settlement/3",
            "actor": "supplier",
            "key": "release-settle/release-before-settlement/3",
            "signature": "m0x+HaAb5DYQl9yDJxuRAqxZoB3Kkc73VSKev6Bn+LYes+qI7nW40+8CPbbj8iHgauMO5V7JHkoM0nCLZI8aBQ=="
          },
          "result": {
            "code": "SETTLED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 20,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "release-settle/release-before-settlement/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 3,
                "digest": "7fbda5fefa27f95598d386132e47c1227576ef490807c7ef3f03957c564a1879"
              }
            ]
          }
        },
        {
          "event": {
            "type": "release",
            "tick": 4,
            "reservationId": "r1",
            "eventId": "release-settle/release-before-settlement/4",
            "actor": "agent",
            "key": "release-settle/release-before-settlement/4",
            "signature": "uiPovRKJN4cOcq/59fI69CPX9Wd0b3nMuKVfASZHE85TSrSh9JYnkHae33WYpVxSurpHY42EbYHTKdmJVCccCQ=="
          },
          "result": {
            "code": "DENIED_STATE",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 20,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "release-settle/release-before-settlement/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 3,
                "digest": "7fbda5fefa27f95598d386132e47c1227576ef490807c7ef3f03957c564a1879"
              }
            ]
          }
        }
      ]
    },
    {
      "id": "release-settle/settlement-before-release",
      "eventCount": 4,
      "matchedControllers": true,
      "realJobCount": 1,
      "realJobs": [
        {
          "jobId": "r1",
          "payload": "release-settle/settlement-before-release/r1",
          "resultDigest": "2b4c9c7dde51674fa395ee847328f36184a5b24835c7ec3aefb31ba997afc133",
          "executionCount": 1,
          "settled": true,
          "independentlyVerified": true
        }
      ],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 2,
        "heldUnits": 0,
        "settledUnits": 20,
        "heldSlots": 0,
        "runningSlots": 0,
        "grants": [
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 100,
            "status": "live",
            "issuedAt": null,
            "observedAt": null
          }
        ],
        "reservations": [
          {
            "id": "r1",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "release-settle/settlement-before-release/r1",
            "startBy": 20,
            "status": "SETTLED",
            "startedAt": 1,
            "settledAt": 2,
            "digest": "2b4c9c7dde51674fa395ee847328f36184a5b24835c7ec3aefb31ba997afc133"
          }
        ]
      },
      "traceHash": "5c8613e5d028393e811f64eeae1bc41ac7759350fd15a5d50049fac4552836e6",
      "trace": [
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "release-settle/settlement-before-release/r1",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r1",
            "eventId": "release-settle/settlement-before-release/0",
            "actor": "agent",
            "key": "release-settle/settlement-before-release/0",
            "signature": "dTg2Fvbm++t8jdM7+eAsvy8dKMSjQcqp3OSGT7Otyuvxv+VH+AzMGrqXlvRU/QKZZntNhCw6GYpjsAjMFQL7Cw=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "release-settle/settlement-before-release/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 1,
            "reservationId": "r1",
            "eventId": "release-settle/settlement-before-release/1",
            "actor": "agent",
            "key": "release-settle/settlement-before-release/1",
            "signature": "bE+o8RAkPtpBm6wEMJgv1jZkAbXJ1FXZBW6NTadcWPWoMOiZKFMAcA4yFBcDKnenq2Fn0A9ZJoZnKXAMW+jgBA=="
          },
          "result": {
            "code": "STARTED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "release-settle/settlement-before-release/r1",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 1,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 2,
            "reservationId": "r1",
            "digest": "2b4c9c7dde51674fa395ee847328f36184a5b24835c7ec3aefb31ba997afc133",
            "eventId": "release-settle/settlement-before-release/2",
            "actor": "supplier",
            "key": "release-settle/settlement-before-release/2",
            "signature": "ZjWL4GeMDGu46+uMYxczjR97Yvs3+UPmiCQdx2XsJQYOfoYG/v29G3gdn3NhSdFLC9vIzzku57cwHkZ0kmlyAA=="
          },
          "result": {
            "code": "SETTLED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 20,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "release-settle/settlement-before-release/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "2b4c9c7dde51674fa395ee847328f36184a5b24835c7ec3aefb31ba997afc133"
              }
            ]
          }
        },
        {
          "event": {
            "type": "release",
            "tick": 3,
            "reservationId": "r1",
            "eventId": "release-settle/settlement-before-release/3",
            "actor": "agent",
            "key": "release-settle/settlement-before-release/3",
            "signature": "+0k1YdWy388TyXtnQFOhWtzirAWCGoawCE+60gC1/ZCXWRZmymw0RjHyLdVuCH8R/HtxgDmxjkQq6QnYplWmDg=="
          },
          "result": {
            "code": "DENIED_STATE",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 20,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "release-settle/settlement-before-release/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "2b4c9c7dde51674fa395ee847328f36184a5b24835c7ec3aefb31ba997afc133"
              }
            ]
          }
        }
      ]
    },
    {
      "id": "revocation/delayed-observation",
      "eventCount": 10,
      "matchedControllers": true,
      "realJobCount": 2,
      "realJobs": [
        {
          "jobId": "r1",
          "payload": "revocation/delayed-observation/r1",
          "resultDigest": "3e4c777c982ec218682a8edc73d5746a6957f3dad3c26d1ee4fb8576b3faa0ae",
          "executionCount": 1,
          "settled": true,
          "independentlyVerified": true
        },
        {
          "jobId": "r2",
          "payload": "revocation/delayed-observation/r2",
          "resultDigest": "3ad77c6a95ffeddf54ca6003d7494c1a185277f35242efa17633cd13d6e51297",
          "executionCount": 1,
          "settled": true,
          "independentlyVerified": true
        }
      ],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 2,
        "heldUnits": 0,
        "settledUnits": 50,
        "heldSlots": 0,
        "runningSlots": 0,
        "grants": [
          {
            "id": "child",
            "grantor": "agent",
            "grantee": "agent2",
            "parentId": "g0",
            "actions": [
              "reserve"
            ],
            "resource": "sha256",
            "perCallMax": 20,
            "maxTotal": 40,
            "notBefore": 0,
            "notAfter": 50,
            "status": "revoked",
            "issuedAt": null,
            "observedAt": 3
          },
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 100,
            "status": "revoked",
            "issuedAt": 1,
            "observedAt": 3
          }
        ],
        "reservations": [
          {
            "id": "r1",
            "grantId": "child",
            "holder": "agent2",
            "price": 20,
            "slots": 1,
            "payload": "revocation/delayed-observation/r1",
            "startBy": 20,
            "status": "SETTLED",
            "startedAt": 4,
            "settledAt": 5,
            "digest": "3e4c777c982ec218682a8edc73d5746a6957f3dad3c26d1ee4fb8576b3faa0ae"
          },
          {
            "id": "r2",
            "grantId": "g0",
            "holder": "agent",
            "price": 30,
            "slots": 1,
            "payload": "revocation/delayed-observation/r2",
            "startBy": 20,
            "status": "SETTLED",
            "startedAt": 4,
            "settledAt": 5,
            "digest": "3ad77c6a95ffeddf54ca6003d7494c1a185277f35242efa17633cd13d6e51297"
          }
        ]
      },
      "revocation": {
        "acceptedBetweenIssueAndObservationUnits": 30,
        "outstandingUnitsAtObservation": 50,
        "settledAfterObservationUnits": 50,
        "newReservationsAfterObservationUnits": 0
      },
      "traceHash": "d48f164de9231d676d655946a3b1cc6d627bf097b680c3fd0465a025cb5102a2",
      "trace": [
        {
          "event": {
            "type": "delegate",
            "tick": 0,
            "parentId": "g0",
            "child": {
              "id": "child",
              "grantor": "agent",
              "grantee": "agent2",
              "parentId": "g0",
              "actions": [
                "reserve"
              ],
              "resource": "sha256",
              "perCallMax": 20,
              "maxTotal": 40,
              "notBefore": 0,
              "notAfter": 50
            },
            "eventId": "revocation/delayed-observation/0",
            "actor": "agent",
            "key": "revocation/delayed-observation/0",
            "signature": "/nuon6T0zleo6eaeBu7a3ywvVPiVX1oGksqHSVFjZaFLbpoD/Dd1H3ryekZQO/KEklf/kftEqqdHd5pK/D/tAA=="
          },
          "result": {
            "code": "DELEGATED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "child",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "reserve"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 40,
                "notBefore": 0,
                "notAfter": 50,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              },
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": []
          }
        },
        {
          "event": {
            "grantId": "child",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "revocation/delayed-observation/r1",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r1",
            "actor": "agent2",
            "eventId": "revocation/delayed-observation/1",
            "key": "revocation/delayed-observation/1",
            "signature": "kw4lPj3G2T1n5KJPby0ROzWxtxTUjEBwKWXXqU87JTS4bdl2xz31Heyy05pzVDZNoQ3ER562S5rhpFnGIN2jDw=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "child",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "reserve"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 40,
                "notBefore": 0,
                "notAfter": 50,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              },
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "child",
                "holder": "agent2",
                "price": 20,
                "slots": 1,
                "payload": "revocation/delayed-observation/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "issue_revoke",
            "tick": 1,
            "grantId": "g0",
            "eventId": "revocation/delayed-observation/2",
            "actor": "owner",
            "key": "revocation/delayed-observation/2",
            "signature": "9t4SNtOB3ErS9M02pQoCef2cKRaKNSMXhehwvi30RVDTJrwraytaG7QlSmU7T3JN7cF++rSHPgHL4XqNvpxmDQ=="
          },
          "result": {
            "code": "ISSUED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "child",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "reserve"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 40,
                "notBefore": 0,
                "notAfter": 50,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              },
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": 1,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "child",
                "holder": "agent2",
                "price": 20,
                "slots": 1,
                "payload": "revocation/delayed-observation/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 30,
            "slots": 1,
            "payload": "revocation/delayed-observation/r2",
            "startBy": 20,
            "type": "reserve",
            "tick": 2,
            "reservationId": "r2",
            "eventId": "revocation/delayed-observation/3",
            "actor": "agent",
            "key": "revocation/delayed-observation/3",
            "signature": "p3Id6RdzIIVhvYCIAgIB+yOqtl2L9DYtjbluwbHJTnlrKvpYfFQ9g7gcH7qJwvHGpmxkaWjgrX+B24Q6RE3QBg=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 50,
            "settledUnits": 0,
            "heldSlots": 2,
            "runningSlots": 0,
            "grants": [
              {
                "id": "child",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "reserve"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 40,
                "notBefore": 0,
                "notAfter": 50,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              },
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": 1,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "child",
                "holder": "agent2",
                "price": 20,
                "slots": 1,
                "payload": "revocation/delayed-observation/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 30,
                "slots": 1,
                "payload": "revocation/delayed-observation/r2",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "observe_revoke",
            "tick": 3,
            "grantId": "g0",
            "eventId": "revocation/delayed-observation/4",
            "actor": "owner",
            "key": "revocation/delayed-observation/4",
            "signature": "Lm5LsPAPJcORSE+QizTvdMOQ8OVaE8Ka76kDH1LUAdRJmes4I0i4Vi6VvVphejU0NPbp5pE1W9y56bILpkdoBw=="
          },
          "result": {
            "code": "REVOKED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 50,
            "settledUnits": 0,
            "heldSlots": 2,
            "runningSlots": 0,
            "grants": [
              {
                "id": "child",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "reserve"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 40,
                "notBefore": 0,
                "notAfter": 50,
                "status": "revoked",
                "issuedAt": null,
                "observedAt": 3
              },
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "revoked",
                "issuedAt": 1,
                "observedAt": 3
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "child",
                "holder": "agent2",
                "price": 20,
                "slots": 1,
                "payload": "revocation/delayed-observation/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 30,
                "slots": 1,
                "payload": "revocation/delayed-observation/r2",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "grantId": "child",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "revocation/delayed-observation/r3",
            "startBy": 20,
            "type": "reserve",
            "tick": 4,
            "reservationId": "r3",
            "actor": "agent2",
            "eventId": "revocation/delayed-observation/5",
            "key": "revocation/delayed-observation/5",
            "signature": "F/lZPFduQjkKbbrHYfWK4Duo/G0HfJO3I1LOJSR/s3qU2hxt4WWo3csY8GoAJbITs5aHolPxGDtqcBm+M0VYDg=="
          },
          "result": {
            "code": "DENIED_AUTH",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 50,
            "settledUnits": 0,
            "heldSlots": 2,
            "runningSlots": 0,
            "grants": [
              {
                "id": "child",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "reserve"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 40,
                "notBefore": 0,
                "notAfter": 50,
                "status": "revoked",
                "issuedAt": null,
                "observedAt": 3
              },
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "revoked",
                "issuedAt": 1,
                "observedAt": 3
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "child",
                "holder": "agent2",
                "price": 20,
                "slots": 1,
                "payload": "revocation/delayed-observation/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 30,
                "slots": 1,
                "payload": "revocation/delayed-observation/r2",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 4,
            "reservationId": "r1",
            "actor": "agent2",
            "eventId": "revocation/delayed-observation/6",
            "key": "revocation/delayed-observation/6",
            "signature": "E6I/L3TGonfLEyx/tBvd7sJbYMQaExID06dcWN5j/MAAhA6krKYKrXu2PxlBf2CcAnojJK2jD3RF8ueB3aZ5DQ=="
          },
          "result": {
            "code": "STARTED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 50,
            "settledUnits": 0,
            "heldSlots": 2,
            "runningSlots": 1,
            "grants": [
              {
                "id": "child",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "reserve"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 40,
                "notBefore": 0,
                "notAfter": 50,
                "status": "revoked",
                "issuedAt": null,
                "observedAt": 3
              },
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "revoked",
                "issuedAt": 1,
                "observedAt": 3
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "child",
                "holder": "agent2",
                "price": 20,
                "slots": 1,
                "payload": "revocation/delayed-observation/r1",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 4,
                "settledAt": null,
                "digest": null
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 30,
                "slots": 1,
                "payload": "revocation/delayed-observation/r2",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 4,
            "reservationId": "r2",
            "eventId": "revocation/delayed-observation/7",
            "actor": "agent",
            "key": "revocation/delayed-observation/7",
            "signature": "Wgt6ZZ4/X9XfnEQZW57GJ+eMvWAQPW0poWf1lgiNHSeURO8BZHC9pVbzfAasqEiTV/AAajL6zTP9PqOenPYjCA=="
          },
          "result": {
            "code": "STARTED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 50,
            "settledUnits": 0,
            "heldSlots": 2,
            "runningSlots": 2,
            "grants": [
              {
                "id": "child",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "reserve"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 40,
                "notBefore": 0,
                "notAfter": 50,
                "status": "revoked",
                "issuedAt": null,
                "observedAt": 3
              },
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "revoked",
                "issuedAt": 1,
                "observedAt": 3
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "child",
                "holder": "agent2",
                "price": 20,
                "slots": 1,
                "payload": "revocation/delayed-observation/r1",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 4,
                "settledAt": null,
                "digest": null
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 30,
                "slots": 1,
                "payload": "revocation/delayed-observation/r2",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 4,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 5,
            "reservationId": "r1",
            "digest": "3e4c777c982ec218682a8edc73d5746a6957f3dad3c26d1ee4fb8576b3faa0ae",
            "eventId": "revocation/delayed-observation/8",
            "actor": "supplier",
            "key": "revocation/delayed-observation/8",
            "signature": "YAaZrSXjobSYNiPhoJSrCRczUG84qZCG3xEzMEl2Gj5XMv6u6diBAs7baaBmgCFuopzC4M0L0bTesxOiLAqwCQ=="
          },
          "result": {
            "code": "SETTLED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 30,
            "settledUnits": 20,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "child",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "reserve"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 40,
                "notBefore": 0,
                "notAfter": 50,
                "status": "revoked",
                "issuedAt": null,
                "observedAt": 3
              },
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "revoked",
                "issuedAt": 1,
                "observedAt": 3
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "child",
                "holder": "agent2",
                "price": 20,
                "slots": 1,
                "payload": "revocation/delayed-observation/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 4,
                "settledAt": 5,
                "digest": "3e4c777c982ec218682a8edc73d5746a6957f3dad3c26d1ee4fb8576b3faa0ae"
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 30,
                "slots": 1,
                "payload": "revocation/delayed-observation/r2",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 4,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 5,
            "reservationId": "r2",
            "digest": "3ad77c6a95ffeddf54ca6003d7494c1a185277f35242efa17633cd13d6e51297",
            "eventId": "revocation/delayed-observation/9",
            "actor": "supplier",
            "key": "revocation/delayed-observation/9",
            "signature": "TUZ8/clkLCsnfa0O3fogWHw4p77VVcE/q7ebB2BKhfEg3bKrpgpnIzAx96PwXWEx/7BAAL3gR39E+fCq3JkLDQ=="
          },
          "result": {
            "code": "SETTLED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 50,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "child",
                "grantor": "agent",
                "grantee": "agent2",
                "parentId": "g0",
                "actions": [
                  "reserve"
                ],
                "resource": "sha256",
                "perCallMax": 20,
                "maxTotal": 40,
                "notBefore": 0,
                "notAfter": 50,
                "status": "revoked",
                "issuedAt": null,
                "observedAt": 3
              },
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "revoked",
                "issuedAt": 1,
                "observedAt": 3
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "child",
                "holder": "agent2",
                "price": 20,
                "slots": 1,
                "payload": "revocation/delayed-observation/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 4,
                "settledAt": 5,
                "digest": "3e4c777c982ec218682a8edc73d5746a6957f3dad3c26d1ee4fb8576b3faa0ae"
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 30,
                "slots": 1,
                "payload": "revocation/delayed-observation/r2",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 4,
                "settledAt": 5,
                "digest": "3ad77c6a95ffeddf54ca6003d7494c1a185277f35242efa17633cd13d6e51297"
              }
            ]
          }
        }
      ]
    },
    {
      "id": "revocation/immediate-observation",
      "eventCount": 6,
      "matchedControllers": true,
      "realJobCount": 1,
      "realJobs": [
        {
          "jobId": "r1",
          "payload": "revocation/immediate-observation/r1",
          "resultDigest": "053146e3750d918e677044bdeb4f4a5b13aa80a8da9905dfebba15623e76718a",
          "executionCount": 1,
          "settled": true,
          "independentlyVerified": true
        }
      ],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 2,
        "heldUnits": 0,
        "settledUnits": 20,
        "heldSlots": 0,
        "runningSlots": 0,
        "grants": [
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 100,
            "status": "revoked",
            "issuedAt": 1,
            "observedAt": 1
          }
        ],
        "reservations": [
          {
            "id": "r1",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "revocation/immediate-observation/r1",
            "startBy": 20,
            "status": "SETTLED",
            "startedAt": 2,
            "settledAt": 3,
            "digest": "053146e3750d918e677044bdeb4f4a5b13aa80a8da9905dfebba15623e76718a"
          }
        ]
      },
      "revocation": {
        "acceptedBetweenIssueAndObservationUnits": 0,
        "outstandingUnitsAtObservation": 20,
        "settledAfterObservationUnits": 20,
        "newReservationsAfterObservationUnits": 0
      },
      "traceHash": "a12c49f91fb64e8aa9a80e3b6cf6b4eafb9e6b99b97fd7e0423290d93f6a9b92",
      "trace": [
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "revocation/immediate-observation/r1",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r1",
            "eventId": "revocation/immediate-observation/0",
            "actor": "agent",
            "key": "revocation/immediate-observation/0",
            "signature": "E2b5yda0b5x3QmyQgLmv2G0JiAVfrqaqI8cMlesQWassjRw/JPvEX4gA3vtqfDmS0AC8kuQeha6jOPlwhkQhBg=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "revocation/immediate-observation/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "issue_revoke",
            "tick": 1,
            "grantId": "g0",
            "eventId": "revocation/immediate-observation/1",
            "actor": "owner",
            "key": "revocation/immediate-observation/1",
            "signature": "+VawazA7hGvQ/E0GMOXEOvCQUQmBOw3LkYAj0/HhElTaSjhkE0rStFJbAbgpvKMJnFVAsRT6hYsag6hs2BGVBw=="
          },
          "result": {
            "code": "ISSUED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": 1,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "revocation/immediate-observation/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "observe_revoke",
            "tick": 1,
            "grantId": "g0",
            "eventId": "revocation/immediate-observation/2",
            "actor": "owner",
            "key": "revocation/immediate-observation/2",
            "signature": "v2l2ZqiGsnj8LgEXS0fhG4rGERGin1AwIz+3HNAOkW+nZr5qkFY5BNmJdH80LvNjnrV7rZhqrw/QAVOZCeNRAA=="
          },
          "result": {
            "code": "REVOKED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "revoked",
                "issuedAt": 1,
                "observedAt": 1
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "revocation/immediate-observation/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "revocation/immediate-observation/r2",
            "startBy": 20,
            "type": "reserve",
            "tick": 1,
            "reservationId": "r2",
            "eventId": "revocation/immediate-observation/3",
            "actor": "agent",
            "key": "revocation/immediate-observation/3",
            "signature": "lIrP2RamFRCcpaufy+6o4HMU/B/fB4Iu6URbnqadbqHza+pQW0eVGtWe2rS2cPpJwOi6w8CU7P5RWxr//94kBw=="
          },
          "result": {
            "code": "DENIED_AUTH",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "revoked",
                "issuedAt": 1,
                "observedAt": 1
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "revocation/immediate-observation/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 2,
            "reservationId": "r1",
            "eventId": "revocation/immediate-observation/4",
            "actor": "agent",
            "key": "revocation/immediate-observation/4",
            "signature": "SzkFM2qRUtuJ8QOeJzrMsWTafvaFJCuj4cqzc8FY8ZVAa4e4vqbnANlzWfq1NFCuC5EJvkFzy66id/OKPgfnAg=="
          },
          "result": {
            "code": "STARTED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "revoked",
                "issuedAt": 1,
                "observedAt": 1
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "revocation/immediate-observation/r1",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 2,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 3,
            "reservationId": "r1",
            "digest": "053146e3750d918e677044bdeb4f4a5b13aa80a8da9905dfebba15623e76718a",
            "eventId": "revocation/immediate-observation/5",
            "actor": "supplier",
            "key": "revocation/immediate-observation/5",
            "signature": "+af0ItY+i/zAFyZTp2Y4xHPm4IEdS/bO0BWfTTom0tBqpK/0dPnpy9AZBeaw/h2D1yHOBHBiVrxoqaWbSh4lBA=="
          },
          "result": {
            "code": "SETTLED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 20,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "revoked",
                "issuedAt": 1,
                "observedAt": 1
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "revocation/immediate-observation/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 2,
                "settledAt": 3,
                "digest": "053146e3750d918e677044bdeb4f4a5b13aa80a8da9905dfebba15623e76718a"
              }
            ]
          }
        }
      ]
    },
    {
      "id": "expiry/grant-before-hold",
      "eventCount": 7,
      "matchedControllers": true,
      "realJobCount": 1,
      "realJobs": [
        {
          "jobId": "r1",
          "payload": "expiry/grant-before-hold/r1",
          "resultDigest": "9f85d33780b40cbe6efafd08b43db3170f327cc464bff75be850cc54a03188ac",
          "executionCount": 1,
          "settled": true,
          "independentlyVerified": true
        }
      ],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 2,
        "heldUnits": 0,
        "settledUnits": 20,
        "heldSlots": 0,
        "runningSlots": 0,
        "grants": [
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 3,
            "status": "expired",
            "issuedAt": null,
            "observedAt": null
          }
        ],
        "reservations": [
          {
            "id": "r1",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "expiry/grant-before-hold/r1",
            "startBy": 8,
            "status": "SETTLED",
            "startedAt": 4,
            "settledAt": 9,
            "digest": "9f85d33780b40cbe6efafd08b43db3170f327cc464bff75be850cc54a03188ac"
          }
        ]
      },
      "traceHash": "7015b5cccd75c3aa3689bc3b88dd759a6c4fb60dbedffa5e3ad1d14a48e2cf30",
      "trace": [
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "expiry/grant-before-hold/r1",
            "startBy": 8,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r1",
            "eventId": "expiry/grant-before-hold/0",
            "actor": "agent",
            "key": "expiry/grant-before-hold/0",
            "signature": "OF0WncXI9H2bNSgD2or3Nvi/kfT6zOy3RmWaZCeOfiAGVEg2s5GY23zkhIQlga+S3vsJ5dxkl2W0t28xQT6cBw=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 3,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/grant-before-hold/r1",
                "startBy": 8,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "expire_grant",
            "tick": 2,
            "grantId": "g0",
            "eventId": "expiry/grant-before-hold/1",
            "actor": "owner",
            "key": "expiry/grant-before-hold/1",
            "signature": "twLptqiiMrQBycuDTqa7xWRSnWf1AIQkU/zqFUfsvX09yt5OLbA+mb8FvUkzoddviZiTJrlwujoMmzJiu8dyDw=="
          },
          "result": {
            "code": "DENIED_EXPIRY",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 3,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/grant-before-hold/r1",
                "startBy": 8,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "expire_grant",
            "tick": 3,
            "grantId": "g0",
            "eventId": "expiry/grant-before-hold/2",
            "actor": "owner",
            "key": "expiry/grant-before-hold/2",
            "signature": "4ZMsNTIeRLEQyOqjCV4lZMZO3RETzDHdUh/huR0CV2uLT4tE/10TR7VcdW7ylwYn0tp+YdX6XZ2o2CqtqVaEAA=="
          },
          "result": {
            "code": "GRANT_EXPIRED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 3,
                "status": "expired",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/grant-before-hold/r1",
                "startBy": 8,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "expiry/grant-before-hold/r2",
            "startBy": 20,
            "type": "reserve",
            "tick": 3,
            "reservationId": "r2",
            "eventId": "expiry/grant-before-hold/3",
            "actor": "agent",
            "key": "expiry/grant-before-hold/3",
            "signature": "CTgPlHZllNZvi/rTh45hH0ywQU9yFrmfjPmF3xBwY4QjOe0bZYjjzw9k/SiHt8xOZSlI/Y4AHXgioRAIwTn2BQ=="
          },
          "result": {
            "code": "DENIED_EXPIRY",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 3,
                "status": "expired",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/grant-before-hold/r1",
                "startBy": 8,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 4,
            "reservationId": "r1",
            "eventId": "expiry/grant-before-hold/4",
            "actor": "agent",
            "key": "expiry/grant-before-hold/4",
            "signature": "Mn/masXKliy7m5ImObExbNICNRFgjiAsXyo4BumUAzJDoECiFVNe49HgfhsoHYFFFUuvbrYGSq4BfTod1MosBw=="
          },
          "result": {
            "code": "STARTED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 3,
                "status": "expired",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/grant-before-hold/r1",
                "startBy": 8,
                "status": "RUNNING",
                "startedAt": 4,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "expire",
            "tick": 8,
            "reservationId": "r1",
            "eventId": "expiry/grant-before-hold/5",
            "actor": "owner",
            "key": "expiry/grant-before-hold/5",
            "signature": "S70i+gZzEE64svptsa5pD1m/CkFgWA8TlMtMzL09FQeRclqn8eGrFAVFvnMKIhSyjwfefWEVsNVlcAj1r94hCg=="
          },
          "result": {
            "code": "RUNNING_RETAINED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 3,
                "status": "expired",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/grant-before-hold/r1",
                "startBy": 8,
                "status": "RUNNING",
                "startedAt": 4,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 9,
            "reservationId": "r1",
            "digest": "9f85d33780b40cbe6efafd08b43db3170f327cc464bff75be850cc54a03188ac",
            "eventId": "expiry/grant-before-hold/6",
            "actor": "supplier",
            "key": "expiry/grant-before-hold/6",
            "signature": "TKzWBRMO82B9k93pGpTDVfC1mG0X8jgp+XHeOgdUUzsZ3gN01zc2J26KHUM0//3vBTNcBOimiRCEeaYquTkcCg=="
          },
          "result": {
            "code": "SETTLED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 20,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 3,
                "status": "expired",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/grant-before-hold/r1",
                "startBy": 8,
                "status": "SETTLED",
                "startedAt": 4,
                "settledAt": 9,
                "digest": "9f85d33780b40cbe6efafd08b43db3170f327cc464bff75be850cc54a03188ac"
              }
            ]
          }
        }
      ]
    },
    {
      "id": "expiry/unstarted-hold",
      "eventCount": 5,
      "matchedControllers": true,
      "realJobCount": 0,
      "realJobs": [],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 2,
        "heldUnits": 0,
        "settledUnits": 0,
        "heldSlots": 0,
        "runningSlots": 0,
        "grants": [
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 100,
            "status": "live",
            "issuedAt": null,
            "observedAt": null
          }
        ],
        "reservations": [
          {
            "id": "r1",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "expiry/unstarted-hold/r1",
            "startBy": 2,
            "status": "EXPIRED",
            "startedAt": null,
            "settledAt": null,
            "digest": null
          }
        ]
      },
      "traceHash": "be0ecaaf8ac6a07d3ad2e37ffe4f10d1644a32c7f2906e99b598a21190e60cbd",
      "trace": [
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "expiry/unstarted-hold/r1",
            "startBy": 2,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r1",
            "eventId": "expiry/unstarted-hold/0",
            "actor": "agent",
            "key": "expiry/unstarted-hold/0",
            "signature": "d+ECjkKZZOORowCRHF/iwDQ4gH0ORXtFqX/U2pT9qLO9FsWhScQdv27Nfd7guCdt6uq9r7nZKDKahdSsXLCZAQ=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/unstarted-hold/r1",
                "startBy": 2,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "expire",
            "tick": 1,
            "reservationId": "r1",
            "eventId": "expiry/unstarted-hold/1",
            "actor": "owner",
            "key": "expiry/unstarted-hold/1",
            "signature": "rkkgHv70o7yR2SdGHwX42yuCwxEuj8ynpDPl9yccplg0tQjMfO2Db9y9PEU8vBXYWgae1if1WZtLfrWK7//FCA=="
          },
          "result": {
            "code": "DENIED_EXPIRY",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/unstarted-hold/r1",
                "startBy": 2,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 2,
            "reservationId": "r1",
            "eventId": "expiry/unstarted-hold/2",
            "actor": "agent",
            "key": "expiry/unstarted-hold/2",
            "signature": "SvMK08wJYgM5v+u4qE9FVjbVwXIPU/QvRw8U2Vjyge1R03+PjQPYyW2vVuqiuic8eUsrzDi7b62EdMCv8Ph3Bw=="
          },
          "result": {
            "code": "DENIED_EXPIRY",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/unstarted-hold/r1",
                "startBy": 2,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "expire",
            "tick": 2,
            "reservationId": "r1",
            "eventId": "expiry/unstarted-hold/3",
            "actor": "owner",
            "key": "expiry/unstarted-hold/3",
            "signature": "Ayb+PwqRgDUAt5wGi9ERTAX7dPPidXvLIv04RUw3i2Jd5FzIydW3kqCRPVXo9ly5OL2G/43TR76ZRlEVPFtDCg=="
          },
          "result": {
            "code": "EXPIRED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/unstarted-hold/r1",
                "startBy": 2,
                "status": "EXPIRED",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 3,
            "reservationId": "r1",
            "digest": "3be89f797566410e18e7c918e5fa554a4681bba366967bec9c7f698f44c1bbf8",
            "eventId": "expiry/unstarted-hold/4",
            "actor": "supplier",
            "key": "expiry/unstarted-hold/4",
            "signature": "9JFN63f8yO8I0o9dR6wNReATKQDV4zrTAqxXx13L6q3RcJXuncOmbFdz12lECV6nKCztquiSNBU418Px8dmIDg=="
          },
          "result": {
            "code": "DENIED_STATE",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 0,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/unstarted-hold/r1",
                "startBy": 2,
                "status": "EXPIRED",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        }
      ]
    },
    {
      "id": "expiry/expiry-before-completion",
      "eventCount": 4,
      "matchedControllers": true,
      "realJobCount": 1,
      "realJobs": [
        {
          "jobId": "r1",
          "payload": "expiry/expiry-before-completion/r1",
          "resultDigest": "6de07c8f9241a886d3b77c8c5d4e6aa7e2d0cd7e3e0e5c9f45123e0eaad32efd",
          "executionCount": 1,
          "settled": true,
          "independentlyVerified": true
        }
      ],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 2,
        "heldUnits": 0,
        "settledUnits": 20,
        "heldSlots": 0,
        "runningSlots": 0,
        "grants": [
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 100,
            "status": "live",
            "issuedAt": null,
            "observedAt": null
          }
        ],
        "reservations": [
          {
            "id": "r1",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "expiry/expiry-before-completion/r1",
            "startBy": 2,
            "status": "SETTLED",
            "startedAt": 1,
            "settledAt": 2,
            "digest": "6de07c8f9241a886d3b77c8c5d4e6aa7e2d0cd7e3e0e5c9f45123e0eaad32efd"
          }
        ]
      },
      "traceHash": "dba3e630341ea211806aaf522ec9b126d40321a697b71490d28de4aa1601cfc2",
      "trace": [
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "expiry/expiry-before-completion/r1",
            "startBy": 2,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r1",
            "eventId": "expiry/expiry-before-completion/0",
            "actor": "agent",
            "key": "expiry/expiry-before-completion/0",
            "signature": "fi0ikJY5nXZgWHzc/LrB+VVqn1ibasE/kjurZfdet9yewZyDXtM87kkQwnCLi9eSeyADCSo7ta/ntnb//4iVBA=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/expiry-before-completion/r1",
                "startBy": 2,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 1,
            "reservationId": "r1",
            "eventId": "expiry/expiry-before-completion/1",
            "actor": "agent",
            "key": "expiry/expiry-before-completion/1",
            "signature": "iQvX6H/HjkNtfjh+GvOClj1hDBSgkjz9Ktqkk9g/1TMctYMDSEj12BJ28Q2w54TbHDIT7qWBwQNbwVTY63c6Bw=="
          },
          "result": {
            "code": "STARTED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/expiry-before-completion/r1",
                "startBy": 2,
                "status": "RUNNING",
                "startedAt": 1,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "expire",
            "tick": 2,
            "reservationId": "r1",
            "eventId": "expiry/expiry-before-completion/2",
            "actor": "owner",
            "key": "expiry/expiry-before-completion/2",
            "signature": "1YwOVVUGddS4LLEmZ+E2wxngX2NNr9hHDp19AOhrapzBUeI4PkMchaiq7ZqO36U2AhT0oX30aHdBW2RMdUCWAQ=="
          },
          "result": {
            "code": "RUNNING_RETAINED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/expiry-before-completion/r1",
                "startBy": 2,
                "status": "RUNNING",
                "startedAt": 1,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 2,
            "reservationId": "r1",
            "digest": "6de07c8f9241a886d3b77c8c5d4e6aa7e2d0cd7e3e0e5c9f45123e0eaad32efd",
            "eventId": "expiry/expiry-before-completion/3",
            "actor": "supplier",
            "key": "expiry/expiry-before-completion/3",
            "signature": "u68BuISjDAd+OaxZjaoDrPFJMCx8zHMP6E5Y8uimMGwNEohZfHwxWxypfWsTjJrgWrc2fz6hBRDwan2Tk3l5Cg=="
          },
          "result": {
            "code": "SETTLED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 20,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/expiry-before-completion/r1",
                "startBy": 2,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "6de07c8f9241a886d3b77c8c5d4e6aa7e2d0cd7e3e0e5c9f45123e0eaad32efd"
              }
            ]
          }
        }
      ]
    },
    {
      "id": "expiry/completion-before-expiry",
      "eventCount": 4,
      "matchedControllers": true,
      "realJobCount": 1,
      "realJobs": [
        {
          "jobId": "r1",
          "payload": "expiry/completion-before-expiry/r1",
          "resultDigest": "131a8f810f97b6ce8b71c348fc5cbf9a1fcc847517990937632bc4ec57adf9d0",
          "executionCount": 1,
          "settled": true,
          "independentlyVerified": true
        }
      ],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 2,
        "heldUnits": 0,
        "settledUnits": 20,
        "heldSlots": 0,
        "runningSlots": 0,
        "grants": [
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 100,
            "status": "live",
            "issuedAt": null,
            "observedAt": null
          }
        ],
        "reservations": [
          {
            "id": "r1",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "expiry/completion-before-expiry/r1",
            "startBy": 2,
            "status": "SETTLED",
            "startedAt": 1,
            "settledAt": 2,
            "digest": "131a8f810f97b6ce8b71c348fc5cbf9a1fcc847517990937632bc4ec57adf9d0"
          }
        ]
      },
      "traceHash": "7733679af895d7daeff26bf52196cd4edea5f8a1f071f0a41f5229bed59ab88c",
      "trace": [
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "expiry/completion-before-expiry/r1",
            "startBy": 2,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r1",
            "eventId": "expiry/completion-before-expiry/0",
            "actor": "agent",
            "key": "expiry/completion-before-expiry/0",
            "signature": "qQsDiE/31SQFBt+UTEYbDZzsau9FkOciOw+2M36xECcnOBjwYP/DFvA1K1OXFVX9lFisXaZMliTHgjnnFvuBCg=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/completion-before-expiry/r1",
                "startBy": 2,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 1,
            "reservationId": "r1",
            "eventId": "expiry/completion-before-expiry/1",
            "actor": "agent",
            "key": "expiry/completion-before-expiry/1",
            "signature": "SDCWrxctL9UrXmTeZclWRauQk9LXP7NP/AIn/70/W3ftGS7+qDlrQfCPHEYXMOrDFOIGKvsA7t+N2P5Vesw1AQ=="
          },
          "result": {
            "code": "STARTED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/completion-before-expiry/r1",
                "startBy": 2,
                "status": "RUNNING",
                "startedAt": 1,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 2,
            "reservationId": "r1",
            "digest": "131a8f810f97b6ce8b71c348fc5cbf9a1fcc847517990937632bc4ec57adf9d0",
            "eventId": "expiry/completion-before-expiry/2",
            "actor": "supplier",
            "key": "expiry/completion-before-expiry/2",
            "signature": "mmPeTajayP95VYUZWOR8z+GFlGOdQ1EbqPS7/Xk8M0uCxFs6oM+SL27jC57gA+HCWwQ9U9J77GL9LIu5zMXvAg=="
          },
          "result": {
            "code": "SETTLED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 20,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/completion-before-expiry/r1",
                "startBy": 2,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "131a8f810f97b6ce8b71c348fc5cbf9a1fcc847517990937632bc4ec57adf9d0"
              }
            ]
          }
        },
        {
          "event": {
            "type": "expire",
            "tick": 2,
            "reservationId": "r1",
            "eventId": "expiry/completion-before-expiry/3",
            "actor": "owner",
            "key": "expiry/completion-before-expiry/3",
            "signature": "Dt+I3N6OsbEMvA2TjnjRp3w4YMAvyolCv8055H/wJX5wK/i30RZ4WC1xRH3Yn7CNxq6tjnxffxm5mSrkcLNwAQ=="
          },
          "result": {
            "code": "DENIED_STATE",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 0,
            "settledUnits": 20,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "expiry/completion-before-expiry/r1",
                "startBy": 2,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "131a8f810f97b6ce8b71c348fc5cbf9a1fcc847517990937632bc4ec57adf9d0"
              }
            ]
          }
        }
      ]
    },
    {
      "id": "local-refusal/default",
      "eventCount": 13,
      "matchedControllers": true,
      "realJobCount": 2,
      "realJobs": [
        {
          "jobId": "r1",
          "payload": "local-refusal/default/r1",
          "resultDigest": "cee34c75cb031d6ab1bd7046ebabfc05774021f8b0903fe3693f887ddd273a86",
          "executionCount": 1,
          "settled": true,
          "independentlyVerified": true
        },
        {
          "jobId": "r2",
          "payload": "local-refusal/default/r2",
          "resultDigest": "d259cf6efb7ae617ebaf0d58b4d1883eb0819b0c4aeb97c04de48833e24a1c35",
          "executionCount": 1,
          "settled": true,
          "independentlyVerified": true
        }
      ],
      "final": {
        "budget": 100,
        "capacity": 2,
        "localLimit": 0,
        "heldUnits": 0,
        "settledUnits": 40,
        "heldSlots": 0,
        "runningSlots": 0,
        "grants": [
          {
            "id": "g0",
            "grantor": "owner",
            "grantee": "agent",
            "parentId": null,
            "actions": [
              "reserve",
              "start",
              "settle",
              "release",
              "delegate"
            ],
            "resource": "sha256",
            "perCallMax": 60,
            "maxTotal": 100,
            "notBefore": 0,
            "notAfter": 100,
            "status": "live",
            "issuedAt": null,
            "observedAt": null
          }
        ],
        "reservations": [
          {
            "id": "r1",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "local-refusal/default/r1",
            "startBy": 20,
            "status": "SETTLED",
            "startedAt": 1,
            "settledAt": 2,
            "digest": "cee34c75cb031d6ab1bd7046ebabfc05774021f8b0903fe3693f887ddd273a86"
          },
          {
            "id": "r2",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "local-refusal/default/r2",
            "startBy": 20,
            "status": "SETTLED",
            "startedAt": 3,
            "settledAt": 4,
            "digest": "d259cf6efb7ae617ebaf0d58b4d1883eb0819b0c4aeb97c04de48833e24a1c35"
          },
          {
            "id": "r3",
            "grantId": "g0",
            "holder": "agent",
            "price": 20,
            "slots": 1,
            "payload": "local-refusal/default/r3",
            "startBy": 20,
            "status": "RELEASED",
            "startedAt": null,
            "settledAt": null,
            "digest": null
          }
        ]
      },
      "traceHash": "fb892b529874d2e9b8a90d46093f1e2c99313f3d0306fcffdae3c1ac8112e376",
      "trace": [
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "local-refusal/default/r1",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r1",
            "eventId": "local-refusal/default/0",
            "actor": "agent",
            "key": "local-refusal/default/0",
            "signature": "T1Fha6v1nBWA2B5sTltOwkPDs6TU7xxKdLlV+zmX3mIMlsOhfyyJl76yE6WiRF7KGWA12iZNudc6ysg39QBAAg=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 20,
            "settledUnits": 0,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "local-refusal/default/r2",
            "startBy": 20,
            "type": "reserve",
            "tick": 0,
            "reservationId": "r2",
            "eventId": "local-refusal/default/1",
            "actor": "agent",
            "key": "local-refusal/default/1",
            "signature": "K/WkRd9LpMBVD/PLRTIijto7VFGqU1qbR83WR4U6uSDlkx1BtwFXSCdR0+DZMyJptkgf9rFRq+fRrFoATkMJDw=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 2,
            "heldUnits": 40,
            "settledUnits": 0,
            "heldSlots": 2,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r2",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "local_limit",
            "tick": 0,
            "limit": 1,
            "eventId": "local-refusal/default/2",
            "actor": "supplier",
            "key": "local-refusal/default/2",
            "signature": "2nqXpoMpIPZ5ygOCSLBY7Ri4HIRyy6K3klUV4N4me//4/XC0naIFH+H8NFB6TuYaujmZ8LIbzKOicnqrHj2LAA=="
          },
          "result": {
            "code": "LOCAL_LIMIT",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 1,
            "heldUnits": 40,
            "settledUnits": 0,
            "heldSlots": 2,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r1",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r2",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 1,
            "reservationId": "r1",
            "eventId": "local-refusal/default/3",
            "actor": "agent",
            "key": "local-refusal/default/3",
            "signature": "iis58DI7W05asup1tx3VZSIzoHl22eOxltkyYb/loMGadYfOQGwU1hWc0tYY72viX6fJ0KJ2BaXh7KlJLNvMAg=="
          },
          "result": {
            "code": "STARTED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 1,
            "heldUnits": 40,
            "settledUnits": 0,
            "heldSlots": 2,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r1",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 1,
                "settledAt": null,
                "digest": null
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r2",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 1,
            "reservationId": "r2",
            "eventId": "local-refusal/default/4",
            "actor": "agent",
            "key": "local-refusal/default/4",
            "signature": "1icrF1BC4GZUASe1OL3w4gCkZHcOWQ+ZhzeaEIGJ14tTRPsZwIGASIixhNjmmpF4Ca4qA3dyixmGTMUDET9OCA=="
          },
          "result": {
            "code": "DENIED_LOCAL",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 1,
            "heldUnits": 40,
            "settledUnits": 0,
            "heldSlots": 2,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r1",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 1,
                "settledAt": null,
                "digest": null
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r2",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "local_limit",
            "tick": 1,
            "limit": 0,
            "eventId": "local-refusal/default/5",
            "actor": "supplier",
            "key": "local-refusal/default/5",
            "signature": "CkiCAS/sqA+lsYKJqINrpbV0nPS5ceQOcZz/MGkb/wj9eawNqsUHeuL1le3Fu/mIgW6juKHLveVFeNwTW4moDw=="
          },
          "result": {
            "code": "DENIED_LOCAL",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 1,
            "heldUnits": 40,
            "settledUnits": 0,
            "heldSlots": 2,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r1",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 1,
                "settledAt": null,
                "digest": null
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r2",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 2,
            "reservationId": "r1",
            "digest": "cee34c75cb031d6ab1bd7046ebabfc05774021f8b0903fe3693f887ddd273a86",
            "eventId": "local-refusal/default/6",
            "actor": "supplier",
            "key": "local-refusal/default/6",
            "signature": "95fzdzzlYGLEMfQD0NA6M4gJ5DC9cpk6nq3DOxXN7w4NNpVl76Em0Zxc0595jWbGGBCf315TV2canWFuO1M1BQ=="
          },
          "result": {
            "code": "SETTLED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 1,
            "heldUnits": 20,
            "settledUnits": 20,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "cee34c75cb031d6ab1bd7046ebabfc05774021f8b0903fe3693f887ddd273a86"
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r2",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 3,
            "reservationId": "r2",
            "eventId": "local-refusal/default/7",
            "actor": "agent",
            "key": "local-refusal/default/7",
            "signature": "ME1YFricJhXk2dYwgVzVlmXRlIVPxs8HLVigfGXN8Ki5/Ys4B0tGN4N9QT/1KRLAgcqM/4gfH/KOi245HhLmCg=="
          },
          "result": {
            "code": "STARTED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 1,
            "heldUnits": 20,
            "settledUnits": 20,
            "heldSlots": 1,
            "runningSlots": 1,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "cee34c75cb031d6ab1bd7046ebabfc05774021f8b0903fe3693f887ddd273a86"
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r2",
                "startBy": 20,
                "status": "RUNNING",
                "startedAt": 3,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "settle",
            "tick": 4,
            "reservationId": "r2",
            "digest": "d259cf6efb7ae617ebaf0d58b4d1883eb0819b0c4aeb97c04de48833e24a1c35",
            "eventId": "local-refusal/default/8",
            "actor": "supplier",
            "key": "local-refusal/default/8",
            "signature": "YF9tdOn8ae6AZFxxBFLsJtcHdgJfCguYN8h44ZN9qxp0W9Jz7PiYzDU47kBHA5t54znA8fGKiY5zJfNeWhuPBQ=="
          },
          "result": {
            "code": "SETTLED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 1,
            "heldUnits": 0,
            "settledUnits": 40,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "cee34c75cb031d6ab1bd7046ebabfc05774021f8b0903fe3693f887ddd273a86"
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r2",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 3,
                "settledAt": 4,
                "digest": "d259cf6efb7ae617ebaf0d58b4d1883eb0819b0c4aeb97c04de48833e24a1c35"
              }
            ]
          }
        },
        {
          "event": {
            "type": "local_limit",
            "tick": 4,
            "limit": 0,
            "eventId": "local-refusal/default/9",
            "actor": "supplier",
            "key": "local-refusal/default/9",
            "signature": "niK/USFFzQrX4+01bvN56x2HT7ZYB0/UWurF6daI84q6ojrRjwzzp1Mrmz7D9fUhV0dtz6UEswC/Ls1dol2tBg=="
          },
          "result": {
            "code": "LOCAL_LIMIT",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 0,
            "heldUnits": 0,
            "settledUnits": 40,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "cee34c75cb031d6ab1bd7046ebabfc05774021f8b0903fe3693f887ddd273a86"
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r2",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 3,
                "settledAt": 4,
                "digest": "d259cf6efb7ae617ebaf0d58b4d1883eb0819b0c4aeb97c04de48833e24a1c35"
              }
            ]
          }
        },
        {
          "event": {
            "grantId": "g0",
            "resource": "sha256",
            "price": 20,
            "slots": 1,
            "payload": "local-refusal/default/r3",
            "startBy": 20,
            "type": "reserve",
            "tick": 5,
            "reservationId": "r3",
            "eventId": "local-refusal/default/10",
            "actor": "agent",
            "key": "local-refusal/default/10",
            "signature": "C1ZSD2b8h2z8acyO/6aVVfuA1MvewwdRRwyCfESOzKp1wX8DUYl8fcqulXN4WtPt5FJ/4t/nWnwgOkY11LcOCw=="
          },
          "result": {
            "code": "RESERVED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 0,
            "heldUnits": 20,
            "settledUnits": 40,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "cee34c75cb031d6ab1bd7046ebabfc05774021f8b0903fe3693f887ddd273a86"
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r2",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 3,
                "settledAt": 4,
                "digest": "d259cf6efb7ae617ebaf0d58b4d1883eb0819b0c4aeb97c04de48833e24a1c35"
              },
              {
                "id": "r3",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r3",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "start",
            "tick": 6,
            "reservationId": "r3",
            "eventId": "local-refusal/default/11",
            "actor": "agent",
            "key": "local-refusal/default/11",
            "signature": "5NBHHHIpQTRd4UnAz3SHHOjtui9fOvmB/4y2mrZcTmok03hP5jKk6WAYCqQpjiOOiPcEAW54CEa+fEp91ckFDg=="
          },
          "result": {
            "code": "DENIED_LOCAL",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 0,
            "heldUnits": 20,
            "settledUnits": 40,
            "heldSlots": 1,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "cee34c75cb031d6ab1bd7046ebabfc05774021f8b0903fe3693f887ddd273a86"
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r2",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 3,
                "settledAt": 4,
                "digest": "d259cf6efb7ae617ebaf0d58b4d1883eb0819b0c4aeb97c04de48833e24a1c35"
              },
              {
                "id": "r3",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r3",
                "startBy": 20,
                "status": "HELD",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        },
        {
          "event": {
            "type": "release",
            "tick": 7,
            "reservationId": "r3",
            "eventId": "local-refusal/default/12",
            "actor": "agent",
            "key": "local-refusal/default/12",
            "signature": "6ln8U5Tjpm2HtCfQvfjm9Nkn1TDtOJSz+oiDXl/6APGBg8YExKJ+XeuI9YLKkylaNQYz9rQL6VCoIw7QkqTJDw=="
          },
          "result": {
            "code": "RELEASED",
            "replay": false
          },
          "snapshot": {
            "budget": 100,
            "capacity": 2,
            "localLimit": 0,
            "heldUnits": 0,
            "settledUnits": 40,
            "heldSlots": 0,
            "runningSlots": 0,
            "grants": [
              {
                "id": "g0",
                "grantor": "owner",
                "grantee": "agent",
                "parentId": null,
                "actions": [
                  "reserve",
                  "start",
                  "settle",
                  "release",
                  "delegate"
                ],
                "resource": "sha256",
                "perCallMax": 60,
                "maxTotal": 100,
                "notBefore": 0,
                "notAfter": 100,
                "status": "live",
                "issuedAt": null,
                "observedAt": null
              }
            ],
            "reservations": [
              {
                "id": "r1",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r1",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 1,
                "settledAt": 2,
                "digest": "cee34c75cb031d6ab1bd7046ebabfc05774021f8b0903fe3693f887ddd273a86"
              },
              {
                "id": "r2",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r2",
                "startBy": 20,
                "status": "SETTLED",
                "startedAt": 3,
                "settledAt": 4,
                "digest": "d259cf6efb7ae617ebaf0d58b4d1883eb0819b0c4aeb97c04de48833e24a1c35"
              },
              {
                "id": "r3",
                "grantId": "g0",
                "holder": "agent",
                "price": 20,
                "slots": 1,
                "payload": "local-refusal/default/r3",
                "startBy": 20,
                "status": "RELEASED",
                "startedAt": null,
                "settledAt": null,
                "digest": null
              }
            ]
          }
        }
      ]
    }
  ],
  "negativeControls": [
    {
      "mutation": "aggregate-budget-bypass",
      "caseId": "joint-budget",
      "variant": "60-first",
      "invariant": "shared-budget",
      "fault": "Skips shared and ancestor budget checks; admits 60 + 50 against 100. This is not a measured concurrent race.",
      "detected": true,
      "detectedBy": "shared-budget",
      "counterexample": "shared-budget: held + running + settled exceeds budget",
      "evidence": {
        "fixtureId": "joint-budget/60-first",
        "eventIndex": 1,
        "failingSignedEvent": {
          "grantId": "g0",
          "resource": "sha256",
          "price": 50,
          "slots": 1,
          "payload": "joint-budget/60-first/r2",
          "startBy": 20,
          "type": "reserve",
          "tick": 0,
          "reservationId": "r2",
          "eventId": "joint-budget/60-first/1",
          "actor": "agent",
          "key": "joint-budget/60-first/1",
          "signature": "1Ddob9NnEGt240hWjYoUYhPD7u7I/2u8VV8zQW8qG3G5LAyflrQkLtxui3oqY01p+Jbsf3MM/pQzN3xHiTVxAw=="
        },
        "referenceResult": {
          "code": "DENIED_BUDGET",
          "replay": false
        },
        "mandateResult": {
          "code": "RESERVED",
          "replay": false
        },
        "beforeReference": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 2,
          "heldUnits": 60,
          "settledUnits": 0,
          "heldSlots": 1,
          "runningSlots": 0,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 60,
              "slots": 1,
              "payload": "joint-budget/60-first/r1",
              "startBy": 20,
              "status": "HELD",
              "startedAt": null,
              "settledAt": null,
              "digest": null
            }
          ]
        },
        "afterReference": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 2,
          "heldUnits": 60,
          "settledUnits": 0,
          "heldSlots": 1,
          "runningSlots": 0,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 60,
              "slots": 1,
              "payload": "joint-budget/60-first/r1",
              "startBy": 20,
              "status": "HELD",
              "startedAt": null,
              "settledAt": null,
              "digest": null
            }
          ]
        },
        "beforeMandate": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 2,
          "heldUnits": 60,
          "settledUnits": 0,
          "heldSlots": 1,
          "runningSlots": 0,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 60,
              "slots": 1,
              "payload": "joint-budget/60-first/r1",
              "startBy": 20,
              "status": "HELD",
              "startedAt": null,
              "settledAt": null,
              "digest": null
            }
          ]
        },
        "afterMandate": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 2,
          "heldUnits": 110,
          "settledUnits": 0,
          "heldSlots": 2,
          "runningSlots": 0,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 60,
              "slots": 1,
              "payload": "joint-budget/60-first/r1",
              "startBy": 20,
              "status": "HELD",
              "startedAt": null,
              "settledAt": null,
              "digest": null
            },
            {
              "id": "r2",
              "grantId": "g0",
              "holder": "agent",
              "price": 50,
              "slots": 1,
              "payload": "joint-budget/60-first/r2",
              "startBy": 20,
              "status": "HELD",
              "startedAt": null,
              "settledAt": null,
              "digest": null
            }
          ]
        },
        "tracePrefix": [
          {
            "event": {
              "grantId": "g0",
              "resource": "sha256",
              "price": 60,
              "slots": 1,
              "payload": "joint-budget/60-first/r1",
              "startBy": 20,
              "type": "reserve",
              "tick": 0,
              "reservationId": "r1",
              "eventId": "joint-budget/60-first/0",
              "actor": "agent",
              "key": "joint-budget/60-first/0",
              "signature": "nUzpdM0GZYnLP3vx1Li48lSrLtRNhBp6FP2ZmIiABJJquUypo9Z0cE4qMlT9tWXbE91AC0FflfSoNIT95W3gDg=="
            },
            "result": {
              "code": "RESERVED",
              "replay": false
            },
            "snapshot": {
              "budget": 100,
              "capacity": 2,
              "localLimit": 2,
              "heldUnits": 60,
              "settledUnits": 0,
              "heldSlots": 1,
              "runningSlots": 0,
              "grants": [
                {
                  "id": "g0",
                  "grantor": "owner",
                  "grantee": "agent",
                  "parentId": null,
                  "actions": [
                    "reserve",
                    "start",
                    "settle",
                    "release",
                    "delegate"
                  ],
                  "resource": "sha256",
                  "perCallMax": 60,
                  "maxTotal": 100,
                  "notBefore": 0,
                  "notAfter": 100,
                  "status": "live",
                  "issuedAt": null,
                  "observedAt": null
                }
              ],
              "reservations": [
                {
                  "id": "r1",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 60,
                  "slots": 1,
                  "payload": "joint-budget/60-first/r1",
                  "startBy": 20,
                  "status": "HELD",
                  "startedAt": null,
                  "settledAt": null,
                  "digest": null
                }
              ]
            }
          }
        ],
        "realJobs": []
      },
      "realJobCount": 0
    },
    {
      "mutation": "duplicate-settlement",
      "caseId": "idempotency",
      "variant": "default",
      "invariant": "accounting-reconstruction",
      "fault": "A fresh settlement key debits a terminal reservation twice.",
      "detected": true,
      "detectedBy": "accounting-reconstruction",
      "counterexample": "accounting-reconstruction: settledUnits",
      "evidence": {
        "fixtureId": "idempotency/default",
        "eventIndex": 7,
        "failingSignedEvent": {
          "type": "settle",
          "tick": 7,
          "reservationId": "r1",
          "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8",
          "eventId": "idempotency/default/7",
          "actor": "supplier",
          "key": "idempotency/default/7",
          "signature": "x84WViXMKr50EGs08Mc5eC0pnFW+gNHW94pnnCdvvaO35b+WoacCQlGHDRbFZmu5VMxR3axZvt2ul0/dptwqAw=="
        },
        "referenceResult": {
          "code": "DENIED_STATE",
          "replay": false
        },
        "mandateResult": {
          "code": "SETTLED",
          "replay": false
        },
        "beforeReference": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 2,
          "heldUnits": 0,
          "settledUnits": 20,
          "heldSlots": 0,
          "runningSlots": 0,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "idempotency/default/r1",
              "startBy": 20,
              "status": "SETTLED",
              "startedAt": 3,
              "settledAt": 5,
              "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8"
            }
          ]
        },
        "afterReference": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 2,
          "heldUnits": 0,
          "settledUnits": 20,
          "heldSlots": 0,
          "runningSlots": 0,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "idempotency/default/r1",
              "startBy": 20,
              "status": "SETTLED",
              "startedAt": 3,
              "settledAt": 5,
              "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8"
            }
          ]
        },
        "beforeMandate": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 2,
          "heldUnits": 0,
          "settledUnits": 20,
          "heldSlots": 0,
          "runningSlots": 0,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "idempotency/default/r1",
              "startBy": 20,
              "status": "SETTLED",
              "startedAt": 3,
              "settledAt": 5,
              "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8"
            }
          ]
        },
        "afterMandate": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 2,
          "heldUnits": 0,
          "settledUnits": 40,
          "heldSlots": 0,
          "runningSlots": 0,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "idempotency/default/r1",
              "startBy": 20,
              "status": "SETTLED",
              "startedAt": 3,
              "settledAt": 5,
              "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8"
            }
          ]
        },
        "tracePrefix": [
          {
            "event": {
              "grantId": "g0",
              "resource": "sha256",
              "price": 20,
              "slots": 1,
              "payload": "idempotency/default/r1",
              "startBy": 20,
              "type": "reserve",
              "tick": 0,
              "reservationId": "r1",
              "key": "reserve-once",
              "eventId": "idempotency/default/0",
              "actor": "agent",
              "signature": "ymLPDlxdRmT5TOLcUGWDsvE3AibYJ6rYm/MAn+FIFp/I2aRDJk2W/Y9nT5dGDA2uXZmuJq7vbAnE7VU2NpxLAA=="
            },
            "result": {
              "code": "RESERVED",
              "replay": false
            },
            "snapshot": {
              "budget": 100,
              "capacity": 2,
              "localLimit": 2,
              "heldUnits": 20,
              "settledUnits": 0,
              "heldSlots": 1,
              "runningSlots": 0,
              "grants": [
                {
                  "id": "g0",
                  "grantor": "owner",
                  "grantee": "agent",
                  "parentId": null,
                  "actions": [
                    "reserve",
                    "start",
                    "settle",
                    "release",
                    "delegate"
                  ],
                  "resource": "sha256",
                  "perCallMax": 60,
                  "maxTotal": 100,
                  "notBefore": 0,
                  "notAfter": 100,
                  "status": "live",
                  "issuedAt": null,
                  "observedAt": null
                }
              ],
              "reservations": [
                {
                  "id": "r1",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "idempotency/default/r1",
                  "startBy": 20,
                  "status": "HELD",
                  "startedAt": null,
                  "settledAt": null,
                  "digest": null
                }
              ]
            }
          },
          {
            "event": {
              "grantId": "g0",
              "resource": "sha256",
              "price": 20,
              "slots": 1,
              "payload": "idempotency/default/r1",
              "startBy": 20,
              "type": "reserve",
              "tick": 1,
              "reservationId": "r1",
              "key": "reserve-once",
              "eventId": "idempotency/default/1",
              "actor": "agent",
              "signature": "7dOn7+L8e1402aCS3HbBcfTmkr3N34m4UUHJTp9jzUh2gT4VWphStPBLfiooI+8bYYvnz7hrC3BjdLiov7B5BA=="
            },
            "result": {
              "code": "RESERVED",
              "replay": true
            },
            "snapshot": {
              "budget": 100,
              "capacity": 2,
              "localLimit": 2,
              "heldUnits": 20,
              "settledUnits": 0,
              "heldSlots": 1,
              "runningSlots": 0,
              "grants": [
                {
                  "id": "g0",
                  "grantor": "owner",
                  "grantee": "agent",
                  "parentId": null,
                  "actions": [
                    "reserve",
                    "start",
                    "settle",
                    "release",
                    "delegate"
                  ],
                  "resource": "sha256",
                  "perCallMax": 60,
                  "maxTotal": 100,
                  "notBefore": 0,
                  "notAfter": 100,
                  "status": "live",
                  "issuedAt": null,
                  "observedAt": null
                }
              ],
              "reservations": [
                {
                  "id": "r1",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "idempotency/default/r1",
                  "startBy": 20,
                  "status": "HELD",
                  "startedAt": null,
                  "settledAt": null,
                  "digest": null
                }
              ]
            }
          },
          {
            "event": {
              "grantId": "g0",
              "resource": "sha256",
              "price": 21,
              "slots": 1,
              "payload": "idempotency/default/r1",
              "startBy": 20,
              "type": "reserve",
              "tick": 2,
              "reservationId": "r1",
              "key": "reserve-once",
              "eventId": "idempotency/default/2",
              "actor": "agent",
              "signature": "SKCgg11E1QnW6bxgu3C4ekbSeVfR5x44i+m5U0/NJR6K4pyJZ98S76tH/NQwKVJUAq3SFDBYBpPUShYCDBPVCQ=="
            },
            "result": {
              "code": "IDEMPOTENCY_CONFLICT",
              "replay": false
            },
            "snapshot": {
              "budget": 100,
              "capacity": 2,
              "localLimit": 2,
              "heldUnits": 20,
              "settledUnits": 0,
              "heldSlots": 1,
              "runningSlots": 0,
              "grants": [
                {
                  "id": "g0",
                  "grantor": "owner",
                  "grantee": "agent",
                  "parentId": null,
                  "actions": [
                    "reserve",
                    "start",
                    "settle",
                    "release",
                    "delegate"
                  ],
                  "resource": "sha256",
                  "perCallMax": 60,
                  "maxTotal": 100,
                  "notBefore": 0,
                  "notAfter": 100,
                  "status": "live",
                  "issuedAt": null,
                  "observedAt": null
                }
              ],
              "reservations": [
                {
                  "id": "r1",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "idempotency/default/r1",
                  "startBy": 20,
                  "status": "HELD",
                  "startedAt": null,
                  "settledAt": null,
                  "digest": null
                }
              ]
            }
          },
          {
            "event": {
              "type": "start",
              "tick": 3,
              "reservationId": "r1",
              "key": "start-once",
              "eventId": "idempotency/default/3",
              "actor": "agent",
              "signature": "yn6449YI7PjjnvaOSPS6kXsVBIJ75NOKqZphCus4qYV0WpwE2FIGxLzWnyzNqeHNHnL1AmTHTTa+r/g1XBqwAQ=="
            },
            "result": {
              "code": "STARTED",
              "replay": false
            },
            "snapshot": {
              "budget": 100,
              "capacity": 2,
              "localLimit": 2,
              "heldUnits": 20,
              "settledUnits": 0,
              "heldSlots": 1,
              "runningSlots": 1,
              "grants": [
                {
                  "id": "g0",
                  "grantor": "owner",
                  "grantee": "agent",
                  "parentId": null,
                  "actions": [
                    "reserve",
                    "start",
                    "settle",
                    "release",
                    "delegate"
                  ],
                  "resource": "sha256",
                  "perCallMax": 60,
                  "maxTotal": 100,
                  "notBefore": 0,
                  "notAfter": 100,
                  "status": "live",
                  "issuedAt": null,
                  "observedAt": null
                }
              ],
              "reservations": [
                {
                  "id": "r1",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "idempotency/default/r1",
                  "startBy": 20,
                  "status": "RUNNING",
                  "startedAt": 3,
                  "settledAt": null,
                  "digest": null
                }
              ]
            }
          },
          {
            "event": {
              "type": "start",
              "tick": 4,
              "reservationId": "r1",
              "key": "start-once",
              "eventId": "idempotency/default/4",
              "actor": "agent",
              "signature": "+DHyb8CpmiFCcwPbuO8WyEFE/jv2FFN+qLtUsGAPxwasmuavxsrsMRNopIJOmcSRnqyi866Zek21kln4n5OkDA=="
            },
            "result": {
              "code": "STARTED",
              "replay": true
            },
            "snapshot": {
              "budget": 100,
              "capacity": 2,
              "localLimit": 2,
              "heldUnits": 20,
              "settledUnits": 0,
              "heldSlots": 1,
              "runningSlots": 1,
              "grants": [
                {
                  "id": "g0",
                  "grantor": "owner",
                  "grantee": "agent",
                  "parentId": null,
                  "actions": [
                    "reserve",
                    "start",
                    "settle",
                    "release",
                    "delegate"
                  ],
                  "resource": "sha256",
                  "perCallMax": 60,
                  "maxTotal": 100,
                  "notBefore": 0,
                  "notAfter": 100,
                  "status": "live",
                  "issuedAt": null,
                  "observedAt": null
                }
              ],
              "reservations": [
                {
                  "id": "r1",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "idempotency/default/r1",
                  "startBy": 20,
                  "status": "RUNNING",
                  "startedAt": 3,
                  "settledAt": null,
                  "digest": null
                }
              ]
            }
          },
          {
            "event": {
              "type": "settle",
              "tick": 5,
              "reservationId": "r1",
              "key": "settle-once",
              "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8",
              "eventId": "idempotency/default/5",
              "actor": "supplier",
              "signature": "BnAdGLEjtCw2XVk2LRXiPt0oA8WN+ldEqgYeFcK22XMqdjLo/AWDmpEOG3tO34vh04Pb6/pViDjxFgP60uCPBA=="
            },
            "result": {
              "code": "SETTLED",
              "replay": false
            },
            "snapshot": {
              "budget": 100,
              "capacity": 2,
              "localLimit": 2,
              "heldUnits": 0,
              "settledUnits": 20,
              "heldSlots": 0,
              "runningSlots": 0,
              "grants": [
                {
                  "id": "g0",
                  "grantor": "owner",
                  "grantee": "agent",
                  "parentId": null,
                  "actions": [
                    "reserve",
                    "start",
                    "settle",
                    "release",
                    "delegate"
                  ],
                  "resource": "sha256",
                  "perCallMax": 60,
                  "maxTotal": 100,
                  "notBefore": 0,
                  "notAfter": 100,
                  "status": "live",
                  "issuedAt": null,
                  "observedAt": null
                }
              ],
              "reservations": [
                {
                  "id": "r1",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "idempotency/default/r1",
                  "startBy": 20,
                  "status": "SETTLED",
                  "startedAt": 3,
                  "settledAt": 5,
                  "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8"
                }
              ]
            }
          },
          {
            "event": {
              "type": "settle",
              "tick": 6,
              "reservationId": "r1",
              "key": "settle-once",
              "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8",
              "eventId": "idempotency/default/6",
              "actor": "supplier",
              "signature": "IWnb+3mprloVswWeZkO0tXS+PT5XA+MAYJbps2yDh/jlLtYGTSPXWuGUdUiz7T1vS2RFNzjplkMU57SVULzkCA=="
            },
            "result": {
              "code": "SETTLED",
              "replay": true
            },
            "snapshot": {
              "budget": 100,
              "capacity": 2,
              "localLimit": 2,
              "heldUnits": 0,
              "settledUnits": 20,
              "heldSlots": 0,
              "runningSlots": 0,
              "grants": [
                {
                  "id": "g0",
                  "grantor": "owner",
                  "grantee": "agent",
                  "parentId": null,
                  "actions": [
                    "reserve",
                    "start",
                    "settle",
                    "release",
                    "delegate"
                  ],
                  "resource": "sha256",
                  "perCallMax": 60,
                  "maxTotal": 100,
                  "notBefore": 0,
                  "notAfter": 100,
                  "status": "live",
                  "issuedAt": null,
                  "observedAt": null
                }
              ],
              "reservations": [
                {
                  "id": "r1",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "idempotency/default/r1",
                  "startBy": 20,
                  "status": "SETTLED",
                  "startedAt": 3,
                  "settledAt": 5,
                  "digest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8"
                }
              ]
            }
          }
        ],
        "realJobs": [
          {
            "jobId": "r1",
            "payload": "idempotency/default/r1",
            "resultDigest": "cb15c2794a3c283dfc5f44a570d65feb904398b6e27a04b8042916ecfe1433b8",
            "executionCount": 1,
            "settled": true,
            "independentlyVerified": true
          }
        ]
      },
      "realJobCount": 1
    },
    {
      "mutation": "release-running-on-expiry",
      "caseId": "expiry",
      "variant": "expiry-before-completion",
      "invariant": "reservation-lifecycle",
      "fault": "Hold expiry releases an already running service liability.",
      "detected": true,
      "detectedBy": "reservation-lifecycle",
      "counterexample": "reservation-lifecycle: r1: RUNNING -> EXPIRED",
      "evidence": {
        "fixtureId": "expiry/expiry-before-completion",
        "eventIndex": 2,
        "failingSignedEvent": {
          "type": "expire",
          "tick": 2,
          "reservationId": "r1",
          "eventId": "expiry/expiry-before-completion/2",
          "actor": "owner",
          "key": "expiry/expiry-before-completion/2",
          "signature": "1YwOVVUGddS4LLEmZ+E2wxngX2NNr9hHDp19AOhrapzBUeI4PkMchaiq7ZqO36U2AhT0oX30aHdBW2RMdUCWAQ=="
        },
        "referenceResult": {
          "code": "RUNNING_RETAINED",
          "replay": false,
          "reservationId": "r1"
        },
        "mandateResult": {
          "code": "EXPIRED",
          "replay": false
        },
        "beforeReference": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 2,
          "heldUnits": 20,
          "settledUnits": 0,
          "heldSlots": 1,
          "runningSlots": 1,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "expiry/expiry-before-completion/r1",
              "startBy": 2,
              "status": "RUNNING",
              "startedAt": 1,
              "settledAt": null,
              "digest": null
            }
          ]
        },
        "afterReference": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 2,
          "heldUnits": 20,
          "settledUnits": 0,
          "heldSlots": 1,
          "runningSlots": 1,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "expiry/expiry-before-completion/r1",
              "startBy": 2,
              "status": "RUNNING",
              "startedAt": 1,
              "settledAt": null,
              "digest": null
            }
          ]
        },
        "beforeMandate": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 2,
          "heldUnits": 20,
          "settledUnits": 0,
          "heldSlots": 1,
          "runningSlots": 1,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "expiry/expiry-before-completion/r1",
              "startBy": 2,
              "status": "RUNNING",
              "startedAt": 1,
              "settledAt": null,
              "digest": null
            }
          ]
        },
        "afterMandate": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 2,
          "heldUnits": 0,
          "settledUnits": 0,
          "heldSlots": 0,
          "runningSlots": 0,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "expiry/expiry-before-completion/r1",
              "startBy": 2,
              "status": "EXPIRED",
              "startedAt": 1,
              "settledAt": null,
              "digest": null
            }
          ]
        },
        "tracePrefix": [
          {
            "event": {
              "grantId": "g0",
              "resource": "sha256",
              "price": 20,
              "slots": 1,
              "payload": "expiry/expiry-before-completion/r1",
              "startBy": 2,
              "type": "reserve",
              "tick": 0,
              "reservationId": "r1",
              "eventId": "expiry/expiry-before-completion/0",
              "actor": "agent",
              "key": "expiry/expiry-before-completion/0",
              "signature": "fi0ikJY5nXZgWHzc/LrB+VVqn1ibasE/kjurZfdet9yewZyDXtM87kkQwnCLi9eSeyADCSo7ta/ntnb//4iVBA=="
            },
            "result": {
              "code": "RESERVED",
              "replay": false
            },
            "snapshot": {
              "budget": 100,
              "capacity": 2,
              "localLimit": 2,
              "heldUnits": 20,
              "settledUnits": 0,
              "heldSlots": 1,
              "runningSlots": 0,
              "grants": [
                {
                  "id": "g0",
                  "grantor": "owner",
                  "grantee": "agent",
                  "parentId": null,
                  "actions": [
                    "reserve",
                    "start",
                    "settle",
                    "release",
                    "delegate"
                  ],
                  "resource": "sha256",
                  "perCallMax": 60,
                  "maxTotal": 100,
                  "notBefore": 0,
                  "notAfter": 100,
                  "status": "live",
                  "issuedAt": null,
                  "observedAt": null
                }
              ],
              "reservations": [
                {
                  "id": "r1",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "expiry/expiry-before-completion/r1",
                  "startBy": 2,
                  "status": "HELD",
                  "startedAt": null,
                  "settledAt": null,
                  "digest": null
                }
              ]
            }
          },
          {
            "event": {
              "type": "start",
              "tick": 1,
              "reservationId": "r1",
              "eventId": "expiry/expiry-before-completion/1",
              "actor": "agent",
              "key": "expiry/expiry-before-completion/1",
              "signature": "iQvX6H/HjkNtfjh+GvOClj1hDBSgkjz9Ktqkk9g/1TMctYMDSEj12BJ28Q2w54TbHDIT7qWBwQNbwVTY63c6Bw=="
            },
            "result": {
              "code": "STARTED",
              "replay": false
            },
            "snapshot": {
              "budget": 100,
              "capacity": 2,
              "localLimit": 2,
              "heldUnits": 20,
              "settledUnits": 0,
              "heldSlots": 1,
              "runningSlots": 1,
              "grants": [
                {
                  "id": "g0",
                  "grantor": "owner",
                  "grantee": "agent",
                  "parentId": null,
                  "actions": [
                    "reserve",
                    "start",
                    "settle",
                    "release",
                    "delegate"
                  ],
                  "resource": "sha256",
                  "perCallMax": 60,
                  "maxTotal": 100,
                  "notBefore": 0,
                  "notAfter": 100,
                  "status": "live",
                  "issuedAt": null,
                  "observedAt": null
                }
              ],
              "reservations": [
                {
                  "id": "r1",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "expiry/expiry-before-completion/r1",
                  "startBy": 2,
                  "status": "RUNNING",
                  "startedAt": 1,
                  "settledAt": null,
                  "digest": null
                }
              ]
            }
          }
        ],
        "realJobs": [
          {
            "jobId": "r1",
            "payload": "expiry/expiry-before-completion/r1",
            "resultDigest": "6de07c8f9241a886d3b77c8c5d4e6aa7e2d0cd7e3e0e5c9f45123e0eaad32efd",
            "executionCount": 1,
            "settled": false,
            "independentlyVerified": true
          }
        ]
      },
      "realJobCount": 1
    },
    {
      "mutation": "bypass-local-quota",
      "caseId": "local-refusal",
      "variant": "default",
      "invariant": "local-quota",
      "fault": "A second job starts after the supplier reduces admission quota to one.",
      "detected": true,
      "detectedBy": "local-quota",
      "counterexample": "local-quota: running commitments exceed supplier limit",
      "evidence": {
        "fixtureId": "local-refusal/default",
        "eventIndex": 4,
        "failingSignedEvent": {
          "type": "start",
          "tick": 1,
          "reservationId": "r2",
          "eventId": "local-refusal/default/4",
          "actor": "agent",
          "key": "local-refusal/default/4",
          "signature": "1icrF1BC4GZUASe1OL3w4gCkZHcOWQ+ZhzeaEIGJ14tTRPsZwIGASIixhNjmmpF4Ca4qA3dyixmGTMUDET9OCA=="
        },
        "referenceResult": {
          "code": "DENIED_LOCAL",
          "replay": false
        },
        "mandateResult": {
          "code": "STARTED",
          "replay": false
        },
        "beforeReference": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 1,
          "heldUnits": 40,
          "settledUnits": 0,
          "heldSlots": 2,
          "runningSlots": 1,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "local-refusal/default/r1",
              "startBy": 20,
              "status": "RUNNING",
              "startedAt": 1,
              "settledAt": null,
              "digest": null
            },
            {
              "id": "r2",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "local-refusal/default/r2",
              "startBy": 20,
              "status": "HELD",
              "startedAt": null,
              "settledAt": null,
              "digest": null
            }
          ]
        },
        "afterReference": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 1,
          "heldUnits": 40,
          "settledUnits": 0,
          "heldSlots": 2,
          "runningSlots": 1,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "local-refusal/default/r1",
              "startBy": 20,
              "status": "RUNNING",
              "startedAt": 1,
              "settledAt": null,
              "digest": null
            },
            {
              "id": "r2",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "local-refusal/default/r2",
              "startBy": 20,
              "status": "HELD",
              "startedAt": null,
              "settledAt": null,
              "digest": null
            }
          ]
        },
        "beforeMandate": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 1,
          "heldUnits": 40,
          "settledUnits": 0,
          "heldSlots": 2,
          "runningSlots": 1,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "local-refusal/default/r1",
              "startBy": 20,
              "status": "RUNNING",
              "startedAt": 1,
              "settledAt": null,
              "digest": null
            },
            {
              "id": "r2",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "local-refusal/default/r2",
              "startBy": 20,
              "status": "HELD",
              "startedAt": null,
              "settledAt": null,
              "digest": null
            }
          ]
        },
        "afterMandate": {
          "budget": 100,
          "capacity": 2,
          "localLimit": 1,
          "heldUnits": 40,
          "settledUnits": 0,
          "heldSlots": 2,
          "runningSlots": 2,
          "grants": [
            {
              "id": "g0",
              "grantor": "owner",
              "grantee": "agent",
              "parentId": null,
              "actions": [
                "reserve",
                "start",
                "settle",
                "release",
                "delegate"
              ],
              "resource": "sha256",
              "perCallMax": 60,
              "maxTotal": 100,
              "notBefore": 0,
              "notAfter": 100,
              "status": "live",
              "issuedAt": null,
              "observedAt": null
            }
          ],
          "reservations": [
            {
              "id": "r1",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "local-refusal/default/r1",
              "startBy": 20,
              "status": "RUNNING",
              "startedAt": 1,
              "settledAt": null,
              "digest": null
            },
            {
              "id": "r2",
              "grantId": "g0",
              "holder": "agent",
              "price": 20,
              "slots": 1,
              "payload": "local-refusal/default/r2",
              "startBy": 20,
              "status": "RUNNING",
              "startedAt": 1,
              "settledAt": null,
              "digest": null
            }
          ]
        },
        "tracePrefix": [
          {
            "event": {
              "grantId": "g0",
              "resource": "sha256",
              "price": 20,
              "slots": 1,
              "payload": "local-refusal/default/r1",
              "startBy": 20,
              "type": "reserve",
              "tick": 0,
              "reservationId": "r1",
              "eventId": "local-refusal/default/0",
              "actor": "agent",
              "key": "local-refusal/default/0",
              "signature": "T1Fha6v1nBWA2B5sTltOwkPDs6TU7xxKdLlV+zmX3mIMlsOhfyyJl76yE6WiRF7KGWA12iZNudc6ysg39QBAAg=="
            },
            "result": {
              "code": "RESERVED",
              "replay": false
            },
            "snapshot": {
              "budget": 100,
              "capacity": 2,
              "localLimit": 2,
              "heldUnits": 20,
              "settledUnits": 0,
              "heldSlots": 1,
              "runningSlots": 0,
              "grants": [
                {
                  "id": "g0",
                  "grantor": "owner",
                  "grantee": "agent",
                  "parentId": null,
                  "actions": [
                    "reserve",
                    "start",
                    "settle",
                    "release",
                    "delegate"
                  ],
                  "resource": "sha256",
                  "perCallMax": 60,
                  "maxTotal": 100,
                  "notBefore": 0,
                  "notAfter": 100,
                  "status": "live",
                  "issuedAt": null,
                  "observedAt": null
                }
              ],
              "reservations": [
                {
                  "id": "r1",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "local-refusal/default/r1",
                  "startBy": 20,
                  "status": "HELD",
                  "startedAt": null,
                  "settledAt": null,
                  "digest": null
                }
              ]
            }
          },
          {
            "event": {
              "grantId": "g0",
              "resource": "sha256",
              "price": 20,
              "slots": 1,
              "payload": "local-refusal/default/r2",
              "startBy": 20,
              "type": "reserve",
              "tick": 0,
              "reservationId": "r2",
              "eventId": "local-refusal/default/1",
              "actor": "agent",
              "key": "local-refusal/default/1",
              "signature": "K/WkRd9LpMBVD/PLRTIijto7VFGqU1qbR83WR4U6uSDlkx1BtwFXSCdR0+DZMyJptkgf9rFRq+fRrFoATkMJDw=="
            },
            "result": {
              "code": "RESERVED",
              "replay": false
            },
            "snapshot": {
              "budget": 100,
              "capacity": 2,
              "localLimit": 2,
              "heldUnits": 40,
              "settledUnits": 0,
              "heldSlots": 2,
              "runningSlots": 0,
              "grants": [
                {
                  "id": "g0",
                  "grantor": "owner",
                  "grantee": "agent",
                  "parentId": null,
                  "actions": [
                    "reserve",
                    "start",
                    "settle",
                    "release",
                    "delegate"
                  ],
                  "resource": "sha256",
                  "perCallMax": 60,
                  "maxTotal": 100,
                  "notBefore": 0,
                  "notAfter": 100,
                  "status": "live",
                  "issuedAt": null,
                  "observedAt": null
                }
              ],
              "reservations": [
                {
                  "id": "r1",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "local-refusal/default/r1",
                  "startBy": 20,
                  "status": "HELD",
                  "startedAt": null,
                  "settledAt": null,
                  "digest": null
                },
                {
                  "id": "r2",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "local-refusal/default/r2",
                  "startBy": 20,
                  "status": "HELD",
                  "startedAt": null,
                  "settledAt": null,
                  "digest": null
                }
              ]
            }
          },
          {
            "event": {
              "type": "local_limit",
              "tick": 0,
              "limit": 1,
              "eventId": "local-refusal/default/2",
              "actor": "supplier",
              "key": "local-refusal/default/2",
              "signature": "2nqXpoMpIPZ5ygOCSLBY7Ri4HIRyy6K3klUV4N4me//4/XC0naIFH+H8NFB6TuYaujmZ8LIbzKOicnqrHj2LAA=="
            },
            "result": {
              "code": "LOCAL_LIMIT",
              "replay": false
            },
            "snapshot": {
              "budget": 100,
              "capacity": 2,
              "localLimit": 1,
              "heldUnits": 40,
              "settledUnits": 0,
              "heldSlots": 2,
              "runningSlots": 0,
              "grants": [
                {
                  "id": "g0",
                  "grantor": "owner",
                  "grantee": "agent",
                  "parentId": null,
                  "actions": [
                    "reserve",
                    "start",
                    "settle",
                    "release",
                    "delegate"
                  ],
                  "resource": "sha256",
                  "perCallMax": 60,
                  "maxTotal": 100,
                  "notBefore": 0,
                  "notAfter": 100,
                  "status": "live",
                  "issuedAt": null,
                  "observedAt": null
                }
              ],
              "reservations": [
                {
                  "id": "r1",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "local-refusal/default/r1",
                  "startBy": 20,
                  "status": "HELD",
                  "startedAt": null,
                  "settledAt": null,
                  "digest": null
                },
                {
                  "id": "r2",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "local-refusal/default/r2",
                  "startBy": 20,
                  "status": "HELD",
                  "startedAt": null,
                  "settledAt": null,
                  "digest": null
                }
              ]
            }
          },
          {
            "event": {
              "type": "start",
              "tick": 1,
              "reservationId": "r1",
              "eventId": "local-refusal/default/3",
              "actor": "agent",
              "key": "local-refusal/default/3",
              "signature": "iis58DI7W05asup1tx3VZSIzoHl22eOxltkyYb/loMGadYfOQGwU1hWc0tYY72viX6fJ0KJ2BaXh7KlJLNvMAg=="
            },
            "result": {
              "code": "STARTED",
              "replay": false
            },
            "snapshot": {
              "budget": 100,
              "capacity": 2,
              "localLimit": 1,
              "heldUnits": 40,
              "settledUnits": 0,
              "heldSlots": 2,
              "runningSlots": 1,
              "grants": [
                {
                  "id": "g0",
                  "grantor": "owner",
                  "grantee": "agent",
                  "parentId": null,
                  "actions": [
                    "reserve",
                    "start",
                    "settle",
                    "release",
                    "delegate"
                  ],
                  "resource": "sha256",
                  "perCallMax": 60,
                  "maxTotal": 100,
                  "notBefore": 0,
                  "notAfter": 100,
                  "status": "live",
                  "issuedAt": null,
                  "observedAt": null
                }
              ],
              "reservations": [
                {
                  "id": "r1",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "local-refusal/default/r1",
                  "startBy": 20,
                  "status": "RUNNING",
                  "startedAt": 1,
                  "settledAt": null,
                  "digest": null
                },
                {
                  "id": "r2",
                  "grantId": "g0",
                  "holder": "agent",
                  "price": 20,
                  "slots": 1,
                  "payload": "local-refusal/default/r2",
                  "startBy": 20,
                  "status": "HELD",
                  "startedAt": null,
                  "settledAt": null,
                  "digest": null
                }
              ]
            }
          }
        ],
        "realJobs": [
          {
            "jobId": "r1",
            "payload": "local-refusal/default/r1",
            "resultDigest": "cee34c75cb031d6ab1bd7046ebabfc05774021f8b0903fe3693f887ddd273a86",
            "executionCount": 1,
            "settled": false,
            "independentlyVerified": true
          }
        ]
      },
      "realJobCount": 1
    }
  ],
  "resultsHash": "a997e2f2660ca4b58f1fd4fec119706f37c5ffb362c79107f487355b8a3eb6d5"
}
