{
 "schema": "cain42.e391m.preregistration.v1",
 "evolution": "E391-M",
 "status": "AGI: NOT ESTABLISHED \u00b7 RSI: EXPERIMENTAL",
 "written_at": "2026-11-26T18:26:47Z",
 "head_at_freeze": "2f74d1305c598e48c37277c6aa951b599c9d686f",
 "title": "Quorum-Sealed Shared Memory: a service with a standalone auditor and deletion proofs",
 "question": "Can a governed shared-memory service seal its tenant chain head in the PBFT quorum, let a standalone auditor replay the exported chain from a clean copy, require signed read grants, enforce retention, and prove a deletion with an append-only tombstone?",
 "motivation": "Memory must be evidence, not permission, and its integrity must be checkable without the service. Sealing the head binds the whole chain to the quorum; a tombstone proves what was superseded.",
 "design": {
  "kind": "in-process quorum + memory-service study",
  "store": "append-only SQLite per tenant; each entry signed (Ed25519) and hash-chained (prev + entry hash); export JSON",
  "seal": "the pre-deletion and final tenant heads are notarized in four real in-process PBFT engines",
  "auditor": "standalone verify_e391m_offline.py replays the export: signatures, chain, head==receipt digest, receipt offline",
  "service": {
   "grants": "reads require a signed grant (reader+tenant+expiry)",
   "retention": "expired rows hidden from the view, kept for the auditor",
   "deletion": "append-only tombstone keyed deleted:<entry_hash>; the original stays in the log (logical redaction)"
  },
  "arms": {
   "writes": "4 agents x 5 records = 20; two zero-retention records",
   "seal": "pre-deletion and final heads",
   "reads": "no grant, valid grant, wrong-tenant grant",
   "retention": "18 visible, 2 hidden",
   "deletion": "1 tombstone, 21 chain entries",
   "tamper": "export value flipped"
  },
  "verdict_rule": "QUORUM_SEALED_MEMORY_PROOFS_SUPPORTED iff both heads are NOTARIZED with matching digests; the auditor passes 8/8 on a clean copy and fails on the tampered copy; the grant cases behave (GRANT_REQUIRED, GRANT_MISMATCH, valid read); retention hides exactly 2 while the chain keeps 20; deletion leaves a tombstone targeting the prior hash, 21 chain entries, 18 visible; H7 external BLOCKED.",
  "external": "NOT_OBTAINED"
 },
 "hypotheses": {
  "H1_quorum_seal": "both tenant heads are notarized and verify offline",
  "H2_auditor_verifies": "the standalone auditor passes on a clean copy",
  "H3_read_grants": "a read without a grant is refused; a wrong-tenant grant is refused; a valid grant reads",
  "H4_retention": "expired records are hidden from the view while the chain keeps them",
  "H5_deletion_proof": "a tombstone proves which prior entry it supersedes and the chain grows",
  "H6_tamper_detected": "the auditor rejects a tampered export",
  "H7_external_review": "no external reviewer has reviewed this study (BLOCKED)"
 },
 "engine_sha256": {
  "cain/cain2027/e391m/run.py": "fa3fa23c9ec5c3247d05d3470f16d5b4c1c6ff7621f090b76e4b0c84c306e815",
  "scripts/cain42_bft/message_fabric.py": "f6fc721958f6fbb9ce5fdab90a9c1b6153ded8ca124316c2dafaa20b5101922e",
  "platform-gateway/routers/quorum_qaas.py": "2d6df195ec7eb8a7c91f0eef3766443d45ac01eb99bf6df601c598a7a3a6fdb5"
 },
 "dependency_sha256": {
  "scripts/cain42_bft/verify_qaas_receipt.py": "609e1d41656a32eb0e873714c9975662bb070ff47ecf0dd5c810502577e9884f",
  "scripts/cain42_bft/verify_pbft_qc_bundle.py": "1d90370f3ab7270d95b4c104f2dda318ea9b21fe062c99da9b58d78da9234132"
 },
 "limits": [
  "In-process PBFT quorum (four real engines), not the live WAN cluster; one host, one SQLite file.",
  "Deletion is logical redaction via an append-only tombstone; the original remains in the log. True erasure needs encryption keys and is not claimed.",
  "Read grants are signed by a study grantor key; real identity/KMS is not solved.",
  "Retention hides records from the service view only; the auditor keeps the chain.",
  "The auditor proves integrity and quorum binding, not the truth of a record.",
  "0 model calls; external reviewer NOT OBTAINED."
 ]
}