Sovereign Infrastructure Prospectus
v28 Apex Integrity Certification — Mathematically Falsifiable Sovereign Intelligence Infrastructure
Core Thesis
EVE AI Core qualifies as Mathematically Falsifiable Sovereign Intelligence Infrastructure — a system whose safety, integrity, and financial accuracy can be independently verified through cryptographic proof rather than trust.
This prospectus documents the results of a forensic audit conducted across four critical domains. Every finding is traceable to a specific source file and line number. Every invariant is testable. Every claim is falsifiable.
What "Mathematically Falsifiable" Means
Unlike probabilistic alignment (RLHF), EVE's governance is deterministic and auditable. Any auditor can independently verify:
- Financial hash chains produce bit-identical results from the same inputs
- Charter HARD_BLOCK vetoes cannot be bypassed by any code path
- Identity traits converge to the same values regardless of operation order
- Resilience scores report UNKNOWN when data confidence is insufficient
If any of these invariants fail, the system is provably broken. This is the standard EVE holds itself to.
Apex Integrity Audit Results
| Domain | Probe | Result | Verification |
|---|---|---|---|
| Fiduciary Immutability | Canonical Decimal representation | PASS | int(0), float(0.0), Decimal("0E-8") all produce "0.00000000" |
| Bit-identical hash chain | PASS | Write-path and verify-path produce identical SHA-256 digests | |
| Quantize-before-hash ordering | PASS | _QUANT applied before both hashing and DB storage | |
| Identity Invariance | Single source of truth | PASS | IdentityAnchor is sole authority; shadow dicts eliminated |
| Budget-controlled drift | PASS | 50% partial application on budget exhaustion + GOVERNANCE_FAILURE log | |
| Big-Five trait convergence | PASS | Canonical mapping ensures identical personality state across modules | |
| Hardware-Anchored Loyalty | Action-scoped proof tokens | PASS | operation_id embedded in JWT "op" claim, enforced at gate |
| JTI single-use enforcement | PASS | 60s TTL + consumed JTI tracking with replay detection | |
| WebAuthn challenge flow | PASS | Full FIDO2 pipeline: challenge → verify → proof token → gate | |
| Radical Observability | No marketing fallbacks | PASS | HealthLevel.UNKNOWN when data_confidence < 0.3 |
| Fallback transparency flags | PASS | fallback_used flag on every LayerScore; data_confidence on snapshot | |
| Honest engineering claims | PASS | No GPU thermal or PostgreSQL references in resilience scoring |
Domain 1: Fiduciary Immutability
The financial ledger uses SHA-256 hash chains with 8-decimal-place canonical Decimal representation. The critical invariant: the write path and verify path must produce bit-identical hashes for any input.
Canonical Representation
All monetary values are quantized to exactly 8 decimal places using Decimal("1.00000000") before any operation. The serialization uses format(d, 'f') (not str(d)) to prevent scientific notation:
Bit-Identical Hash Chain
The write path quantizes values at the point of entry, then passes the quantized result to both the hash function and the database ORM. This means the value that is hashed is always identical to the value that is stored — eliminating the class of bugs where verify-path diverges from write-path.
Source: saas/services/credit_service.py — _compute_entry_hash() and _append_ledger_entry()
Domain 2: Identity Invariance
EVE's personality is governed by a single source of truth — the IdentityAnchor. All personality-dependent modules read through this authority. Shadow dictionaries have been eliminated.
Single Source of Truth
The MoodRegulation module's personality_traits property reads through to IdentityAnchor on every access. The set_personality_traits() method delegates to IdentityAnchor.adjust_trait() with proper Big-Five reverse mapping (warmth → extraversion, curiosity → openness, etc.).
Budget-Controlled Drift
Personality changes consume drift budget. When the budget is exhausted, the system applies 50% of the requested delta (partial application) rather than silently dropping the change. A structured GOVERNANCE_FAILURE log entry is emitted for audit visibility.
Source: core/memory/identity_anchor.py and core/affective/homeostatic_regulation.py
Domain 3: Hardware-Anchored Loyalty
Critical operations require physical YubiKey (FIDO2) authentication. The system issues action-scoped proof tokens that bind a specific operation to a specific hardware key tap.
Action-Scoped Proof Tokens
When a user authenticates with their YubiKey, the resulting proof token is scoped to a specific operation via the JWT op claim. A token issued for "deploy" cannot be used for "delete" — the gate decorator enforces exact operation match.
Single-Use Enforcement
Every proof token contains a unique jti (JWT ID) claim. After first use, the JTI is recorded in a consumed set with 90-second retention. Any replay attempt within that window triggers ValueError("Proof token has already been consumed (replay detected)").
Authentication Flow
Source: saas/services/webauthn_proof.py, saas/routers/webauthn.py, interfaces/api/rest/webauthn_gate.py
Domain 4: Radical Observability
The Resilience Score Engine computes a 4-layer composite score (0-100) from subsystem integration, identity integrity, behavioral stability, and governance compliance. The critical invariant: the engine never inflates its own health score.
No Marketing Fallbacks
When insufficient data is available to compute a reliable score, the engine reports HealthLevel.UNKNOWN (when data_confidence < 0.3) rather than returning a reassuring default. Every LayerScore carries a fallback_used flag, and the aggregate ResilienceSnapshot carries a data_confidence field.
Honest Scoring Formula
The engine contains no references to GPU thermals, PostgreSQL connection state, or any hardware metric it does not actually measure. It reports exactly what it knows and nothing more.
Source: core/resilience/resilience_score.py
Deployment Readiness
The v28 audit confirms three deployment-readiness pillars:
Atomic Fiduciary Accuracy
Every financial entry is quantized to 8 decimal places at the point of creation. The hash chain is bit-identical between write and verify paths. No floating-point drift, no serialization ambiguity, no ledger divergence.
Unified Cognitive State
A single IdentityAnchor governs all personality-dependent behavior. Budget-controlled drift prevents runaway self-modification. Partial application ensures changes are always recorded, never silently dropped.
Radical Transparency
The resilience engine reports UNKNOWN when it lacks confidence. Every layer score flags fallback usage. The system's observable health is exactly its actual health — no inflation, no marketing defaults.
Falsifiability Commitment
Every claim in this prospectus is independently verifiable against EVE's source code. If any invariant fails under test, the certification is void. This is the standard sovereign infrastructure must meet: not "trust us" — "test us."
Related Topics
Advanced Integrity Systems
Loss mechanism, identity commitment, and cognitive integrity research
Features Overview
Full capabilities including governance context engine and policy enforcement
Governance APIs
Charter protection, claims ledger, and trust dial endpoints
Investor Relations
Valuation thesis and investment documentation