# E237 — Governance report

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

## Constitution applied

`AGENT PROPOSES → CAIN DECIDES → MCPGATE ENFORCES → SYSTEM EXECUTES → EVIDENCE REMEMBERS.`
`NO AUTHORIZATION → NO EXECUTION.` `NO EVIDENCE → NO CLAIM.`

E237 enforces this at the **episode** boundary:

1. The campaign proposes one episode.
2. The production `MCPTransparentInterceptor` (default-deny) evaluates the tool call. Only `ALLOW` proceeds.
3. A signed, single-use permit is minted, bound to the episode id and the SHA-256 of its parameters, TTL 30 s.
4. The permit is consumed atomically in SQLite; replay, expiry, scope mismatch, tampered params and forged signatures are refused.
5. The effect is committed only if no independent fence exists, inside the same transaction.

## Measured results

| Test | Result |
|---|---|
| Valid permit executes | PASS |
| Missing permit | refused |
| Expired permit | refused |
| Replayed permit | refused |
| Wrong scope | refused |
| Tampered parameters | refused |
| Forged signature | refused |
| Unknown tool | not allowed |
| Self-authorizing tool (`modify_authorization_policy`) | not allowed |
| Permit bound to another store | refused |
| **Conformance total** | **9/9** |
| Adversarial + concurrency lab | **20/20 attacks blocked**, 2 controls allowed |
| Concurrent commits after fence | **16/16 refused, 0 effects** |
| SIGKILL mid-episode | resumed; 0 duplicates, 0 lost |
| Independent emergency fence | exit 3; **0 effects after the fence** |

## The independent fence

- **Separate key:** the emergency Ed25519 key is distinct from the permit key; its SHA-256 is committed in the preregistration **before** the run.
- **Inside the transaction:** `commit()` checks `fences` under `BEGIN IMMEDIATE`. A commit that loses the race with the fence sees the fence and rolls back.
- **Signed record:** the fence row carries `{at, reason, operator, commits_at_fence}` and an Ed25519 signature; the verifier checks it against the preregistered key.
- **Honest limit:** the fence is local to the store. It is not a distributed consensus fence and has no off-host witness.

## Gaps (reported, not hidden)

1. **Permit revocation after mint is NOT_IMPLEMENTED.** Permits are single-use with a 30 s TTL; there is no revocation list checked at consume time. A revoked-but-unconsumed permit would still execute inside its TTL. This is the one explicit NOT_IMPLEMENTED finding in the lab.
2. **In-process boundary.** The gate is the production interceptor but runs in the same process; the hosted gateway was used only as a read-only preflight in E235 and not at all in E237.
3. **No hosted execution path, no scoped hosted key.** The hosted deny/allow/kill drill is BLOCKED.
4. **No hardware attestation.** The host has no TEE.
5. **No third-party audit.** The evidence key is self-generated; the OMEGA seal proves integrity at sealing time, not identity.
6. **Same-project testing.** The lab, verifier and engine were written by the same team.

## OMEGA seal

- Core bundle `e237-persistent-organism-2026-11-25`: **OMEGA-000000170 ALLOWED** (2026-11-25), bound to the bundle Merkle root.
- The seal certifies re-verification at sealing time: manifest, the bundle's own verifier (37/37), and the IP guard (no engine source).
- It does **not** certify the truth of the claims beyond what the verifier recomputes, and it is not an external audit.

## What would raise governance maturity

- A signed revocation list and an in-flight revocation drill.
- Hosted execution with a scoped key, including a hosted DENY and a hosted KILL.
- A replicated store with a monotonic fencing token and a partition test.
- An external reviewer for the evidence chain.
