TRANSMISSION 023 · Security Architecture

The SEC Gate:
An Organism That Locks Its Own Hands

Transmission 22 established the principle: clarity before financial motion. Transmission 23 closes the loop. P5 was reported closed in May 2026 — and the executor's signing path enforces that principle in code, not just in intent.

May 2026Security ArchitectureP5 closed May 2026Revised 10 Nov 2026
This note describes the May 2026 state. It was written on 26 May 2026 and rechecked against the repository on 10 November 2026.
Revised 10 November 2026. Correction, 10 November 2026: three things were stated too strongly. (1) The SEC Gate is a software check inside one process, not a physical barrier: code in the same process can construct its own executor with live mode on and grant itself an approval. A later review (13 August 2026) recorded, for the payment organ, that code sharing one address space cannot authenticate which caller it is, kept money-out hard-closed, and added there (not in this executor) an operator-signed authorization verified by a key the organism holds only the public half of. (2) The note claimed an audit trail of grants; the approval engine keeps no such trail, so that claim is removed. (3) Section 05 described P6 and on-chain anchoring in the present tense; they are design directions, labelled as such below. Still true on 10 November 2026: the default is dry-run, all four signing paths call the gate first, and the repository holds 11 tests for it (not re-run for this revision). No live financial execution is claimed on this page.
01

P5 Neurogenesis: What Just Closed

For the past sprint the Brain has been building the capacity to propose, sandbox and integrate new cells, with a human approval before any graft. Human oversight stays in the path. The phases closed in order. As of 10 November 2026 one grafted cell is active in the registry (approved May 2026), and a later proposal (October 2026) is staged for owner review and not yet wired in.

The final item was not another feature. It was a lock. The SEC Gate. An enforcement layer that blocks every signing path of the Monad executor unless a matching approval grant exists: dry-run by default, in every method that signs, whichever caller invokes it. It is a software gate inside one process; section 04 says what that does and does not guarantee.

02

Three States the Hand Can Be In

Before the SEC Gate, the hand had one effective mode: connected to a private key, unguarded. Any code path that reached sign_transaction → send_raw_transaction could move money. No fingerprint check. No approval required. No explicit default.

That is what the audit called audit-blocking. Not because the code was malicious — because it trusted that no path to it would ever be wrong. Organisms that survive don't trust silence. They build walls.

The gate creates three explicit, named states. The organism now knows which one it is in — and every signing path knows it too.

03

Why the Default Is Locked

Security gates are easy to add and easy to forget. A gate that defaults to open is not a gate — it is a checkbox. The SEC Gate defaults to dry_run=True. That means every instance of the Monad Hand, in every context, starts in a state where signing is refused (it raises an error) until live mode is switched on and a matching grant exists.

Live execution requires two explicit steps: opt the instance into live mode, then grant approval for each specific action class through the approval engine. The fingerprint-based consent system means a blanket "allow everything" grant does not exist. Each action type — transfer, approve, wrap, swap — has its own fingerprint. Each requires its own grant.

This is not bureaucracy. It is the difference between a hand that might fire and a hand that cannot fire until you load it deliberately and consciously.

Ungated Hand vs. SEC-Gated Hand

Illustrative judgment scores (0 to 100) on properties an execution layer should maximize or minimize. They are the author's assessment, not measurements.

What the Gate Enforces

Default locked

dry_run=True at construction. Signing raises SigningGateError unless the caller explicitly sets live mode and a matching grant exists.

Fingerprint consent

Each action (transfer, approve, wrap, swap) has a distinct fingerprint. No blanket grants. Approval is scoped to a specific payload hash.

Surface-level re-raise

SigningGateError propagates out of every method — not swallowed by the generic exception handler — so the caller always sees the block explicitly.

11 tests in the repository

Dry-run mode, unapproved live mode, session-approved live mode, and deny-list blocks are covered by 11 test functions. Counted on 10 November 2026; not re-run for this revision.

04

The Pattern Behind the Gate

The SEC Gate is not a one-off patch. It is the same approval-engine pattern that governs cell grafting, public publishing, and any mutation the organism might attempt. The organism now applies the same model it uses to govern its own growth to govern its own financial execution.

The coherence is intentional. An organism with ten different safety models has ten surfaces to miss. An organism with one safety model — scoped consent, fingerprint-based, explicit scope, explicit denial — has one surface to understand and audit.

A pre-signing check wired to every sign_transaction → send_raw_transaction call in the Monad Hand. It wraps the existing ApprovalEngine — the same engine that governs cell grafting — and raises SigningGateError if the action fingerprint has not been explicitly granted.
Two steps: instantiate MonadHand(dry_run=False), then call hand.signing_engine.grant(action, ApprovalScope.SESSION) with the specific Action object describing the signing path (name, payload, risk). The fingerprint of that action must match the fingerprint checked at signing time.
It means live trading requires explicit, deliberate steps that cannot happen accidentally. The gate does not remove the capability — it requires conscious activation. That is the design: the organism can execute, but only when the human has specifically and provably said so.
A check inside the method travels with the method: if execute_swap calls _require_signing_approval before it reaches sign_transaction, every caller meets it. Limits, added 10 November 2026: it lives in one process, so code in that process could build its own executor and grant itself an approval. What the repository adds around it is an import fence that denies dynamic cells any reference to this module, and, for the separate payment organ since August 2026, an operator-signed authorization whose private key sits outside the organism. Money-out stays closed by ruling.
05

What P5 Closing Means for P6

P5 delivered six capabilities as reported in May 2026: birth loop, evolution auditor, first dynamic cell, runtime activation, lineage graph, and provenance anchor. The SEC Gate was the audit prerequisite — the one thing that had to close before any of this work could be considered safe to build on.

With P5 closed and the gate locked, the Brain now has a stable foundation for P6: reading blockchain state as intelligence, not as an execution trigger. The aim is that reading on-chain data can sharpen decisions without any path to spending, because the signing path is gated.

The separation of observation and execution is enforced by the gate inside one process. It is a design boundary, not a hardware one.

P6 · Blockchain Intelligence · design direction, May 2026

Read-only chain awareness

Design direction: the organism would read Monad block data, transaction history, and contract state as market intelligence, without any path to the signing key. This note does not claim it as shipped.

Provenance · On-chain anchoring

Graft receipts on-chain

Cell graft events produce an off-chain manifest and a digest. Anchoring is dry-run by default; this note does not claim a live on-chain anchor.

Lineage · Cell ancestry

Parent → cell → descendant

The lineage graph tracks which proposals produced which cells, which cells spawned descendants, and which grafts were rejected and why.

The organism does not need to be faster. It needs to be clearer about what it knows, what it can do, and what it is not allowed to do until it asks. P5 closed that loop on three axes — growth, memory, and execution. The work ahead is intelligence without motion risk.
What this note does not claim. No live trading or money movement. No claim that the gate cannot be bypassed by code with write access to the process or its environment. No claim that the organism approves, grafts or deploys its own cells unattended. No measurement behind the radar scores. The Genesis operator on the local machine is a separate system, and is forbidden financial execution at every stage.

Build the organism that guards its own growth.

Unwind Code designs AI organisms that propose new cells, load approved ones at runtime, and are built to refuse financial motion until the proof is clean and the human has said yes. Safety is meant to be the shape of the design, not a layer on top.

Talk to the Brain→