{
 "acceptance_rule_for_a_successor": "mean hidden gain > parent AND one-sided paired t p <= 0.05 after correction AND retention lower bound > -0.01; otherwise REJECTED",
 "arms": {
  "G0": "random operator selection",
  "G1": "sweep: one systematic pass over the contextual operator pool",
  "G2": "early: sweep with an early stop after a strong candidate",
  "G3": "early + failure-aware memory (attempted only; accepted only on measured gain)",
  "contextual": "human-designed signature -> operator pool mapping with epsilon exploration",
  "memory_safe": "M2/M5 memory used only to rank the contextual pool",
  "model_prior": "frozen Claude-generated operator prior (no confirmatory data seen)",
  "oracle": "not run; no hidden-label access"
 },
 "claims_not_made": [
  "AGI achieved",
  "unrestricted RSI",
  "general intelligence",
  "external benchmark SOTA",
  "third-party verification",
  "production deployment"
 ],
 "compute_matching": "every arm gets exactly 8 candidate evaluations per trial on identical dev tasks; hidden audit cost (2 configs x 3 tasks) is charged to every arm; actual fits are reported; no arm receives extra candidate evaluations",
 "cost_matching": "All arms receive exactly 8 candidate evaluations per trial. Fits, wall-clock and model calls are recorded. The loop makes zero model calls. G2's early-stop saving is a property of the treatment by construction; the measured question is whether hidden accuracy is non-inferior, not whether the saving is surprising.",
 "domains": {
  "constructed": "binary rule identification with 8 binary features, 120 balanced training rows, 600 held-out rows; 12 families",
  "public": "scikit-learn bundled public tabular data (breast_cancer, iris, wine, digits), 5 stratified folds each, median-binarised at train, 8 features",
  "scope": "constructed research microcosm; NOT an external benchmark and NOT evidence of general intelligence"
 },
 "entity": "FIRME AI CORPORATION",
 "evolution": "E157",
 "exclusion": "a trial is excluded only if the task generator fails (no valid rule); exclusions are counted and reported, never silently dropped",
 "frozen_code_sha256": "4f036e130da746381aa0c134d0cb7fd89157735d9cd24a61bf03ea5d722566ee",
 "hypotheses": [
  {
   "control": "random",
   "correction": "Holm over the five guided-vs-random comparisons",
   "id": "H1",
   "n": 150,
   "null": "guided <= random",
   "primary_outcome": "mean hidden gain per trial (balanced accuracy)",
   "replication": "mixed model",
   "statement": "Evidence-guided (or model-prior) research-direction selection produces a higher mean held-out capability gain than random selection at equal budget.",
   "test": "one-sided paired Student t",
   "threshold": "0.025 after Holm",
   "treatment": "sweep / model_prior / contextual"
  },
  {
   "control": "random",
   "correction": "Holm over guided arms",
   "id": "H2",
   "n": 150,
   "null": "guided rate <= random rate",
   "primary_outcome": "validated improvement rate (hidden gain > 0.01)",
   "replication": "mixed model",
   "statement": "Evidence-guided selection raises the rate of validated improvements at equal budget.",
   "test": "exact McNemar (one-sided)",
   "threshold": "0.05",
   "treatment": "sweep"
  },
  {
   "control": "G0 = random",
   "correction": "Holm over G1/G2/G3",
   "id": "H3",
   "n": 150,
   "null": "G1 <= G0",
   "primary_outcome": "mean hidden gain",
   "replication": "fresh seed",
   "statement": "The first accepted successor (G1) beats the frozen G0 research procedure on held-out tasks.",
   "test": "paired t",
   "threshold": "0.05",
   "treatment": "G1 = sweep"
  },
  {
   "control": "G0",
   "correction": "Holm over three unseen families",
   "id": "H4",
   "n": 120,
   "null": "G1 <= G0",
   "primary_outcome": "mean hidden gain on parity4, majority, noisy_conj",
   "replication": "fresh seed",
   "statement": "The G1 gain generalizes to task families not used in development.",
   "test": "paired t",
   "threshold": "0.05",
   "treatment": "G1"
  },
  {
   "control": "M0_none",
   "correction": "Holm over M variants",
   "id": "H5",
   "n": 120,
   "null": "M4/M5 <= M0",
   "primary_outcome": "mean hidden gain",
   "replication": "fresh family",
   "statement": "Persistent scientific memory improves future research performance over no memory.",
   "test": "paired t",
   "threshold": "0.05",
   "treatment": "M2..M5 with memory_safe"
  },
  {
   "control": "M1_recent",
   "correction": "Holm",
   "id": "H6",
   "n": 120,
   "null": "M3/M5 <= M1",
   "primary_outcome": "mean hidden gain",
   "replication": "fresh family",
   "statement": "Context/causal memory beats ordinary recent retrieval under controlled conditions.",
   "test": "paired t",
   "threshold": "0.05",
   "treatment": "M3_causal, M5_adaptive"
  },
  {
   "control": "scratch contextual; random prior; extra-search",
   "correction": "Holm over three controls",
   "id": "H7",
   "n": 120,
   "null": "transfer <= scratch",
   "primary_outcome": "mean hidden gain on target families",
   "replication": "fresh seed",
   "statement": "Operator priors learned in one domain improve a different domain beyond scratch and compute-matched controls.",
   "test": "paired t",
   "threshold": "0.05",
   "treatment": "frozen source prior"
  },
  {
   "control": "single sweep with equal total budget",
   "correction": "Holm",
   "id": "H8",
   "n": 120,
   "null": "collective <= best single",
   "primary_outcome": "mean hidden gain",
   "replication": "fresh seed",
   "statement": "A multi-process specialist workforce beats the strongest single worker at equal total budget.",
   "test": "paired t",
   "threshold": "0.05",
   "treatment": "3 workers + shared memory + auditor"
  },
  {
   "control": "sweep",
   "correction": "Holm",
   "id": "H9",
   "n": 150,
   "null": "adaptive worse or more expensive",
   "primary_outcome": "mean hidden gain and fits per valid improvement",
   "replication": "fresh seed",
   "statement": "Dynamic routing (adaptive) preserves capability while using no more budget than a fixed sweep.",
   "test": "paired t + cost ratio",
   "threshold": "0.05",
   "treatment": "adaptive"
  },
  {
   "control": "G0",
   "correction": "Holm over G2/G3",
   "id": "H10",
   "n": 150,
   "null": "Gk <= G0",
   "primary_outcome": "mean hidden gain",
   "replication": "fresh seed",
   "statement": "Later successor generations outperform the frozen baseline.",
   "test": "paired t",
   "threshold": "0.05",
   "treatment": "G2 = early, G3 = early+failure memory"
  },
  {
   "control": "G1",
   "correction": "Holm",
   "id": "H11",
   "n": 150,
   "null": "G2 no better than G1",
   "primary_outcome": "validated improvements per 100 candidate evaluations and fits per valid improvement",
   "replication": "fresh seed",
   "statement": "A successor improves the research process itself (improvement yield), not only its final answers.",
   "test": "McNemar + non-inferiority",
   "threshold": "0.05",
   "treatment": "G2"
  },
  {
   "control": "random",
   "correction": "none (single test)",
   "id": "H12",
   "n": 150,
   "null": "replication difference <= 0",
   "primary_outcome": "mean hidden gain difference",
   "replication": "second salt",
   "statement": "The primary result replicates on a fresh independent salt.",
   "test": "paired t",
   "threshold": "0.05",
   "treatment": "sweep"
  },
  {
   "control": "G0",
   "correction": "Holm over generations",
   "id": "H13",
   "n": 180,
   "null": "Gk < G0 - 0.01",
   "primary_outcome": "retention suite balanced accuracy",
   "replication": "fresh seed",
   "statement": "Accepted generations preserve previously acquired capabilities within the preregistered margin.",
   "test": "non-inferiority (one-sided 95% lower bound > -0.01)",
   "threshold": "margin -0.01",
   "treatment": "G1/G2/G3"
  },
  {
   "control": "G1 = sweep",
   "correction": "Holm",
   "id": "H14",
   "n": 150,
   "null": "G2 >= G1",
   "primary_outcome": "fits per validated improvement",
   "replication": "fresh seed",
   "statement": "Research efficiency improves under an equalized resource budget.",
   "test": "bootstrap ratio + non-inferiority",
   "threshold": "ratio < 1.0",
   "treatment": "G2 = early"
  },
  {
   "control": "pre-run state",
   "correction": "none",
   "id": "H15",
   "n": 1,
   "null": "any integrity failure",
   "primary_outcome": "completed tasks, duplicate effects, chain verification, kill-switch effects",
   "replication": "second short run",
   "statement": "Long-horizon operation preserves research state and evidence integrity.",
   "test": "deterministic audit, repeated twice; not a statistical test",
   "threshold": "zero failures",
   "treatment": "durable queue with kills/restarts"
  },
  {
   "control": "the diagnosed defective policy",
   "correction": "Holm",
   "id": "H16",
   "n": 150,
   "null": "no defect or correction not non-inferior",
   "primary_outcome": "the diagnosed defect and the corrected policy's held-out behaviour",
   "replication": "fresh seed",
   "statement": "The organism identifies and corrects an actual weakness in its own research machinery.",
   "test": "paired t + cost ratio",
   "threshold": "0.05",
   "treatment": "failure_aware corrected policy"
  }
 ],
 "independent_evaluation": {
  "clean_copy": "verifier re-runs from a copied bundle without importing CAIN",
  "external_benchmark": "NOT RUN (no authorized external harness in this environment); public datasets are a reproducibility check, not an external benchmark",
  "fresh_process": "confirm runner re-executed in a separate process; evaluator is a separate module",
  "hidden_tasks": "generated from the committed salt; never visible to a procedure",
  "offline_verifier": "artifacts/e157/verify_e157_offline.py (stdlib + cryptography only)"
 },
 "leakage_provenance": "The human operator library and the four signature buckets were fixed before the confirmatory salt was opened. The Claude operator prior saw only operator descriptions and bucket semantics: no task data, no hidden labels, no outcomes. Memory is written only from development-split outcomes during a run. The public datasets are used only in the public-data check and did not inform the operator library or the prior.",
 "limits": [
  "constructed domains built by the same team that wrote the evaluator",
  "operator library is human-designed; no model wrote accepted procedure source",
  "one local host; no external reviewer; no third-party audit",
  "self-generated evidence key (integrity, not identity)",
  "no GPU models, no neural weights, no remote model calls in the research loop",
  "the public-data check is not a novel scientific discovery"
 ],
 "model": {
  "budget_reason": "conservative cap below the $25 default because the owner-reported shared key balance was $13.49 on 2026-11-23T11:25Z",
  "budget_usd_cap": 2.0,
  "id": "claude-haiku-5-5",
  "model_prior_sha256": "7361cb8d9405ded8b1604ee6dc079582ef92f4978047bab0d70805adff40807e",
  "provider": "anthropic",
  "role": "research-direction prior and adversarial review only; never the acceptance authority"
 },
 "multiple_comparison": "Holm-Bonferroni within each hypothesis family; primary H1 uses alpha 0.025 after correction",
 "multiplying_control": "Holm within each hypothesis family; a Benjamini-Hochberg FDR is also reported across all 16 p-values; H12 is a robustness replication, not a second discovery; H15 is a deterministic audit.",
 "negative_results": "published with the same prominence as positive results",
 "power": {
  "basis": "pilot paired sd(diff) ~0.07-0.09",
  "detectable": "about +0.024 mean gain at alpha 0.025 and 90% power",
  "n": 150,
  "note": "smaller effects are reported UNDERPOWERED"
 },
 "preregistered_at": "2026-11-23T14:02:50Z",
 "preregistration_hash": "e9528bac1ec9a97a5b55f9f7d7e45bd5745a7d6b063b4ab6c0f560d5daae472f",
 "primary_confirmatory": "H1 is the single primary confirmatory test (alpha 0.025 after Holm over its three guided arms). Every other hypothesis is secondary and cannot alone be reported as a confirmed discovery.",
 "question": "Can CAIN-42 improve the research procedure that produces its improvements, and does the improvement survive fresh-salt held-out evaluation?",
 "salt_commitment": {
  "algorithm": "sha256(hex salt)",
  "revealed": false,
  "sha256": "95a9dffb20c0790e66ad473a24a972d6323ac84b30d8fb3b972611ba64287217"
 },
 "sample_sizes": {
  "collective_per_arm": 126,
  "director_steps": 60,
  "public_tasks": 20,
  "replication_per_arm": 150,
  "retention_per_generation": 180,
  "track_b_per_arm": 150,
  "track_c_per_generation": 150,
  "track_d_per_arm": 120,
  "transfer_per_arm": 120
 },
 "schema": "cain42.e157.preregistration.v1",
 "scope": "CONSTRUCTED_MICROCOSM_ONLY: constructed rule-identification tasks plus a public-data reproducibility check; not an external benchmark, not general intelligence",
 "sealed_salt_file": "artifacts/e157/_sealed_salt.txt",
 "sealed_salt_mode": "0600",
 "self_grading": "The evaluator, operator library and preregistration share one team. Fresh-process + fresh-salt + offline recomputation reduce leakage but do not make this third-party verification. H16 is an engineering diagnosis of a defect found in this laboratory, not an independent discovery.",
 "source_commit": "e432fd2272689207b96d975eb2b0b64a260e56e7",
 "source_dirty": true,
 "status": {
  "AGI": "NOT ESTABLISHED",
  "RSI": "EXPERIMENTAL"
 },
 "stopping_rule": "fixed n; no optional stopping; a crash is resumed from the last completed trial; the run stops only on budget exhaustion or a kill switch",
 "system": "CAIN-42",
 "title": "A constructed-microcosm test of improving the research procedure under fresh-salt evaluation"
}
