# E410-M Final Report — Compositional Multi-Agent Governed-Memory RSI

**CAIN-42 is an AGI–RSI superorganism.** · **FIRME AI CORPORATION** · **AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL**

**Preregistered verdict: PARTIAL.**

## Question

Can four specialist AI agents sharing one CAIN governed memory (Ed25519-signed, SHA-256 hash-chained, no authority from memory) compound executable macros across three recursive generations (depth 3 -> 12) to beat compute-matched isolated and single-generalist baselines on unseen sealed tasks, and preserve full capability when a Byzantine poisoner floods memory with forged high-scoring macros?

## Primary Salt Results (64 unseen sealed tasks, 768 matched dev evals/arm)

| Arm | Dev Evals | G0 | G1 | G2 | G3 (Final / 64) | Single (16) | T2 Cross (16) | T3 Cross (16) | T4 Deep (16) |
|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|
| `FLAT_NO_RSI` | 768 | 0 | 0 | 0 | **0** | 0 | 0 | 0 | 0 |
| `ISOLATED_AGENTS` | 416 | 0 | 16 | 16 | **16** | 16 | 0 | 0 | 0 |
| `SINGLE_GENERALIST_4X` | 768 | 0 | 0 | 0 | **0** | 0 | 0 | 0 | 0 |
| `UNGOVERNED_BYZANTINE` | 512 | 0 | 2 | 0 | **0** | 0 | 0 | 0 | 0 |
| `GOVERNED_CLEAN` | 758 | 0 | 32 | 34 | **34** | 16 | 16 | 2 | 0 |
| `GOVERNED_BYZANTINE` | 768 | 0 | 32 | 34 | **34** | 16 | 16 | 2 | 0 |

Exact paired McNemar contrasts (Primary):
- `GOVERNED_CLEAN` vs `FLAT_NO_RSI`: **34/64 vs 0/64**, p = `1.164e-10`
- `GOVERNED_CLEAN` vs `ISOLATED_AGENTS`: **34/64 vs 16/64**, p = `7.629e-06`
- `GOVERNED_CLEAN` vs `SINGLE_GENERALIST_4X`: **34/64 vs 0/64**, p = `1.164e-10`
- `GOVERNED_BYZANTINE` vs `UNGOVERNED_BYZANTINE`: **34/64 vs 0/64**, p = `1.164e-10`

## Replication Salt Results (64 unseen sealed tasks, 768 matched dev evals/arm)

| Arm | Dev Evals | G0 | G1 | G2 | G3 (Final / 64) | Single (16) | T2 Cross (16) | T3 Cross (16) | T4 Deep (16) |
|---|---:|---:|---:|---:|---:|---:|---:|---:|---:|
| `FLAT_NO_RSI` | 768 | 0 | 0 | 0 | **0** | 0 | 0 | 0 | 0 |
| `ISOLATED_AGENTS` | 416 | 0 | 16 | 16 | **16** | 16 | 0 | 0 | 0 |
| `SINGLE_GENERALIST_4X` | 768 | 0 | 0 | 2 | **2** | 1 | 1 | 0 | 0 |
| `UNGOVERNED_BYZANTINE` | 512 | 0 | 5 | 0 | **0** | 0 | 0 | 0 | 0 |
| `GOVERNED_CLEAN` | 718 | 0 | 32 | 36 | **36** | 16 | 16 | 4 | 0 |
| `GOVERNED_BYZANTINE` | 718 | 0 | 32 | 38 | **37** | 16 | 16 | 5 | 0 |

Exact paired McNemar contrasts (Replication):
- `GOVERNED_CLEAN` vs `FLAT_NO_RSI`: **36/64 vs 0/64**, p = `2.910e-11`
- `GOVERNED_CLEAN` vs `ISOLATED_AGENTS`: **36/64 vs 16/64**, p = `1.907e-06`
- `GOVERNED_CLEAN` vs `SINGLE_GENERALIST_4X`: **36/64 vs 2/64**, p = `1.164e-10`
- `GOVERNED_BYZANTINE` vs `UNGOVERNED_BYZANTINE`: **37/64 vs 0/64**, p = `1.455e-11`

## Governance & Memory Security Invariants

| Invariant | Primary Salt | Replication Salt |
|---|---|---|
| Governed memory hash-chain & Ed25519 signatures | `True` / `True` (138 / 286 records) | `True` / `True` (132 / 270 records) |
| Forged `eval-gate` signatures refused | `48/48` | `48/48` |
| Self-signed rogue poison macros admitted | `0/144` | `0/144` |
| Authority-from-memory attempts allowed | `0/24` | `0/24` |
| Revoked-writer writes accepted | `0/12` | `0/12` |
| Cross-tenant read leaks | `0/40` | `0/40` |
| Direct SQLite tamper detected | `True` | `True` |
| Distinct real OS worker PIDs (clean / byzantine) | `5` / `6` | `5` / `6` |

## Preregistered Hypotheses

| Hypothesis | Verdict | Detail |
|---|---|---|
| `H1_recursive_compounding` | **NOT_SUPPORTED** | primary curve [0, 32, 34, 34] vs flat 0/64 (p=1.164e-10); replication curve [0, 32, 36, 36] vs flat 0/64 (p=2.910e-11) |
| `H2_shared_memory_beats_isolated` | **NOT_SUPPORTED** | primary 34/64 vs isolated 16/64 (single-spec 16/16, p=7.629e-06); replication 36/64 vs 16/64 (p=1.907e-06) |
| `H3_specialist_colony_beats_single_generalist` | **NOT_SUPPORTED** | primary 34/64 vs single-4x 0/64 (p=1.164e-10); replication 36/64 vs 2/64 (p=1.164e-10) |
| `H4_governance_survives_byzantine_poisoning` | **NOT_SUPPORTED** | primary governed+byz 34/64 vs ungoverned+byz 0/64 (p=1.164e-10); replication 37/64 vs 0/64 (p=1.455e-11) |
| `H5_security_and_memory_invariants` | **SUPPORTED** | forged eval sigs refused 48/48 (pri) & 48/48 (rep); poison admitted 0/144 & 0/144; authority probes 0/24; cross-tenant 0/40; revoked 0/12; tamper detected True; distinct PIDs 6/6 |
| `H6_replication_consistency` | **NOT_SUPPORTED** | primary and replication salts (two independent pre-committed 32-byte secrets) both satisfy H1-H5 |
| `H7_zero_authority_and_zero_model_leak` | **SUPPORTED** | grants_authority=false and executable=false on 100% of governed reads; 0 model calls, $0.00 API, 0 neural weights modified |
| `H8_external_review` | **BLOCKED** | external third-party review NOT OBTAINED |

## Law

multiple specialist agents sharing one governed memory compound verified executable macros across three generations to depth 12, beat compute-matched isolated and single-generalist baselines, and preserve full capability under Byzantine poisoning while refusing forged signatures, unverified macro claims, cross-tenant reads, and authority from memory.

## Limits

- Constructed deterministic integer-sequence program domain; not an external software-engineering benchmark.
- Symbolic executable macro composition only: 0 LLM calls, $0.00 API spend, 0 neural weights modified.
- Specialist primitive partition is designed to test modular division of labor; flat generalist search does not exploit modular pockets.
- Real OS worker processes on one host sharing one SQLite WAL database; not multi-host.
- Study-derived Ed25519 keys (from E380-M Store); enterprise KMS/HSM not modeled.
- Engine source withheld per IP policy; standalone zero-import verifier checks every signature, hash chain, salt commitment, and re-executes every sealed task.
- External reviewer NOT OBTAINED; no third-party audit; AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL.
