# E147 Preregistration — Self-improvement with a diagnosing proposer and switchable mechanisms

CAIN-42 · FIRME AI CORPORATION · Evolution 147 · **AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL**

Code SHA-256 (e147/{agent,rsi,director}.py + e146/tstat.py + e145/{rsi,families}.py): `ba680ffcf89e0bb4b7917accf88a5607d285f01d1777229508915f69a84b675b`.
Isolated engine instance `/root/.cain-e147` (fresh evaluator key and salt). Committed before any E147 unit runs.

## 1. Why

E146: the corrected acceptance rule blocks harmful changes, but only 1 of 96 candidates passed and it was a false
positive. A pre-design **dev-only headroom probe** (`artifacts/e147/headroom_probe.json`; 161 configs on 300 dev
tasks, top 10 re-scored on 300 different dev tasks; hidden tasks never generated) found the E145 parameter space
nearly flat: best replicated config ≈ +0.02 over G0 (0.556 vs 0.535), with clear winner's-curse shrinkage. Random
parameter tweaks therefore cannot produce a real improvement. E147 changes **the proposer and the space**, not the rule.

## 2. Treatment

* **Mechanism genes** (designed library; the system selects and composes them, it does not write code):
  `noise` fixed | mixture (posterior over noise ∈ {0.03, 0.12, 0.25}); `stopper` threshold | value-of-information
  (stop when the best experiment's expected gain in P(correct) < voi_scale × 0.3/budget); `repeat` 0 | 1. Compute per
  decision stays ≤ 32 × |H| (the mixture scores 10 candidates instead of 32). With G0 genes the agent is the E145 agent
  (tested: identical scores).
* **Diagnosing proposer** (`diagnostic`): classifies the parent's failures on 128 dev tasks (wrong after early stop /
  wrong at budget exhaustion / right but wasteful) and proposes 12 children targeted at the dominant classes + 12 random.
* **Screen:** successive halving 24 → 8 → 2 on 32/128/320 dev tasks, then the best is confirmed against the parent on
  160 fresh dev tasks and submitted only if it wins there.

## 3. Arms (16 branches × 8 generations + 1 final audit = 144 units)

`diagnostic` 8 branches (treatment) · `paramonly` 4 (same screen, genes frozen) · `randomgenes` 4 (same screen and
genes, random proposals). All start at G0. Acceptance rule **identical to E146** (paired t p < 0.05 on 80 hidden tasks;
identification ≥ parent − 0.02; unfamiliar ≥ −0.02; confirmation improved). Final audit: 120 fresh hidden + 120
unfamiliar tasks vs G0.

## 4. Hypotheses

* **H1 (primary):** the 8 `diagnostic` final configs beat G0: one-sample one-sided t over the 8 branch mean gains,
  alpha 0.05. SUPPORTED / CONTRADICTED / INCONCLUSIVE as in E146.
* **H1b:** identification non-inferior; **H1d:** unfamiliar-domain gain ≥ −0.02 (transfer).
* **H1c:** diagnostic gains > E146 gains (one-sided Mann–Whitney, 200,000 seeded permutations, seed 147).
* **H2 (exploratory, 8 vs 4):** diagnostic > paramonly (attribution: mechanisms + diagnosis vs a bigger screen).
* **H3 (exploratory, 8 vs 4):** diagnostic > randomgenes (attribution: diagnosis vs random gene proposals).
* Reported: promotions per arm, which genes the final configs carry, child − 2x-compute parent, child − random proposal.
* Improving the improver itself remains conditional on H1 SUPPORTED (a later evolution).

## 5. What a positive result would and would not mean

SUPPORTED H1 = bounded, governed self-improvement: the system diagnosed its own failures and composed designed
mechanisms into an agent that beats its starting version on fresh hidden tasks and on an unfamiliar domain, at equal
compute per decision. It would not be open-ended RSI, new-code synthesis or AGI. RSI stays EXPERIMENTAL; AGI NOT
ESTABLISHED.
