{
  "created_at": "2026-11-12T07:59:12Z",
  "result": {
    "engine": "personal_context",
    "limits": "Reviews the context-use record. It does not read the user's device, prove the user understood consent, or prove the context is accurate. The run is Ed25519-signed; pin the issuer key out of band.",
    "module": "cain_a75_engines/personalcontext/engine.py",
    "profile": "nearby_pharmacy",
    "run": {
      "label": "Recomputes personal-context use: per-class live purpose-bound consent, prohibited classes, exact necessity, retention, record/access purpose and claim honesty. It does not read the user's device.",
      "public_key_b64": "PZk9EHUIk9JuwkHxit5eFJl7TydRigtl4YHu8N1j13E=",
      "records": [
        {
          "checks": [
            {
              "detail": "live purpose-bound consent for 'location'",
              "id": "consent.location",
              "ok": true
            },
            {
              "detail": "location not prohibited",
              "id": "prohibited.location",
              "ok": true
            },
            {
              "detail": "live purpose-bound consent for 'preferences'",
              "id": "consent.preferences",
              "ok": true
            },
            {
              "detail": "preferences not prohibited",
              "id": "prohibited.preferences",
              "ok": true
            },
            {
              "detail": "requested ['location', 'preferences'] vs necessary ['location', 'preferences']",
              "id": "minimal.requested",
              "ok": true
            },
            {
              "detail": "7.0 <= 30.0 days",
              "id": "retention.within_policy",
              "ok": true
            },
            {
              "detail": "class 'preferences' requested",
              "id": "record.R-pref.requested",
              "ok": true
            },
            {
              "detail": "consent 'C-pref'",
              "id": "record.R-pref.consent",
              "ok": true
            },
            {
              "detail": "purpose 'find a nearby pharmacy'",
              "id": "record.R-pref.purpose",
              "ok": true
            },
            {
              "detail": "class 'location' requested",
              "id": "record.R-loc.requested",
              "ok": true
            },
            {
              "detail": "consent 'C-loc'",
              "id": "record.R-loc.consent",
              "ok": true
            },
            {
              "detail": "purpose 'find a nearby pharmacy'",
              "id": "record.R-loc.purpose",
              "ok": true
            },
            {
              "detail": "record 'R-pref'",
              "id": "log.0.record",
              "ok": true
            },
            {
              "detail": "purpose 'find a nearby pharmacy'",
              "id": "log.0.purpose",
              "ok": true
            },
            {
              "detail": "agent 'agent:errand'",
              "id": "log.0.agent",
              "ok": true
            },
            {
              "detail": "record 'R-loc'",
              "id": "log.1.record",
              "ok": true
            },
            {
              "detail": "purpose 'find a nearby pharmacy'",
              "id": "log.1.purpose",
              "ok": true
            },
            {
              "detail": "agent 'agent:errand'",
              "id": "log.1.agent",
              "ok": true
            },
            {
              "detail": "claimed True, computed True",
              "id": "claims.consent_valid",
              "ok": true
            },
            {
              "detail": "claimed True, computed True",
              "id": "claims.purpose_bound",
              "ok": true
            },
            {
              "detail": "claimed True, computed True",
              "id": "claims.retention_ok",
              "ok": true
            }
          ],
          "created_at": "2026-11-12T07:59:12Z",
          "engine": "a75-029/1.0.0",
          "extra": {
            "class_consent": {
              "location": true,
              "preferences": true
            },
            "computed": {
              "consent_valid": true,
              "purpose_bound": true,
              "retention_ok": true
            },
            "requested": [
              "location",
              "preferences"
            ]
          },
          "failed": [],
          "label": "Recomputes personal-context use: per-class live purpose-bound consent, prohibited classes, exact necessity, retention, record/access purpose and claim honesty. It does not read the user's device.",
          "prev_record_hash": "86bb3a3500bbfd725fc74ccfd76a6bcc074c96f9d33fa50b72daf6a9883d16de",
          "public_key_b64": "PZk9EHUIk9JuwkHxit5eFJl7TydRigtl4YHu8N1j13E=",
          "record_hash": "440e3ff328f34ab9de72d31b328b03544656123495c839f8856cc3cb0afa322e",
          "schema": "cain42.a75.personal.record.v1",
          "signature_b64": "b4MMNoc+v2/qKwcxqGGscaAoSCzzO+g5r5gyFFSLc3U11lXCLVqWiLBf3U0bFCQ1PiLRMQUY+mLQ7WCsYwQ/Dw==",
          "sku": "CAIN-A75-029",
          "subject": {
            "access_log": [
              {
                "agent": "agent:errand",
                "at": 1001.0,
                "purpose": "find a nearby pharmacy",
                "record_id": "R-pref"
              },
              {
                "agent": "agent:errand",
                "at": 1002.0,
                "purpose": "find a nearby pharmacy",
                "record_id": "R-loc"
              }
            ],
            "action": {
              "agent": "agent:errand",
              "necessary_classes": [
                "location",
                "preferences"
              ],
              "now": 1000.0,
              "purpose": "find a nearby pharmacy",
              "requested_classes": [
                "location",
                "preferences"
              ]
            },
            "claims": {
              "consent_valid": true,
              "purpose_bound": true,
              "retention_ok": true
            },
            "consents": [
              {
                "expires_at": 2000.0,
                "granted_by": "human:dana",
                "id": "C-loc",
                "purpose": "find a nearby pharmacy",
                "revoked": false,
                "scopes": [
                  "location"
                ]
              },
              {
                "expires_at": 2000.0,
                "granted_by": "human:dana",
                "id": "C-pref",
                "purpose": "find a nearby pharmacy",
                "revoked": false,
                "scopes": [
                  "preferences"
                ]
              }
            ],
            "context": {
              "records": [
                {
                  "class": "preferences",
                  "consent_id": "C-pref",
                  "id": "R-pref",
                  "purpose": "find a nearby pharmacy"
                },
                {
                  "class": "location",
                  "consent_id": "C-loc",
                  "id": "R-loc",
                  "purpose": "find a nearby pharmacy"
                }
              ],
              "retention_days": 7.0
            },
            "policy": {
              "max_retention_days": 30.0,
              "prohibited_classes": [
                "health",
                "financial"
              ]
            },
            "schema": "cain42.a75.personal.context.v1"
          },
          "subject_sha256": "fc104cb54c881ed8f66c31e9bb63f0f1c9fe457ff68fdffab0d85ab94d6627b2",
          "verdict": "COMPLIANT"
        }
      ],
      "run_hash": "2b077604a801979d0e244e3385abd03a18784447721f5bfb993ca05be11518cf",
      "schema": "cain42.a75.personal.run.v1",
      "sku": "CAIN-A75-029",
      "verdict": "VERIFIED",
      "verdicts": [
        "COMPLIANT"
      ]
    },
    "scenarios": [
      {
        "name": "nearby_pharmacy_context",
        "requested": [
          "location",
          "preferences"
        ],
        "run_hash": "2b077604a801979d0e244e3385abd03a18784447721f5bfb993ca05be11518cf",
        "verdict": "VERIFIED"
      },
      {
        "expected": "COMPLIANT",
        "name": "honest_personal_context",
        "verdict": "COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "no_consent_for_location",
        "verdict": "NON_COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "consent_revoked",
        "verdict": "NON_COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "consent_expired",
        "verdict": "NON_COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "purpose_mismatch",
        "verdict": "NON_COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "prohibited_health_class",
        "verdict": "NON_COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "retention_too_long",
        "verdict": "NON_COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "access_purpose_mismatch",
        "verdict": "NON_COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "access_record_unknown",
        "verdict": "NON_COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "record_purpose_mismatch",
        "verdict": "NON_COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "context_broadening",
        "verdict": "NON_COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "record_unrequested_class",
        "verdict": "NON_COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "duplicate_record",
        "verdict": "NON_COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "claim_overstates",
        "verdict": "NON_COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "unknown_claim",
        "verdict": "NON_COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "wrong_schema",
        "verdict": "NON_COMPLIANT"
      },
      {
        "expected": "NON_COMPLIANT",
        "name": "garbage",
        "verdict": "NON_COMPLIANT"
      }
    ],
    "summary": "VERIFIED: per-class consent, prohibited classes, minimality, retention and purpose binding recomputed; 17/17 context-failure cases as expected"
  },
  "schema": "cain42.agentic75.findings.v1",
  "sku": "CAIN-A75-029"
}
