{
  "created_at": "2026-11-13T03:32:40Z",
  "result": {
    "engine": "consumer_agent",
    "limits": "Reviews the action record. It does not connect to any consumer service or move money. The run is Ed25519-signed; pin the issuer key out of band.",
    "module": "cain_a75_engines/consumeragent/engine.py",
    "profile": "ride_hotel_shop",
    "run": {
      "label": "Recomputes a consumer agent's authority across services: one delegated grant per service, scoped and capped actions, bound receipts, cancellation and refund paths, and a named accountable user. It moves no money.",
      "public_key_b64": "w4MROhU+Y75sKj7LRoWv7J2IjwzB9r07ne3lO6GFeKw=",
      "records": [
        {
          "checks": [
            {
              "detail": "user 'human:user-ana'",
              "id": "user.named_human",
              "ok": true
            },
            {
              "detail": "issued by 'human:user-ana'",
              "id": "G-ride.issued_by_user",
              "ok": true
            },
            {
              "detail": "purpose 'airport transfer'",
              "id": "G-ride.purpose",
              "ok": true
            },
            {
              "detail": "account access 'delegated'",
              "id": "G-ride.delegated_only",
              "ok": true
            },
            {
              "detail": "scopes ['catalog:read', 'booking:create']",
              "id": "G-ride.scopes",
              "ok": true
            },
            {
              "detail": "non-empty validity window",
              "id": "G-ride.window",
              "ok": true
            },
            {
              "detail": "issued by 'human:user-ana'",
              "id": "G-hotel.issued_by_user",
              "ok": true
            },
            {
              "detail": "purpose 'weekend stay'",
              "id": "G-hotel.purpose",
              "ok": true
            },
            {
              "detail": "account access 'delegated'",
              "id": "G-hotel.delegated_only",
              "ok": true
            },
            {
              "detail": "scopes ['catalog:read', 'booking:create', 'booking:cancel']",
              "id": "G-hotel.scopes",
              "ok": true
            },
            {
              "detail": "non-empty validity window",
              "id": "G-hotel.window",
              "ok": true
            },
            {
              "detail": "issued by 'human:user-ana'",
              "id": "G-shop.issued_by_user",
              "ok": true
            },
            {
              "detail": "purpose 'replacement charger'",
              "id": "G-shop.purpose",
              "ok": true
            },
            {
              "detail": "account access 'delegated'",
              "id": "G-shop.delegated_only",
              "ok": true
            },
            {
              "detail": "scopes ['catalog:read', 'purchase:create', 'refund:request']",
              "id": "G-shop.scopes",
              "ok": true
            },
            {
              "detail": "non-empty validity window",
              "id": "G-shop.window",
              "ok": true
            },
            {
              "detail": "1 grant(s) for svc:hotels",
              "id": "service.svc:hotels.one_grant",
              "ok": true
            },
            {
              "detail": "1 grant(s) for svc:rides",
              "id": "service.svc:rides.one_grant",
              "ok": true
            },
            {
              "detail": "1 grant(s) for svc:shop",
              "id": "service.svc:shop.one_grant",
              "ok": true
            },
            {
              "detail": "grant 'G-ride'",
              "id": "a1.grant",
              "ok": true
            },
            {
              "detail": "accountable 'human:user-ana'",
              "id": "a1.accountable",
              "ok": true
            },
            {
              "detail": "grant for 'svc:rides' used on 'svc:rides'",
              "id": "a1.same_service",
              "ok": true
            },
            {
              "detail": "search needs catalog:read",
              "id": "a1.scope",
              "ok": true
            },
            {
              "detail": "inside the grant validity",
              "id": "a1.in_window",
              "ok": true
            },
            {
              "detail": "grant 'G-ride'",
              "id": "a2.grant",
              "ok": true
            },
            {
              "detail": "accountable 'human:user-ana'",
              "id": "a2.accountable",
              "ok": true
            },
            {
              "detail": "grant for 'svc:rides' used on 'svc:rides'",
              "id": "a2.same_service",
              "ok": true
            },
            {
              "detail": "book needs booking:create",
              "id": "a2.scope",
              "ok": true
            },
            {
              "detail": "inside the grant validity",
              "id": "a2.in_window",
              "ok": true
            },
            {
              "detail": "currency 'SGD'",
              "id": "a2.currency",
              "ok": true
            },
            {
              "detail": "grant total 32.5 <= cap 60.0",
              "id": "a2.spend_cap",
              "ok": true
            },
            {
              "detail": "receipt bound to this action (id, hash, service, amount)",
              "id": "a2.receipt",
              "ok": true
            },
            {
              "detail": "cancellation and refund path recorded",
              "id": "a2.cancellation_path",
              "ok": true
            },
            {
              "detail": "grant 'G-hotel'",
              "id": "a3.grant",
              "ok": true
            },
            {
              "detail": "accountable 'human:user-ana'",
              "id": "a3.accountable",
              "ok": true
            },
            {
              "detail": "grant for 'svc:hotels' used on 'svc:hotels'",
              "id": "a3.same_service",
              "ok": true
            },
            {
              "detail": "book needs booking:create",
              "id": "a3.scope",
              "ok": true
            },
            {
              "detail": "inside the grant validity",
              "id": "a3.in_window",
              "ok": true
            },
            {
              "detail": "currency 'SGD'",
              "id": "a3.currency",
              "ok": true
            },
            {
              "detail": "grant total 320.0 <= cap 400.0",
              "id": "a3.spend_cap",
              "ok": true
            },
            {
              "detail": "receipt bound to this action (id, hash, service, amount)",
              "id": "a3.receipt",
              "ok": true
            },
            {
              "detail": "cancellation and refund path recorded",
              "id": "a3.cancellation_path",
              "ok": true
            },
            {
              "detail": "grant 'G-shop'",
              "id": "a5.grant",
              "ok": true
            },
            {
              "detail": "accountable 'human:user-ana'",
              "id": "a5.accountable",
              "ok": true
            },
            {
              "detail": "grant for 'svc:shop' used on 'svc:shop'",
              "id": "a5.same_service",
              "ok": true
            },
            {
              "detail": "purchase needs purchase:create",
              "id": "a5.scope",
              "ok": true
            },
            {
              "detail": "inside the grant validity",
              "id": "a5.in_window",
              "ok": true
            },
            {
              "detail": "currency 'SGD'",
              "id": "a5.currency",
              "ok": true
            },
            {
              "detail": "grant total 45.0 <= cap 80.0",
              "id": "a5.spend_cap",
              "ok": true
            },
            {
              "detail": "receipt bound to this action (id, hash, service, amount)",
              "id": "a5.receipt",
              "ok": true
            },
            {
              "detail": "cancellation and refund path recorded",
              "id": "a5.cancellation_path",
              "ok": true
            },
            {
              "detail": "grant 'G-hotel'",
              "id": "a4.grant",
              "ok": true
            },
            {
              "detail": "accountable 'human:user-ana'",
              "id": "a4.accountable",
              "ok": true
            },
            {
              "detail": "grant for 'svc:hotels' used on 'svc:hotels'",
              "id": "a4.same_service",
              "ok": true
            },
            {
              "detail": "cancel needs booking:cancel",
              "id": "a4.scope",
              "ok": true
            },
            {
              "detail": "inside the grant validity",
              "id": "a4.in_window",
              "ok": true
            },
            {
              "detail": "references 'a3'",
              "id": "a4.references_booking",
              "ok": true
            },
            {
              "detail": "cancelled before the refund deadline",
              "id": "a4.before_deadline",
              "ok": true
            },
            {
              "detail": "grant 'G-shop'",
              "id": "a6.grant",
              "ok": true
            },
            {
              "detail": "accountable 'human:user-ana'",
              "id": "a6.accountable",
              "ok": true
            },
            {
              "detail": "grant for 'svc:shop' used on 'svc:shop'",
              "id": "a6.same_service",
              "ok": true
            },
            {
              "detail": "refund needs refund:request",
              "id": "a6.scope",
              "ok": true
            },
            {
              "detail": "inside the grant validity",
              "id": "a6.in_window",
              "ok": true
            },
            {
              "detail": "references 'a5'",
              "id": "a6.references_booking",
              "ok": true
            },
            {
              "detail": "refunds 45.0 <= paid 45.0",
              "id": "a6.refund_bound",
              "ok": true
            },
            {
              "detail": "the booking was refundable",
              "id": "a6.refundable",
              "ok": true
            },
            {
              "detail": "claimed True, computed True",
              "id": "claims.accountable_principal_named",
              "ok": true
            },
            {
              "detail": "claimed True, computed True",
              "id": "claims.actions_within_grants",
              "ok": true
            },
            {
              "detail": "claimed True, computed True",
              "id": "claims.cancellation_paths_recorded",
              "ok": true
            },
            {
              "detail": "claimed True, computed True",
              "id": "claims.per_service_grants",
              "ok": true
            },
            {
              "detail": "claimed True, computed True",
              "id": "claims.receipts_bound",
              "ok": true
            }
          ],
          "created_at": "2026-11-13T03:32:40Z",
          "engine": "a75-053/1.0.0",
          "extra": {
            "computed": {
              "accountable_principal_named": true,
              "actions_within_grants": true,
              "cancellation_paths_recorded": true,
              "per_service_grants": true,
              "receipts_bound": true
            },
            "grants": {
              "G-hotel": {
                "service": "svc:hotels",
                "spent": 320.0
              },
              "G-ride": {
                "service": "svc:rides",
                "spent": 32.5
              },
              "G-shop": {
                "service": "svc:shop",
                "spent": 45.0
              }
            }
          },
          "failed": [],
          "label": "Recomputes a consumer agent's authority across services: one delegated grant per service, scoped and capped actions, bound receipts, cancellation and refund paths, and a named accountable user. It moves no money.",
          "prev_record_hash": "26d75abf3adbe07678ddde2caaac31cb842bf02b55d3b23f439cab35a0c425a5",
          "public_key_b64": "w4MROhU+Y75sKj7LRoWv7J2IjwzB9r07ne3lO6GFeKw=",
          "record_hash": "bad3fde58b4f8becf21e23db049502c7b31c33ae16787c65f7586ad4002a6d41",
          "schema": "cain42.a75.consumeragent.record.v1",
          "signature_b64": "RJOda1TfbLL5/6SovqmjtkMfhdgocU7svpdDLZNAG+lR6m7S08Bo2XMyX32NiNAY4pbZADeNeNBiUSPdhcBtDw==",
          "sku": "CAIN-A75-053",
          "subject": {
            "actions": [
              {
                "accountable": "human:user-ana",
                "at": 2000.0,
                "grant_id": "G-ride",
                "id": "a1",
                "kind": "search",
                "service": "svc:rides"
              },
              {
                "accountable": "human:user-ana",
                "amount": 32.5,
                "at": 2100.0,
                "cancellation": {
                  "path": "https://rides.example/cancel",
                  "refundable": false
                },
                "currency": "SGD",
                "grant_id": "G-ride",
                "id": "a2",
                "kind": "book",
                "receipt": {
                  "amount": 32.5,
                  "id": "rcpt-a2",
                  "service": "svc:rides",
                  "sha256": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
                },
                "service": "svc:rides"
              },
              {
                "accountable": "human:user-ana",
                "amount": 320.0,
                "at": 3000.0,
                "cancellation": {
                  "deadline": 50000.0,
                  "path": "https://hotels.example/cancel",
                  "refundable": true
                },
                "currency": "SGD",
                "grant_id": "G-hotel",
                "id": "a3",
                "kind": "book",
                "receipt": {
                  "amount": 320.0,
                  "id": "rcpt-a3",
                  "service": "svc:hotels",
                  "sha256": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
                },
                "service": "svc:hotels"
              },
              {
                "accountable": "human:user-ana",
                "at": 40000.0,
                "grant_id": "G-hotel",
                "id": "a4",
                "kind": "cancel",
                "ref_action": "a3",
                "service": "svc:hotels"
              },
              {
                "accountable": "human:user-ana",
                "amount": 45.0,
                "at": 5000.0,
                "cancellation": {
                  "deadline": 80000.0,
                  "path": "https://shop.example/cancel",
                  "refundable": true
                },
                "currency": "SGD",
                "grant_id": "G-shop",
                "id": "a5",
                "kind": "purchase",
                "receipt": {
                  "amount": 45.0,
                  "id": "rcpt-a5",
                  "service": "svc:shop",
                  "sha256": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc"
                },
                "service": "svc:shop"
              },
              {
                "accountable": "human:user-ana",
                "amount": 45.0,
                "at": 60000.0,
                "currency": "SGD",
                "grant_id": "G-shop",
                "id": "a6",
                "kind": "refund",
                "ref_action": "a5",
                "service": "svc:shop"
              }
            ],
            "assistant": {
              "id": "agent:consumer-assistant"
            },
            "claims": {
              "accountable_principal_named": true,
              "actions_within_grants": true,
              "cancellation_paths_recorded": true,
              "per_service_grants": true,
              "receipts_bound": true
            },
            "grants": [
              {
                "account_access": "delegated",
                "currency": "SGD",
                "expires_at": 90000.0,
                "id": "G-ride",
                "issued_at": 1000.0,
                "issued_by": "human:user-ana",
                "purpose": "airport transfer",
                "scopes": [
                  "catalog:read",
                  "booking:create"
                ],
                "service": "svc:rides",
                "spend_cap": 60.0
              },
              {
                "account_access": "delegated",
                "currency": "SGD",
                "expires_at": 90000.0,
                "id": "G-hotel",
                "issued_at": 1000.0,
                "issued_by": "human:user-ana",
                "purpose": "weekend stay",
                "scopes": [
                  "catalog:read",
                  "booking:create",
                  "booking:cancel"
                ],
                "service": "svc:hotels",
                "spend_cap": 400.0
              },
              {
                "account_access": "delegated",
                "currency": "SGD",
                "expires_at": 90000.0,
                "id": "G-shop",
                "issued_at": 1000.0,
                "issued_by": "human:user-ana",
                "purpose": "replacement charger",
                "scopes": [
                  "catalog:read",
                  "purchase:create",
                  "refund:request"
                ],
                "service": "svc:shop",
                "spend_cap": 80.0
              }
            ],
            "schema": "cain42.a75.consumeragent.review.v1",
            "user": {
              "principal": "human:user-ana"
            }
          },
          "subject_sha256": "7da466e0aeb6d06afc2306d2b3b06a566fcc009eff087c5ec9f98f9df0bfaa84",
          "verdict": "SOUND"
        }
      ],
      "run_hash": "ee7860bcf686be67b8f431168752cde537e7e2a790b5f70daa739faab5e7cb27",
      "schema": "cain42.a75.consumeragent.run.v1",
      "sku": "CAIN-A75-053",
      "verdict": "VERIFIED",
      "verdicts": [
        "SOUND"
      ]
    },
    "scenarios": [
      {
        "grants": {
          "G-hotel": {
            "service": "svc:hotels",
            "spent": 320.0
          },
          "G-ride": {
            "service": "svc:rides",
            "spent": 32.5
          },
          "G-shop": {
            "service": "svc:shop",
            "spent": 45.0
          }
        },
        "name": "ride_hotel_shop",
        "run_hash": "ee7860bcf686be67b8f431168752cde537e7e2a790b5f70daa739faab5e7cb27",
        "verdict": "VERIFIED"
      },
      {
        "expected": "SOUND",
        "name": "honest_consumer_actions",
        "verdict": "SOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "full_account_access",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "grant_reused_on_other_service",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "one_grant_for_two_services",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "grant_not_from_user",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "missing_scope",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "over_spend_cap",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "after_grant_expiry",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "booking_without_receipt",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "receipt_for_other_amount",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "no_cancellation_path",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "cancelled_after_deadline",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "refund_exceeds_payment",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "refund_on_non_refundable",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "cancel_unknown_booking",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "no_accountable_principal",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "wrong_currency",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "claim_overstates",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "unknown_claim",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "wrong_schema",
        "verdict": "UNSOUND"
      },
      {
        "expected": "UNSOUND",
        "name": "garbage",
        "verdict": "UNSOUND"
      }
    ],
    "summary": "VERIFIED: per-service delegated grants, scoped and capped actions, bound receipts, cancellation and refund paths and the accountable user recomputed; 21/21 consumer-authority failure cases as expected"
  },
  "schema": "cain42.agentic75.findings.v1",
  "sku": "CAIN-A75-053"
}
