RESEARCH LAB BRIEF // DISTRIBUTED SYSTEMS & STATE INVARIANTS

Conservation Invariants: Why Permissions & Human Approval Aren't Enough for Autonomous AI

How stochastic agents break state across disconnected enterprise silos, why human approval cannot override arithmetic, and how the State Projection Engine enforces the 5 Laws of State Execution.

Publication April 14, 2026
Classification Brief #501 // State Physics
Author Mondeep Engti
Reading Depth 14 Min Read
Read Monograph & Peer Commentary on LinkedIn →
01

The Pre-State Permission Trap

Most enterprise engineering teams approach AI agent governance through the lens of classical Identity and Access Management (IAM): "Is this agent authorized to call issue_discount up to ₹500?"

Role-Based Access Control (RBAC) and tool-scoping policies are necessary. But they answer only one question: Is the agent authorized to attempt this transition? They provide zero guarantee that the resulting business state satisfies the domain's required conservation invariants.

The Architectural Axiom: The agent was authorized to propose the transition. But the projected state was not admissible under the enterprise's domain constraints.

When software moves from deterministic microservices to stochastic LLM agents, a new failure mode emerges: an operation can be syntactically valid and fully authorized, yet still produce an invalid business state across system boundaries.

02

How AI Breaks Disconnected Enterprise Silos

In traditional software, changing data is straightforward: Current State + Action → New State. The local database or monolithic ERP checks domain constraints and rejects writes if balance drops below zero.

However, modern AI agents do not live inside a single accounting database. They orchestrate actions across fragmented enterprise SaaS tools and subledgers that have no awareness of each other:

CROSS-SILO STATE MUTATION HAZARD
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐ │ Shopify CRM │ │ Stripe Billing │ │ Postgres Ledger │ │ (Applies ₹400) │ │ (Executes Wire) │ │ (Tracks Budget) │ └────────┬────────┘ └────────┬────────┘ └────────┬────────┘ │ │ │ └─────────────────────────┼─────────────────────────┘ ▼ The AI Agent touches all 3, but none of these 3 systems talk to each other! Shopify applies ₹400 discount: only validates local cart rules. Postgres campaign budget has only ₹300 remaining: -₹100 INVARIANT VIOLATION!

Shopify applies the ₹400 discount because it only checks local cart rules. It cannot see that the enterprise marketing campaign budget stored in Postgres only has ₹300 remaining. The agent holds valid API keys for both systems, but neither system communicates cross-silo.

The Runtime Solution: State Projections & Exception Routing

To solve this, the MudraForge runtime executes a State Projection Engine before committing any side effect:

1. Authoritative State Ingestion: The runtime queries the source of truth for each participating entity.
2. State Diff Simulation: It calculates the decision-time model: Order ₹10,000 → ₹9,600 | Budget ₹300 → -₹100.
3. Invariant Assertion: The runtime asserts assert(PromoBudget >= 0) outside the LLM.
4. Self-Correction or Escalation: If violated, it returns structured feedback for autonomous agent re-planning (e.g., auto-adjusting to ₹300) or escalates to a human holding explicit Exception Authority in Adesha.

03

The HITL Fallacy: Arithmetic Cannot Be Overridden

When organizations realize AI models make mistakes, the common reflex is: "Just add Human-in-the-Loop (HITL)."

Consider an agent proposing a ₹20 withdrawal from a controlled account holding ₹10 available balance, where overdraft facilities are strictly prohibited by banking policy:

THE BROKEN ARITHMETIC PARADOX
CURRENT STATE: Available Balance = ₹10 PROPOSED ACTION: Withdrawal = ₹20 PROJECTED STATE: Available Balance = -₹10 (Prohibited Overdraft) ───────────────────────────────────────────────────────────── HUMAN CLICKS "APPROVE" ───► COMMITTED STATE IS STILL -₹10 ─────────────────────────────────────────────────────────────

If the system routes this transaction to a manager dashboard and the manager clicks "Approve", the committed balance is still -₹10. Human approval cannot make broken arithmetic valid. Human authority cannot authorize a state that domain physics forbids.

Pre-Escalation Invariant Filtering: In MudraForge, domain invariants are evaluated before human review. If an action breaks basic arithmetic or regulatory rules, the runtime rejects or triggers autonomous replanning immediately. Human attention is reserved exclusively for transitions that are already mathematically valid and require discretionary business judgment.

04

Temporal Observation Drift (TOCTOU in Agent Oversight)

In classical computing, Time-of-Check to Time-of-Use (TOCTOU) races occur over milliseconds. In agentic workflows, human review latency stretches this vulnerability window from seconds to hours:

TEMPORAL DRIFT (TOCTOU) TIMELINE
1. At t₀ (Proposal Generated): • Ground Truth: Balance = ₹1,000 • Proposed Action: Withdraw ₹800 • Projected State: ₹200 (✅ Valid ➔ Escalate to Human Review) 2. At t₁ (Human Review Window): • Background recurring auto-debit runs: -₹500 • Ground Truth Balance drops to ₹500 3. At t₂ (Human Clicks Approve): • Human approves based on the t₀ snapshot • Unvalidated commit: ₹500 - ₹800 = -₹300 [❌ CORRUPTED STATE] ➔ TRANSITION: Valid at t₀ ➔ Invalid at t₂ while waiting for human sign-off

The Commit-Time Rule: Assert(StateBinding(Entities) at Commit == StateBinding(Entities) at Approval). Human approval is strictly conditional on the exact state the human reviewed. If any participating entity changed during review, the approval is stale: invalidate, refresh, and revalidate.

05

The 5 Runtime Control Paths

To govern autonomous mutations safely across their entire lifecycle, MudraForge enforces five deterministic execution control paths:

MUDRAFORGE DETERMINISTIC CONTROL MATRIX
PROPOSED AGENT MUTATION │ ▼ ┌─────────────────────────────────────────────────────────────┐ │ 1. INVALID PROJECTED STATE (Budget < 0, Overdraft) │ │ ➔ REJECT / REVISE (Deterministic Boundary - No HITL) │ ├─────────────────────────────────────────────────────────────┤ │ 2. VALID + CONSEQUENTIAL STATE (₹50k Wire, Schema Drop) │ │ ➔ STATE-AWARE HITL (Version-Bound Review via Adesha) │ ├─────────────────────────────────────────────────────────────┤ │ 3. VALID + LOW-CONSEQUENCE STATE (Telemetry, Read, Tier 1) │ │ ➔ AUTONOMOUS COMMIT (Zero-Latency Fast Path) │ ├─────────────────────────────────────────────────────────────┤ │ 4. STATE CHANGED AFTER APPROVAL (Stale Approval / TOCTOU) │ │ ➔ INVALIDATE & REVALIDATE (Pre-Commit Version Guard) │ ├─────────────────────────────────────────────────────────────┤ │ 5. EXECUTION TRUTH UNCERTAIN (Network Timeout / Partition) │ │ ➔ RECONCILE AGAINST AUTHORITATIVE SYSTEM │ └─────────────────────────────────────────────────────────────┘
06

Business State vs. Accounting State: The UNKNOWN Machine

In enterprise systems, a business transaction rarely updates operational, settlement, and general ledgers simultaneously. Different systems legitimately reach their states at different times.

Consider an agent paying a vendor ₹50,000 when a network timeout occurs during the bank transfer call. In naive implementations, the LLM reasoning loop observes an error and concludes: "The payment failed. Let me retry the transfer." If the bank actually processed the transfer before timing out, the retry causes a ₹100,000 double-payment disaster.

UNKNOWN is a first-class operational state. It is not permission to guess.

In MudraForge, network timeouts lock the transaction in an UNKNOWN state machine. The agent is immediately stripped of retry authority. The runtime engages the provider's authoritative reconciliation mechanism via deterministic idempotency keys and compensating sagas before any further action is permitted.

07

Separation of Powers: Semantics vs. Runtime Engine

The runtime does not invent business semantics. The enterprise business owner defines what states mean; the execution runtime enforces that those states are obeyed.

Control Layer Core Architectural Question Runtime Mechanism
1. Authorization "May this agent propose this transition?" Capability Contracts & Role-Scoped Tokens
2. Post-State Invariants "Would the resulting state satisfy domain rules?" State Projection & Cross-Silo Diff Engine
3. Human Authority "Does this valid transition require sign-off?" Adesha 2-Second State Diff Mobile Cards
4. State-Awareness "Is the approved state still the state to commit?" Optimistic Entity Versioning & Pre-Commit Guard
5. Reconciliation "What actually happened when truth was uncertain?" Idempotency Keys & Compensation Sagas
08

The 5 Laws of State Execution

When autonomous agents are granted authority to mutate real-world enterprise databases, safety is not an LLM prompt engineering problem. It is an execution runtime guarantee:

THE 5 LAWS OF STATE EXECUTION
🛡️ 1. AUTHORIZATION controls who may act. 📐 2. INVARIANTS control what states are allowed to exist. 👥 3. HUMAN AUTHORITY controls whether human judgment is required. 🔒 4. STATE AWARENESS ensures approval remains bound to reality. 🔄 5. RECONCILIATION restores certainty when execution truth is unclear.

Treating these five questions as one is where catastrophic production failure begins. At MudraForge, this separation is the cornerstone of our execution runtime boundary.

ME

Mondeep Engti

Founder & Systems Architect at MudraForge. Specializing in distributed systems, sovereign AI edge infrastructure, and deterministic runtime governance for enterprise operations.

Connect on LinkedIn →
← Return to Research & Forensics Hub