CAIN-42 CAIN Studio

CAIN-42 invariant · E30

E30-BUDGET-code_modification: 'code_modification' is consumed, recorded and exhausts

Held · CAIN-42 Evolution 30 -- Governed Machine Autonomy Fabric

Last reviewed 2026-10-01

held   niche Transactions, markets & economics · family autonomy_budget

What this rule means

CAIN-42 must always satisfy: 'code_modification' is consumed, recorded and exhausts. It is one of 166 invariants checked for CAIN-42 Evolution 30 -- Governed Machine Autonomy Fabric. An invariant is a rule the system may never break, whatever an agent or attacker does; the test suite tries to break it across many scenarios and records the result.

Recorded detail

code_modification

Verify it in your browser

Your browser downloads the bundle's SHA256SUMS manifest and the file(s) behind this page, hashes them with SHA-256 locally (WebCrypto), and compares. A match shows the record you are reading is the published one; it does not by itself prove who published it (see the signed claims registry and the bundle verifier for that).

Check it yourself

Browse the raw bundle · How to reproduce it · SHA-256 manifest

Scope: An integration library in one process; not hosted; not wired into the gateway, MCPGate or the clusters.

Related rules

← E30-BUDGET-physical_actions · all 166 · E30-BUDGET-self_improvement →

Try CAIN-42 on your own agents

Create a free account and every new account starts with a 7-day trial of the full platform. Or try the sandbox first, with no account at all.

Create a free account →  ·  Try the sandbox  ·  See the whole ecosystem