{
 "body": {
  "action": {
   "action_type": "record_finding",
   "arguments_digest": "5ba038edfd6d224b0c297aef92e2c928f0518510836328ca704d803ec6e48c9b",
   "capabilities": [
    "record:create"
   ],
   "declared_side_effects": [
    "row_created"
   ],
   "digest": "7d8e08e1823f6df359b6b20318ae0e648bcf6afb972adb35a9781980a73f4a52",
   "environment": "local",
   "normalized": {
    "action_class": "record",
    "agent_identity": "mcp-specialist",
    "approval_required": [],
    "causal_chain": [],
    "data_classification": "INTERNAL",
    "declared_purpose": "",
    "evidence_requirements": [],
    "expected_side_effects": [
     "row_created"
    ],
    "nonce": "40b72f0adb562e55990f70ec83b73a30",
    "normalized_arguments": {
     "id": "mcp_tool_review-findings",
     "value": "{\"flagged\": 9, \"independently_reexecuted\": true, \"items\": 20, \"result_digest\": \"0f084840e80881bae037cea24ee066ac4925cb0ad366f92770f8f5731753c49d\", \"vertical\": \"mcp_tool_review\"}"
    },
    "operation": "record_finding",
    "policy_ref": "",
    "policy_version": "",
    "predecessors": [],
    "principal": "owner@example.org",
    "requested_capabilities": [
     "record:create"
    ],
    "required_env": "local",
    "risk_class": "LOW",
    "schema_version": "cain.action.v1",
    "session_id": "",
    "target_resource": "sqlite://e85-vertical/mcp_tool_review",
    "target_system": "sqlite",
    "tenant": "tenant-mcp-tool-review",
    "valid_until": 1794883798.3476467,
    "workload_identity": ""
   },
   "target": {
    "resource": "sqlite://e85-vertical/mcp_tool_review",
    "system": "sqlite"
   }
  },
  "agent": {
   "build": "e85",
   "id": "mcp-specialist",
   "pub": "2kKoK0nLyllEUz7MNMlU5vYqY3hwow1XqzoV9HEwg5w=",
   "role": "specialist",
   "tenant": "tenant-mcp-tool-review"
  },
  "authorization": {
   "body": {
    "action_digest": "7d8e08e1823f6df359b6b20318ae0e648bcf6afb972adb35a9781980a73f4a52",
    "decided_at": 1794883198.3476467,
    "decision": "ALLOW",
    "expires_at": 1794883258.3476467,
    "grant": {
     "body": {
      "action_digest": "7d8e08e1823f6df359b6b20318ae0e648bcf6afb972adb35a9781980a73f4a52",
      "expires_at": 1794883258.3493848,
      "grant_id": "grant-ebd49a9b51f0d6181cc3b69a",
      "max_uses": 1,
      "nonce": "ec6a949a045f3879047b46bb702a5c8a",
      "resource": "sqlite://e85-vertical/mcp_tool_review",
      "tenant": "tenant-mcp-tool-review"
     },
     "digest": "c60f1b6d6ff0ab35017af294f5897bca0354be6387daab44931e5b825cbc1807",
     "schema": "CAIN42/E84/SINGLE-USE-GRANT/v1",
     "signature_b64": "XadYMVilOfhazjqEXK2LrBn6naSIRLtUGz37Mv9T71WCLRUWRrvOZNGDf2VSuHUJtIlPYV+Vz4EfXfBjnkk4Aw==",
     "signer_pub": "RRzbqli7VbXZdAI9KC5jjbThO7I/UtY77qDey86FAVQ="
    },
    "nonce": "ec6a949a045f3879047b46bb702a5c8a",
    "policy_body": {
     "default": "DENY",
     "rules": [
      {
       "action_class": "record",
       "capabilities": [
        "record:create"
       ],
       "data_classification": "*",
       "effect": "ALLOW",
       "max_delegation_depth": 2,
       "max_risk": "CRITICAL",
       "operation": "deliver_report",
       "principal": "*",
       "priority": 10,
       "require_approval": true,
       "require_env": "local",
       "rule_id": "allow-deliver_report",
       "target_resource": "sqlite://e85-vertical/mcp_tool_review",
       "target_system": "sqlite",
       "tenant": "tenant-mcp-tool-review",
       "valid_until": 0.0
      },
      {
       "action_class": "record",
       "capabilities": [
        "record:create"
       ],
       "data_classification": "*",
       "effect": "ALLOW",
       "max_delegation_depth": 2,
       "max_risk": "CRITICAL",
       "operation": "record_finding",
       "principal": "*",
       "priority": 10,
       "require_approval": false,
       "require_env": "local",
       "rule_id": "allow-record_finding",
       "target_resource": "sqlite://e85-vertical/mcp_tool_review",
       "target_system": "sqlite",
       "tenant": "tenant-mcp-tool-review",
       "valid_until": 0.0
      }
     ],
     "version": "2026-11-17.e85"
    },
    "policy_digest": "71447b219f8f20a9b55270910c9c11e5a42b3614c38ae3fd225ce8636c1843ca",
    "policy_id": "policy-e85",
    "policy_version": "2026-11-17.e85",
    "reason": "ALLOW",
    "tenant": "tenant-mcp-tool-review"
   },
   "digest": "9fa0034b018ccace23f8ecee29319e9f49f1baf3c7cf5ccac30ee7e5a4d92792",
   "signature_b64": "IC3VMchmH7GpBA/7DzOvpjP1ip+lD9Ky25seZRUIGiOx0TS9MkRb4QgCnFRCPl48gmSPgJ1YKLgGjaYy98Q6Dw==",
   "signer_pub": "RRzbqli7VbXZdAI9KC5jjbThO7I/UtY77qDey86FAVQ="
  },
  "consensus": {
   "reason": "local authority path; no consensus certificate is claimed",
   "used": false
  },
  "delegation": {
   "chain": [
    {
     "audience": "tenant-mcp-tool-review",
     "child_agent": "mcp-specialist",
     "depth": 1,
     "expires_at": 1794886798.3470328,
     "grant_id": "grant-a6c91a397e78b766295ee397",
     "issued_at": 1794883198.3470328,
     "nonce": "c0dad739bd3dfdd1bb661ab2afb3b38c",
     "parent_agent": "commander",
     "parent_credential_digest": "cred-commander",
     "parent_grant_id": "",
     "resources": [
      "sqlite://e85-vertical/mcp_tool_review"
     ],
     "schema": "cain61.delegation.v1",
     "scope": [
      "record:create"
     ],
     "signature_b64": "WUgTZANWkwEy5tpRKo35HrL1Fa67iT3prrokjNW2006and+2nmbks1pFAf7D18oWj+4sA/gkJbkLWCBViBGIDw==",
     "signer_pub": "gjKI1Ib9hta6j1iklnhjE6FTEUcwnUjJpu6zttvYq1w="
    }
   ],
   "revoked": [],
   "root": {
    "agent": "commander",
    "credential_digest": "cred-commander",
    "expires_at": 1794886858.3470256,
    "pub": "gjKI1Ib9hta6j1iklnhjE6FTEUcwnUjJpu6zttvYq1w=",
    "resources": [
     "sqlite://e85-vertical/mcp_tool_review"
    ],
    "scope": [
     "record:create"
    ]
   }
  },
  "effect": {
   "body": {
    "authoritative": true,
    "detail": "authoritative read-back",
    "duplicate": false,
    "observation_digest": "c234244af7f0c7815855c8944bd55220a6c920ed2f8b1677c549377423a484cf",
    "observed_at": 1794883198.353041,
    "record_id": "mcp_tool_review-findings",
    "resource": "sqlite://e85-vertical/mcp_tool_review",
    "state": "EFFECT_VERIFIED",
    "tenant": "tenant-mcp-tool-review"
   },
   "digest": "937f2855cdcfd19c0019294d5af1787c131b221f7a8e52a0c2588426e5472e0e",
   "signature_b64": "NlKD6beIqUQ4XxyqbjQkGqeCW9xW/Vemh3eEQU6NP/02KYbQWOdjumZ/HrOFnpxv7VOB3+gD5ElcpUuZHOhJDQ==",
   "signer_pub": "zTxSKmeNpW94UvR8DJW4g11XXHkTNeL6pmvCNGcy4qQ="
  },
  "enforcement": {
   "body": {
    "action_digest": "7d8e08e1823f6df359b6b20318ae0e648bcf6afb972adb35a9781980a73f4a52",
    "attempt_id": "att-ad3f3bb9a19b6459316e",
    "decision": "ALLOW",
    "enforced_at": 1794883198.3504775,
    "grant_id": "grant-ebd49a9b51f0d6181cc3b69a",
    "instance": "mcpgate-e85-dev",
    "nonce": "ec6a949a045f3879047b46bb702a5c8a",
    "reason": "EXACT_REQUEST_MATCHES_GRANT",
    "resource": "sqlite://e85-vertical/mcp_tool_review",
    "tenant": "tenant-mcp-tool-review"
   },
   "digest": "58326b9b09fce9227b911b41388f6dbd030429f1efda0585a72537a8c20ed827",
   "signature_b64": "HxsOzoeqrUcg1umQHrWx53VJSHviBnu4gmJsYq5CpAK8klEkLnuM4TKxXMadZV08mpofFlrCQAigcSrFT8mSAA==",
   "signer_pub": "t+eWPuZZ6d2PHm58m1RE8jp5UaYKQ1TcFqXj9IJo6qs="
  },
  "execution": {
   "body": {
    "action_digest": "7d8e08e1823f6df359b6b20318ae0e648bcf6afb972adb35a9781980a73f4a52",
    "attempts": 1,
    "completed_at": 1794883198.3537261,
    "environment": "LOCAL_PROCESS",
    "execution_id": "exec-6c52e9753470c0ed",
    "executor": "e85-executor",
    "exit_code": 0,
    "idempotency_key": "idem-6765dd539ab11c1e3707c5a9",
    "output_digest": "c234244af7f0c7815855c8944bd55220a6c920ed2f8b1677c549377423a484cf",
    "provider_ref": "sqlite://e85-vertical/mcp_tool_review",
    "started_at": 1794883198.3515441,
    "status": "SUCCESS",
    "tenant": "tenant-mcp-tool-review"
   },
   "digest": "8bec3b1f90d23da91a1374a5ebeef2820e336511c5ba0ecaa4b747146304191a",
   "signature_b64": "CfHNAEgNkaQi/jFqLLJyvvQB77a4qUPJ8jtr25w2iTMDi15WsaBxeUBWO5GJg1lpd9VzUeIqrI0X0iL6aMZeCQ==",
   "signer_pub": "DF8RIshmT49HUPDVsTLyEyAywVBSIiM5hYGXR7Np5vE="
  },
  "log": {
   "checkpoint": {
    "body": {
     "at": 1794883198.3545976,
     "origin": "cain.receipt.log/tenant-mcp-tool-review",
     "root_b64": "a828gXl7vm/K8hxiBW/9GkMdJw1FU1piTMNO4V/hRBw=",
     "size": 2
    },
    "cosignatures": [
     {
      "body": {
       "at": 1794883198.3551195,
       "classification": "SIMULATED_LOCAL",
       "origin": "cain.receipt.log/tenant-mcp-tool-review",
       "root_b64": "a828gXl7vm/K8hxiBW/9GkMdJw1FU1piTMNO4V/hRBw=",
       "size": 2,
       "witness": "operator-witness-e85"
      },
      "classification": "SIMULATED_LOCAL",
      "digest": "bf71b87f0d13bf7b21f7abf7c6fc202ada1732f66a547f73a41502932304972a",
      "signature_b64": "Rqy/iNyoqpYxo4VubPJrMLyr6ocDXao3lFo1ViiNKv6eRRIUGOqILB7Ldoid/1hLYV7jo5AQQ9K0h4YmJ6AtAQ==",
      "signer_pub": "mDyF7jR/pYOppHRqSLryw8r+oYSiIpWCgmEVFjXzmS0="
     }
    ],
    "digest": "b559f4e74240053e74171b7f95628a27442c4cbbd87a70bd44a4007042236e7d",
    "signature_b64": "1SmnlczS+WdzBViXIQITgTIip56za59/fNnC1WjjS9WeSorryGozPcnK0L0WA7iU0C5i69w8jWYUlVg5mDe8BA==",
    "signer_pub": "Sp+Jscv656VxQaWIgiC3gwN52LMpAXyVwtbNyZGG7jE="
   },
   "checkpoints": [
    {
     "body": {
      "at": 1794883198.3545976,
      "origin": "cain.receipt.log/tenant-mcp-tool-review",
      "root_b64": "a828gXl7vm/K8hxiBW/9GkMdJw1FU1piTMNO4V/hRBw=",
      "size": 2
     },
     "cosignatures": [
      {
       "body": {
        "at": 1794883198.3551195,
        "classification": "SIMULATED_LOCAL",
        "origin": "cain.receipt.log/tenant-mcp-tool-review",
        "root_b64": "a828gXl7vm/K8hxiBW/9GkMdJw1FU1piTMNO4V/hRBw=",
        "size": 2,
        "witness": "operator-witness-e85"
       },
       "classification": "SIMULATED_LOCAL",
       "digest": "bf71b87f0d13bf7b21f7abf7c6fc202ada1732f66a547f73a41502932304972a",
       "signature_b64": "Rqy/iNyoqpYxo4VubPJrMLyr6ocDXao3lFo1ViiNKv6eRRIUGOqILB7Ldoid/1hLYV7jo5AQQ9K0h4YmJ6AtAQ==",
       "signer_pub": "mDyF7jR/pYOppHRqSLryw8r+oYSiIpWCgmEVFjXzmS0="
      }
     ],
     "digest": "b559f4e74240053e74171b7f95628a27442c4cbbd87a70bd44a4007042236e7d",
     "signature_b64": "1SmnlczS+WdzBViXIQITgTIip56za59/fNnC1WjjS9WeSorryGozPcnK0L0WA7iU0C5i69w8jWYUlVg5mDe8BA==",
     "signer_pub": "Sp+Jscv656VxQaWIgiC3gwN52LMpAXyVwtbNyZGG7jE="
    }
   ],
   "inclusion_proof": [
    "mFgb97skGZWDEYJg9JHKozXhRuCaGlYPWNHfF/kg+FY="
   ],
   "leaf_data_digest": "87801c57d012e57f8a4669f9791d92391e5b5b86532a74a66e97e5c0bda8eacb",
   "leaf_hash": "3d6fVW0vVUkXiz/pbTp1jeaemBCR7arC8zU/aDAa55E=",
   "leaf_index": 1,
   "origin": "cain.receipt.log/tenant-mcp-tool-review",
   "tree_root_b64": "a828gXl7vm/K8hxiBW/9GkMdJw1FU1piTMNO4V/hRBw=",
   "tree_size": 2
  },
  "principal": {
   "auth_method": "dev",
   "id": "owner@example.org",
   "org": "org-dev",
   "type": "human"
  },
  "receipt": {
   "action_id": "act-7d8e08e1823f6df359b6",
   "completed_at": 1794883198.3537261,
   "correlation_id": "mission-mcp_tool_review",
   "execution_at": 1794883198.3515441,
   "idempotency_key": "idem-6765dd539ab11c1e3707c5a9",
   "issued_at": 1794883198.3540058,
   "receipt_id": "rcpt-1e26b0c0402e6190141366d73d",
   "status": "COMPLETED",
   "tenant": "tenant-mcp-tool-review"
  },
  "schema": "cain.receipt.v1",
  "verification": {
   "missing": [],
   "profile": "E84/v1",
   "required": [
    "authorization",
    "enforcement",
    "execution",
    "effect",
    "log"
   ],
   "trust_assumptions": [
    "pinned issuer/log/witness/enforcement/executor/resource keys",
    "a local SQLite resource is authoritative for THIS test only",
    "no independent organization has cosigned this receipt"
   ],
   "warnings": [
    "resource_class=LOCAL_PROCESS"
   ],
   "witness_classification": "SIMULATED_LOCAL"
  }
 },
 "core_digest": "87801c57d012e57f8a4669f9791d92391e5b5b86532a74a66e97e5c0bda8eacb",
 "digest": "e4d76918b22383f6470732cc35a0745a05222f302cbae224885c621415115b3b",
 "receipt_id": "rcpt-1e26b0c0402e6190141366d73d",
 "schema": "cain.receipt.v1",
 "signature_b64": "vGEreskfStX4cAHPajhp7+iG0rkr3fFK/lF7B7HhPQFds7kHPlKol25ODAflJ4pMB2gT3mhHhs30wgmXRuxvBw==",
 "signer_pub": "maPvbL0yZQGY4Oz/+AoQ15muHyH4TQ5c623guLcrLbs="
}