{
  "scenario": "authorization_capture_process_crash_recovery",
  "cases": [
    {
      "argv": [
        "/opt/homebrew/opt/python@3.14/bin/python3.14",
        "capture_crash_worker.py",
        "/Users/magicliang/Desktop/Programming/git/hexo-blog/examples/system-design/evidence/35/session-ticket/runs/22-full-protocol-suite/check_capture_crashes/inventory-0.sqlite",
        "/Users/magicliang/Desktop/Programming/git/hexo-blog/examples/system-design/evidence/35/session-ticket/runs/22-full-protocol-suite/check_capture_crashes/provider-0.sqlite",
        "intent-0",
        "after_authorize"
      ],
      "worker_exit": -9,
      "checkpoint": "after_authorize",
      "before_recovery": {
        "seat": {
          "id": 1,
          "state": "HELD",
          "hold_id": "8b9a74b61188431b9abd0935efe3f4a1",
          "expires_at": 1300
        },
        "intent": {
          "id": "intent-0",
          "order_id": "ef81bee4be514654a7a0e38347389ca7",
          "state": "AUTH_REQUESTED"
        },
        "channel": "AUTHORIZED"
      },
      "recovery": "BOOKED",
      "channel": [
        {
          "id": "intent-0",
          "amount": 10000,
          "currency": "CNY",
          "state": "CAPTURED",
          "capture_count": 1
        }
      ],
      "ledger_rows": 1
    },
    {
      "argv": [
        "/opt/homebrew/opt/python@3.14/bin/python3.14",
        "capture_crash_worker.py",
        "/Users/magicliang/Desktop/Programming/git/hexo-blog/examples/system-design/evidence/35/session-ticket/runs/22-full-protocol-suite/check_capture_crashes/inventory-1.sqlite",
        "/Users/magicliang/Desktop/Programming/git/hexo-blog/examples/system-design/evidence/35/session-ticket/runs/22-full-protocol-suite/check_capture_crashes/provider-1.sqlite",
        "intent-1",
        "after_pin_before_capture"
      ],
      "worker_exit": -9,
      "checkpoint": "after_pin_before_capture",
      "before_recovery": {
        "seat": {
          "id": 1,
          "state": "PINNED",
          "hold_id": "6089917f7c814048b99eed97bd593f5c",
          "expires_at": 1300
        },
        "intent": {
          "id": "intent-1",
          "order_id": "b7ebad5f447041949f52bf10ae6452ea",
          "state": "CAPTURE_READY"
        },
        "channel": "AUTHORIZED"
      },
      "recovery": "BOOKED",
      "channel": [
        {
          "id": "intent-1",
          "amount": 10000,
          "currency": "CNY",
          "state": "CAPTURED",
          "capture_count": 1
        }
      ],
      "ledger_rows": 1
    },
    {
      "argv": [
        "/opt/homebrew/opt/python@3.14/bin/python3.14",
        "capture_crash_worker.py",
        "/Users/magicliang/Desktop/Programming/git/hexo-blog/examples/system-design/evidence/35/session-ticket/runs/22-full-protocol-suite/check_capture_crashes/inventory-2.sqlite",
        "/Users/magicliang/Desktop/Programming/git/hexo-blog/examples/system-design/evidence/35/session-ticket/runs/22-full-protocol-suite/check_capture_crashes/provider-2.sqlite",
        "intent-2",
        "after_capture_before_local_commit"
      ],
      "worker_exit": -9,
      "checkpoint": "after_capture_before_local_commit",
      "before_recovery": {
        "seat": {
          "id": 1,
          "state": "PINNED",
          "hold_id": "83fd5b947c884e05a1961a27544bf685",
          "expires_at": 1300
        },
        "intent": {
          "id": "intent-2",
          "order_id": "09540135e4624285965eb6a99e01b0f9",
          "state": "CAPTURE_READY"
        },
        "channel": "CAPTURED"
      },
      "recovery": "BOOKED",
      "channel": [
        {
          "id": "intent-2",
          "amount": 10000,
          "currency": "CNY",
          "state": "CAPTURED",
          "capture_count": 1
        }
      ],
      "ledger_rows": 1
    },
    {
      "argv": [
        "/opt/homebrew/opt/python@3.14/bin/python3.14",
        "capture_crash_worker.py",
        "/Users/magicliang/Desktop/Programming/git/hexo-blog/examples/system-design/evidence/35/session-ticket/runs/22-full-protocol-suite/check_capture_crashes/inventory-3.sqlite",
        "/Users/magicliang/Desktop/Programming/git/hexo-blog/examples/system-design/evidence/35/session-ticket/runs/22-full-protocol-suite/check_capture_crashes/provider-3.sqlite",
        "intent-3",
        "after_authorize"
      ],
      "worker_exit": -9,
      "checkpoint": "after_authorize",
      "before_recovery": {
        "seat": {
          "id": 1,
          "state": "HELD",
          "hold_id": "7f29b1f20aeb49a891716cfa2dcfad99",
          "expires_at": 1300
        },
        "intent": {
          "id": "intent-3",
          "order_id": "d53f88ee5f3a447c9cb47ccde97edc8d",
          "state": "AUTH_REQUESTED"
        },
        "channel": "AUTHORIZED"
      },
      "recovery": "VOIDED",
      "channel": [
        {
          "id": "intent-3",
          "amount": 10000,
          "currency": "CNY",
          "state": "VOIDED",
          "capture_count": 0
        }
      ],
      "ledger_rows": 0
    }
  ],
  "real_channel": "NOT_RUN",
  "scope": "two local SQLite databases and real killed subprocesses",
  "pass": true
}
