{
  "run": {
    "startedAt": "2026-11-14T04:09:49.720Z",
    "core": "core 2 (local, ~/dynamo-core2/state), owner-api 1.11.0, modes none and card (Stripe TEST)",
    "sdk": "@dynamoprotocol/sdk 4.3.3",
    "unit": "micro-USD (1 unit = 1 micro-USD)",
    "finishedAt": "2026-11-14T04:10:35.872Z",
    "note": "Earlier attempts on core 2 the same night (budgets bgt_c1ef83a11f0f2a2d28083e1d, bgt_9d4f0a206c2f1ba4574e5e85, bgt_f9c2daa66c3cef64cc2cd12b) were script rework and are closed; they are not part of this record."
  },
  "card": {
    "source": "this run",
    "at": "2026-11-14T04:10:00.936Z",
    "topupId": "top_MOQnCU0cNP-NuDLm",
    "endUserRef": "agency-client-acme",
    "amountMicroUsd": "20000000000",
    "page": {
      "text": "Your budget is funded Your credit card is authorized for up to $20000.00. Only what the service actually uses is captured; the rest of the hold is released when the budget closes. Budget bgt_c9f70cb9e1213ea0f1d46dae"
    },
    "state": "funded",
    "budgetId": "bgt_c9f70cb9e1213ea0f1d46dae",
    "rootStreamId": "stm_b48d87821284fbcdbe89b432",
    "card": "Stripe test Visa card ending 4242 (manual-capture authorization for the full amount)"
  },
  "tree": {
    "source": "this run",
    "how": "the top-up's own stream is the root (consent-attributed hop, cap = the top-up amount, payee = the orchestrator agent); each child is opened under its parent through POST /owner/v1/budgets/:id/streams with the parent payee's signed hop intent and the child payee's signed standing offer (own hops are required in the card mode)",
    "streams": [
      {
        "role": "orchestrator",
        "streamId": "stm_b48d87821284fbcdbe89b432",
        "parentStreamId": null,
        "depth": 1,
        "capUnits": "20000000000",
        "ratePerSecondUnits": "20000000000",
        "payee": "0xc9D1c8c869555b203b993cCA6A36D021c1f24380"
      },
      {
        "role": "research",
        "streamId": "stm_245bc658a79e40b9aac3aadc",
        "parentStreamId": "stm_b48d87821284fbcdbe89b432",
        "depth": 2,
        "capUnits": "8000000000",
        "ratePerSecondUnits": "2000000000",
        "payee": "0xe24965f7585eeAa6197Cf4FB6b5F57D39C4DA39A",
        "openedAt": "2026-11-14T04:10:01.029Z"
      },
      {
        "role": "writer",
        "streamId": "stm_9a2158aee776a35d1a0b7f03",
        "parentStreamId": "stm_b48d87821284fbcdbe89b432",
        "depth": 2,
        "capUnits": "6000000000",
        "ratePerSecondUnits": "200000000",
        "payee": "0xf7eD350B889286EE5A05b34C2deeABdab904B67C",
        "openedAt": "2026-11-14T04:10:01.102Z"
      },
      {
        "role": "images",
        "streamId": "stm_4545ea2672dde1a8ffbff956",
        "parentStreamId": "stm_b48d87821284fbcdbe89b432",
        "depth": 2,
        "capUnits": "4000000000",
        "ratePerSecondUnits": "4000000000",
        "payee": "0xaeAd47E106e56FCf526Cd97B90680Ede8CFff584",
        "openedAt": "2026-11-14T04:10:01.175Z"
      },
      {
        "role": "research sub-agent",
        "streamId": "stm_ae40e8738b5b17931f284e7b",
        "parentStreamId": "stm_245bc658a79e40b9aac3aadc",
        "depth": 3,
        "capUnits": "3000000000",
        "ratePerSecondUnits": "1000000000",
        "payee": "0xc9cC18703a7fD64cC141A8291bde7C5436FEcC26",
        "openedAt": "2026-11-14T04:10:01.240Z"
      }
    ],
    "coreTree": [
      {
        "id": "stm_b48d87821284fbcdbe89b432",
        "parentStreamId": null,
        "depth": 1,
        "capUnits": "20000000000",
        "state": "open"
      },
      {
        "id": "stm_245bc658a79e40b9aac3aadc",
        "parentStreamId": "stm_b48d87821284fbcdbe89b432",
        "depth": 2,
        "capUnits": "8000000000",
        "state": "open"
      },
      {
        "id": "stm_4545ea2672dde1a8ffbff956",
        "parentStreamId": "stm_b48d87821284fbcdbe89b432",
        "depth": 2,
        "capUnits": "4000000000",
        "state": "open"
      },
      {
        "id": "stm_9a2158aee776a35d1a0b7f03",
        "parentStreamId": "stm_b48d87821284fbcdbe89b432",
        "depth": 2,
        "capUnits": "6000000000",
        "state": "open"
      },
      {
        "id": "stm_ae40e8738b5b17931f284e7b",
        "parentStreamId": "stm_245bc658a79e40b9aac3aadc",
        "depth": 3,
        "capUnits": "3000000000",
        "state": "open"
      }
    ]
  },
  "ticks": {
    "source": "this run",
    "ticks": [
      {
        "stream": "research",
        "streamId": "stm_245bc658a79e40b9aac3aadc",
        "requestRef": "research-1",
        "units": "1000000000",
        "at": "2026-11-14T04:10:03.242Z",
        "accepted": true,
        "voucherSeq": 1,
        "cumulativeMicroUsd": "1000000000"
      },
      {
        "stream": "research",
        "streamId": "stm_245bc658a79e40b9aac3aadc",
        "requestRef": "research-2",
        "units": "1000000000",
        "at": "2026-11-14T04:10:03.461Z",
        "accepted": true,
        "voucherSeq": 2,
        "cumulativeMicroUsd": "2000000000"
      },
      {
        "stream": "research",
        "streamId": "stm_245bc658a79e40b9aac3aadc",
        "requestRef": "research-3",
        "units": "1000000000",
        "at": "2026-11-14T04:10:03.665Z",
        "accepted": true,
        "voucherSeq": 3,
        "cumulativeMicroUsd": "3000000000"
      },
      {
        "stream": "subagent",
        "streamId": "stm_ae40e8738b5b17931f284e7b",
        "requestRef": "subagent-1",
        "units": "1000000000",
        "at": "2026-11-14T04:10:03.733Z",
        "accepted": true,
        "voucherSeq": 1,
        "cumulativeMicroUsd": "1000000000"
      },
      {
        "stream": "subagent",
        "streamId": "stm_ae40e8738b5b17931f284e7b",
        "requestRef": "subagent-2",
        "units": "1000000000",
        "at": "2026-11-14T04:10:03.949Z",
        "accepted": true,
        "voucherSeq": 2,
        "cumulativeMicroUsd": "2000000000"
      },
      {
        "stream": "writer",
        "streamId": "stm_9a2158aee776a35d1a0b7f03",
        "requestRef": "writer-1",
        "units": "200000000",
        "at": "2026-11-14T04:10:04.018Z",
        "accepted": true,
        "voucherSeq": 1,
        "cumulativeMicroUsd": "200000000"
      },
      {
        "stream": "writer",
        "streamId": "stm_9a2158aee776a35d1a0b7f03",
        "requestRef": "writer-2",
        "units": "200000000",
        "at": "2026-11-14T04:10:04.086Z",
        "accepted": true,
        "voucherSeq": 2,
        "cumulativeMicroUsd": "400000000"
      },
      {
        "stream": "images",
        "streamId": "stm_4545ea2672dde1a8ffbff956",
        "requestRef": "images-1",
        "units": "1000000000",
        "at": "2026-11-14T04:10:04.158Z",
        "accepted": true,
        "voucherSeq": 1,
        "cumulativeMicroUsd": "1000000000"
      },
      {
        "stream": "images",
        "streamId": "stm_4545ea2672dde1a8ffbff956",
        "requestRef": "images-2",
        "units": "1000000000",
        "at": "2026-11-14T04:10:04.370Z",
        "accepted": true,
        "voucherSeq": 2,
        "cumulativeMicroUsd": "2000000000"
      },
      {
        "stream": "images",
        "streamId": "stm_4545ea2672dde1a8ffbff956",
        "requestRef": "images-3",
        "units": "1000000000",
        "at": "2026-11-14T04:10:04.577Z",
        "accepted": true,
        "voucherSeq": 3,
        "cumulativeMicroUsd": "3000000000"
      },
      {
        "stream": "images",
        "streamId": "stm_4545ea2672dde1a8ffbff956",
        "requestRef": "images-4",
        "units": "1000000000",
        "at": "2026-11-14T04:10:04.794Z",
        "accepted": true,
        "voucherSeq": 4,
        "cumulativeMicroUsd": "4000000000"
      },
      {
        "stream": "root",
        "streamId": "stm_b48d87821284fbcdbe89b432",
        "requestRef": "orchestrator-1",
        "units": "1000000000",
        "at": "2026-11-14T04:10:06.552Z",
        "accepted": true,
        "voucherSeq": 1,
        "cumulativeMicroUsd": "1000000000"
      }
    ]
  },
  "rate": {
    "source": "this run",
    "stream": "writer",
    "ratePerSecondUnits": "200000000",
    "openedAt": "2026-11-14T04:10:01.102Z",
    "attempt": {
      "stream": "writer",
      "streamId": "stm_9a2158aee776a35d1a0b7f03",
      "requestRef": "writer-burst",
      "units": "900000000",
      "at": "2026-11-14T04:10:03.237Z",
      "accepted": false,
      "reason": "rate",
      "code": "rate",
      "status": 409,
      "message": "halt(rate) stream=stm_9a2158aee776a35d1a0b7f03: halt(rate) stream=stm_9a2158aee776a35d1a0b7f03: rate envelope: 0 + 900000000 > 400000000 (200000000/s x 2s)"
    }
  },
  "cap": {
    "source": "this run",
    "stream": "images",
    "capUnits": "4000000000",
    "ticks": [
      {
        "stream": "images",
        "streamId": "stm_4545ea2672dde1a8ffbff956",
        "requestRef": "images-1",
        "units": "1000000000",
        "at": "2026-11-14T04:10:04.158Z",
        "accepted": true,
        "voucherSeq": 1,
        "cumulativeMicroUsd": "1000000000"
      },
      {
        "stream": "images",
        "streamId": "stm_4545ea2672dde1a8ffbff956",
        "requestRef": "images-2",
        "units": "1000000000",
        "at": "2026-11-14T04:10:04.370Z",
        "accepted": true,
        "voucherSeq": 2,
        "cumulativeMicroUsd": "2000000000"
      },
      {
        "stream": "images",
        "streamId": "stm_4545ea2672dde1a8ffbff956",
        "requestRef": "images-3",
        "units": "1000000000",
        "at": "2026-11-14T04:10:04.577Z",
        "accepted": true,
        "voucherSeq": 3,
        "cumulativeMicroUsd": "3000000000"
      },
      {
        "stream": "images",
        "streamId": "stm_4545ea2672dde1a8ffbff956",
        "requestRef": "images-4",
        "units": "1000000000",
        "at": "2026-11-14T04:10:04.794Z",
        "accepted": true,
        "voucherSeq": 4,
        "cumulativeMicroUsd": "4000000000"
      },
      {
        "stream": "images",
        "streamId": "stm_4545ea2672dde1a8ffbff956",
        "requestRef": "images-5",
        "units": "1",
        "at": "2026-11-14T04:10:05.001Z",
        "accepted": false,
        "reason": "cap",
        "code": "cap",
        "status": 409,
        "message": "halt(cap) stream=stm_4545ea2672dde1a8ffbff956: halt(cap) stream=stm_4545ea2672dde1a8ffbff956: own cap: 4000000000 + 1 > 4000000000"
      }
    ],
    "refusal": {
      "stream": "images",
      "streamId": "stm_4545ea2672dde1a8ffbff956",
      "requestRef": "images-5",
      "units": "1",
      "at": "2026-11-14T04:10:05.001Z",
      "accepted": false,
      "reason": "cap",
      "code": "cap",
      "status": 409,
      "message": "halt(cap) stream=stm_4545ea2672dde1a8ffbff956: halt(cap) stream=stm_4545ea2672dde1a8ffbff956: own cap: 4000000000 + 1 > 4000000000"
    },
    "headroomAtRefusal": {
      "streamId": "stm_4545ea2672dde1a8ffbff956",
      "capUnits": "4000000000",
      "subtreeUsed": "4000000000",
      "remainingCapUnits": "0",
      "remainingNetworkUnits": "10600000000",
      "ratePerSecondUnits": "4000000000",
      "finality": "checkpointed",
      "unsettledAmount": "0",
      "degradation": "full"
    },
    "othersStillAccept": [
      {
        "stream": "writer",
        "streamId": "stm_9a2158aee776a35d1a0b7f03",
        "requestRef": "writer-after-images-cap",
        "units": "100000000",
        "at": "2026-11-14T04:10:05.130Z",
        "accepted": true,
        "voucherSeq": 3,
        "cumulativeMicroUsd": "500000000"
      },
      {
        "stream": "research",
        "streamId": "stm_245bc658a79e40b9aac3aadc",
        "requestRef": "research-after-images-cap",
        "units": "100000000",
        "at": "2026-11-14T04:10:05.360Z",
        "accepted": true,
        "voucherSeq": 4,
        "cumulativeMicroUsd": "3100000000"
      }
    ]
  },
  "exposure": {
    "source": "this run",
    "rule": "engine default: a service node may hold at most 1,000,000,000 units (USD 1,000) of unsettled work; a tick past it is refused `exposure` until a checkpoint settles",
    "first": {
      "refusal": {
        "stream": "research",
        "streamId": "stm_245bc658a79e40b9aac3aadc",
        "requestRef": "research-2",
        "units": "1000000000",
        "at": "2026-11-14T04:10:03.317Z",
        "accepted": false,
        "reason": "exposure",
        "code": "exposure",
        "status": 409,
        "message": "halt(exposure) stream=stm_245bc658a79e40b9aac3aadc: halt(exposure) stream=stm_245bc658a79e40b9aac3aadc: unsettled exposure 1000000000 + 1000000000 exceeds 1000000000"
      },
      "settledThen": {
        "stream": "research",
        "streamId": "stm_245bc658a79e40b9aac3aadc",
        "at": "2026-11-14T04:10:03.461Z",
        "status": 200,
        "settledUnits": "1000000000",
        "state": "checkpointed",
        "error": null
      }
    }
  },
  "pauseAndStop": {
    "source": "this run",
    "freezeResearch": {
      "at": "2026-11-14T04:10:05.417Z",
      "response": {
        "status": 200,
        "json": {
          "streamId": "stm_245bc658a79e40b9aac3aadc",
          "frozen": [
            "stm_245bc658a79e40b9aac3aadc",
            "stm_ae40e8738b5b17931f284e7b"
          ],
          "expiresAt": null,
          "onExpiry": "thaw"
        }
      }
    },
    "researchNextTick": {
      "stream": "research",
      "streamId": "stm_245bc658a79e40b9aac3aadc",
      "requestRef": "research-while-frozen",
      "units": "100000000",
      "at": "2026-11-14T04:10:05.488Z",
      "accepted": false,
      "reason": "revoked",
      "code": "frozen",
      "status": 409,
      "message": "halt(revoked) stream=stm_245bc658a79e40b9aac3aadc: halt(frozen) stream=stm_245bc658a79e40b9aac3aadc: stream is frozen"
    },
    "subagentNextTick": {
      "stream": "subagent",
      "streamId": "stm_ae40e8738b5b17931f284e7b",
      "requestRef": "subagent-while-frozen",
      "units": "100000000",
      "at": "2026-11-14T04:10:05.550Z",
      "accepted": false,
      "reason": "revoked",
      "code": "frozen",
      "status": 409,
      "message": "halt(revoked) stream=stm_ae40e8738b5b17931f284e7b: halt(frozen) stream=stm_ae40e8738b5b17931f284e7b: ancestor stm_245bc658a79e40b9aac3aadc is frozen"
    },
    "writerStillWorks": {
      "stream": "writer",
      "streamId": "stm_9a2158aee776a35d1a0b7f03",
      "requestRef": "writer-while-research-frozen",
      "units": "100000000",
      "at": "2026-11-14T04:10:05.619Z",
      "accepted": true,
      "voucherSeq": 4,
      "cumulativeMicroUsd": "600000000"
    },
    "settleResearch": [
      {
        "stream": "research",
        "streamId": "stm_245bc658a79e40b9aac3aadc",
        "at": "2026-11-14T04:10:05.771Z",
        "status": 200,
        "settledUnits": "3100000000",
        "state": "checkpointed",
        "error": null
      },
      {
        "stream": "subagent",
        "streamId": "stm_ae40e8738b5b17931f284e7b",
        "at": "2026-11-14T04:10:05.869Z",
        "status": 200,
        "settledUnits": "2000000000",
        "state": "checkpointed",
        "error": null
      }
    ],
    "revokeImages": {
      "at": "2026-11-14T04:10:05.869Z",
      "response": {
        "status": 200,
        "json": {
          "ok": true
        }
      }
    },
    "imagesNextTick": {
      "stream": "images",
      "streamId": "stm_4545ea2672dde1a8ffbff956",
      "requestRef": "images-after-revoke",
      "units": "1",
      "at": "2026-11-14T04:10:05.908Z",
      "accepted": false,
      "reason": "revoked",
      "code": "revoked",
      "status": 409,
      "message": "halt(revoked) stream=stm_4545ea2672dde1a8ffbff956: halt(revoked) stream=stm_4545ea2672dde1a8ffbff956: revoked at 1794629405"
    },
    "tightenWriter": {
      "at": "2026-11-14T04:10:06.040Z",
      "oldCapUnits": "6000000000",
      "requestedCapUnits": "2000000000",
      "response": {
        "status": 200,
        "json": {
          "streamId": "stm_9a2158aee776a35d1a0b7f03",
          "capUnits": "2000000000",
          "caps": [],
          "mandate": {
            "categories": "*",
            "maxDepth": 3
          }
        }
      },
      "newCapUnits": "2000000000"
    }
  },
  "approval": {
    "source": "this run",
    "thresholdCapAboveUnits": "4000000000",
    "setThreshold": {
      "at": "2026-11-14T04:10:06.251Z",
      "mandate": {
        "categories": "*",
        "maxDepth": 3,
        "approval": {
          "capAbove": "4000000000",
          "timeoutSeconds": 3600
        }
      },
      "response": {
        "status": 200,
        "json": {
          "streamId": "stm_b48d87821284fbcdbe89b432",
          "capUnits": "20000000000",
          "caps": [],
          "mandate": {
            "categories": "*",
            "maxDepth": 3,
            "approval": {
              "capAbove": "4000000000",
              "timeoutSeconds": 3600
            }
          }
        }
      }
    },
    "request": {
      "at": "2026-11-14T04:10:06.408Z",
      "capUnits": "5000000000",
      "status": 409,
      "reason": "approval_required",
      "code": "approval_required",
      "approvalId": "apr_e767898f185a84e964262a2a",
      "approvalExpiresAt": "1794633006"
    },
    "pending": {
      "approvals": [
        {
          "approvalId": "apr_e767898f185a84e964262a2a",
          "budgetId": "bgt_c9f70cb9e1213ea0f1d46dae",
          "streamId": "stm_b48d87821284fbcdbe89b432",
          "action": "open",
          "threshold": "capAbove:4000000000",
          "units": "5000000000",
          "state": "pending",
          "createdAt": "1794629406",
          "expiresAt": "1794633006",
          "decidedAt": null,
          "resultRef": null,
          "resultCode": null,
          "clientKeyed": false
        }
      ]
    },
    "decision": {
      "at": "2026-11-14T04:10:06.552Z",
      "status": 200,
      "approval": {
        "approvalId": "apr_e767898f185a84e964262a2a",
        "budgetId": "bgt_c9f70cb9e1213ea0f1d46dae",
        "streamId": "stm_b48d87821284fbcdbe89b432",
        "action": "open",
        "threshold": "capAbove:4000000000",
        "units": "5000000000",
        "state": "approved",
        "createdAt": "1794629406",
        "expiresAt": "1794633006",
        "decidedAt": "1794629406",
        "resultRef": "stm_2fe2075eb4cf0014a75662e0",
        "resultCode": null
      }
    }
  },
  "alert": {
    "source": "this run",
    "channel": "GET /owner/v1/alerts (fired alerts); webhook delivery needs a public https endpoint on a hosted entry (R-400), not set up for this local run; no SMTP on core 2",
    "fired": {
      "key": "cap:bgt_c9f70cb9e1213ea0f1d46dae:50",
      "budgetId": "bgt_c9f70cb9e1213ea0f1d46dae",
      "rule": "cap_threshold",
      "at": 1794629421
    },
    "allFiredForBudget": [
      {
        "key": "cap:bgt_c9f70cb9e1213ea0f1d46dae:50",
        "budgetId": "bgt_c9f70cb9e1213ea0f1d46dae",
        "rule": "cap_threshold",
        "at": 1794629421
      }
    ]
  },
  "degradation": {
    "source": "this run",
    "rule": "engine default degradation ladder on budget headroom: >= 50 % full service; 25-50 % throttled to 1,000,000 units (USD 1) per request; 10-25 % a checkpoint first; below 10 % refused",
    "budgetBefore": {
      "streamId": "stm_2fe2075eb4cf0014a75662e0",
      "capUnits": "5000000000",
      "subtreeUsed": "0",
      "remainingCapUnits": "5000000000",
      "remainingNetworkUnits": "9300000000",
      "ratePerSecondUnits": "1000000000",
      "finality": "accrued",
      "unsettledAmount": "0",
      "degradation": "throttled"
    },
    "bigRequest": {
      "stream": "writerShare",
      "streamId": "stm_2fe2075eb4cf0014a75662e0",
      "requestRef": "writer-share-1",
      "units": "100000000",
      "at": "2026-11-14T04:10:07.885Z",
      "accepted": false,
      "reason": "exposure",
      "code": "exposure",
      "status": 409,
      "message": "halt(exposure) stream=stm_2fe2075eb4cf0014a75662e0: halt(exposure) stream=stm_2fe2075eb4cf0014a75662e0: degradation: throttled (max 1000000 units/request)"
    },
    "smallRequest": {
      "stream": "writerShare",
      "streamId": "stm_2fe2075eb4cf0014a75662e0",
      "requestRef": "writer-share-2",
      "units": "1000000",
      "at": "2026-11-14T04:10:07.950Z",
      "accepted": true,
      "voucherSeq": 1,
      "cumulativeMicroUsd": "1000000"
    }
  },
  "halt": {
    "source": "this run (report only, not forced)",
    "answer": "not showable on the preview without a change",
    "rule": "on the stablecoin rail the vault refuses a voucher signed after the chain's block time (SignedInFuture); the engine waits for the chain head and settles or revokes only once it has passed (bounded wait, entry 87; delivery plan item 31 ruled 2026-11-06)",
    "why": "this run's core 2 has card mode only (its owner and relayer keys are not on this machine), and on Fuji the block time follows real time, so the halt cannot be triggered without moving the core host's clock ahead of the chain or using a local chain; neither is the preview",
    "shownInsteadThisRun": [
      "rate",
      "cap",
      "frozen",
      "revoked",
      "exposure (unsettled bound)",
      "exposure (degradation: throttled)"
    ]
  },
  "receipts": {
    "source": "this run",
    "scheme": "secp256k1 ECDSA, EIP-191 personal_sign over a 32-byte hash (viem signMessage({ message: { raw: hash } }))",
    "signedBytes": "the 32 bytes of hash = keccak256(UTF-8 of the canonical JSON of payload): keys sorted, no whitespace, JSON string escapes (engine authority.ts canonicalJson / hashCanonical); EIP-191 prefixes them with \"\\x19Ethereum Signed Message:\\n32\"",
    "signerAddress": "0x07bEA8B9aA6194AA795A5050cfC8dC63F8F7bd31",
    "signerPublicKey": "0x04d4a3a7aebe979f154fb24da676e625b8ea8ae62a80edf620d70af3706fb2529f5706b7eac59e4f31ad229b1a8f2303d2f9b5c8552bccc0cc9b0b684de9156fb9",
    "receipts": [
      {
        "stream": "research",
        "requestRef": "research-1",
        "status": 200,
        "receipt": {
          "payload": {
            "typ": "dynamo-consume-receipt-v2",
            "aud": "urn:dynamo:core:0099bad212f25e060c14f6dda46c54ef",
            "streamId": "stm_245bc658a79e40b9aac3aadc",
            "requestRef": "research-1",
            "units": "1000000000",
            "cumulativeUnits": "1000000000",
            "voucherSeq": "1",
            "signedAt": "1794629428"
          },
          "hash": "0xdeb237277d2e0f04c3b87ae53dfef19277289c2920d0d37145c7c1622c36e7fd",
          "signature": "0x76d798c479fcb4b348087797422dcc99dbcf224e747a922f64235a93f1c66ffe0b6032ea97e158c3d9d5e97f80c9b7c14ec7d0a13e490d3eb88832096d7a09441c",
          "signer": "0x07bEA8B9aA6194AA795A5050cfC8dC63F8F7bd31"
        }
      },
      {
        "stream": "writer",
        "requestRef": "writer-1",
        "status": 200,
        "receipt": {
          "payload": {
            "typ": "dynamo-consume-receipt-v2",
            "aud": "urn:dynamo:core:0099bad212f25e060c14f6dda46c54ef",
            "streamId": "stm_9a2158aee776a35d1a0b7f03",
            "requestRef": "writer-1",
            "units": "200000000",
            "cumulativeUnits": "200000000",
            "voucherSeq": "1",
            "signedAt": "1794629428"
          },
          "hash": "0x9b0d7c005d5a9bdf0362eb610e78191d6525c05ca7760c8bf2229c1d2face5b7",
          "signature": "0x2db5bc13450339adee9ddb2da0993c8c4bd4239fa57a948e28975a867828f532750245becce4ab9935b0fba3ac701fa5e065b2df26ba97844091f4969b863c701b",
          "signer": "0x07bEA8B9aA6194AA795A5050cfC8dC63F8F7bd31"
        }
      },
      {
        "stream": "images",
        "requestRef": "images-1",
        "status": 200,
        "receipt": {
          "payload": {
            "typ": "dynamo-consume-receipt-v2",
            "aud": "urn:dynamo:core:0099bad212f25e060c14f6dda46c54ef",
            "streamId": "stm_4545ea2672dde1a8ffbff956",
            "requestRef": "images-1",
            "units": "1000000000",
            "cumulativeUnits": "1000000000",
            "voucherSeq": "1",
            "signedAt": "1794629428"
          },
          "hash": "0xf4602a759f48462d70dfc6b298f5c8e692fabbc14a821098a193a81cd53f73cd",
          "signature": "0xc20e8a44cd7e29fe0baa4e0b6e82c47d55a57202b71a7d06dae332ce9c0990eb098535e95208d993a7e84eb2bf8f3718dc5348feae06042b974cd4c77393bca61b",
          "signer": "0x07bEA8B9aA6194AA795A5050cfC8dC63F8F7bd31"
        }
      }
    ],
    "verification": {
      "receipt": "research-1",
      "canonicalPayload": "{\"aud\":\"urn:dynamo:core:0099bad212f25e060c14f6dda46c54ef\",\"cumulativeUnits\":\"1000000000\",\"requestRef\":\"research-1\",\"signedAt\":\"1794629428\",\"streamId\":\"stm_245bc658a79e40b9aac3aadc\",\"typ\":\"dynamo-consume-receipt-v2\",\"units\":\"1000000000\",\"voucherSeq\":\"1\"}",
      "recomputedHash": "0xdeb237277d2e0f04c3b87ae53dfef19277289c2920d0d37145c7c1622c36e7fd",
      "hashMatches": true,
      "recoveredSigner": "0x07bEA8B9aA6194AA795A5050cfC8dC63F8F7bd31",
      "signerMatches": true,
      "tool": "viem 2.x (the same code runs in a browser bundle); WebCrypto alone has no secp256k1 or keccak-256"
    },
    "evidence": {
      "status": 200,
      "file": "evidence-bgt_c9f70cb9e1213ea0f1d46dae.json",
      "bytes": 49270,
      "sha256": "4cc363b736460b4c7a729fe5362b8a7d3ad8ca6e99b7a7382439e400c7d3349c",
      "schema": "evidence/1.5.0",
      "topLevelKeys": [
        "schema",
        "budgetId",
        "exportedAt",
        "budget",
        "authority",
        "streams",
        "totals",
        "voucherDomain",
        "engineSigner",
        "payments",
        "ownHopsFlag",
        "manifest",
        "terms",
        "termsStatement"
      ]
    },
    "browserVerification": {
      "source": "this run",
      "tested": "headless Chrome, receipt research-1: valid true; the same receipt with units changed by one: valid false",
      "how": "a static page imports keccak256, stringToBytes and recoverMessageAddress from viem 2.57.19 (https://esm.sh/viem@2.57.19), rebuilds the canonical JSON of payload (keys sorted, no whitespace), checks keccak256 equals hash, recovers the EIP-191 signer from hash and signature and compares it with the core's engine signer address pinned in the page (not the signer field the receipt carries)",
      "webCryptoOnly": "not possible: WebCrypto has neither keccak256 nor secp256k1"
    }
  },
  "rails": {
    "stablecoin": {
      "source": "core 2 Fuji escrow test, 2026-11-12 (Claude outputs/preview/CORE2-TEST-AND-SHARED-CONTRACTS-2026-11-12.md); not run again: core 2's owner key is not on this machine",
      "chain": "Avalanche Fuji (43113)",
      "depositedUsdc": "1.00",
      "billedUnits": "50000",
      "billedUsdc": "0.05",
      "paidToPayeeUsdc": "0.0495",
      "feeUsdc": "0.0005 (1 %)",
      "returnedUsdc": "0.90",
      "holdbackSeconds": 0,
      "finality": "final",
      "settlementTx": "0xff7bc0e6c82dca193d7d766bec62fd1436a3c6e513e684d7eab14c0b9ca3e54d",
      "settlementBlock": "60943576",
      "settledAt": "2026-11-12T11:18:20Z",
      "budgetId": "bgt_b452cbfb5f439f8412992e09",
      "streamId": "stm_86eb27626b96199514a448fe",
      "payee": "0xD8Ce144F423a83E9E97E3f26b5D57eD62aCEB5b3",
      "a19Note": "the A1.9 adopt-path payout (holdback 300 s) ran on a local dev chain, not Fuji, so it has no public transaction hash"
    },
    "x402": {
      "source": "delivery plan item 16 (PayAI facilitator on Fuji), 2026-11-11; read back from the Fuji public RPC in this run",
      "chain": "Avalanche Fuji (43113)",
      "token": "USDC 0x5425890298aed601595a70ab815c96711a31bc65",
      "payments": [
        {
          "kind": "x402 V1 exact",
          "tx": "0x68eded311a132ea14e9ca14d9aadf17e260b27d3c159c213e105eed1c4bc8fff",
          "block": "60894387",
          "at": "2026-11-11T14:00:29Z",
          "amountBaseUnits": "10000",
          "amountUsdc": "0.01",
          "from": "0x3d52297e8d8715Ca7344cd140B89F1c0564123C3",
          "to": "0xc227d990eCAa9edD06cE4ac56FD4282C7e47A6F4"
        },
        {
          "kind": "x402 V2 exact",
          "tx": "0x6a5f1041948e7178c7053a3d027da88fb176ef22d45405f13e2f55f1d88bee44",
          "block": "60894391",
          "at": "2026-11-11T14:00:33Z",
          "amountBaseUnits": "10000",
          "amountUsdc": "0.01",
          "from": "0x3d52297e8d8715Ca7344cd140B89F1c0564123C3",
          "to": "0xc227d990eCAa9edD06cE4ac56FD4282C7e47A6F4"
        }
      ]
    },
    "cardPayout": {
      "source": "this run (Stripe TEST transfers to the payee's connected account at close, matched by time window and amount; no Stripe IDs recorded)",
      "budgetId": "bgt_c9f70cb9e1213ea0f1d46dae",
      "capturedMicroUsd": "10701000000",
      "paidToPayeeCents": 1064749,
      "paidToPayeeUsd": "10647.49",
      "feeCents": 5351,
      "feeNote": "credit card fee 50 bps per settlement, rounded up",
      "transfers": [
        {
          "stream": "orchestrator (root)",
          "billedMicroUsd": "1000000000",
          "paidCents": 99500,
          "at": "2026-11-14T04:10:31Z",
          "vouchers": 1
        },
        {
          "stream": "research",
          "billedMicroUsd": "3100000000",
          "paidCents": 308450,
          "at": "2026-11-14T04:10:32Z",
          "vouchers": 4
        },
        {
          "stream": "research sub-agent",
          "billedMicroUsd": "2000000000",
          "paidCents": 199000,
          "at": "2026-11-14T04:10:34Z",
          "vouchers": 2
        },
        {
          "stream": "images",
          "billedMicroUsd": "4000000000",
          "paidCents": 398000,
          "at": "2026-11-14T04:10:34Z",
          "vouchers": 4
        },
        {
          "stream": "writer and its approved share",
          "billedMicroUsd": "601000000",
          "paidCents": 59799,
          "at": "2026-11-14T04:10:33Z",
          "vouchers": 2
        }
      ]
    }
  },
  "aggregate": {
    "source": "this run",
    "beforeClose": {
      "interfaceVersion": "1.11.0",
      "budgetId": "bgt_c9f70cb9e1213ea0f1d46dae",
      "funding": "card",
      "owner": "0x00000000000000000000000000000000000000CA",
      "capTotal": "20000000000",
      "usedTotal": "10701000000",
      "state": "active",
      "streams": [
        {
          "id": "stm_245bc658a79e40b9aac3aadc",
          "parentStreamId": "stm_b48d87821284fbcdbe89b432",
          "serviceNode": "0xe24965f7585eeAa6197Cf4FB6b5F57D39C4DA39A",
          "state": "open",
          "billedUnits": "3100000000",
          "billedAmount": "3100000000",
          "settledAmount": "3100000000",
          "finality": "checkpointed"
        },
        {
          "id": "stm_2fe2075eb4cf0014a75662e0",
          "parentStreamId": "stm_b48d87821284fbcdbe89b432",
          "serviceNode": "0xf7eD350B889286EE5A05b34C2deeABdab904B67C",
          "state": "open",
          "billedUnits": "1000000",
          "billedAmount": "1000000",
          "settledAmount": "1000000",
          "finality": "checkpointed"
        },
        {
          "id": "stm_4545ea2672dde1a8ffbff956",
          "parentStreamId": "stm_b48d87821284fbcdbe89b432",
          "serviceNode": "0xaeAd47E106e56FCf526Cd97B90680Ede8CFff584",
          "state": "revoked",
          "billedUnits": "4000000000",
          "billedAmount": "4000000000",
          "settledAmount": "4000000000",
          "finality": "checkpointed"
        },
        {
          "id": "stm_9a2158aee776a35d1a0b7f03",
          "parentStreamId": "stm_b48d87821284fbcdbe89b432",
          "serviceNode": "0xf7eD350B889286EE5A05b34C2deeABdab904B67C",
          "state": "open",
          "billedUnits": "600000000",
          "billedAmount": "600000000",
          "settledAmount": "600000000",
          "finality": "checkpointed"
        },
        {
          "id": "stm_ae40e8738b5b17931f284e7b",
          "parentStreamId": "stm_245bc658a79e40b9aac3aadc",
          "serviceNode": "0xc9cC18703a7fD64cC141A8291bde7C5436FEcC26",
          "state": "open",
          "billedUnits": "2000000000",
          "billedAmount": "2000000000",
          "settledAmount": "2000000000",
          "finality": "checkpointed"
        },
        {
          "id": "stm_b48d87821284fbcdbe89b432",
          "parentStreamId": null,
          "serviceNode": "0xc9D1c8c869555b203b993cCA6A36D021c1f24380",
          "state": "open",
          "billedUnits": "1000000000",
          "billedAmount": "1000000000",
          "settledAmount": "1000000000",
          "finality": "checkpointed"
        }
      ],
      "totals": {
        "billedUnits": "10701000000",
        "billedAmount": "10701000000",
        "settledAmount": "10701000000"
      },
      "settlement": {
        "layer": "card-psp",
        "settledAmount": "0",
        "detail": {
          "authorizedCents": "2000000",
          "capturedCents": "0",
          "state": "authorized"
        }
      },
      "reconciled": false
    },
    "refusedAttempts": 6,
    "refusedUnits": "1200000002",
    "revokes": [
      {
        "streamId": "stm_b48d87821284fbcdbe89b432",
        "status": 200
      }
    ],
    "close": {
      "at": "2026-11-14T04:10:35.872Z",
      "status": 200,
      "response": {
        "releasedAmount": "9299000000"
      }
    },
    "afterClose": {
      "interfaceVersion": "1.11.0",
      "budgetId": "bgt_c9f70cb9e1213ea0f1d46dae",
      "funding": "card",
      "owner": "0x00000000000000000000000000000000000000CA",
      "capTotal": "20000000000",
      "usedTotal": "10701000000",
      "state": "closed",
      "streams": [
        {
          "id": "stm_245bc658a79e40b9aac3aadc",
          "parentStreamId": "stm_b48d87821284fbcdbe89b432",
          "serviceNode": "0xe24965f7585eeAa6197Cf4FB6b5F57D39C4DA39A",
          "state": "revoked",
          "billedUnits": "3100000000",
          "billedAmount": "3100000000",
          "settledAmount": "3100000000",
          "finality": "checkpointed"
        },
        {
          "id": "stm_2fe2075eb4cf0014a75662e0",
          "parentStreamId": "stm_b48d87821284fbcdbe89b432",
          "serviceNode": "0xf7eD350B889286EE5A05b34C2deeABdab904B67C",
          "state": "revoked",
          "billedUnits": "1000000",
          "billedAmount": "1000000",
          "settledAmount": "1000000",
          "finality": "checkpointed"
        },
        {
          "id": "stm_4545ea2672dde1a8ffbff956",
          "parentStreamId": "stm_b48d87821284fbcdbe89b432",
          "serviceNode": "0xaeAd47E106e56FCf526Cd97B90680Ede8CFff584",
          "state": "revoked",
          "billedUnits": "4000000000",
          "billedAmount": "4000000000",
          "settledAmount": "4000000000",
          "finality": "checkpointed"
        },
        {
          "id": "stm_9a2158aee776a35d1a0b7f03",
          "parentStreamId": "stm_b48d87821284fbcdbe89b432",
          "serviceNode": "0xf7eD350B889286EE5A05b34C2deeABdab904B67C",
          "state": "revoked",
          "billedUnits": "600000000",
          "billedAmount": "600000000",
          "settledAmount": "600000000",
          "finality": "checkpointed"
        },
        {
          "id": "stm_ae40e8738b5b17931f284e7b",
          "parentStreamId": "stm_245bc658a79e40b9aac3aadc",
          "serviceNode": "0xc9cC18703a7fD64cC141A8291bde7C5436FEcC26",
          "state": "revoked",
          "billedUnits": "2000000000",
          "billedAmount": "2000000000",
          "settledAmount": "2000000000",
          "finality": "checkpointed"
        },
        {
          "id": "stm_b48d87821284fbcdbe89b432",
          "parentStreamId": null,
          "serviceNode": "0xc9D1c8c869555b203b993cCA6A36D021c1f24380",
          "state": "revoked",
          "billedUnits": "1000000000",
          "billedAmount": "1000000000",
          "settledAmount": "1000000000",
          "finality": "checkpointed"
        }
      ],
      "totals": {
        "billedUnits": "10701000000",
        "billedAmount": "10701000000",
        "settledAmount": "10701000000"
      },
      "settlement": {
        "layer": "card-psp",
        "settledAmount": "10701000000",
        "detail": {
          "authorizedCents": "2000000",
          "capturedCents": "1070100",
          "state": "released"
        }
      },
      "reconciled": true
    },
    "cardHolds": {
      "budgetId": "bgt_c9f70cb9e1213ea0f1d46dae",
      "funding": "card",
      "milestones": [],
      "payouts": []
    }
  },
  "settles": [
    {
      "stream": "research",
      "streamId": "stm_245bc658a79e40b9aac3aadc",
      "at": "2026-11-14T04:10:03.461Z",
      "status": 200,
      "settledUnits": "1000000000",
      "state": "checkpointed",
      "error": null
    },
    {
      "stream": "research",
      "streamId": "stm_245bc658a79e40b9aac3aadc",
      "at": "2026-11-14T04:10:03.665Z",
      "status": 200,
      "settledUnits": "2000000000",
      "state": "checkpointed",
      "error": null
    },
    {
      "stream": "subagent",
      "streamId": "stm_ae40e8738b5b17931f284e7b",
      "at": "2026-11-14T04:10:03.949Z",
      "status": 200,
      "settledUnits": "1000000000",
      "state": "checkpointed",
      "error": null
    },
    {
      "stream": "images",
      "streamId": "stm_4545ea2672dde1a8ffbff956",
      "at": "2026-11-14T04:10:04.370Z",
      "status": 200,
      "settledUnits": "1000000000",
      "state": "checkpointed",
      "error": null
    },
    {
      "stream": "images",
      "streamId": "stm_4545ea2672dde1a8ffbff956",
      "at": "2026-11-14T04:10:04.577Z",
      "status": 200,
      "settledUnits": "2000000000",
      "state": "checkpointed",
      "error": null
    },
    {
      "stream": "images",
      "streamId": "stm_4545ea2672dde1a8ffbff956",
      "at": "2026-11-14T04:10:04.794Z",
      "status": 200,
      "settledUnits": "3000000000",
      "state": "checkpointed",
      "error": null
    },
    {
      "stream": "images",
      "streamId": "stm_4545ea2672dde1a8ffbff956",
      "at": "2026-11-14T04:10:05.001Z",
      "status": 200,
      "settledUnits": "4000000000",
      "state": "checkpointed",
      "error": null
    },
    {
      "stream": "research",
      "streamId": "stm_245bc658a79e40b9aac3aadc",
      "at": "2026-11-14T04:10:05.360Z",
      "status": 200,
      "settledUnits": "3000000000",
      "state": "checkpointed",
      "error": null
    },
    {
      "stream": "research",
      "streamId": "stm_245bc658a79e40b9aac3aadc",
      "at": "2026-11-14T04:10:05.771Z",
      "status": 200,
      "settledUnits": "3100000000",
      "state": "checkpointed",
      "error": null
    },
    {
      "stream": "subagent",
      "streamId": "stm_ae40e8738b5b17931f284e7b",
      "at": "2026-11-14T04:10:05.869Z",
      "status": 200,
      "settledUnits": "2000000000",
      "state": "checkpointed",
      "error": null
    },
    {
      "stream": "root",
      "streamId": "stm_b48d87821284fbcdbe89b432",
      "at": "2026-11-14T04:10:28.462Z",
      "status": 200,
      "settledUnits": "1000000000",
      "state": "checkpointed",
      "error": null
    },
    {
      "stream": "writer",
      "streamId": "stm_9a2158aee776a35d1a0b7f03",
      "at": "2026-11-14T04:10:28.528Z",
      "status": 200,
      "settledUnits": "600000000",
      "state": "checkpointed",
      "error": null
    },
    {
      "stream": "writerShare",
      "streamId": "stm_2fe2075eb4cf0014a75662e0",
      "at": "2026-11-14T04:10:28.595Z",
      "status": 200,
      "settledUnits": "1000000",
      "state": "checkpointed",
      "error": null
    }
  ],
  "refusals": [
    {
      "stream": "writer",
      "streamId": "stm_9a2158aee776a35d1a0b7f03",
      "requestRef": "writer-burst",
      "units": "900000000",
      "at": "2026-11-14T04:10:03.237Z",
      "accepted": false,
      "reason": "rate",
      "code": "rate",
      "status": 409,
      "message": "halt(rate) stream=stm_9a2158aee776a35d1a0b7f03: halt(rate) stream=stm_9a2158aee776a35d1a0b7f03: rate envelope: 0 + 900000000 > 400000000 (200000000/s x 2s)"
    },
    {
      "stream": "images",
      "streamId": "stm_4545ea2672dde1a8ffbff956",
      "requestRef": "images-5",
      "units": "1",
      "at": "2026-11-14T04:10:05.001Z",
      "accepted": false,
      "reason": "cap",
      "code": "cap",
      "status": 409,
      "message": "halt(cap) stream=stm_4545ea2672dde1a8ffbff956: halt(cap) stream=stm_4545ea2672dde1a8ffbff956: own cap: 4000000000 + 1 > 4000000000"
    },
    {
      "stream": "research",
      "streamId": "stm_245bc658a79e40b9aac3aadc",
      "requestRef": "research-while-frozen",
      "units": "100000000",
      "at": "2026-11-14T04:10:05.488Z",
      "accepted": false,
      "reason": "revoked",
      "code": "frozen",
      "status": 409,
      "message": "halt(revoked) stream=stm_245bc658a79e40b9aac3aadc: halt(frozen) stream=stm_245bc658a79e40b9aac3aadc: stream is frozen"
    },
    {
      "stream": "subagent",
      "streamId": "stm_ae40e8738b5b17931f284e7b",
      "requestRef": "subagent-while-frozen",
      "units": "100000000",
      "at": "2026-11-14T04:10:05.550Z",
      "accepted": false,
      "reason": "revoked",
      "code": "frozen",
      "status": 409,
      "message": "halt(revoked) stream=stm_ae40e8738b5b17931f284e7b: halt(frozen) stream=stm_ae40e8738b5b17931f284e7b: ancestor stm_245bc658a79e40b9aac3aadc is frozen"
    },
    {
      "stream": "images",
      "streamId": "stm_4545ea2672dde1a8ffbff956",
      "requestRef": "images-after-revoke",
      "units": "1",
      "at": "2026-11-14T04:10:05.908Z",
      "accepted": false,
      "reason": "revoked",
      "code": "revoked",
      "status": 409,
      "message": "halt(revoked) stream=stm_4545ea2672dde1a8ffbff956: halt(revoked) stream=stm_4545ea2672dde1a8ffbff956: revoked at 1794629405"
    },
    {
      "stream": "writerShare",
      "streamId": "stm_2fe2075eb4cf0014a75662e0",
      "requestRef": "writer-share-1",
      "units": "100000000",
      "at": "2026-11-14T04:10:07.885Z",
      "accepted": false,
      "reason": "exposure",
      "code": "exposure",
      "status": 409,
      "message": "halt(exposure) stream=stm_2fe2075eb4cf0014a75662e0: halt(exposure) stream=stm_2fe2075eb4cf0014a75662e0: degradation: throttled (max 1000000 units/request)"
    }
  ]
}
