{
 "schema": "cain42.prc.preregistration.v1",
 "evolution": "PRC",
 "status": "AGI: NOT ESTABLISHED \u00b7 RSI: EXPERIMENTAL",
 "written_at": "2026-11-28T19:47:41Z",
 "head_at_freeze": "503a1c42efbe0e9ff5c634c12482ba18e01dd962",
 "title": "The experiment contract: sign the analysis before you see the data",
 "question": "Can a colony that signs sample size, statistic and threshold into one governed memory before the first experiment keep its promotion error rate under control, and can a third party tell a contract from a rationalisation after the fact?",
 "design": {
  "campaigns_per_salt": 40,
  "nulls": 20,
  "real_improvements": 20,
  "experiments_per_campaign": 60,
  "truth": "nulls p=0.50; reals p drawn 0.60..0.70 from the salt",
  "contract": {
   "n": 60,
   "statistic": "overall success rate",
   "theta": 0.6062,
   "alpha": 0.05
  },
  "naive_bar": 0.55,
  "arms": {
   "NONE": "promote iff the overall mean clears 0.55 (no contract)",
   "CONTRACT": "promote iff the overall mean clears the pre-registered 0.6062 with n=60",
   "SUBSET": "promote iff any of five subsets (all, first30, last30, odd, even) clears 0.55",
   "PEEK": "monitor every 10 experiments at 0.55 and promote at the first crossing",
   "ORACLE": "promote iff the true p is at least 0.60 (upper bound)"
  },
  "compliance": "a promotion is compliant iff n=60, statistic=overall_rate and theta=0.6062; the signed contract is appended before the first result",
  "memory": "one Ed25519-signed, SHA-256 hash-chained SQLite store per salt; contract and result entries; grants_authority=false",
  "salts": 2,
  "model_calls": 0
 },
 "hypotheses": {
  "H1_contract_controls_false_promotions": "CONTRACT promotes at most 10% of null campaigns on both salts",
  "H2_post_hoc_liberty_inflates_errors": "NONE, SUBSET and PEEK each promote more nulls than CONTRACT on both salts",
  "H3_contract_keeps_real_improvements": "CONTRACT retains at least 50% of real improvements on both salts",
  "H4_compliance_detector_is_exact": "the signed contract flags every non-compliant promotion and no compliant one, on both salts",
  "H5_integrity_and_contract_ordering": "every memory verifies, refuses a replay, detects a contract edited after the fact, records every contract before the first result, and refuses authority from memory",
  "H6_external_review": "no external reviewer (BLOCKED)"
 },
 "verdict_rule": "EXPERIMENT_CONTRACT_SUPPORTED iff H1-H5 are SUPPORTED; H6 is BLOCKED",
 "salts_commitment": {
  "salt1": "c75bdc307040e48b145ca013062b2507446b3b864130d595d57ead24ae23a431",
  "salt2": "e667e5c1f4284d2eea808dbf1e971af3c0f13b74e42b5106a15a3d47d139042d"
 },
 "engine_sha256": {
  "cain/experiment_contract/domain.py": "3a6b028994cfaf158021c30ae1d081b8d7bc262f67092e2cac98789d092e8a8b",
  "cain/experiment_contract/memory.py": "9bb3835448cce3fe9198840ef172e7f4804b3d6b9d4cd510abba1ecbd015c726",
  "cain/experiment_contract/campaign.py": "e99c9d93dcb856abf9b42f35ba4c2885c5bb11d146d9b32d1371122b63a29b33",
  "cain/experiment_contract/run.py": "0f82718e041f3bbbbfb93849337724086993eb44ae4c87a3bde3379684fb6e20",
  "cain/experiment_contract/verify_prc_offline.py": "63bf032bed9d97df2ba25cd2c330bfc36a0a39b02be57f10e78ca2cdc55cc4c3"
 },
 "pilot_disclosure": "Thresholds were chosen on a calibration pilot with two non-sealed salts (archived at artifacts/prc/pilot/, published as PRC_PILOT.json): CONTRACT false 0.00/0.05, retention 0.70/0.85; NONE 0.30/0.30, SUBSET 0.55/0.50, PEEK 0.65/0.45. The sealed run uses two fresh committed salts and the frozen engine.",
 "limits": [
  "Constructed 40-campaign Bernoulli microcosm; not a field study.",
  "The five advertised analyses are a designed set; other post-hoc liberties are not tested.",
  "The contract uses a one-sided 5% normal bound; it controls the null error rate and its power cost is reported.",
  "Compliance is syntactic (n, statistic, threshold), not a judgment that a result is true.",
  "Two salts on one host; the auditor re-derives every campaign from the revealed salt.",
  "External reviewer NOT OBTAINED; not general RSI, not AGI."
 ]
}