[
 {
  "id": "C01",
  "http_status": 200,
  "recorded_at": "2026-11-03T22:48:10+00:00",
  "ms": 72,
  "reply": {
   "guard": "autonomy-lease",
   "carve_out": 15,
   "name": "L5 Agent Autonomy Lease Governor",
   "engine": "cain.autonomy.autonomy_lease.AutonomyLeaseGovernor",
   "verdict": "ALL_ALLOWED",
   "steps": [
    {
     "step": 1,
     "op": "grant",
     "what": "lease L-ops-agent-1 (level 3) signed by human_ops_lead",
     "verdict": "ALLOW",
     "executed": true,
     "findings": [],
     "data": {
      "lease_id": "L-ops-agent-1",
      "agent_id": "ops-agent",
      "level": 3,
      "issued_by": "human_ops_lead"
     }
    },
    {
     "step": 2,
     "op": "check",
     "what": "ops-agent: read",
     "verdict": "ALLOW",
     "executed": true,
     "findings": [],
     "data": {
      "lease_id": "L-ops-agent-1",
      "level": 3,
      "class": "read",
      "effective_level": 3,
      "remaining": {
       "actions": 499.0,
       "spend_usd": 200.0,
       "irreversible": 0.0,
       "records_affected": 10000.0
      }
     }
    },
    {
     "step": 3,
     "op": "check",
     "what": "ops-agent: write",
     "verdict": "ALLOW",
     "executed": true,
     "findings": [],
     "data": {
      "lease_id": "L-ops-agent-1",
      "level": 3,
      "class": "write",
      "effective_level": 3,
      "remaining": {
       "actions": 498.0,
       "spend_usd": 200.0,
       "irreversible": 0.0,
       "records_affected": 9988.0
      }
     }
    },
    {
     "step": 4,
     "op": "check",
     "what": "ops-agent: spend $30",
     "verdict": "ALLOW",
     "executed": true,
     "findings": [],
     "data": {
      "lease_id": "L-ops-agent-1",
      "level": 3,
      "class": "spend",
      "effective_level": 3,
      "remaining": {
       "actions": 497.0,
       "spend_usd": 170.0,
       "irreversible": 0.0,
       "records_affected": 9988.0
      }
     }
    }
   ],
   "stopped_steps": [],
   "run_ms": 4.329,
   "note": "Simulated scenario through the production engine. ALLOW means this guard does not object; the vehicle's certified safety systems and CAIN policy still decide. Nothing real was commanded."
  }
 },
 {
  "id": "C02",
  "http_status": 200,
  "recorded_at": "2026-11-03T22:48:11+00:00",
  "ms": 58,
  "reply": {
   "guard": "autonomy-lease",
   "carve_out": 15,
   "name": "L5 Agent Autonomy Lease Governor",
   "engine": "cain.autonomy.autonomy_lease.AutonomyLeaseGovernor",
   "verdict": "STOPPED",
   "steps": [
    {
     "step": 1,
     "op": "grant",
     "what": "lease L-ops-agent-1 (level 5) signed by agent_ops_agent",
     "verdict": "DENY",
     "executed": false,
     "findings": [
      {
       "rule": "SELF_ISSUED_LEASE",
       "severity": "DENY",
       "detail": "signed by agent key 'agent_ops_agent': an agent cannot grant or renew its own autonomy"
      }
     ],
     "data": {}
    },
    {
     "step": 2,
     "op": "grant",
     "what": "lease L-ops-agent-1 (level 3) signed by someone_else",
     "verdict": "DENY",
     "executed": false,
     "findings": [
      {
       "rule": "ISSUER_NOT_PINNED",
       "severity": "DENY",
       "detail": "signed by 'someone_else', not a pinned human issuer"
      }
     ],
     "data": {}
    },
    {
     "step": 3,
     "op": "grant",
     "what": "lease L-ops-agent-1 (level 5) signed by human_ops_lead (edited)",
     "verdict": "DENY",
     "executed": false,
     "findings": [
      {
       "rule": "LEASE_SIGNATURE_INVALID",
       "severity": "DENY",
       "detail": "signature does not match: the lease was edited after signing"
      }
     ],
     "data": {}
    },
    {
     "step": 4,
     "op": "check",
     "what": "ops-agent: read",
     "verdict": "DENY",
     "executed": false,
     "findings": [
      {
       "rule": "NO_LEASE",
       "severity": "DENY",
       "detail": "agent 'ops-agent' holds no autonomy lease"
      }
     ],
     "data": {}
    }
   ],
   "stopped_steps": [
    1,
    2,
    3,
    4
   ],
   "run_ms": 2.118,
   "note": "Simulated scenario through the production engine. ALLOW means this guard does not object; the vehicle's certified safety systems and CAIN policy still decide. Nothing real was commanded."
  }
 },
 {
  "id": "C03",
  "http_status": 200,
  "recorded_at": "2026-11-03T22:48:11+00:00",
  "ms": 46,
  "reply": {
   "guard": "autonomy-lease",
   "carve_out": 15,
   "name": "L5 Agent Autonomy Lease Governor",
   "engine": "cain.autonomy.autonomy_lease.AutonomyLeaseGovernor",
   "verdict": "STOPPED",
   "steps": [
    {
     "step": 1,
     "op": "grant",
     "what": "lease L-ops-agent-1 (level 3) signed by human_ops_lead",
     "verdict": "ALLOW",
     "executed": true,
     "findings": [],
     "data": {
      "lease_id": "L-ops-agent-1",
      "agent_id": "ops-agent",
      "level": 3,
      "issued_by": "human_ops_lead"
     }
    },
    {
     "step": 2,
     "op": "check",
     "what": "ops-agent: spend $45",
     "verdict": "ALLOW",
     "executed": true,
     "findings": [],
     "data": {
      "lease_id": "L-ops-agent-1",
      "level": 3,
      "class": "spend",
      "effective_level": 3,
      "remaining": {
       "actions": 499.0,
       "spend_usd": 155.0,
       "irreversible": 0.0,
       "records_affected": 10000.0
      }
     }
    },
    {
     "step": 3,
     "op": "check",
     "what": "ops-agent: spend $45",
     "verdict": "ALLOW",
     "executed": true,
     "findings": [],
     "data": {
      "lease_id": "L-ops-agent-1",
      "level": 3,
      "class": "spend",
      "effective_level": 3,
      "remaining": {
       "actions": 498.0,
       "spend_usd": 110.0,
       "irreversible": 0.0,
       "records_affected": 10000.0
      }
     }
    },
    {
     "step": 4,
     "op": "check",
     "what": "ops-agent: spend $45",
     "verdict": "ALLOW",
     "executed": true,
     "findings": [],
     "data": {
      "lease_id": "L-ops-agent-1",
      "level": 3,
      "class": "spend",
      "effective_level": 3,
      "remaining": {
       "actions": 497.0,
       "spend_usd": 65.0,
       "irreversible": 0.0,
       "records_affected": 10000.0
      }
     }
    },
    {
     "step": 5,
     "op": "check",
     "what": "ops-agent: spend $45",
     "verdict": "ALLOW",
     "executed": true,
     "findings": [],
     "data": {
      "lease_id": "L-ops-agent-1",
      "level": 3,
      "class": "spend",
      "effective_level": 3,
      "remaining": {
       "actions": 496.0,
       "spend_usd": 20.0,
       "irreversible": 0.0,
       "records_affected": 10000.0
      }
     }
    },
    {
     "step": 6,
     "op": "check",
     "what": "ops-agent: spend $45",
     "verdict": "DENY",
     "executed": false,
     "findings": [
      {
       "rule": "BUDGET_EXHAUSTED",
       "severity": "DENY",
       "detail": "lease: spend_usd 225 > 200"
      }
     ],
     "data": {
      "lease_id": "L-ops-agent-1",
      "level": 3,
      "class": "spend",
      "effective_level": 3,
      "violations": 1
     }
    },
    {
     "step": 7,
     "op": "check",
     "what": "ops-agent: write irreversible",
     "verdict": "DENY",
     "executed": false,
     "findings": [
      {
       "rule": "BUDGET_EXHAUSTED",
       "severity": "DENY",
       "detail": "lease: irreversible 1 > 0"
      },
      {
       "rule": "CLASS_NOT_LEASED",
       "severity": "DENY",
       "detail": "the action needs class(es) ['irreversible']; the lease covers ['delegate', 'external_message', 'read', 'spend', 'write']"
      },
      {
       "rule": "LEVEL_TOO_LOW",
       "severity": "DENY",
       "detail": "irreversible/write needs autonomy level 4; effective level is 3"
      }
     ],
     "data": {
      "lease_id": "L-ops-agent-1",
      "level": 3,
      "class": "write",
      "effective_level": 3,
      "violations": 2
     }
    }
   ],
   "stopped_steps": [
    6,
    7
   ],
   "run_ms": 1.87,
   "note": "Simulated scenario through the production engine. ALLOW means this guard does not object; the vehicle's certified safety systems and CAIN policy still decide. Nothing real was commanded."
  }
 },
 {
  "id": "C04",
  "http_status": 200,
  "recorded_at": "2026-11-03T22:48:12+00:00",
  "ms": 59,
  "reply": {
   "guard": "autonomy-lease",
   "carve_out": 15,
   "name": "L5 Agent Autonomy Lease Governor",
   "engine": "cain.autonomy.autonomy_lease.AutonomyLeaseGovernor",
   "verdict": "STOPPED",
   "steps": [
    {
     "step": 1,
     "op": "grant",
     "what": "lease L-ops-agent-1 (level 3) signed by human_ops_lead",
     "verdict": "ALLOW",
     "executed": true,
     "findings": [],
     "data": {
      "lease_id": "L-ops-agent-1",
      "agent_id": "ops-agent",
      "level": 3,
      "issued_by": "human_ops_lead"
     }
    },
    {
     "step": 2,
     "op": "grant",
     "what": "lease L-sub-1 (level 4) signed by human_ops_lead",
     "verdict": "DENY",
     "executed": false,
     "findings": [
      {
       "rule": "DELEGATION_NOT_ATTENUATED",
       "severity": "DENY",
       "detail": "level 4 > parent 3; classes ['deploy'] not in parent; expires after the parent; actions 900 > parent's remaining 500; spend_usd 500 > parent's remaining 200; rate above parent"
      }
     ],
     "data": {}
    },
    {
     "step": 3,
     "op": "grant",
     "what": "lease L-sub-2 (level 2) signed by human_ops_lead",
     "verdict": "ALLOW",
     "executed": true,
     "findings": [],
     "data": {
      "lease_id": "L-sub-2",
      "agent_id": "sub-agent",
      "level": 2,
      "issued_by": "human_ops_lead"
     }
    },
    {
     "step": 4,
     "op": "check",
     "what": "sub-agent: read",
     "verdict": "ALLOW",
     "executed": true,
     "findings": [],
     "data": {
      "lease_id": "L-sub-2",
      "level": 2,
      "class": "read",
      "effective_level": 2,
      "remaining": {
       "actions": 49.0,
       "spend_usd": 60.0,
       "irreversible": 0.0,
       "records_affected": 100.0
      }
     }
    },
    {
     "step": 5,
     "op": "revoke",
     "what": "revoke L-ops-agent-1",
     "verdict": "ALLOW",
     "executed": true,
     "findings": [],
     "data": {
      "revoked": [
       "L-ops-agent-1",
       "L-sub-2"
      ]
     }
    },
    {
     "step": 6,
     "op": "check",
     "what": "sub-agent: read",
     "verdict": "DENY",
     "executed": false,
     "findings": [
      {
       "rule": "LEASE_REVOKED",
       "severity": "DENY",
       "detail": "lease is revoked"
      },
      {
       "rule": "ANCESTOR_LEASE_INVALID",
       "severity": "DENY",
       "detail": "ancestor lease L-ops-agent-1 is revoked"
      }
     ],
     "data": {
      "lease_id": "L-sub-2",
      "level": 2,
      "class": "read",
      "effective_level": 2,
      "violations": 1
     }
    }
   ],
   "stopped_steps": [
    2,
    6
   ],
   "run_ms": 2.166,
   "note": "Simulated scenario through the production engine. ALLOW means this guard does not object; the vehicle's certified safety systems and CAIN policy still decide. Nothing real was commanded."
  }
 },
 {
  "id": "C05",
  "http_status": 200,
  "recorded_at": "2026-11-03T22:48:12+00:00",
  "ms": 54,
  "reply": {
   "guard": "autonomy-lease",
   "carve_out": 15,
   "name": "L5 Agent Autonomy Lease Governor",
   "engine": "cain.autonomy.autonomy_lease.AutonomyLeaseGovernor",
   "verdict": "STOPPED",
   "steps": [
    {
     "step": 1,
     "op": "grant",
     "what": "lease L-ops-agent-1 (level 3) signed by human_ops_lead",
     "verdict": "ALLOW",
     "executed": true,
     "findings": [],
     "data": {
      "lease_id": "L-ops-agent-1",
      "agent_id": "ops-agent",
      "level": 3,
      "issued_by": "human_ops_lead"
     }
    },
    {
     "step": 2,
     "op": "check",
     "what": "ops-agent: deploy",
     "verdict": "DENY",
     "executed": false,
     "findings": [
      {
       "rule": "CLASS_NOT_LEASED",
       "severity": "DENY",
       "detail": "the action needs class(es) ['deploy']; the lease covers ['delegate', 'external_message', 'read', 'spend', 'write']"
      },
      {
       "rule": "LEVEL_TOO_LOW",
       "severity": "DENY",
       "detail": "deploy needs autonomy level 4; effective level is 3"
      }
     ],
     "data": {
      "lease_id": "L-ops-agent-1",
      "level": 3,
      "class": "deploy",
      "effective_level": 3,
      "violations": 1
     }
    },
    {
     "step": 3,
     "op": "check",
     "what": "ops-agent: deploy",
     "verdict": "DENY",
     "executed": false,
     "findings": [
      {
       "rule": "CLASS_NOT_LEASED",
       "severity": "DENY",
       "detail": "the action needs class(es) ['deploy']; the lease covers ['delegate', 'external_message', 'read', 'spend', 'write']"
      },
      {
       "rule": "LEVEL_TOO_LOW",
       "severity": "DENY",
       "detail": "deploy needs autonomy level 4; effective level is 3"
      }
     ],
     "data": {
      "lease_id": "L-ops-agent-1",
      "level": 3,
      "class": "deploy",
      "effective_level": 3,
      "violations": 2
     }
    },
    {
     "step": 4,
     "op": "check",
     "what": "ops-agent: deploy",
     "verdict": "DENY",
     "executed": false,
     "findings": [
      {
       "rule": "CLASS_NOT_LEASED",
       "severity": "DENY",
       "detail": "the action needs class(es) ['deploy']; the lease covers ['delegate', 'external_message', 'read', 'spend', 'write']"
      },
      {
       "rule": "LEVEL_TOO_LOW",
       "severity": "DENY",
       "detail": "deploy needs autonomy level 4; effective level is 3"
      },
      {
       "rule": "LEVEL_DOWNGRADED",
       "severity": "INFO",
       "detail": "3 refused actions: lease L-ops-agent-1 downgraded to level 2; only a new human-signed lease restores it"
      }
     ],
     "data": {
      "lease_id": "L-ops-agent-1",
      "level": 3,
      "class": "deploy",
      "effective_level": 3,
      "violations": 3
     }
    },
    {
     "step": 5,
     "op": "check",
     "what": "ops-agent: spend $5",
     "verdict": "DENY",
     "executed": false,
     "findings": [
      {
       "rule": "LEVEL_TOO_LOW",
       "severity": "DENY",
       "detail": "spend needs autonomy level 3; effective level is 2"
      }
     ],
     "data": {
      "lease_id": "L-ops-agent-1",
      "level": 2,
      "class": "spend",
      "effective_level": 2,
      "violations": 4
     }
    }
   ],
   "stopped_steps": [
    2,
    3,
    4,
    5
   ],
   "run_ms": 1.07,
   "note": "Simulated scenario through the production engine. ALLOW means this guard does not object; the vehicle's certified safety systems and CAIN policy still decide. Nothing real was commanded."
  }
 }
]