{
 "schema": "cain42.e238.preregistration.v1",
 "evolution": "E238",
 "part": "PART1",
 "status": "AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL",
 "frozen_at": "2026-11-25T01:07:55Z",
 "parent_commit": "E236 PART2 freeze 31f34504b; E237 (third session) cbc2ba82d",
 "rules": [
  "no sealed task is generated before this file is committed",
  "salts stay private until after the run; SHA-256 commitments are inside each part",
  "every hypothesis is reported, including null and negative",
  "$0 model spend; one host; same team; no external reviewer"
 ],
 "parts": {
  "e0_model_knowledge": {
   "sha256": "68479c59e511effbf7b46b224fcea5cfa280c8348f4612c1c32669bd21218d9c",
   "content": {
    "schema": "cain42.e238.prereg_part.v1",
    "owner_session": "cain-studio-platform-e0",
    "track": "model knowledge -> governed store",
    "status": "AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL",
    "design": {
     "families": "A-F (E201/E203) + new G/H/I",
     "model_input": "the family's 16 development tasks (5 examples each) + primitive list; never a sealed task",
     "samples_per_family": {
      "claude-haiku-5-5": 40,
      "claude-sonnet-5-5": 12
     },
     "selection": "per family and model, the sample with the highest DEV rate (E202 dev evaluator); ties -> lowest sample index",
     "gate": "E236 KnowledgeStore itemwise evidence gate",
     "search": "depth <= 4, 24,000 candidates for every arm",
     "arms": [
      "frozen",
      "learned",
      "haiku_validated",
      "haiku_raw",
      "learned+haiku",
      "sonnet_validated",
      "sonnet_raw",
      "learned+sonnet",
      "random"
     ],
     "governance": "every model call: MCPGate ALLOW + signed single-use permit bound to SHA-256 of the prompt + signed receipt over SHA-256 of the response",
     "spend": "hard cap $3.3 (e0 share of the owner's $5.82; c8 cap $2.30 in its own ledger); worst-case cost checked before each call, refused if it could cross"
    },
    "hypotheses": [
     {
      "id": "K1",
      "statement": "validated Haiku-proposed knowledge beats frozen primitives",
      "arms": [
       "haiku_validated",
       "frozen"
      ],
      "test": "exact McNemar one-sided, pooled over 9 families x 48 sealed tasks = 432, Holm over {K1..K4} per salt set",
      "success_rule": "Holm p < 0.05 on main"
     },
     {
      "id": "K2",
      "statement": "validated Haiku-proposed knowledge beats search-learned knowledge (E202 protocol, same dev tasks)",
      "arms": [
       "haiku_validated",
       "learned"
      ],
      "test": "exact McNemar one-sided, pooled over 9 families x 48 sealed tasks = 432, Holm over {K1..K4} per salt set",
      "success_rule": "Holm p < 0.05 on main",
      "prediction": "uncertain: E79/E75 found small local models weak; a frontier model reading examples may infer concepts directly"
     },
     {
      "id": "K3",
      "statement": "model knowledge adds to learned knowledge: learned+haiku beats learned",
      "arms": [
       "learned+haiku",
       "learned"
      ],
      "test": "exact McNemar one-sided, pooled over 9 families x 48 sealed tasks = 432, Holm over {K1..K4} per salt set",
      "success_rule": "Holm p < 0.05 on main"
     },
     {
      "id": "K4",
      "statement": "validated Haiku knowledge beats a random macro library of equal size",
      "arms": [
       "haiku_validated",
       "random"
      ],
      "test": "exact McNemar one-sided, pooled over 9 families x 48 sealed tasks = 432, Holm over {K1..K4} per salt set",
      "success_rule": "Holm p < 0.05 on main"
     },
     {
      "id": "K5",
      "statement": "the evidence gate does not cost capability: raw (unvalidated) proposals are not better than validated",
      "arms": [
       "haiku_raw",
       "haiku_validated"
      ],
      "test": "count",
      "success_rule": "raw-only minus validated-only <= 5 on main; reported with the number of proposals refused"
     },
     {
      "id": "K6",
      "statement": "K2 holds on the three NEW families G/H/I (never used before E238)",
      "arms": [
       "haiku_validated",
       "learned"
      ],
      "test": "exact McNemar one-sided on 144 tasks",
      "success_rule": "p < 0.05 on main"
     },
     {
      "id": "K7",
      "statement": "replication: K1, K2, K4 hold on the independent replication salt set",
      "arms": [
       "replication"
      ],
      "test": "same",
      "success_rule": "all three hold"
     },
     {
      "id": "K8",
      "statement": "secondary: Sonnet 5.5 proposals vs Haiku 5.5 proposals (validated)",
      "arms": [
       "sonnet_validated",
       "haiku_validated"
      ],
      "test": "exact McNemar two-sided",
      "success_rule": "descriptive; no verdict depends on it"
     }
    ],
    "verdict_rule": "MODEL_KNOWLEDGE_SUPPORTED iff K1, K2, K4 and K7 hold; K3, K5, K6 reported separately",
    "salt_commitments_sha256": {
     "main": {
      "A": "da170cd8e3af3c2e72ebd99a82109f4a58efa8761635f57d14ee8177c5a8ef19",
      "B": "94e77a44a3f5ad3ec618c1487eeb46f9022c7962031d2d7bf56f3c181aa29373",
      "C": "beefca7a09c1009e7adb0aeee8d82a82e88b72914a7b01501fe1a8d31478f669",
      "D": "69cbc7b4f88ab3c3f5bbf5f21c8c2f241f835ced6c4a38e57768a2acdabf4e20",
      "E": "b54e1ff00ec9967af7ca06119faeebb07857b359ceb9ad6cc85610a3180fd1f8",
      "F": "e570dd4696a1a1f4fb44732fe0578022f5a9ff9991ebe422f644ff621d116920",
      "G": "cf2e9325d4bc5cf14315226283adbcef1fa5b37bb6a4333ecce5bf01f91408ce",
      "H": "8b8ce08cc642ece0cc11ef038155352a1b0066ab9c59c085b139135511122720",
      "I": "52841db7b3455ff44b0595d7a9eff34411389763b229ccefafc7decdefb041b1"
     },
     "replication": {
      "A": "fded7ed6166933d554e55ad77c6ebe4c7c58f1af1d86f18e0a54f7511982f0bc",
      "B": "a11edb65c760ebca022170778a14244a1819d6f8ed9258d1a7b1ba4f898d5e4a",
      "C": "48fcacf1b77338a04e5e46e62c296a29929fecf2708b0bd19545b58e3adc5f1e",
      "D": "69586b5086e2a465f0ebe61c3ab5ddb940589ddb1dd684440a305a6c61b784cb",
      "E": "83bcd8a3a227e23228e5c92e97545d8459059fc9185f31452c3f896a7cd36fdc",
      "F": "dbae341fb838f1e0c1dca6341549dbfcb65b421b0eec02b44434f0cd49a17d16",
      "G": "ebb8d408108542a92d6b4a907d1412136b47d3b78753b605389403dcff5061b4",
      "H": "149ad6c3d9c677a8311091897314d2952bc2550d1ecfd21e3179c146b2e451fb",
      "I": "7528664c5ae3795ed0f85cc396d70781ecd9d23513a4bb274aca4db63bad1963"
     }
    },
    "salt_master_commitment_sha256": "a53e2c753577cb1475fc58d80c947c46e32d665bc4d2abe53538560c46c2e23e",
    "engine_sha256": {
     "cain/cain2027/e238/proposer.py": "cd87605e7091f0755c5daf7b964825c4c4dd3bc0a19da573e37de9fbd6cae6f3",
     "scripts/evolution238/e0_run.py": "d12fe003543e6954cbadd765d98e50af87ff48007175e84f4bde068f5e74db10",
     "scripts/evolution238/e0_analyze.py": "6a1a4d01142059b363105ab7473c7d11449dc1f2cc46cef79d9d8edfc876ab5a",
     "cain/cain2027/e236/retention.py": "8ac403c52bca75a3e26fed4a050381e3baf1aeb0953ec5da3d48f48f8ea6aeba",
     "cain/cain2027/e236/fastsolve.py": "1a50fb13ec7c1324aceb6b2a4afe249137f429c54535531fc3ea18deba8a5e96",
     "cain/cain2027/e201/engine.py": "0b670bb11e732dcaab56f90b258b4b0392fbceae43448e17d9bfc2543222e18f",
     "cain/cain2027/e203/engine.py": "84a2df13413088533e8cc75b710e765533af6ac8348a2067b3ff8f4cdfda6793",
     "cain/cain2027/e234/runner.py": "98ac9e086402e28a0c8f33dfc4d733a5788f11e16739134db0c6a269961a958b"
    },
    "smoke_disclosure": "no model call and no sealed task before the freeze; one count_tokens-free dry run of prompt construction only",
    "limits": [
     "constructed string domain",
     "the model sees dev examples written by the same team",
     "same host",
     "no external reviewer"
    ],
    "written_at": "2026-11-25T00:59:10Z"
   }
  },
  "c8_model_transfer": {
   "sha256": "6d65a0500aced1db3503e8aab9bf9035ff2b8ec91bb157f97be0b50217fdeb66",
   "content": {
    "schema": "cain42.e238.prereg_part.v1",
    "owner_session": "c8",
    "track": "organism knowledge -> frontier model (does knowledge CAIN-42 learned itself make claude-haiku-5-5 better on sealed tasks?)",
    "status": "AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL",
    "engine": "cain/cain2027/e238/c8_model_transfer.py (build, score) + c8_model_transfer_run.py (sealed, analyse)",
    "engine_sha256": {
     "cain/cain2027/e238/c8_model_transfer.py": "fe5b0350c6bbbe3c77ec6402513c51a34b8f0ce60a0fb9ad793569cba328dfb0",
     "cain/cain2027/e238/c8_model_transfer_run.py": "47dfb0f59da8f1df5bea0c0ac2c7f54a5677ff9b5350bf04b8aca05e6b9721d7",
     "cain/cain2027/e238/proposer.py": "cd87605e7091f0755c5daf7b964825c4c4dd3bc0a19da573e37de9fbd6cae6f3",
     "cain/cain2027/e201/engine.py": "0b670bb11e732dcaab56f90b258b4b0392fbceae43448e17d9bfc2543222e18f",
     "cain/cain2027/e203/engine.py": "84a2df13413088533e8cc75b710e765533af6ac8348a2067b3ff8f4cdfda6793",
     "cain/cain2027/e236/transfer_run.py": "5a4e4dd5957c6d6b250bdc59d0a9d49b447533d3e6a999dd55954375fff2347f"
    },
    "design": {
     "model": "claude-haiku-5-5, Message Batches API, effort medium, max_tokens 4000, structured JSON output with an enum of allowed names",
     "families": "A-I: E201/E203 families A-F plus the new families G/H/I (cain/cain2027/e238/proposer.py, shared with the e0 track)",
     "sealed_tasks": "48 program-disjoint sealed tasks per family from E201.sealed_tasks(fam, salt): 432 per salt; filtered against dev programs and dev behaviours",
     "arms": {
      "model_alone": "12 primitive definitions only",
      "model_cain": "primitives + the CAIN-learned macro library for that family (E202 greedy rule over the 16 dev tasks only; frozen before any sealed task exists)",
      "model_random": "primitives + a random macro library with the same count and per-macro lengths"
     },
     "scoring": "solved iff the model's program, expanded to primitives, reproduces all 5 shown examples AND all 200 hidden probe inputs exactly; probes never shown; unknown names = unsolved",
     "local_arm": "organism_alone ($0): CAIN library + equal-search solver (max_len 4, 24k candidates) on the same tasks; descriptive",
     "salts": "M_main (432 tasks, 1296 calls) and M_rep (replication; families taken in order A..I while the worst-case cost fits the remaining c8 budget)",
     "spend": "c8 share of the $5.82 fund, hard cap $2.30 in artifacts/agi-rsi-audit/SPEND_LEDGER_FUND2.json; worst case checked before every submission; every submission MCPGate-permitted with a signed receipt",
     "test": "exact one-sided McNemar on per-task solved sets; Holm over H-M1, H-M2, H-M3 at alpha 0.05"
    },
    "hypotheses": [
     {
      "id": "H-M1",
      "statement": "model_cain solves more sealed tasks than model_alone",
      "endpoint": "432 tasks, main salt",
      "test": "exact McNemar one-sided, Holm",
      "success_rule": "Holm p < 0.05"
     },
     {
      "id": "H-M2",
      "statement": "model_cain > model_random (the benefit is the learned knowledge, not extra named helpers or prompt length)",
      "endpoint": "432",
      "test": "exact McNemar one-sided, Holm",
      "success_rule": "Holm p < 0.05"
     },
     {
      "id": "H-M3",
      "statement": "H-M1 holds on the new families G/H/I",
      "endpoint": "144 tasks",
      "test": "exact McNemar one-sided, Holm",
      "success_rule": "Holm p < 0.05"
     },
     {
      "id": "H-M4",
      "statement": "replication: H-M1 direction with p < 0.05 on M_rep (secondary; families as budget allows)",
      "endpoint": "replication tasks",
      "test": "exact McNemar one-sided",
      "success_rule": "p < 0.05"
     },
     {
      "id": "H-M5",
      "statement": "interference check motivated by the E236 post-hoc result: model_cain loses no more than 5% of the tasks model_alone solves (secondary)",
      "endpoint": "432",
      "test": "count of model_alone-only tasks",
      "success_rule": "model_alone-only <= 5% of model_alone solved"
     }
    ],
    "ceiling_rule": "if model_alone solves >= 95% of main tasks, the comparison is reported as CEILING (uninformative), whatever H-M1 says; per-depth (k=2/3/4) counts are always reported",
    "verdict_rule": "KNOWLEDGE_HELPS_MODEL iff H-M1 and H-M2; GENERALIZES_TO_NEW_FAMILIES iff H-M3; negative or ceiling results are published",
    "salt_commitments_sha256": {
     "M_main": "623278b9821b95463a5c993ddc47f38556b08c7373ac50bb510fc3626ab328f9",
     "M_rep": "7acd664efc4308655159c1290e763e169fb33ef8a0194a1b9edd0289bdec647b"
    },
    "pilot_disclosure": "two pilots on the throwaway salt b'SMOKE-ONLY-e238-pilot': the first errored (maxItems unsupported in the output schema; not billed); the second cost $0.0022, 6/6 solved (ceiling risk, hence the ceiling rule); never used for sealed evaluation",
    "limits": [
     "constructed string-program domain; same team",
     "one model family (Anthropic); not an external benchmark",
     "the model may solve some tasks by reasoning without any library: that is the baseline",
     "no external reviewer; source withheld at publication"
    ]
   }
  }
 }
}