{
 "schema": "cain42.e396r.preregistration.v1",
 "evolution": "E396-R",
 "status": "AGI: NOT ESTABLISHED \u00b7 RSI: EXPERIMENTAL",
 "written_at": "2026-11-26T19:11:54Z",
 "head_at_freeze": "0b043a4eba5d60e8299c1d350dc83197347671f5",
 "title": "Replicated Apply through the Quorum + Custodian-Attested Key Destruction",
 "question": "Can each entry be applied to four replica logs only after the quorum commits its digest (a failed apply aborting the whole write), and can a custodian software key service destroy a per-record key only on a signed owner request and return a verifiable attestation?",
 "design": {
  "kind": "replicated-apply + custodian study",
  "apply": "four replica logs; quorum-ordered payload digest; transactional stage/commit/abort",
  "custodian": "wraps per-record data keys; unwrap refused after destruction; signed destruction request from the owner; chained attestation log",
  "arms": {
   "replication": "4 writes applied to 4 replicas, heads identical",
   "failure": "one replica fails; the write is refused and all heads unchanged",
   "destruction": "owner-signed destruction; unwrap refused; attestation verifies; retained key unwraps",
   "bad_request": "wrong signer refused",
   "auditor": "clean export passes; a tampered replica fails"
  }
 },
 "hypotheses": {
  "H1_replicated_apply": "4/4 replicas identical, 4 entries each, every entry quorum-ordered",
  "H2_apply_failure_aborts": "a failed replica apply refuses the write and leaves all replicas unchanged",
  "H3_custodian_destruction": "a signed owner request destroys the key, unwrap is refused and the attestation verifies",
  "H4_retained_key": "a retained key still unwraps",
  "H5_bad_request_refused": "a wrong-signer destruction request is refused",
  "H6_auditor": "the clean export passes and a tampered replica is rejected",
  "H7_external_review": "no external reviewer has reviewed this study (BLOCKED)"
 },
 "engine_sha256": {
  "cain/cain2027/e396r/run.py": "80d2f851b25331657d71586086c0b82bcf43f9439b468f9267ea57cab13c39df"
 },
 "dependency_sha256": {
  "scripts/cain42_bft/verify_qaas_receipt.py": "609e1d41656a32eb0e873714c9975662bb070ff47ecf0dd5c810502577e9884f",
  "scripts/cain42_bft/verify_pbft_qc_bundle.py": "1d90370f3ab7270d95b4c104f2dda318ea9b21fe062c99da9b58d78da9234132",
  "scripts/cain42_bft/message_fabric.py": "f6fc721958f6fbb9ce5fdab90a9c1b6153ded8ca124316c2dafaa20b5101922e",
  "platform-gateway/routers/quorum_qaas.py": "2d6df195ec7eb8a7c91f0eef3766443d45ac01eb99bf6df601c598a7a3a6fdb5"
 },
 "limits": [
  "Four real in-process PBFT engines; four replica apply logs in one process, not a distributed state machine across hosts.",
  "The custodian is a software Ed25519/AES key service, not an HSM; its key is in process memory.",
  "Destruction removes the wrapped key; the ciphertext remains in the replica logs (key-level erasure).",
  "The auditor verifies signatures, chains, quorum receipts and the custodian log, not the truth of a record.",
  "0 model calls; external reviewer NOT OBTAINED."
 ]
}