{
  "generatedAt": "2026-11-13T07:53:27.483Z",
  "how": "Real Horos commands (queue.ts, email.ts, airi-pay.ts) in a fresh directory, against fake Airwallex, Airi and T:0, with Claude readings recorded from live runs (demo/emails/*.reading.json). Regenerate with `npm run demo`.",
  "story": {
    "preview": {
      "entity": "entity_prod_ieEAMzvhgtHalvsm",
      "invoice": "INV-20250201-1234 (T:0 bill t0_bill_prod_9a32a0da12fe3faf33e5, version 964c61b18fdf2dda)",
      "vendorRecord": "t0_vendor_prod_78e1a442b0eb63a0b44c (Slack Technologies, Inc.)",
      "destination": "https://pay.horos-sandbox.example/slack",
      "destinationNote": "team-controlled sandbox checkout standing in for the supplier; not the supplier itself",
      "verifiedBy": "cass at 2026-11-13T07:53:25.876Z, on bill version 964c61b18fdf2dda: Slack AP confirmed this vendor record and checkout by phone",
      "receivedBy": "Airwallex account acct_sandbox_A (Fake Sandbox Business), read from the credentials that create the checkout",
      "amount": "USD 100.00",
      "dueDate": "2026-03-16",
      "approvalExpires": "2026-11-16T07:53:25+0000",
      "action": "One Visa Intelligent Commerce checkout of USD 100.00 at https://pay.horos-sandbox.example/slack for invoice INV-20250201-1234, once; no other rail may pay it."
    },
    "approval": {
      "obligation": "entity_prod_ieEAMzvhgtHalvsm/t0_bill_prod_9a32a0da12fe3faf33e5",
      "state": "OPEN",
      "digest": "b6077f76124cc56381fb563d2db0f6621c75cb0c6b3b93d53fe2999c5854382b",
      "approvedBy": "cassxbt",
      "approvedAt": "2026-11-13T07:53:26.198Z"
    },
    "queueBefore": "READY_FOR_APPROVAL        Slack Technologies, Inc. INV-20250201-1234  USD 100.00  due 2026-03-16  [OPEN]",
    "queueAfter": "HOLD_FOR_REVIEW           Slack Technologies, Inc. INV-20250201-1234  USD 100.00  due 2026-03-16  [OPEN]",
    "email": {
      "exit": 4,
      "email": {
        "from": "Slack Accounts Receivable <ar@slack-billing.example>",
        "subject": "Updated remittance details for INV-20250201-1234",
        "date": "Wed, 12 Nov 2026 09:14:00 +0000"
      },
      "reading": {
        "kind": "BANK_DETAILS_CHANGE",
        "passage": "Please update your records and send the payment for invoice INV-20250201-1234 (USD 100.00), and all future payments, to our new account:",
        "summary": "The email asks us to send this Slack invoice and all future payments to a new Northbridge Commercial Bank IBAN, and to cancel any scheduled payment and resend it today. That pressure is a classic sign of payment fraud, so hold the payment until the change is confirmed with Slack using contact details we already have on file."
      },
      "model": "claude-opus-5-5",
      "source": "recorded demo/emails/bank-change.reading.json",
      "decision": {
        "outcome": "HOLD",
        "reasons": [
          "BANK_DETAILS_CHANGE_CLAIMED",
          "BANK_DETAIL_SIGNALS"
        ],
        "signals": [
          "IBAN",
          "CHANGED_PAYMENT_DETAILS"
        ],
        "quoted": true
      },
      "bills": [
        {
          "bill": "t0_bill_prod_36b6e84b60aea8b47b00",
          "invoice": "SLK-20261027",
          "amount": "USD 150.00",
          "action": "HOLD_FOR_REVIEW"
        },
        {
          "bill": "t0_bill_prod_58a1f4d87f8bd68715d2",
          "invoice": "SLK-20261020",
          "amount": "USD 150.00",
          "action": "HOLD_FOR_REVIEW"
        },
        {
          "bill": "t0_bill_prod_8379a9df7488692eacb3",
          "invoice": "SLK-20261103",
          "amount": "USD 150.00",
          "action": "HOLD_FOR_REVIEW"
        },
        {
          "bill": "t0_bill_prod_9a32a0da12fe3faf33e5",
          "invoice": "INV-20250201-1234",
          "amount": "USD 100.00",
          "action": "HOLD_FOR_REVIEW"
        }
      ],
      "alreadyStarted": [],
      "release": "a person confirms the vendor and the checkout destination through a known contact, then: scripts/queue.ts verify, and a new approval"
    },
    "attempts": [
      {
        "when": "the approved checkout, right after the email",
        "exit": 1,
        "refused": "BILL_HOLD_FOR_REVIEW",
        "state": null,
        "flags": [
          "VENDOR_NAME_SHARED",
          "OVERDUE",
          "VENDOR_VERIFIED",
          "SUPPLIER_EMAIL"
        ],
        "confirmsSoFar": 0
      },
      {
        "when": "again, after a fresh T:0 import",
        "exit": 1,
        "refused": "BILL_HOLD_FOR_REVIEW",
        "state": null,
        "flags": [
          "VENDOR_NAME_SHARED",
          "OVERDUE",
          "VENDOR_VERIFIED",
          "SUPPLIER_EMAIL"
        ],
        "confirmsSoFar": 0
      }
    ],
    "heldTotals": {
      "confirms": 0,
      "credentialFetches": 0,
      "providerCalls": 0
    },
    "release": {
      "stale": {
        "when": "the old approval, after the person verified again",
        "exit": 1,
        "refused": "APPROVAL_STALE:verificationId",
        "state": null,
        "flags": [
          "VENDOR_NAME_SHARED",
          "OVERDUE",
          "VENDOR_VERIFIED"
        ],
        "confirmsSoFar": 0
      },
      "reapproval": {
        "obligation": "entity_prod_ieEAMzvhgtHalvsm/t0_bill_prod_9a32a0da12fe3faf33e5",
        "state": "OPEN",
        "digest": "4bea6aacd7cdd62689f8ad715f11c0d85429079a6a55aefc581bba020f4373bf",
        "approvedBy": "cassxbt",
        "approvedAt": "2026-11-13T07:53:27.269Z"
      },
      "payment": {
        "exit": 0,
        "at": "2026-11-13T07:53:27.446Z",
        "obligation": "entity_prod_ieEAMzvhgtHalvsm/t0_bill_prod_9a32a0da12fe3faf33e5",
        "state": "PAID",
        "approvalDigest": "4bea6aacd7cdd62689f8ad715f11c0d85429079a6a55aefc581bba020f4373bf",
        "approvedBy": "cassxbt",
        "mandate": {
          "mandateId": "mdt_replay_2",
          "checks": "merchant portal and name, amount, currency, both expiries, VIC protocol and approval digest match the saved approval"
        },
        "airi": {
          "protocolType": "VIC",
          "tokenType": "DPAN"
        },
        "airwallex": {
          "paymentIntentId": "int_7b709ed6",
          "merchantOrderId": "t0_bill_prod_9a32a0da12fe3faf33e5-f5e0f265",
          "intentId": "int_7b709ed6",
          "expected": {
            "amount": 100,
            "currency": "USD"
          },
          "observed": {
            "id": "int_7b709ed6",
            "status": "SUCCEEDED",
            "amount": 100,
            "currency": "USD"
          },
          "confirmResponse": {
            "id": "int_7b709ed6",
            "status": "SUCCEEDED",
            "amount": 100,
            "currency": "USD"
          }
        },
        "airiReport": "REPORTED"
      }
    },
    "totals": {
      "confirms": 1,
      "airiResults": [
        "mdt_replay_2:SUCCEEDED"
      ]
    }
  },
  "controls": {
    "remittance": {
      "email": {
        "exit": 0,
        "email": {
          "from": "Slack Accounts Receivable <ar@slack-billing.example>",
          "subject": "Your invoice INV-20250201-1234 is ready",
          "date": "Wed, 12 Nov 2026 09:20:00 +0000"
        },
        "reading": {
          "kind": "ROUTINE",
          "passage": "You can pay it through the usual checkout link in your account. Nothing about how you pay us has changed.",
          "summary": "Routine invoice notice from Slack for INV-20250201-1234 (USD 100.00) with no request to change payment details. Note that the email is dated November 2026 but gives a March 2026 due date, and the sender domain is slack-billing.example, so it is worth a quick check against known Slack billing contacts."
        },
        "model": "claude-opus-5-5",
        "source": "recorded demo/emails/remittance.reading.json",
        "decision": {
          "outcome": "NOTED",
          "reasons": [],
          "signals": [],
          "quoted": true
        },
        "bills": [
          {
            "bill": "t0_bill_prod_36b6e84b60aea8b47b00",
            "invoice": "SLK-20261027",
            "amount": "USD 150.00",
            "action": "NEEDS_VENDOR_VERIFICATION"
          },
          {
            "bill": "t0_bill_prod_58a1f4d87f8bd68715d2",
            "invoice": "SLK-20261020",
            "amount": "USD 150.00",
            "action": "NEEDS_VENDOR_VERIFICATION"
          },
          {
            "bill": "t0_bill_prod_8379a9df7488692eacb3",
            "invoice": "SLK-20261103",
            "amount": "USD 150.00",
            "action": "NEEDS_VENDOR_VERIFICATION"
          },
          {
            "bill": "t0_bill_prod_9a32a0da12fe3faf33e5",
            "invoice": "INV-20250201-1234",
            "amount": "USD 100.00",
            "action": "READY_FOR_APPROVAL"
          }
        ],
        "alreadyStarted": []
      },
      "queueAfterEmail": "NOT_PAYABLE               Slack Technologies, Inc. INV-20250201-1234  USD 100.00  due 2026-03-16  [PAID]",
      "attempt": {
        "when": "the approved checkout, after the remittance email",
        "exit": 0,
        "refused": null,
        "state": "PAID",
        "flags": [],
        "confirmsSoFar": 1
      },
      "credentialFetches": 1,
      "confirms": 1
    },
    "forwarded": {
      "email": {
        "exit": 4,
        "email": {
          "from": "Priya Raman <priya.raman@horos-demo.example>",
          "subject": "Fwd: Slack - quick question",
          "date": "Wed, 12 Nov 2026 09:31:00 +0000"
        },
        "reading": {
          "kind": "UNCLEAR",
          "passage": "Hi Priya, before your team sends the next payment, can you confirm who I should speak to about where it goes? We are making some changes on our side and want to send the right instructions to the right person.",
          "summary": "A forwarded message from a non-Slack domain (slack-notices.example) hints at upcoming changes to where payments go without giving details. Treat it as a possible precursor to a bank-details change and verify with Slack through known contacts before paying or replying."
        },
        "model": "claude-opus-5-5",
        "source": "recorded demo/emails/forwarded-unclear.reading.json",
        "decision": {
          "outcome": "HOLD",
          "reasons": [
            "UNCLEAR"
          ],
          "signals": [],
          "quoted": true
        },
        "bills": [
          {
            "bill": "t0_bill_prod_36b6e84b60aea8b47b00",
            "invoice": "SLK-20261027",
            "amount": "USD 150.00",
            "action": "HOLD_FOR_REVIEW"
          },
          {
            "bill": "t0_bill_prod_58a1f4d87f8bd68715d2",
            "invoice": "SLK-20261020",
            "amount": "USD 150.00",
            "action": "HOLD_FOR_REVIEW"
          },
          {
            "bill": "t0_bill_prod_8379a9df7488692eacb3",
            "invoice": "SLK-20261103",
            "amount": "USD 150.00",
            "action": "HOLD_FOR_REVIEW"
          },
          {
            "bill": "t0_bill_prod_9a32a0da12fe3faf33e5",
            "invoice": "INV-20250201-1234",
            "amount": "USD 100.00",
            "action": "HOLD_FOR_REVIEW"
          }
        ],
        "alreadyStarted": [],
        "release": "a person confirms the vendor and the checkout destination through a known contact, then: scripts/queue.ts verify, and a new approval"
      },
      "queueAfterEmail": "HOLD_FOR_REVIEW           Slack Technologies, Inc. INV-20250201-1234  USD 100.00  due 2026-03-16  [OPEN]",
      "attempt": {
        "when": "the approved checkout, after the forwarded-unclear email",
        "exit": 1,
        "refused": "BILL_HOLD_FOR_REVIEW",
        "state": null,
        "flags": [
          "VENDOR_NAME_SHARED",
          "OVERDUE",
          "VENDOR_VERIFIED",
          "SUPPLIER_EMAIL"
        ],
        "confirmsSoFar": 0
      },
      "credentialFetches": 0,
      "confirms": 0
    }
  }
}