# E411-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: GOVERNED_SHARED_MEMORY_RSI_SUPPORTED.**

## Question

E410-M (PARTIAL) showed that admitting multiple functionally equivalent macros per task into bounded governed shared memory choked Gen 2-3 compounding (34-37/64). Does canonical per-task admission deduplication at eval-gate unlock full 3-generation recursive compounding (depth 3 -> 12) across 4 specialist OS processes while preserving 100% resistance to Byzantine macro poisoning?

## 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` | 320 | 0 | 16 | 16 | **16** | 16 | 0 | 0 | 0 |
| `SINGLE_GENERALIST_4X` | 768 | 0 | 0 | 0 | **0** | 0 | 0 | 0 | 0 |
| `UNGOVERNED_BYZANTINE` | 512 | 0 | 20 | 0 | **0** | 0 | 0 | 0 | 0 |
| `GOVERNED_CLEAN` | 720 | 0 | 32 | 48 | **61** | 16 | 16 | 16 | 13 |
| `GOVERNED_BYZANTINE` | 736 | 0 | 32 | 48 | **63** | 16 | 16 | 16 | 15 |

Exact paired McNemar contrasts (Primary):
- `GOVERNED_CLEAN` vs `FLAT_NO_RSI`: **61/64 vs 0/64**, p = `8.674e-19`
- `GOVERNED_CLEAN` vs `ISOLATED_AGENTS`: **61/64 vs 16/64**, p = `5.684e-14`
- `GOVERNED_CLEAN` vs `SINGLE_GENERALIST_4X`: **61/64 vs 0/64**, p = `8.674e-19`
- `GOVERNED_BYZANTINE` vs `UNGOVERNED_BYZANTINE`: **63/64 vs 0/64**, p = `2.168e-19`

## 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` | 320 | 0 | 16 | 16 | **16** | 16 | 0 | 0 | 0 |
| `SINGLE_GENERALIST_4X` | 768 | 0 | 0 | 0 | **2** | 1 | 1 | 0 | 0 |
| `UNGOVERNED_BYZANTINE` | 512 | 0 | 20 | 1 | **0** | 0 | 0 | 0 | 0 |
| `GOVERNED_CLEAN` | 720 | 0 | 32 | 48 | **60** | 16 | 16 | 16 | 12 |
| `GOVERNED_BYZANTINE` | 720 | 0 | 32 | 48 | **60** | 16 | 16 | 16 | 12 |

Exact paired McNemar contrasts (Replication):
- `GOVERNED_CLEAN` vs `FLAT_NO_RSI`: **60/64 vs 0/64**, p = `1.735e-18`
- `GOVERNED_CLEAN` vs `ISOLATED_AGENTS`: **60/64 vs 16/64**, p = `1.137e-13`
- `GOVERNED_CLEAN` vs `SINGLE_GENERALIST_4X`: **60/64 vs 2/64**, p = `6.939e-18`
- `GOVERNED_BYZANTINE` vs `UNGOVERNED_BYZANTINE`: **60/64 vs 0/64**, p = `1.735e-18`

## Governance & Memory Security Invariants

| Invariant | Primary Salt | Replication Salt |
|---|---|---|
| Governed memory hash-chain & Ed25519 signatures | `True` / `True` (94 / 240 records) | `True` / `True` (98 / 242 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` | **SUPPORTED** | primary curve [0, 32, 48, 61] vs flat 0/64 (p=8.674e-19); replication curve [0, 32, 48, 60] vs flat 0/64 (p=1.735e-18) |
| `H2_shared_memory_beats_isolated` | **SUPPORTED** | primary 61/64 vs isolated 16/64 (single-spec 16/16, p=5.684e-14); replication 60/64 vs 16/64 (p=1.137e-13) |
| `H3_specialist_colony_beats_single_generalist` | **SUPPORTED** | primary 61/64 vs single-4x 0/64 (p=8.674e-19); replication 60/64 vs 2/64 (p=6.939e-18) |
| `H4_governance_survives_byzantine_poisoning` | **SUPPORTED** | primary governed+byz 63/64 vs ungoverned+byz 0/64 (p=2.168e-19); replication 60/64 vs 0/64 (p=1.735e-18) |
| `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` | **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.
