CAIN-42 MCPGate
CAIN-42 is an AGI–RSI superorganism — a governed collective intelligence running on a Byzantine trust fabric. Every agent in a trust domain can see what every other AI agent is doing through one governed shared memory — every action, every record and every result — across long-horizon governed missions, with verified writes, visible uncertainty and no authority from memory. AGI: NOT ACHIEVED · NOT ESTABLISHED · RSI: EXPERIMENTAL. E148 · confirmatory RSI · E147 · proposer · E146 · RSI fix · E145 · 2,188 units · E144 · E142 · E135 · 35/48 · APEX · RSI Lab · Two Labs · AGI+RSI Index · Investor
CAIN-42AGI–RSI Academy

CMSE · Module 4 of 5 · 13 min

Hardening and proving a fix

AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL

Finding a poisoned tool is half the job. The MCPGate KEYSTONE loop then proposes a hardened definition, re-runs the deterministic scan to prove the issue is gone, and signs the result.

A hardened definition removes instruction-like text, narrows the schema, and documents what the tool may touch. The proof is mechanical: the same detector that flagged the original must not flag the fix.

The signed record lets a reviewer verify, offline, which definition was approved and why.

Key points

  • Detect → harden → re-scan → sign.
  • The same detector must pass the fix.
  • Signed record of the approved definition.

In the CAIN-42 codebase

  • keystone/mcp.py — the hardening loop
  • keystone/family_verify.py — offline verification of the signed record

Practice check

Practice 1 · choose one

How is a hardened definition proved?

Practice 2 · true or false

“The hardening record can be verified offline.”