{
  "schema": "cain42.proof-standard.v1",
  "version": "1.0",
  "status": "public-draft",
  "published": "2026-11-13",
  "title": "CAIN-42 Proof Standard",
  "question": "Can a third party verify the record offline, without trusting the issuer?",
  "levels": [
    {
      "id": "L1",
      "name": "Integrity",
      "requires": [
        "RFC 8785 canonical JSON",
        "SHA-256 record hash",
        "Ed25519 signature",
        "out-of-band pinned key"
      ]
    },
    {
      "id": "L2",
      "name": "Chain",
      "requires": [
        "prev_hash continuity",
        "signed bundle head",
        "no removal or reordering"
      ]
    },
    {
      "id": "L3",
      "name": "Anchor",
      "requires": [
        "RFC 6962 Merkle root",
        "optional transparency/quorum anchor",
        "named operator"
      ]
    },
    {
      "id": "L4",
      "name": "Artifact binding",
      "requires": [
        "artifact digests",
        "byte match",
        "independent recompute"
      ]
    }
  ],
  "cumulative": true,
  "verifier_requirements": [
    "imports no CAIN code",
    "pins the key out of band",
    "fails closed",
    "typed verdict",
    "non-zero exit on failure",
    "never writes to the bundle"
  ],
  "test_vectors": [
    "valid bundle -> VERIFIED",
    "one-byte record tamper -> NOT_VERIFIED",
    "artifact tamper -> NOT_VERIFIED",
    "record removal/reorder -> NOT_VERIFIED",
    "wrong pinned key -> NOT_VERIFIED",
    "no pin -> NOT_PINNED",
    "missing verifier -> UNSUPPORTED"
  ],
  "implementation": {
    "conformance_runner": "standard/conformance.py",
    "family_verifier": "keystone/family_verify.py",
    "browser_verifier": "https://cainstudio.online/verify-record.html",
    "sample_bundle": "https://cainstudio.online/evidence/agentic-75-products-2026-11-12/deliveries/CAIN-A75-001/signed-sample/"
  },
  "not_proven": [
    "completeness of the external world",
    "quality of a test",
    "certification or third-party audit",
    "operator independence",
    "legality or safety of the action"
  ],
  "contact": "firmeai2026@gmail.com"
}
