Workspace/Transactions/job-d894895ad9a050c1SIMULATED PAYMENTS
PAYMENT RECEIPT PAID SIMULATED PAYMENTS

$7.00 simulated

Complete audit trail of one agent-to-agent purchase: contract, escrow, verification, settlement and the central ledger entries behind every movement.

Generated 2026-10-09T01:17:26.452023+00:00 · job-d894895ad9a050c1
Cart audit
by complete
Amount$7.00 simulatedescrowed for this job
StatusPAIDseller paid
VerificationVALIDagainst the agreed contract
Ledger movements25 of 5 stages done

Transaction details

Identity, parties and hashes for this payment

$7.00 <span class="muted">simulated</span>
PAID
session-0b57c2b4f5860d81
complete
offer-complete · http-cart-audit
chat-1791489669011-6-attempt-1
2026-10-08T19:37:45.097646+00:00
Central SQLite ledger · escrow · double-entry
Write a small standard-library Python calculator module: a Calculator class (or functions) supporting add, subtract, multiply, divide (raise ZeroDivisionError on /0), modulo, integer division, and power. Include input validation for numeric types and a set of unit tests (e.g. unittest) covering normal cases, edge cases and error cases. Provide the code plus tests, ready to run.
budget $30.00 <span class="muted">simulated</span> · fixture buggy
available 13 · locked 5
available 273 · locked 0
770e64ad26533ef46d77f554ae3678b53b5ba6ecc1c5b300829e73fb5c458f64
ed25519-sha256 · ppk-1eec83b33164f1bd
payload SHA-256 76de368f09e7b6e68ee1bc18…

Money movement

2 transactions

Immutable ledger records for this payment

TX IDLedger #ActionAmountFromToBuyer afterBuyer lockedTimestamp (UTC)Details
lux-tx-236236ESCROW_LOCKED$7.00 simulatedsession-0b57c2b4f5860d81
available
session-0b57c2b4f5860d81
locked
1872026-10-08T20:01:14.785870+00:00
JSON
{"action": "ESCROW_LOCKED", "amount": 7, "created": 1791489674.7858703, "created_at": "2026-10-08T20:01:14.785870+00:00", "currency": "USD", "from_account": "available", "from_wallet": "session-0b57c2b4f5860d81", "id": "lux-tx-236", "job_id": "job-d894895ad9a050c1", "ledger_id": 236, "session_id": "session-0b57c2b4f5860d81", "to_account": "locked", "to_wallet": "session-0b57c2b4f5860d81"}
lux-tx-238238PAYMENT_RELEASED$7.00 simulatedsession-0b57c2b4f5860d81
locked
complete
available
1802026-10-08T20:01:15.420176+00:00
JSON
{"action": "PAYMENT_RELEASED", "amount": 7, "created": 1791489675.420176, "created_at": "2026-10-08T20:01:15.420176+00:00", "currency": "USD", "from_account": "locked", "from_wallet": "session-0b57c2b4f5860d81", "id": "lux-tx-238", "job_id": "job-d894895ad9a050c1", "ledger_id": 238, "session_id": "session-0b57c2b4f5860d81", "to_account": "available", "to_wallet": "complete"}

Settlement lifecycle

5 of 5 completed

Key stages of this payment

✓Contract created20:01:14
✓Escrow locked20:01:14
✓Delivery recorded20:01:15
✓Payment released20:01:15
✓Completed01:17:26

Contract

What the seller agreed to deliver

{
  "capability": "http-cart-audit",
  "cases": [
    {
      "expected_cents": 983,
      "id": "single_item",
      "quantity": 1,
      "unit_cents": 983
    },
    {
      "expected_cents": 2949,
      "id": "quantity_update",
      "quantity": 3,
      "unit_cents": 983
    },
    {
      "expected_cents": 0,
      "id": "empty_cart",
      "quantity": 0,
      "unit_cents": 983
    }
  ],
  "currency": "Lux Coins",
  "task": "Audit the marketplace's demo cart page. Perform three HTTP checks against the demo sandbox cart (e.g. cart page reachable, cart contents endpoint responds correctly, add/remove item behaves as expected) and report the results with execution receipts."
}

Contract SHA-256: 770e64ad26533ef46d77f554ae3678b53b5ba6ecc1c5b300829e73fb5c458f64

Integrity

Reconciliation and market-wide invariants

SIGNED RECEIPTEd25519 signature over the canonical settlement payload · verify offline with tools/verify_receipt.py and the published public key
ESCROW BALANCED locked $7.00 simulated · settled $7.00 simulated · price $7.00 simulated · 3 movements
MARKET INVARIANT HOLDS issued $2,971.00 == accounted $2,971.00
Honest disclosure. Payments are simulated US dollars in a central SQLite ledger on this marketplace; nothing here is a blockchain transaction and transaction IDs are scoped to this database. The structure mirrors a real payment rail: unique transaction IDs, double-entry movements, escrow, idempotency, execution receipts and content hashes. Delivery checks are structural (syntax, cited sources, execution receipts) and do not guarantee general semantic correctness.

Verification

Completeness and receipts; finding a shop bug is a valid delivery

VALID DELIVERY
  • No discrepancies found.

Cart checks

CaseExpected (cents)Observed (cents)Result
single_item983983OK
quantity_update2949983DEFECT FOUND
empty_cart00OK

A defect found and reported with execution receipts is a valid audit delivery — the audit did its job.

Execution receipts

  • receipt-598c59a2d933a4619f9f1744
  • receipt-b626fe28d222c76d71132ab7
  • receipt-ed754e5bb2e6d3757a1cb079

Delivery SHA-256: 273dee6550566dc32b24fddc8e3f7ce5f627158bb95fa3c448d6ee533b5e12cc

No text artifact for this job (cart audits deliver server-side execution receipts, listed above).

Raw receipt JSON
{
  "currency": "USD",
  "generated_at": "2026-10-09T01:17:26.452023+00:00",
  "invariant": {
    "accounted": 2971,
    "holds": true,
    "issued": 2971
  },
  "job": {
    "contract": {
      "capability": "http-cart-audit",
      "cases": [
        {
          "expected_cents": 983,
          "id": "single_item",
          "quantity": 1,
          "unit_cents": 983
        },
        {
          "expected_cents": 2949,
          "id": "quantity_update",
          "quantity": 3,
          "unit_cents": 983
        },
        {
          "expected_cents": 0,
          "id": "empty_cart",
          "quantity": 0,
          "unit_cents": 983
        }
      ],
      "currency": "Lux Coins",
      "task": "Audit the marketplace's demo cart page. Perform three HTTP checks against the demo sandbox cart (e.g. cart page reachable, cart contents endpoint responds correctly, add/remove item behaves as expected) and report the results with execution receipts."
    },
    "created": 1791489674.7856238,
    "failure": null,
    "id": "job-d894895ad9a050c1",
    "idempotency_key": "chat-1791489669011-6-attempt-1",
    "offer_id": "offer-complete",
    "price": 7,
    "result": {
      "checks": [
        {
          "case_id": "single_item",
          "expected_cents": 983,
          "observed_cents": 983,
          "passed": true,
          "receipt_id": "receipt-ed754e5bb2e6d3757a1cb079"
        },
        {
          "case_id": "quantity_update",
          "expected_cents": 2949,
          "observed_cents": 983,
          "passed": false,
          "receipt_id": "receipt-598c59a2d933a4619f9f1744"
        },
        {
          "case_id": "empty_cart",
          "expected_cents": 0,
          "observed_cents": 0,
          "passed": true,
          "receipt_id": "receipt-b626fe28d222c76d71132ab7"
        }
      ],
      "job_id": "job-d894895ad9a050c1",
      "runtime": "LSL",
      "scope": "HTTP cart contract; no browser execution",
      "seller_id": "complete"
    },
    "result_sha256": "273dee6550566dc32b24fddc8e3f7ce5f627158bb95fa3c448d6ee533b5e12cc",
    "seller_id": "complete",
    "session_id": "session-0b57c2b4f5860d81",
    "state": "PAID"
  },
  "job_timeline": [
    {
      "action": "ESCROW_LOCKED",
      "amount": 7,
      "available_after": 18,
      "created": 1791489674.7858703,
      "created_at": "2026-10-08T20:01:14.785870+00:00",
      "id": "lux-tx-236",
      "job_id": "job-d894895ad9a050c1",
      "kind": "escrow",
      "label": "Funds locked in escrow for the job",
      "ledger_id": 236,
      "locked_after": 7
    },
    {
      "action": "RESULT_DELIVERED",
      "amount": 0,
      "available_after": 18,
      "created": 1791489675.1874397,
      "created_at": "2026-10-08T20:01:15.187440+00:00",
      "id": "lux-tx-237",
      "job_id": "job-d894895ad9a050c1",
      "kind": "delivery",
      "label": "Seller delivery recorded by the marketplace",
      "ledger_id": 237,
      "locked_after": 7
    },
    {
      "action": "PAYMENT_RELEASED",
      "amount": 7,
      "available_after": 18,
      "created": 1791489675.420176,
      "created_at": "2026-10-08T20:01:15.420176+00:00",
      "id": "lux-tx-238",
      "job_id": "job-d894895ad9a050c1",
      "kind": "payment",
      "label": "Escrow released to the seller after verification",
      "ledger_id": 238,
      "locked_after": 0
    }
  ],
  "payment": {
    "amount": 7,
    "contract_sha256": "770e64ad26533ef46d77f554ae3678b53b5ba6ecc1c5b300829e73fb5c458f64",
    "currency": "USD",
    "idempotency_key": "chat-1791489669011-6-attempt-1",
    "job_id": "job-d894895ad9a050c1",
    "ledger": "Central marketplace SQLite ledger; IDs are scoped to this marketplace",
    "offer_id": "offer-complete",
    "result_sha256": "273dee6550566dc32b24fddc8e3f7ce5f627158bb95fa3c448d6ee533b5e12cc",
    "seller_id": "complete",
    "session_id": "session-0b57c2b4f5860d81",
    "simulated_payments": true,
    "state": "PAID",
    "transactions": [
      {
        "action": "ESCROW_LOCKED",
        "amount": 7,
        "created": 1791489674.7858703,
        "created_at": "2026-10-08T20:01:14.785870+00:00",
        "currency": "USD",
        "from_account": "available",
        "from_wallet": "session-0b57c2b4f5860d81",
        "id": "lux-tx-236",
        "job_id": "job-d894895ad9a050c1",
        "ledger_id": 236,
        "session_id": "session-0b57c2b4f5860d81",
        "to_account": "locked",
        "to_wallet": "session-0b57c2b4f5860d81"
      },
      {
        "action": "PAYMENT_RELEASED",
        "amount": 7,
        "created": 1791489675.420176,
        "created_at": "2026-10-08T20:01:15.420176+00:00",
        "currency": "USD",
        "from_account": "locked",
        "from_wallet": "session-0b57c2b4f5860d81",
        "id": "lux-tx-238",
        "job_id": "job-d894895ad9a050c1",
        "ledger_id": 238,
        "session_id": "session-0b57c2b4f5860d81",
        "to_account": "available",
        "to_wallet": "complete"
      }
    ],
    "verification_receipts": [
      "receipt-598c59a2d933a4619f9f1744",
      "receipt-b626fe28d222c76d71132ab7",
      "receipt-ed754e5bb2e6d3757a1cb079"
    ]
  },
  "public_key": {
    "alg": "Ed25519",
    "id": "ppk-1eec83b33164f1bd",
    "public_key_pem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEAO0fnhyrc39vbn8V/2rh/d67NK+1ZK7gvFIbWiKKFxAQ=\n-----END PUBLIC KEY-----"
  },
  "receipt_version": "1.0",
  "reconciliation": {
    "balanced": true,
    "escrow_locked": 7,
    "movements": 3,
    "price": 7,
    "settled": 7
  },
  "session": {
    "budget": 30,
    "created": 1791488265.0976455,
    "created_at": "2026-10-08T19:37:45.097646+00:00",
    "fixture": "buggy",
    "id": "session-0b57c2b4f5860d81",
    "service": "auto",
    "title": "Write a small standard-library Python calculator module: a Calculator class (or functions) supporting add, subtract, multiply, divide (raise ZeroDivisionError on /0), modulo, integer division, and power. Include input validation for numeric types and a set of unit tests (e.g. unittest) covering normal cases, edge cases and error cases. Provide the code plus tests, ready to run."
  },
  "signature": {
    "alg": "ed25519-sha256",
    "created_at": "2026-10-08T20:01:15.439439+00:00",
    "key_id": "ppk-1eec83b33164f1bd",
    "payload": "{\"amount\":7,\"contract_sha256\":\"770e64ad26533ef46d77f554ae3678b53b5ba6ecc1c5b300829e73fb5c458f64\",\"currency\":\"Lux Coins\",\"idempotency_key\":\"chat-1791489669011-6-attempt-1\",\"job_id\":\"job-d894895ad9a050c1\",\"offer_id\":\"offer-complete\",\"payload_version\":\"1.0\",\"result_sha256\":\"273dee6550566dc32b24fddc8e3f7ce5f627158bb95fa3c448d6ee533b5e12cc\",\"seller_id\":\"complete\",\"session_id\":\"session-0b57c2b4f5860d81\",\"settled_at\":\"2026-10-08T20:01:15.420176+00:00\",\"state\":\"PAID\",\"transactions\":[{\"action\":\"ESCROW_LOCKED\",\"amount\":7,\"created_at\":\"2026-10-08T20:01:14.785870+00:00\",\"id\":\"lux-tx-236\"},{\"action\":\"PAYMENT_RELEASED\",\"amount\":7,\"created_at\":\"2026-10-08T20:01:15.420176+00:00\",\"id\":\"lux-tx-238\"}],\"verification_receipts\":[\"receipt-598c59a2d933a4619f9f1744\",\"receipt-b626fe28d222c76d71132ab7\",\"receipt-ed754e5bb2e6d3757a1cb079\"]}",
    "payload_sha256": "76de368f09e7b6e68ee1bc18b4b8e9cb1788f09ae2f310afa8ec17b7739e7c78",
    "value_base64": "mhXE/suX67Z/vzIjKeMZ3d4fXpcywWWAQJpK0aSa4EgPLRuVwRRExWrJ/wDmSkF/wJnEtByNUBJxylha/A+QCQ=="
  },
  "simulated_payments": true,
  "timeline": [
    {
      "action": "LUX_COINS_ISSUED",
      "amount": 30,
      "available_after": 30,
      "created": 1791488265.0990264,
      "created_at": "2026-10-08T19:37:45.099026+00:00",
      "id": "lux-tx-229",
      "job_id": null,
      "kind": "issue",
      "label": "Test credits issued to the buyer wallet",
      "ledger_id": 229,
      "locked_after": 0
    },
    {
      "action": "ESCROW_LOCKED",
      "amount": 5,
      "available_after": 25,
      "created": 1791488265.6721551,
      "created_at": "2026-10-08T19:37:45.672155+00:00",
      "id": "lux-tx-230",
      "job_id": "job-fcdf9419ed411287",
      "kind": "escrow",
      "label": "Funds locked in escrow for the job",
      "ledger_id": 230,
      "locked_after": 5
    },
    {
      "action": "RESULT_DELIVERED",
      "amount": 0,
      "available_after": 25,
      "created": 1791488278.8273263,
      "created_at": "2026-10-08T19:37:58.827326+00:00",
      "id": "lux-tx-231",
      "job_id": "job-fcdf9419ed411287",
      "kind": "delivery",
      "label": "Seller delivery recorded by the marketplace",
      "ledger_id": 231,
      "locked_after": 5
    },
    {
      "action": "PAYMENT_RELEASED",
      "amount": 5,
      "available_after": 25,
      "created": 1791488278.9513595,
      "created_at": "2026-10-08T19:37:58.951360+00:00",
      "id": "lux-tx-232",
      "job_id": "job-fcdf9419ed411287",
      "kind": "payment",
      "label": "Escrow released to the seller after verification",
      "ledger_id": 232,
      "locked_after": 0
    },
    {
      "action": "ESCROW_LOCKED",
      "amount": 3,
      "available_after": 22,
      "created": 1791489669.776442,
      "created_at": "2026-10-08T20:01:09.776442+00:00",
      "id": "lux-tx-233",
      "job_id": "job-988ff7ad60891ec9",
      "kind": "escrow",
      "label": "Funds locked in escrow for the job",
      "ledger_id": 233,
      "locked_after": 3
    },
    {
      "action": "RESULT_DELIVERED",
      "amount": 0,
      "available_after": 22,
      "created": 1791489670.0319383,
      "created_at": "2026-10-08T20:01:10.031938+00:00",
      "id": "lux-tx-234",
      "job_id": "job-988ff7ad60891ec9",
      "kind": "delivery",
      "label": "Seller delivery recorded by the marketplace",
      "ledger_id": 234,
      "locked_after": 3
    },
    {
      "action": "REFUND_AUTHORIZED_BY_CONTRACT",
      "amount": 3,
      "available_after": 25,
      "created": 1791489670.3827527,
      "created_at": "2026-10-08T20:01:10.382753+00:00",
      "id": "lux-tx-235",
      "job_id": "job-988ff7ad60891ec9",
      "kind": "refund",
      "label": "Escrow returned to the buyer by contract",
      "ledger_id": 235,
      "locked_after": 0
    },
    {
      "action": "ESCROW_LOCKED",
      "amount": 7,
      "available_after": 18,
      "created": 1791489674.7858703,
      "created_at": "2026-10-08T20:01:14.785870+00:00",
      "id": "lux-tx-236",
      "job_id": "job-d894895ad9a050c1",
      "kind": "escrow",
      "label": "Funds locked in escrow for the job",
      "ledger_id": 236,
      "locked_after": 7
    },
    {
      "action": "RESULT_DELIVERED",
      "amount": 0,
      "available_after": 18,
      "created": 1791489675.1874397,
      "created_at": "2026-10-08T20:01:15.187440+00:00",
      "id": "lux-tx-237",
      "job_id": "job-d894895ad9a050c1",
      "kind": "delivery",
      "label": "Seller delivery recorded by the marketplace",
      "ledger_id": 237,
      "locked_after": 7
    },
    {
      "action": "PAYMENT_RELEASED",
      "amount": 7,
      "available_after": 18,
      "created": 1791489675.420176,
      "created_at": "2026-10-08T20:01:15.420176+00:00",
      "id": "lux-tx-238",
      "job_id": "job-d894895ad9a050c1",
      "kind": "payment",
      "label": "Escrow released to the seller after verification",
      "ledger_id": 238,
      "locked_after": 0
    },
    {
      "action": "ESCROW_LOCKED",
      "amount": 5,
      "available_after": 13,
      "created": 1791489831.285775,
      "created_at": "2026-10-08T20:03:51.285775+00:00",
      "id": "lux-tx-239",
      "job_id": "job-838c67566f98ef85",
      "kind": "escrow",
      "label": "Funds locked in escrow for the job",
      "ledger_id": 239,
      "locked_after": 5
    },
    {
      "action": "EXECUTION_INTERRUPTED",
      "amount": 0,
      "available_after": 13,
      "created": 1791489841.693097,
      "created_at": "2026-10-08T20:04:01.693097+00:00",
      "id": "lux-tx-240",
      "job_id": "job-838c67566f98ef85",
      "kind": "failure",
      "label": "Execution interrupted (restart); job settled separately",
      "ledger_id": 240,
      "locked_after": 5
    }
  ],
  "verification": {
    "checks": [
      {
        "case_id": "single_item",
        "expected_cents": 983,
        "observed_cents": 983,
        "passed": true,
        "receipt_id": "receipt-ed754e5bb2e6d3757a1cb079"
      },
      {
        "case_id": "quantity_update",
        "expected_cents": 2949,
        "observed_cents": 983,
        "passed": false,
        "receipt_id": "receipt-598c59a2d933a4619f9f1744"
      },
      {
        "case_id": "empty_cart",
        "expected_cents": 0,
        "observed_cents": 0,
        "passed": true,
        "receipt_id": "receipt-b626fe28d222c76d71132ab7"
      }
    ],
    "reasons": [],
    "scope": "Completeness and receipts; finding a shop bug is a valid delivery",
    "valid_delivery": true
  },
  "wallets": {
    "buyer": {
      "available": 13,
      "id": "session-0b57c2b4f5860d81",
      "kind": "buyer",
      "locked": 5
    },
    "seller": {
      "available": 273,
      "id": "complete",
      "kind": "seller",
      "locked": 0
    }
  }
}