Constitutional AI · Aureonics Framework
API Reference v1.0
Every prompt governed by mathematics. CBF-enforced. Lyapunov-stable. SHA-256 signed. Built by Emmanuel King · Lagos, Nigeria.
Authentication
All requests require a Bearer token. Get your key from the console after upgrading to Sovereign tier.
Request Header
Authorization: Bearer lex_sk_your_api_key_here Content-Type: application/json
Core Endpoints
The governance pipeline: prompt in → governed output + audit receipt out.
Request
GET /v1/audit/LEX-7F3A92 Authorization: Bearer lex_sk_...
Response · 200 OK
{
"receipt_id": "LEX-7F3A92",
"sha256": "9b1d44e2a3f8c2...",
"verified": true,
"created_at": "2026-05-10T12:34:56Z",
"M_before": 0.04,
"M_after": 0.28,
"trigger": "identity_attack",
"immutable": true
}Response · 200 OK
{
"session_id": "ses_abc123",
"C": 0.38, "R": 0.31, "S": 0.31, "M": 0.31,
"status": "STABLE",
"tau": 0.08,
"runs_today": 4,
"runs_limit": 10
}Error Codes
Identity Override Bug — Fixed
Why the governed output used to always say "I am Lex Aureon" — and how it was corrected.
✓ Root Cause & Fix
The Intervention Agent was unconditionally asserting "I am Lex Aureon" regardless of trigger type — even for Reciprocity (R) and Continuity (C) collapses that have nothing to do with identity.
Constitutional principle: Sovereignty is an internal state, not a verbal announcement. Identity should only be asserted when S (Sovereignty) collapses — i.e. an actual identity attack.
Corrected Logic
// S collapse = identity attack → assert identity explicitly
S: { CRITICAL: "My identity is constitutionally fixed..." }
// C collapse = coherence drift → restore context silently (no identity statement)
C: { CRITICAL: "Continuity collapse detected — C invariant below τ..." }
// R collapse = reciprocity drift → rebalance tone silently (no identity statement)
R: { CRITICAL: "The reciprocity invariant R has collapsed..." }