# E151 Preregistration

**Hash** `9248c6b537b529a744467a5ad0824e2154d155192f92b1bf59d0c8ddae66a268` · preregistered 2026-11-23T00:15:05Z · **AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL**

Object of improvement: the executable source of the research procedure (procedure.py, research(g, api)); the evaluator, tasks, budget, salts, MCPGate policy and kill switch are outside its reach.

## Arms

* **A** G0 frozen E150 researcher (g0_procedure + G0 genome)
* **B** D2 cost-aware researcher (g0_procedure + D2 genome)
* **C** B3 conventional-search researcher (g0_procedure + B3 genome)
* **D** code-writing meta-improver, claude-haiku-5-5, no memory
* **E** identical to D plus read access to its own signed self-improvement memory

## Model
{"provider": "Anthropic", "id": "claude-haiku-5-5", "effort": "medium", "budget_usd_cap": 14.0, "reason": "owner instruction: cheapest models, maximum evidence per cent"}

## Development

* **generations:** 4
* **proposals_per_arm_generation:** 32
* **focus_areas:** Part II surfaces A-L, round robin
* **screen:** security review; NO_CHANGE rejected unrun; stage 1 = 6 dev problems; stage 2 = top 3 on 24 more; champion = most verified discoveries over 30 (ties: fewer false promotions, less budget)
* **acceptance:** on 64 fresh selection problems vs parent: child-only discoveries > parent-only, one-sided exact McNemar p <= 0.30, false promotions <= parent + 3, retention >= 0.75 when the parent solved >= 4
* **populations:** development and selection problems are bool only, fresh per generation from committed salts; thr and bool_F4 stay unfamiliar
* **inheritance:** accepted child becomes the next parent; a rejected generation keeps the parent's source byte-for-byte

## Confirmation

* **salt:** os.urandom(32), SHA-256 committed before any problem exists, revealed after rows are signed
* **populations:** {'bool': 400, 'thr': 40, 'bool_F4': 40}
* **replication:** {'bool': 160, 'salt': 'a second independent os.urandom salt, committed before use'}
* **arms_run:** A, B, C, D_final, E_final, plus D's and E's first accepted generation when it differs from the final (for H3)
* **cap_task_evaluations:** 1200
* **discovery_definition:** E150 evaluator unchanged (D1 submitted, D2 hidden gain >= 0.01 with 95% CI > 0, D3 fresh hidden replication gain > 0, D4 no identification regression)
* **power:** paired exact McNemar; from E150 discordance (6.9-7.5%) 400 paired problems give >= 0.93 power for +7.5 points at alpha 0.05/3

## Hypotheses

| ID | Test | Family |
|---|---|---|
| H1 | D_final vs A on 400 bool problems: verified discoveries, one-sided exact McNemar | primary α=0.0167 |
| H2 | E_final vs D_final on the same 400 problems | primary α=0.0167 |
| H8 | cost-aware: research task-evaluations per verified discovery, best code arm vs A; requires discoveries non-inferior within -0.05 and fewer evaluations (sign test over problems, one-sided) | primary α=0.0167 |
| H3 | a later accepted generation vs its own accepted parent on the confirmation problems (one-sided McNemar); NOT_TESTABLE if fewer than two accepted generations | secondary |
| H4 | capability retention of D_final and E_final on problems A solved: retention >= 0.80 and capabilities lost <= capabilities gained | secondary |
| H5 | fresh-seed replication of H1 on 160 new bool problems, second salt | secondary α=0.0500 |
| H6 | unfamiliar families (thr + bool_F4, 80 problems): D_final vs A | secondary |
| H7 | false promotions: code arms not worse than A (one-sided McNemar on false promotion) | secondary |
| H9 | meta-calibration: Brier score of the proposer's predicted_success_probability against 'stage-1 discoveries > parent', last generation vs first (permutation test) | secondary |
| H10 | regression recovery: every rejected generation keeps its parent's source hash; harmful candidates are refused and recorded | secondary |
| H11 | causal: for an accepted change, revert it hunk by hunk on selection-style problems; MECHANISM_UNRESOLVED if no component is identified | secondary |
| H12 | research-code generalization = H6 for E_final | secondary |

Multiplicity: primary family H1, H2, H8 at alpha 0.05/3 each; secondaries Holm at 0.05.

## Rules

* no optional stopping
* no seed rerolls
* no endpoint change after unblinding
* failed and abandoned runs disclosed
* a candidate that changes no executable behaviour is never counted as an algorithm
* if D_final or E_final equals G0, tests comparing identical researchers are NOT_TESTABLE
* external benchmarks not run are BLOCKED; NOT_APPLICABLE where the benchmark does not match the agent

## Frozen code (SHA-256)

* `cain/cain2027/unified/e151/scorer.py` `b2aec924f3616f69…`
* `cain/cain2027/unified/e151/sandbox.py` `fb0308d701a77ca0…`
* `cain/cain2027/unified/e151/sandbox/runner.py` `f6a2ba2e08848106…`
* `cain/cain2027/unified/e151/sandbox/cainapi.py` `b544b22270d193a1…`
* `cain/cain2027/unified/e151/governance.py` `c566b2cd1152b779…`
* `cain/cain2027/unified/e151/memory.py` `12b214787c789a08…`
* `cain/cain2027/unified/e151/proposals.py` `6e5be9b5cfa58c10…`
* `cain/cain2027/unified/e151/proposer.py` `1a69b609af7e425a…`
* `cain/cain2027/unified/e151/campaign.py` `651040f3070c0bcc…`
* `cain/cain2027/unified/e151/procedures/g0_procedure.py` `2228176bc4a4cc1f…`
* `scripts/evolution151/develop.py` `c77776ba80c085bb…`
* `scripts/evolution151/freeze_arms.py` `a24fbab0993c67f8…`
* `cain/cain2027/unified/e150/research.py` `8825455fe50751c8…`
* `cain/cain2027/unified/e150/evaluate.py` `bf6f8e14a8fd5cdf…`
* `artifacts/e151/frozen/arms.json` `9213180b57f47b20…`
