AI Agent Policy Enforcement at Runtime
Short answer: SovereignClaw enforces AI agent policy inside the path of execution — it evaluates every proposed action after the intent is canonicalized into a byte-stable SovereignIR and before any adapter is reachable, returning a deterministic allow, deny, escalate, or approval outcome. Any Deny is final, and a permitted action only runs through an adapter cryptographically bound to its decision, emitting a signed Authority Receipt.
Policy that lives in a system prompt, a wrapper, or a post-hoc review is advisory: it describes what an agent should not do, but it does not stand between the agent and the side effect. SovereignClaw treats the LLM as untrusted input and moves policy into the execution boundary itself, so an unauthorized action is not blocked after the fact — it never receives an execution path at all. The model proposes; the runtime decides.
Policy only matters when it sits in the path of execution
A guardrail that runs beside the model can be argued with, prompted around, or simply ignored by a tool call the model emits anyway. SovereignClaw places policy evaluation at stage four of its seven-stage execution path, inside the Iron Gate that every action must traverse to reach an adapter. Two stages run first and make enforcement meaningful:
- Canonicalization. The proposed action is frozen into a byte-stable SovereignIR — a normalized JSON form hashed with SHA3-256. Identical intents produce identical hashes, so policy evaluates a deterministic artifact rather than free-form model text.
- Independent fact inference. The facts that drive risk are derived from the operation’s own semantics, never from what the model claims. When the model’s asserted facts disagree with the independently inferred ones, the mismatch escalates risk rather than passing through.
Because evaluation happens on the frozen IR and on independent facts, the policy decision cannot be steered by the wording of a prompt or by a model that has been talked into non-compliance. This is the difference between a control that observes execution and one that gates it — the same distinction explored in execution-boundary governance.
Four enforceable outcomes: allow, deny, escalate, approval
Policy evaluation is deterministic: the same canonical IR against the same versioned policy bundle always yields the same result. Every evaluation resolves to exactly one of four outcomes, each with a concrete effect on the execution path:
- Allow — the action proceeds toward bound execution. It still must pass risk-tier classification and any authorization the tier demands before it touches an adapter.
- Deny — the action is refused, and the refusal is monotonic. Once any rule denies, the decision is final; nothing later in the pipeline can downgrade or override it (Security Property S4). There is no “deny, but” path.
- Escalate — the action’s effective risk tier is raised, typically because independently inferred facts contradict the model’s claims or because the operation crosses a sensitivity threshold. Escalation tightens, never loosens, the controls applied next.
- Approval — the action is held pending threshold signatures from verified operators. T2 and T3 actions cannot execute until quorum (for example, 2-of-3) is met; insufficient quorum is a denial.
Monotonic Deny is the property that makes this enforceable rather than advisory. In systems where a later stage can relax an earlier decision, a single permissive rule can quietly undo a restrictive one. Here, the ratchet only turns one way: a Deny anywhere in evaluation ends the action, and an escalation can only increase scrutiny.
Risk tiers and threshold authorization decide who may permit
Policy decides whether an action is permissible; risk tiering decides how much authority is required to permit it. SovereignClaw classifies every action into one of four tiers — T0 observe, T1 standard, T2 elevated, and T3 sovereign — using the independently inferred facts, not the model’s self-report. The tier then sets the authorization bar:
- T0 / T1 proceed under deterministic policy alone once allowed.
- T2 / T3 require threshold signatures from verified operators before execution. Quorum is enforced cryptographically (Security Property S7); if the required signatures are not present, the action is denied rather than delayed.
This is why an approval outcome is a first-class policy result and not a UI prompt: the runtime will not produce a valid gate artifact for a T2/T3 action until the signatures exist. The full set of guarantees — the nine formal security properties verified across 20 Rust crates with 829+ tests — defines exactly what the policy and authorization layers are required to uphold.
Mechanical refusal: unauthorized actions get no execution path
When policy denies, or when an approval requirement is unmet, SovereignClaw does not log a violation and let the call proceed. The adapter that would perform the side effect is simply unreachable. Bound execution is the only way an action reaches a system of record, and it requires a valid gate artifact cryptographically bound to four things: the IR hash, the active policy bundle, the adapter identity, and a unique per-execution nonce (Security Property S1). Without that artifact, there is no code path to the adapter.
The nonce guarantees each execution is single-use, so a captured or replayed artifact is rejected and time-of-check/time-of-use races are closed (Security Property S5). The adapter binding ensures an artifact minted for one adapter cannot be redirected to another (Security Property S6). The practical consequence: a prompt injection can convince the model to try a forbidden action, but the kernel produces no authority for it. The model complied; the kernel did not.
Every permitted action produces verifiable evidence
Enforcement is only useful to a regulated team if it leaves proof. Each permitted execution emits a signed Authority Receipt — an Ed25519-signed record carrying the intent (IR hash), the policy version that decided it, the decision and its rationale, the risk tier, the approval state, the adapter identity, the tenant scope, the correlation ID, and the execution outcome. Receipts are appended to a Merkle ledger that is externally verifiable without access to any private key (Security Property S8), so an auditor can confirm what ran, under which policy, and with whose approval.
Because policy bundles are versioned and cryptographically hashed, a receipt is decidable against the exact rules in force at execution time — not whatever the policy happens to say later. That receipt chain is the raw material for a verifiable AI agent audit trail and for the framework mappings on the compliance page, where the same evidence is shown to support — not guarantee — obligations across healthcare, finance, and government workloads.
Evaluating a runtime policy engine: a checklist
When comparing AI agent policy enforcement approaches, the questions that separate enforcement from advice are concrete. SovereignClaw is built to answer all of them “in the path”:
- Does policy evaluate a frozen, canonical artifact, or free-form model output that can be rephrased?
- Are tier-driving facts derived independently of the model, or taken on the model’s word?
- Is Deny monotonic — can any later stage relax a refusal?
- Can the runtime require threshold approval for elevated and sovereign actions, and treat missing quorum as denial?
- Is an unauthorized action mechanically unreachable, or merely flagged after it executes?
- Does every permitted action emit a signed, externally verifiable receipt bound to the policy version that decided it?
This page sits alongside the broader AI agent runtime governance platform overview, which connects policy enforcement to canonicalization, tiering, authorization, and receipts end to end. The approach is grounded in a DOI-registered research record on Zenodo and published on SSRN (ID 6290760). Patent applications pending: USPTO 76395580 · 74981727 · 74483691 · 73809451 · 72763061.