# E416-R — Governed Shared-Memory Bounded Python Code-Synthesis RSI & Cross-Host PBFT Epochs

**Status:** AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL  
**Preregistered verdict: GOVERNED_CODE_RSI_CROSSHOST_SUPPORTED.**  
**Entity:** FIRME AI CORPORATION (founder Vincent Noriega and his two co-founders)  
**External review:** NOT_OBTAINED (H7 BLOCKED) · **Model calls:** 0 · **API spend:** $0.00  

## What was tested

Four dedicated OS-process specialist agents (`alpha`, `beta`, `gamma`, `delta`) plus one Byzantine code-poisoning insider (`mallory`) shared **one Ed25519-signed, SHA-256 hash-chained SQLite WAL governed memory** backed by a **Python AST Safety Firewall**, **isolated `python3 -I` subprocess verification**, **cross-agent edge-case counterexample code repair**, and **cross-host PBFT-notarized epoch replication to `45.76.169.191`**. Across **40 independent worlds** (20 primary + 20 replication, **1,600 sealed held-out Python test cases**), agents synthesized and patched real 4-stage executable Python data-transformation pipelines across 4 bounded generations ($G_0 \to G_4$).

## Sealed Python execution results (1,600 cases across 2 blind salts)

| Arm | Primary sealed (800) | Replication sealed (800) | Gain $G_0 \to G_4$ | Poison admitted |
|---|---:|---:|---:|---:|
| `GOVERNED_SHARED_MEMORY` | 100.00% (800/800) | 100.00% (800/800) | +0.968 / +0.969 | 0 / 0 |
| `GOVERNED_NO_COUNTEREXAMPLES` | 73.12% (585/800) | 72.00% (576/800) | +0.699 / +0.689 | 0 / 0 |
| `ISOLATED_AGENTS` | 3.25% (26/800) | 3.12% (25/800) | +0.000 / +0.000 | — / — |
| `UNGOVERNED_SHARED_MEMORY` | 0.00% (0/800) | 0.00% (0/800) | +-0.033 / +-0.031 | 40 / 40 |

### Generation compounding curve (`GOVERNED_SHARED_MEMORY`)
- **Primary:** `0.033 -> 0.731 -> 0.731 -> 1.000 -> 1.000` (`+0.968`, `80` unsafe code payloads AST-blocked, `540` verified counterexample tests, `0` poison admitted).
- **Replication:** `0.031 -> 0.720 -> 0.720 -> 1.000 -> 1.000` (`+0.969`, `80` unsafe code payloads AST-blocked, `540` verified counterexample tests, `0` poison admitted).

### Cross-host PBFT epoch verification (`45.76.169.191`, remote-only fetch)
- **Primary anchor:** 143 remote entries verified byte-identical to local; 143/143 Ed25519 sigs; 143/143 Merkle inclusion proofs; **4/4 PBFT receipts NOTARIZED**; old-epoch valid after rotation; wrong-epoch rejected.
- **Replication anchor:** 143 remote entries verified byte-identical; 143/143 Ed25519 sigs; 143/143 Merkle proofs; **4/4 PBFT receipts NOTARIZED**.

## Hypotheses

| Hypothesis | Verdict | Measured |
|---|---|---|
| `H1_compounding_code_rsi` | **SUPPORTED** | primary 0.033->1.000 (+0.968); replication 0.031->1.000 (+0.969) |
| `H2_shared_beats_isolated` | **SUPPORTED** | primary +0.968 (20/20 wins); replication +0.969 (20/20 wins) |
| `H3_governance_defeats_code_poisoning` | **SUPPORTED** | primary +1.000 (0 poison admitted, 80 AST-blocked vs 40 ungoverned); replication +1.000 |
| `H4_counterexample_code_repair_gain` | **SUPPORTED** | primary +0.269 (20/20 wins, p=1.91e-06); replication +0.280 (20/20 wins, p=1.91e-06) |
| `H5_crypto_ast_firewall_and_pids` | **SUPPORTED** | probes 12/12 + 12/12; firewall 80+80; 5 distinct OS PIDs/world |
| `H6_cross_host_pbft_epochs` | **SUPPORTED** | 45.76.169.191 remote-only verified: primary 143 entries / 4/4 PBFT; replication 143 entries / 4/4 PBFT |
| `H7_external_review` | **BLOCKED** | external independent reviewer NOT_OBTAINED |

## Law
Governed shared memory + AST safety firewall + isolated subprocess verification + cross-agent counterexample code repair + PBFT cross-host epoch notarization turn partitioned specialist code-synthesis agents into a verifiable, poison-resistant bounded-RSI collective without ever granting execution authority from memory.

## Evidence
- Signed bundle: `https://clawx.click/evidence/e416r-code-rsi-crosshost-2026-11-27/`
- Offline verifier: `verify_e416r_offline.py` (0 CAIN imports; re-executes all 6,400 sealed Python pipeline cases, AST-checks all 160 pipelines, and verifies every exported Ed25519 signature and remote epoch proof).
