{
  "tool_id": "art-106-tempo-subscription-reconciler",
  "note": "golden_hash is empty until first `node golden-parity.test.mjs --update`.",
  "vectors": [
    {
      "name": "conformant_subscription",
      "policy_parameters": {
        "envelope": {
          "cap_total": 1000,
          "cap_per_cycle": 100,
          "cadence": "monthly",
          "valid_until": 9999999999,
          "mode": "subscription"
        },
        "draws": [
          {
            "seq": 1,
            "amount": 95,
            "ts": 1750000000,
            "cycle": 1
          },
          {
            "seq": 2,
            "amount": 90,
            "ts": 1752600000,
            "cycle": 2
          },
          {
            "seq": 3,
            "amount": 80,
            "ts": 1755200000,
            "cycle": 3
          }
        ]
      },
      "output_payload": {
        "cycles_ok": true,
        "cumulative_ok": true,
        "breaches": [],
        "total_drawn": 265,
        "residual_envelope": 735,
        "draw_count": 3,
        "draw_merkle_root": "leaf-commit:3:74",
        "verdict": "CONFORMANT"
      },
      "golden_hash": "5f959f30767e13f2781f8f16875eaadc41c312eec4eb41308b483582f0013421"
    },
    {
      "name": "cycle_cap_breach",
      "policy_parameters": {
        "envelope": {
          "cap_total": 1000,
          "cap_per_cycle": 100,
          "cadence": "monthly",
          "valid_until": 9999999999,
          "mode": "subscription"
        },
        "draws": [
          {
            "seq": 1,
            "amount": 120,
            "ts": 1750000000,
            "cycle": 1
          },
          {
            "seq": 2,
            "amount": 90,
            "ts": 1752600000,
            "cycle": 2
          }
        ]
      },
      "output_payload": {
        "cycles_ok": false,
        "cumulative_ok": true,
        "breaches": [
          {
            "cycle": 1,
            "type": "CYCLE_CAP_BREACH",
            "detail": "Cycle total 120.000000 > cap_per_cycle 100"
          }
        ],
        "total_drawn": 210,
        "residual_envelope": 790,
        "draw_count": 2,
        "draw_merkle_root": "leaf-commit:2:50",
        "verdict": "BREACH_DETECTED"
      },
      "golden_hash": "4deff6605f5cc90d1f4f5c03bef49eee1a1c2e8c47421081f1902404f2f2c2cf"
    }
  ]
}
