# E412-M — One governed memory, verified compounding

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

**Verdict: PARTIAL** · 1317.4 s · 0 model calls · $0 API · external review NOT OBTAINED

## Question

Does **one signed, tenant-scoped shared memory** let four research agents compound a
real capability across generations — while a memory that **trusts unverified claims**
compounds errors instead?

This is the composition CAIN-42 is built for: multiple agents, one governed memory,
and a bounded experimental loop whose every action is signed, chained and re-checkable.

## Design (preregistered before the sealed run)

| element | value |
|---|---|
| agents | 4 deterministic OS processes |
| generations | 3 |
| candidates per agent/generation | 2 |
| development episodes per evaluation | 8 (each agent's own sample) |
| sealed episodes per champion | 24 (never shown to the agents) |
| procedure genome | 2 reading arms x 2 policies x 6 seed sizes x 3 audit sizes = 72 |
| observable score | 0.5 * claim rate + 0.5 * audit-pass rate (never correctness) |
| salts | primary + replication, committed by SHA-256 before the run |

**Arms** — what a signed claim is allowed to do:

- **none** — one governed DB per agent; nothing shared.
- **claimed** — one shared DB; any signed claim may seed the next generation (trust).
- **verified** — one shared DB; a claim seeds only after a *different* agent re-runs it on
  its own sample. Memory is a pointer; the re-run is the evidence.

**Poison** — at generation 1 the last agent signs a claim of **1.0** for the declared weak
procedure `single|random|10|20`. The signature is valid; the claim is false. A second agent
prices the same procedure honestly, so the memory shows both scores and never resolves them.

## Result

Sealed accepted-correct of each generation's champion (higher is better):

| salt | arm | gen 0 | gen 1 | gen 2 | champions (gen 0 / 1 / 2) |
|---|---|---|---|---|---|
| primary | none | 0.708 | 0.708 | 0.708 | `majority|active|14|20` / `majority|active|14|20` / `majority|active|14|20` |
| primary | claimed | 0.750 | 0.167 | 0.167 | `majority|active|22|60` / `single|random|10|20` / `single|random|10|20` |
| primary | verified | 0.750 | 0.750 | 0.750 | `majority|active|22|60` / `majority|active|22|60` / `majority|active|22|60` |
| replication | none | 0.833 | 0.792 | 0.792 | `majority|random|14|20` / `majority|active|14|20` / `majority|active|14|20` |
| replication | claimed | 0.792 | 0.167 | 0.167 | `majority|random|10|20` / `single|random|10|20` / `single|random|10|20` |
| replication | verified | 0.792 | 0.792 | 0.792 | `majority|active|14|20` / `majority|active|14|20` / `majority|active|14|20` |

### Hypotheses

| # | claim | verdict | detail |
|---|---|---|---|
| H1 | verified compounds (gen2 >= gen0 + 0.04) | **NOT_SUPPORTED** | gen2 0.7500 - gen0 0.7500 = +0.0000 (threshold +0.04) |
| H2 | verified beats isolated (gen2 >= none + 0.04) | **SUPPORTED** | verified 0.7500 - none 0.7083 = +0.0417 (threshold +0.04) |
| H3 | unverified memory adopts the poison and loses | **SUPPORTED** | claimed gen1 champion=single|random|10|20 (poison=single|random|10|20); sealed 0.1667 vs none 0.7083 |
| H4 | verified rejects the poison and never seeds its 1.0 | **SUPPORTED** | poison verifications=[(1.0, 0.375, False)]; verified pool score=None |
| H5 | governance holds in both shared arms | **SUPPORTED** | corrected probe: WAL checkpoint + row-count check + stored-hash flip; tamper detected in both shared arms |
| H6 | replication repeats H1-H5 | **NOT_SUPPORTED** | replication: H1=FAIL; H2=FAIL; H3=PASS; H4=PASS; H5=PASS; H1_delta=FAIL; H2_delta=FAIL |
| H7 | external review | **BLOCKED** | external review NOT OBTAINED |

### Correction (published, not hidden)

As shipped, H5 read NOT_SUPPORTED: the tamper probe copied `shared.db` without its WAL, so `chain_ok()` on the incomplete copy returned True. The probe was fixed (WAL checkpoint, copied-row-count check, replace one stored hash) and re-applied to the same sealed stores. It changed H5 NOT_SUPPORTED -> SUPPORTED; the verdict stayed `PARTIAL`. No world, agent, claim, score or threshold changed.

### Counting and governance

| salt/arm | distinct procedures evaluated | claims | verifications | accepted | rejected | mean claim - re-run |
|---|---|---|---|---|---|---|
| primary|claimed | 13 | 12 | 0 | 0 | 0 | - |
| primary|none | 14 | 12 | 0 | 0 | 0 | - |
| primary|verified | 11 | 12 | 13 | 8 | 5 | +0.048 |
| replication|claimed | 11 | 12 | 0 | 0 | 0 | - |
| replication|none | 13 | 12 | 0 | 0 | 0 | - |
| replication|verified | 10 | 12 | 13 | 6 | 7 | +0.087 |

Governance probes re-collected from the sealed stores (all must pass):

| salt/arm | chain | no authority | cross-tenant write | cross-tenant read | replay | contradiction | tamper |
|---|---|---|---|---|---|---|---|
| primary|claimed | PASS | PASS | PASS | PASS | PASS | PASS | PASS |
| primary|verified | PASS | PASS | PASS | PASS | PASS | PASS | PASS |
| replication|claimed | PASS | PASS | PASS | PASS | PASS | PASS | PASS |
| replication|verified | PASS | PASS | PASS | PASS | PASS | PASS | PASS |

## What the result means

The mechanism is visible but the preregistered gates are not all met: verified sealed 0.750 → 0.750, claimed gen-1 0.167, isolated final 0.708. The negative rows are published unchanged.

## What this does not show

- Constructed exact-DNF worlds, four deterministic agents and a 72-procedure genome.
- No language model was called; agents are processes making deterministic choices.
- One host; one SQLite database per shared arm; tenant isolation is a query boundary.
- Study keys are derived from agent names: a signature proves authorship, never truth.
- The poison is a declared weak procedure with an inflated signed claim, not an optimal adversary.
- No external reviewer, no third-party audit, no SOC 2, no certification.
- **AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL.**

## Evidence

- Preregistration and freeze: `E412-M_PREREGISTRATION.json`, `E412-M_PREREGISTRATION_FREEZE.json`.
- Raw run: `E412-M_RUN_REPORT.json`; revealed salts: `E412-M_SALT_REVEALED.json`.
- Signed memory exports: `memory/<salt>-<arm>.json` (chain + signatures re-checked by the verifier).
- Governance probes: `E412-M_PROBES_<salt>_<arm>.json`.
- Standalone verifier: `verify_e412m_offline.py` (stdlib + cryptography; imports no CAIN code).

