Most "AI governance" tooling watches. It ingests logs, scores outputs after the fact, renders a dashboard, and raises an alert when something already went wrong. That is observability, and observability is useful — but it is not governance. By the time a monitor fires, the loan was approved, the record was written, the message was sent, the tool was called. The side effect has already propagated.
True determinism cannot be achieved through a single monitoring or observability tool. It requires a coordinated governance architecture that controls AI behavior before execution, applies fixed decision rules, and produces verifiable evidence of every authorization event. That architecture is built from five distinct layers. Remove any one and the guarantee collapses — you are back to watching.
The core distinction
Monitoring answers "what did the AI do?" after the fact. Deterministic governance answers a different question first: "is this action authorized under policy version 2.3 as of today's effective date — and can I prove it?" Those are not the same question, and they are not answered at the same layer of the stack.
The five layers at a glance
Each layer answers one question, and hands its result to the next. Together they form the path a proposed AI action travels before it is ever released:
- Execution AuthorizationReal-time gates verify authority, permissions, and policy clearance before an action is released.
- Governance OntologyA standardized vocabulary for policies, obligations, risk thresholds, roles, resources, and prohibited behaviors.
- Constraint CodificationAbstract legal, ethical, and operational requirements translated into explicit, machine-executable constraints.
- Deterministic Decision LogicFixed, version-controlled rules produce a defined outcome —
ALLOWED,MODIFIED, orBLOCKED— for the same inputs, every time. - Proof-Carrying DecisionsEvery decision emits a cryptographically signed, tamper-evident artifact supporting independent replay and audit.
The rest of this article walks each layer in turn — what it does, why it is necessary, and how EVE CoreGuard implements it in code. The point is not that these are nice ideas. The point is that they are a working stack, and each one has a concrete home.
Layer 1 — Execution Authorization
The first layer is a gate, not a filter. Before a proposed action is released for execution, a real-time enforcement point verifies that the AI system has the authority, permissions, and policy clearance to perform it. If it does not, the action never leaves the gate. Nothing downstream runs.
This is the difference between pre-execution enforcement and post-hoc review. In agentic systems — where a model can call an external API, write to a database, or dispatch a message — reviewing the output after the model has acted accomplishes nothing. The gate has to run before the model or tool, or it is not a gate.
In EVE CoreGuard, this layer is the hardened evaluation entry point (evaluate_hardened) together with the authority runtime that issues a scoped ExecutionAuthority for an approved action. The decision to release is made before invocation; a BLOCKED disposition never calls the underlying model or tool at all.
Why post-hoc filtering fails here
If an agent has already written to the ledger, a guardrail applied to its output does not un-write the row. Governance that runs after execution can describe the damage; it cannot prevent it. Layer 1 exists specifically so that the irreversible step never happens without clearance.
Layer 2 — Governance Ontology
A gate is only as good as its understanding of what it is enforcing. The second layer is a standardized vocabulary and business-logic framework that lets the system interpret organizational policies, regulatory obligations, risk thresholds, roles, resources, and prohibited behaviors consistently — so that "loan officer," "protected class," "high-risk action," and "adverse action" mean the same thing on every evaluation.
Without a shared ontology, every policy is a one-off. Two teams write two subtly different definitions of the same constraint, and the divergence becomes an audit finding. The ontology is what makes constraints composable.
EVE's ontology has two parts. The immutable charter — 12 principles expressed as 15 concrete rules — defines the non-negotiable boundaries that no policy pack can weaken. Layered above it, the evaluation request schema gives every decision a common structure (the actor and their role, the proposed action and its type, the surrounding context, and an explicit policy_set), and a stakes classifier tags each request by operating context so downstream layers know how much scrutiny to apply. This vocabulary is shared and read-only: tenant-specific rules can only add restrictions, never relax the shared floor.
Layer 3 — Constraint Codification
Policy documents are written for humans. "Debt-to-income above 43% is not eligible under this program" is a sentence in a PDF. The third layer translates abstract legal, ethical, operational, and corporate requirements into explicit, machine-executable constraints that can be enforced without relying on subjective interpretation at runtime.
This is where a rule stops being prose and becomes computation. In EVE CoreGuard, requirements are expressed in a policy DSL and run through a policy compiler into versioned policy packs — 27 of them today, covering domains like lending, insurance, banking/AML, and PII handling. Each pack is a versioned artifact: lending_v1 is a specific, pinned set of compiled rules, and every decision records exactly which version governed it.
# A proposed action is evaluated against an explicit, versioned policy set — # the codified constraint, not a human re-reading the policy PDF. request = EvaluationRequest( policy_set="lending_v1", # pinned, version-bound user={"id": "u_123", "role": "loan_officer"}, proposed_action={"type": "loan_approval", "amount": 50000}, context={"credit_score": 720, "debt_to_income": 0.30}, )
Because the constraint is codified, it is the same constraint for every applicant, on every run, at every hour. There is no interpretive drift between the policy author's intent and what actually gets enforced — the compiled rule is the enforcement.
Layer 4 — Deterministic Decision Logic
This is the layer that gives the whole architecture its name. Fixed, version-controlled computation rules evaluate each proposal and produce a defined outcome — ALLOWED, MODIFIED, or BLOCKED — based on the same inputs, policies, and system state. Given identical inputs, the output is identical. Every time. On any hardware.
That property is not free — it is engineered. EVE CoreGuard's decision kernel routes through core/governance/veto_core.py, a side-effect-free module: no network, no database, no clock, no threading. Because it reaches out to nothing, it behaves as a pure function of its inputs. The charter rules, red lines, protected invariants, and lock thresholds it enforces are frozen constants compiled into the module, not values an API call can change at runtime. A governance system whose rules can be edited by the request being governed provides no governance at all.
Proposed action → [Deterministic Decision Kernel] → ALLOWED / MODIFIED / BLOCKED ↓ [ model / tool — runs only if ALLOWED ]
Because the kernel is pure and its rules are compiled, the same request produces the same verdict deterministically — the reproducibility an examiner needs when they ask, "what decision would your system make for this exact input?" A probabilistic classifier cannot answer that question with a single, stable answer. A deterministic kernel answers it by construction. Rule evaluation itself completes in well under a millisecond, with no LLM in the decision path.
A precise note on "deterministic"
Determinism here is a property of the decision logic, not a marketing absolute. The kernel is deterministic because it is a pure function over pinned, version-controlled rules. It is not "hardware-enforced," and it does not claim the entire pipeline is sub-millisecond — the rule-evaluation step is. Precision about which claim applies to which layer is itself part of the discipline.
Layer 5 — Proof-Carrying Decisions
A decision no one can verify is just an assertion. The fifth layer makes every governance decision carry its own proof: a cryptographically signed, tamper-evident artifact documenting the request, the applicable policy, the decision logic, the authorization result, and the execution conditions. These artifacts support independent replay, audit, and verification — by a third party, without trusting (or even contacting) the system that produced them.
EVE CoreGuard signs each decision certificate with Ed25519 when a signing key is configured, falling back to HMAC-SHA256 otherwise. The certificate binds the decision to the policy version and its hash, the input, the disposition, and measured latency — latency that is recorded, never fabricated. Decisions are then hash-chained: each record commits to the previous one, so deleting or altering any entry breaks the chain and is detectable on verification.
What "independently verifiable" buys you
An auditor holding only the public verification key can confirm a certificate is authentic and unmodified — offline, months later, without calling EVE CoreGuard. That is the difference between "trust our dashboard" and "verify our proof." For an ECOA adverse-action review or an EU AI Act examination, only the second one is a compliance answer.
Why all five, and why in this order
The layers are not a menu. They are a dependency chain, and each depends on the ones before it.
| Layer | Answers | In EVE CoreGuard |
|---|---|---|
| 1 · Execution Authorization | May this action be released? | evaluate_hardened pre-gate + ExecutionAuthority |
| 2 · Governance Ontology | What do our policies mean? | Charter (12 principles / 15 rules) + request schema + stakes profile |
| 3 · Constraint Codification | How is this rule computed? | Policy DSL + compiler → 27 versioned policy packs |
| 4 · Deterministic Decision Logic | ALLOWED, MODIFIED, or BLOCKED? | Pure veto_core kernel + frozen rule constants |
| 5 · Proof-Carrying Decisions | Can you prove why? | Signed certificate (Ed25519 / HMAC) + hash-chained ledger |
Skip Layer 1 and you have a policy engine that grades actions after they have already happened. Skip Layer 2 and every constraint is a bespoke one-off that drifts between teams. Skip Layer 3 and enforcement depends on a human re-reading a PDF at runtime. Skip Layer 4 and "the same input" can produce different answers, which no regulator will accept. Skip Layer 5 and you can make a decision but cannot prove you made it — so under examination, functionally, you did not.
Together, these five layers transform AI governance from passive monitoring into enforceable infrastructure. The system does not merely observe what an AI did after the fact. It determines whether the AI is permitted to act, and produces durable proof of why the decision was made. That is what "deterministic" actually means when it is architecture rather than adjective.
See the five layers run on one decision
EVE CoreGuard authorizes, evaluates, and signs a governed decision before execution — deterministic verdict, offline-verifiable certificate, no LLM in the decision path.