# E241 — Final report: model-written selectors, sandboxed, sealed

**AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL**

**Preregistered verdict: NOT_SUPPORTED.** A budget-capped `claude-haiku-5-5` wrote **32 safe selector functions**; all 32 passed the static allowlist and the restricted subprocess. The selectors chose which macro-abstractions the learner kept, and the libraries were evaluated on **144 sealed tasks at depth 4 / 24,000 candidates** — the setting where a library can change the reachable set. The primary selector solved **102/144**.

## What was asked (frozen before any model call or sealed task)
1. Can model-written selector code beat the reference selector, a primitive search and the strongest compute-matched control?
2. Is the code safe under a static allowlist and a restricted subprocess?
3. Does it beat the strongest E239 parameter policy at the same sealed budget?

## Results

| Hypothesis | Verdict | Detail |
|---|---|---|
| H1_model_gt_reference | **NOT_SUPPORTED** | child-only 0, parent-only 0, p 1 |
| H2_model_gt_primitives | **SUPPORTED** | child-only 31, parent-only 1, p 7.68e-09 |
| H3_model_gt_compute_max | **SUPPORTED** | child-only 19, parent-only 5, p 0.00331 |
| H4_selector_validity | **SUPPORTED** | 32/32 valid |
| H5_model_gt_parameter | **NOT_SUPPORTED** | child-only 0, parent-only 9, p 1 |

### Sealed tasks solved (of 144; A/B/C at depth 4)

| Arm | Selector | Sealed |
|---|---|---|
| model_top | allowed_primitives_longest_first | **102** |
| model_top_2 | by_allowed_prims_seeded | **101** |
| model_top_3 | by_frequency | **102** |
| model_top_4 | by_frequency | **102** |
| reference | reference | **102** |
| random_library | random | **64** |
| primitives_d4 | none | **72** |
| primitives_d6_60k | none | **88** |
| parameter_best | E239 parameter policy | **111** |

Primary per family: **A 35/48 · B 29/48 · C 38/48**.

## What this means

The model wrote valid, sandbox-safe selectors. Whether that is an improvement depends on the sealed contrasts above; the browser-verifiable record is the authority, not this paragraph. The code is withheld; its SHA-256, the selected macro libraries and every witness are published, so the verifier can re-apply the result without the source.

## Budget, penny for penny

- Model `claude-haiku-5-5` · **9 settled calls** · **$0.006200** of a **$5.50** cap.
- Ledger `E241_API_LEDGER.jsonl`; every reserve and settle; refused calls would be recorded and are not billed.
- Cost is estimated from returned token counts at published list prices, **not provider billing**.

## Ordering and governance

Every selector was committed by SHA-256 before the first sealed task (`E241_MODEL_OUTPUTS_COMMITMENT.json`). The model saw only development evidence. The code is data, never authority: it runs only after the allowlist and subprocess accept it, and it can only choose macros.

## Limits
- constructed string domain; no natural-language or scientific benchmark
- one model (claude-haiku-5-5), one effort setting, one run
- the selector chooses from solved development programs; it does not write the learner or the evaluator
- sealed tasks are program-disjoint but from the same generators
- the strongest control uses depth 6 and 60,000 candidates; a win only by spending more is not a selector improvement
- model-written selector code is withheld from the public bundle; its SHA-256 and the selected macro libraries are published
- the verifier re-applies published witnesses; it does not re-run the selector code or the search
- same team wrote the engine, controls and verifier; no external reviewer
- API cost is an estimate from token counts at published list prices, not provider billing

## Resources
Wall **167.52 s**, one host, 0 weights trained, $0.006200 estimated API spend.
