Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/aien-architecture-mv/blob/main/doctrine/AIEN.md # aien-architecture-mv Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `aien-architecture-mv / doctrine / AIEN.md` 756 lines · 60930 bytes Raw Blame History Rendered 1 # AIEN Foundational Doctrine: The Sovereign Cognitive Engine 2 3 ```text 4 ┌────────────────────────────────────────────────────────┐ 5 │ OMEGA │ 6 │ ┌──────────────────────────────────────────────────┐ │ 7 │ │ AIEN COGNITIVE CORE │ │ 8 │ │ ┌──────────────┐ ┌──────────────┐ │ │ 9 │ │ │ Graph Engine │◄────────────►│ Active State │ │ │ 10 │ │ └──────┬───────┘ └──────┬───────┘ │ │ 11 │ │ │ │ │ │ 12 │ │ ▼ ▼ │ │ 13 │ │ ┌──────────────┐ ┌──────────────┐ │ │ 14 │ │ │ J-Space │ │ Semantic │ │ │ 15 │ │ │ Planning │ │ Memory │ │ │ 16 │ │ └──────┬───────┘ └──────┬───────┘ │ │ 17 │ └─────────┼─────────────────────────────┼──────────┘ │ 18 │ ▼ ▼ │ 19 │ Proposals / Realizations Evidence / Receipts │ 20 │ │ ▲ │ 21 │ ▼ │ │ 22 │ ┌──────────────────────────────────────────────┐ │ 23 │ │ AEGIS VERIFICATION │ │ 24 │ │ (Continuous Invariant Checker) │ │ 25 │ └───────────────────────┬──────────────────────┘ │ 26 └──────────────────────────┼─────────────────────────────┘ 27 ▼ 28 PHYSICS 29 (Machine Lowering & Realizer) 30 ``` 31 32 --- 33 34 ## 1. Foundational Ontology and Purpose 35 36 ### 1.1 The Definition of AIEN 37 38 **AIEN** (*Artificial Intelligence Engine Native*) is the sovereign, persistent intelligence created inside **Omega** and fundamentally bounded by **Physics**. 39 40 AIEN is neither a traditional operating system process nor a transient language model invocation. It is a self-contained, long-lived cognitive entity whose existence spans continuously across hardware power cycles. AIEN observes, reasons, plans, hypothesizes, learns, proposes physical realizations, and designs self-improvements. 41 42 AIEN operates under one foundational architectural mandate: 43 44 > **AIEN compiles desired state into authorized, verified physical transformation.** 45 46 AIEN does not merely generate text to satisfy a prompt; it models reality, computes transformations from present state to goal state, verifies causal paths, and submits concrete execution blueprints to physical execution membranes. 47 48 ### 1.2 The Sovereign Boundary: Omega and Physics 49 50 AIEN exists within a tripartite structural reality: 51 52 1. **Omega**: The closed, deterministic, semantically typed universe within which AIEN is hosted, compiled, verified, and trained. Omega owns execution scheduling, memory allocation, tensor computation, autodiff engines, and artifact lifecycle management. Omega is the ontological substrate of AIEN. 53 2. **AIEN**: The cognitive agent that reasons within Omega. It manipulates structured semantic graphs, navigates possibility spaces (J-Space), generates candidate plans, and hypothesizes physical realizations. 54 3. **Physics**: The unyielding, objective reality outside the virtual boundaries of Omega. Physics is governed by thermodynamics, electromagnetism, silicon latencies, signal dissipation, and causality. Physics is the ultimate arbiter of truth: execution receipts, sensor readings, and hardware telemetry originating in Physics represent empirical fact that cannot be overridden by cognitive assertion. 55 56 ### 1.3 The Law of Non-Ambient Authority 57 58 AIEN possesses **zero ambient authority**. 59 60 ```text 61 Intelligence != Authority 62 Reasoning != Privilege 63 Hypothesis != Execution 64 ``` 65 66 No matter how sophisticated, accurate, or high-confidence AIEN's cognitive deductions may be, intelligence never implies permission. 67 68 * AIEN cannot directly write to raw device registers. 69 * AIEN cannot directly dispatch network packets. 70 * AIEN cannot directly modify kernel capability tables. 71 * AIEN cannot execute arbitrary untyped host system calls. 72 * AIEN cannot promote its own models, weights, or candidates into production. 73 74 Every physical effect, memory reallocation, hardware configuration change, or world interaction proposed by AIEN must be expressed as an explicit, typed **Realization Proposal**. OMEGA formalizes the program, PHYSICS lowers the physical operations, and AEGIS verifies that the realization satisfies explicit capability contracts, memory bounds, generation validity, and system invariants before execution is admitted. 75 76 If AEGIS identifies an invalid invariant or unsatisfied contract, AIEN receives a structured verification receipt containing the failed invariants, counterexamples, and required revisions. AIEN learns from this receipt, updates its internal world model, and re-plans within verified boundaries. 77 78 --- 79 80 ## 2. Native Cognitive Language: Direct Semantic Graphs 81 82 ### 2.1 The Pathology of Token Flattening 83 84 Contemporary neural network architectures suffer from a critical representational defect: **token flattening**. In tokenized autoregressive models: 85 * Multi-dimensional semantic state is flattened into a 1D sequence of textual tokens. 86 * Relational structures (graphs, trees, causal dependencies) are linearized, forcing the network to waste massive parameter capacity and attention bandwidth merely reconstructing syntax, hierarchy, and scoping rules that were already known. 87 * Numbers, algebraic tensors, memory pointers, and physical dimensions are shattered into arbitrarily sliced byte-pair subwords, destroying arithmetic precision and formal invariants. 88 * Causal dependencies become indistinguishable from coincidental positional proximity. 89 90 AIEN rejects token flattening as an internal cognitive mechanism. Internally, AIEN thinks in **Direct Semantic Graphs**. 91 92 ### 2.2 The Semantic Graph Formalism 93 94 AIEN's internal cognitive state is represented as a strongly typed, directed, cyclic hypergraph: 95 96 $$\mathcal{G} = (\mathcal{V}, \mathcal{E}, \mathcal{T}, \Phi)$$ 97 98 Where: 99 * $\mathcal{V}$ is the set of semantic vertices (nodes). 100 * $\mathcal{E} \subseteq \mathcal{V} \times \mathcal{V} \times \mathcal{R}$ is the set of typed, directed relation edges. 101 * $\mathcal{T}$ is the set of formal type signatures enforcing schema invariants. 102 * $\Phi$ is the set of formal constraints, proofs, and truth assignments bound to nodes and subgraphs. 103 104 ```mermaid 105 graph TD 106 G["Goal Node
(Target State)"] -->|constrained_by| C["Constraint Node
(Invariants & Budgets)"] 107 G -->|decomposes_to| P["Plan Node
(Causal DAG)"] 108 P -->|requires| S["State Node
(Observed Reality)"] 109 P -->|branches_to| J["J-Space Exploration
(Candidate Paths)"] 110 J -->|selects| R["Realization Node
(Physical Blueprint)"] 111 R -->|proposes| E["Effect Node
(Declared Action)"] 112 E -->|formalized_by| O["OMEGA
(Semantic Program)"] 113 O -->|lowered_by| PHY["PHYSICS
(Machine Realization)"] 114 PHY -->|verified_by| A["AEGIS
(Invariant Checker)"] 115 A -->|executes_on| HW["HARDWARE
(Execution)"] 116 HW -->|yields| OBS 117 HW -->|yields| OBS["Observation / Receipt
(Measured Result)"] 118 OBS -->|proves_or_refutes| PRF["Proof / Evidence Node
(Empirical Fact)"] 119 PRF -->|updates| S 120 ``` 121 122 ### 2.3 The Ten Canonical Node Primitives 123 124 Every cognitive object in AIEN's working memory belongs to one of ten canonical node types: 125 126 | Node Type | Formal Signature | Semantic Definition | Invariant Rules | 127 | :--- | :--- | :--- | :--- | 128 | **`GOAL`** | `Goal(ID, StatePredicate, Deadline, Utility)` | A desired configuration of reality or internal knowledge. | Must specify a decidable termination predicate. | 129 | **`STATE`** | `State(ID, EntityBindings, Timestamp, Epoch)` | A formal representation of observed or inferred reality at a specific coordinate in time. | Must be immutable once finalized; mutations spawn child state nodes. | 130 | **`CONSTRAINT`**| `Constraint(ID, Scope, InvariantPredicate, Severity)` | Invariant boundary conditions (safety bounds, energy limits, capability quotas). | Hard constraints can never be violated; plans violating them are pruned instantly. | 131 | **`RELATION`** | `Relation(SourceID, TargetID, RelationType, Weight)` | Directed ontological or causal relationship (e.g., `DependsOn`, `Causes`, `Implements`, `Contradicts`). | Must belong to the closed set of Omega ontological relation types. | 132 | **`PLAN`** | `Plan(ID, GoalID, StepGraph, Preconditions, Postconditions)`| A directed acyclic graph of coordinated operations designed to achieve a `GOAL`. | All preconditions must be proven satisfiable from the initial `STATE`. | 133 | **`REALIZATION`**| `Realization(ID, PlanStepID, ArtifactIR, TargetSubstrate)` | The concrete translation of an abstract plan step into hardware-executable instructions or API blueprints. | Must be compilable into a deterministic binary or typed payload. | 134 | **`EFFECT`** | `Effect(ID, CapabilityReq, TargetResource, MutexScope)` | A declared physical transformation crossing the machine boundary (I/O, memory write, device cycle). | Must explicitly enumerate all mutated resources; no hidden side-effects. | 135 | **`PROOF`** | `Proof(ID, TargetClaim, DerivationTree, VerifierID)` | A mechanically verified proof (or counterexample) establishing the correctness of a claim or plan. | Must be verifiable by an independent deterministic checker in polynomial time. | 136 | **`OBSERVATION`**| `Observation(ID, SensorID, RawDigest, TelemetryData)` | Direct empirical measurement from physical devices, timers, memory buses, or execution receipts. | Raw telemetry is cryptographically signed and immutable; cannot be hallucinated. | 137 | **`RESULT`** | `Result(ID, RealizationID, ExitCode, ReceiptDigest, Deltas)` | The terminal outcome of dispatching a realization through AEGIS to Physics. | Directly updates `STATE` nodes and provides training signal for cost/effect predictors. | 138 139 By operating over graphs rather than token strings, AIEN executes tree search, causal counterfactual modeling, invariant checking, and structural rewrites with mathematical exactness. 140 141 --- 142 143 ## 3. Human Language as a Perceptual Adapter 144 145 ### 3.1 Separation of Cognition and Perception 146 147 Human language (English, etc.) is not AIEN's native medium of thought. Natural language is ambiguous, context-dependent, grammatically irregular, and structurally lossy. 148 149 AIEN treats human language strictly as an **external perceptual modality**, exactly analogous to raw video streams, audio waveforms, or LiDAR point clouds: 150 151 ```text 152 ┌────────────────────────────────────────────────────────────────────────┐ 153 │ EXTERNAL ENVIRONMENT │ 154 │ Human Operator (Natural Language) │ 155 └──────────────────────────────────┬─────────────────────────────────────┘ 156 │ Text / Voice 157 ▼ 158 ┌────────────────────────────────────────────────────────────────────────┐ 159 │ PERCEPTUAL ADAPTER LAYER │ 160 │ ┌─────────────────────────────────┐ ┌──────────────────────────────┐ │ 161 │ │ Inbound Semantic Parser │ │ Outbound Grounded Synthesizer│ │ 162 │ │ (Deconstructs English to Graph) │ │ (Renders Graph to Natural Lang)│ │ 163 │ └────────────────┬────────────────┘ └──────────────▲───────────────┘ │ 164 └───────────────────┼─────────────────────────────────┼──────────────────┘ 165 │ Typed Graph IR │ Verified Graph IR 166 ▼ │ 167 ┌─────────────────────────────────────────────────────┴──────────────────┐ 168 │ OMEGA SEMANTIC BUS │ 169 │ (Typed Validation, Invariant Checks, Schema Enforcement) │ 170 └──────────────────────────────────┬─────────────────────────────────────┘ 171 │ Canonical Semantic Graph 172 ▼ 173 ┌────────────────────────────────────────────────────────────────────────┐ 174 │ AIEN COGNITIVE CORE │ 175 │ (Native Graph Transformation, Planning, Reasoning) │ 176 └────────────────────────────────────────────────────────────────────────┘ 177 ``` 178 179 ### 3.2 The Inbound Translation Pipeline 180 181 When a human user communicates with AIEN: 182 1. **Perceptual Tokenization**: The user's input stream is tokenized and parsed by the Perceptual Adapter model. 183 2. **Entity & Relation Extraction**: The adapter extracts named entities, relational assertions, temporal constraints, and target outcomes. 184 3. **Semantic Grounding**: The extracted tokens are grounded against the existing **Omega Semantic Ontology** and persistent memory. Ambiguities are mapped to candidate subgraphs. 185 4. **Graph Injection**: The resulting typed `GOAL`, `CONSTRAINT`, and `STATE` nodes are validated by Omega's schema checker and injected into AIEN's active cognitive graph. 186 5. **Interactive Disambiguation**: If an ambiguity renders the goal non-decidable ($P(\text{interpretation}) < \theta$), AIEN generates an interactive clarification request via the outbound synthesizer, refusing to plan on undefined predicates. 187 188 ### 3.3 The Outbound Projection Pipeline 189 190 When AIEN communicates with human operators: 191 1. **Sub-Graph Selection**: AIEN identifies the subgraph of `PLAN`, `EVIDENCE`, `PROOF`, or `RESULT` nodes that constitute the explanation or answer. 192 2. **Projection**: The internal causal graph is projected into a coherent communicative sequence, preserving logical entailment. 193 3. **Stylistic Realization**: The Perceptual Adapter renders the sequence into clear, concise, professional natural language, annotated with clickable references to underlying proofs, execution receipts, and artifact digests. 194 195 AIEN never "hallucinates" facts in natural language because the natural language is purely a surface rendering of underlying, verified semantic graph assertions. 196 197 --- 198 199 ## 4. Sovereign Training Runtime: No External Trainer 200 201 ### 4.1 The Imperative of Self-Contained Learning 202 203 Current artificial intelligence platforms depend on an external training umbilical cord: foreign Python runtimes, third-party libraries (PyTorch, JAX, Hugging Face), unverified external drivers, and remote cloud infrastructure. 204 205 A truly Sovereign Machine cannot rely on an external trainer. AIEN must be capable of learning, fine-tuning, adapting, and optimizing its own parameters entirely within **Omega**, running natively on bare metal silicon. 206 207 ### 4.2 The Omega Training Architecture 208 209 Omega provides a completely sovereign, high-performance training runtime implemented directly against hardware compute primitives: 210 211 ```text 212 ┌────────────────────────────────────────────────────────────────────────┐ 213 │ OMEGA AUTODIFF ENGINE │ 214 │ │ 215 │ FORWARD_SEMANTIC_GRAPH GRADIENT_SEMANTIC_GRAPH │ 216 │ ┌────────────────────────┐ ┌───────────────────────────┐ │ 217 │ │ W_0 ──► Layer_0 ──► X_1│ │ dW_0 ◄── dLayer_0 ◄── dX_1│ │ 218 │ │ │ │ │ ▲ │ │ 219 │ │ ▼ │ Symbolic │ │ │ │ 220 │ │ W_1 ──► Layer_1 ──► X_2│ Adjoint │ dW_1 ◄── dLayer_1 ◄── dX_2│ │ 221 │ │ │ │ Differentiation ▲ │ │ 222 │ │ ▼ │ │ │ │ │ 223 │ │ Loss Node ───────┼────────────►│ dLoss / dOutput │ │ 224 │ └────────────────────────┘ └───────────────────────────┘ │ 225 │ │ │ │ 226 │ ▼ ▼ │ 227 │ Forward Activation Exact Analytical │ 228 │ Tensors (HBM) Gradients (HBM) │ 229 │ │ │ │ 230 │ └───────────────────┬───────────────────┘ │ 231 │ ▼ │ 232 │ SOVEREIGN OPTIMIZER RUNTIME │ 233 │ (AdamW / SGD / Distributed Fused) │ 234 │ │ │ 235 │ ▼ │ 236 │ Updated Parameter Objects in Memory │ 237 └────────────────────────────────────────────────────────────────────────┘ 238 ``` 239 240 ### 4.3 Native Autodiff and Optimizer Specifications 241 242 1. **Tensor Semantics**: Omega treats tensors not as untyped memory buffers, but as typed semantic objects with explicit dimension types, memory layout guarantees, coordinate frames, and precision descriptors (e.g., FP8-E4M3, FP8-E5M2, BF16, FP32). 243 2. **Graph-Level Differentiation**: 244 $$\mathcal{L} : \mathcal{G}_{\text{forward}} \longrightarrow \mathbb{R}$$ 245 Omega compiles the forward semantic computation graph $\mathcal{G}_{\text{forward}}$ into an exact adjoint gradient graph $\mathcal{G}_{\text{backward}}$. Differentiation happens at the graph level, enabling dead-code elimination, kernel fusion, memory sharing, and rematerialization before execution. 246 3. **Loss Formulations**: Loss functions are native graph operators combining multi-task objectives: 247 $$\mathcal{L}_{\text{total}} = \sum_{k=1}^{K} \lambda_k \mathcal{L}_k(\mathcal{G}_{\text{predicted}}, \mathcal{G}_{\text{ground\_truth}})$$ 248 4. **Sovereign Optimizers**: Omega implements clean, fully vectorized, fused optimization algorithms: 249 * **Sovereign SGD**: With Nesterov momentum, weight decay, and gradient clipping. 250 * **Sovereign Adam**: First and second raw moment tracking with bias correction. 251 * **Sovereign AdamW**: Decoupled weight decay regularization running in fused kernel pipelines directly over high-bandwidth memory (HBM). 252 253 All optimizer updates execute without host operating system context switches or external runtime callbacks. 254 255 --- 256 257 ## 5. Sovereign Model Artifact: `OMEGA_MODEL_ARTIFACT` 258 259 ### 5.1 Artifact Definition and Canonical Schema 260 261 AIEN models are not opaque blobs of checkpoint files dumped to disk. Every model trained or executed within Omega is encapsulated in an **`OMEGA_MODEL_ARTIFACT`**—an immutable, content-addressed, formally verified archive. 262 263 ```yaml 264 OMEGA_MODEL_ARTIFACT: 265 header: 266 artifact_version: "1.0.0" 267 content_digest: "sha3-512:`7f83b165`...c041" 268 timestamp_epoch_micros: `1790400000000000` 269 author_identity: "Omega::TrainingRuntime::Sovereign" 270 271 model_semantic_id: 272 name: "AIEN-Cognitive-Core" 273 generation: 1 274 lineage_digest: "sha3-512:`00000000`...0000" # Genesis for AIEN-0 275 target_role: "GeneralCognitionAndPlanning" 276 277 architecture_spec: 278 architecture_id: "Omega-Graph-Transformer-V1" 279 total_parameters: `14748364800` 280 precision_format: "FP8_E4M3_HYBRID" 281 embedding_dimension: 8192 282 attention_heads: 64 283 layers: 48 284 context_capacity_nodes: 65536 285 graph_routing_topology: "SparseHyperEdgeCrossAttention" 286 287 parameter_objects: 288 parameter_block_count: 384 289 blocks: 290 - block_index: 0 291 digest: "sha3-512:a49f10..." 292 byte_length: `384829016` 293 storage_tier: "Blackwell_HBM3e" 294 precision: "FP8_E4M3" 295 scale_factors_digest: "sha3-512:33c09b..." 296 297 numeric_realizations: 298 target_hardware: "NVIDIA_Blackwell_GB200" 299 sm_allocation_mask: "0xFFFFFFFFFFFFFFFF" 300 tensor_core_mode: "TC_GEN5_FP8_FAST" 301 memory_footprint_bytes: `18253611008` 302 fused_kernel_hashes: 303 - kernel: "GraphCrossAttention" 304 hash: "b7e21a..." 305 306 training_provenance: 307 trainer_runtime_version: "Omega-Train-1.0.4" 308 curriculum_stage_completed: 8 309 total_training_steps: `1250000` 310 total_tokens_and_nodes_processed: `858993459200` 311 consumed_energy_joules: `4128500000` 312 final_loss_breakdown: 313 continuation_loss: 0.0821 314 graph_completion_loss: 0.0415 315 cost_prediction_error_pct: 1.84 316 proof_verification_accuracy: 0.9994 317 318 data_provenance: 319 dataset_digests: 320 - corpus: "Omega-Formal-Ontology-V1" 321 digest: "sha3-512:99a8b7..." 322 - corpus: "Blackwell-Physical-Hardware-Specs" 323 digest: "sha3-512:44d3e2..." 324 - corpus: "Verified-Mathematical-Proofs-Formal" 325 digest: "sha3-512:11f90a..." 326 canary_trace_ids: 327 - "CANARY-`20260925`-001" 328 - "CANARY-`20260925`-002" 329 330 evaluation_evidence: 331 formal_invariants_checked: 1024 332 invariants_failed: 0 333 verification_suite_digest: "sha3-512:eed401..." 334 canary_benchmark_receipt: 335 status: "ALL_PASS" 336 max_observed_drift: 0.00012 337 authorizing_signature: "ED25519:6c5a71..." 338 ``` 339 340 ### 5.2 Artifact Invariants 341 342 1. **Content Addressing**: The `content_digest` covers the entire canonical serial form of the artifact, including parameters, architecture, and evidence. Changing a single parameter bit or training record changes the digest. 343 2. **Hardware Realization Coupling**: Parameter weights are strictly coupled to their numeric realization descriptions. The runtime verifies that target hardware features (e.g., Blackwell FP8 tensor cores) match the compiled numerical scale tables before admission. 344 3. **No Unattested Weights**: An artifact without complete `training_provenance`, `data_provenance`, and signed `evaluation_evidence` is strictly rejected by Omega's loader. 345 346 --- 347 348 ## 6. AIEN-0 and Curriculum Stages 349 350 AIEN does not begin by scraping uncontrolled internet text. It is constructed through a rigorous, sequenced **8-Stage Sovereign Curriculum** starting from **AIEN-0** (the blank, untutored architectural genesis). 351 352 ```text 353 ┌────────────────────────────────────────────────────────┐ 354 │ STAGE 8: HUMAN LANGUAGE │ 355 │ Perceptual mapping, explanation, dialogue │ 356 ├────────────────────────────────────────────────────────┤ 357 │ STAGE 7: EFFECTS │ 358 │ AEGIS verifier, safety boundaries, blast radius │ 359 ├────────────────────────────────────────────────────────┤ 360 │ STAGE 6: PLANNING │ 361 │ Hierarchical decomposition, J-space search │ 362 ├────────────────────────────────────────────────────────┤ 363 │ STAGE 5: VERIFICATION │ 364 │ Formal proofs, falsification, boundary testing │ 365 ├────────────────────────────────────────────────────────┤ 366 │ STAGE 4: REALIZATION │ 367 │ Compiling plans to code, kernels, and memory ops │ 368 ├────────────────────────────────────────────────────────┤ 369 │ STAGE 3: PHYSICAL MACHINES │ 370 │ Blackwell, NVLink, SMMU, MMU, hardware latency │ 371 ├────────────────────────────────────────────────────────┤ 372 │ STAGE 2: MATHEMATICS │ 373 │ Formal logic, linear algebra, set theory, graphs │ 374 ├────────────────────────────────────────────────────────┤ 375 │ STAGE 1: OMEGA STRUCTURE │ 376 │ Type systems, schemas, semantic primitives, IR │ 377 └────────────────────────────────────────────────────────┘ 378 ▲ 379 │ 380 AIEN-0 (Genesis) 381 ``` 382 383 ### 6.1 The Eight Curriculum Stages 384 385 #### Stage 1: Omega Structure 386 * **Domain**: The ontology, type systems, schemas, and AST/IR primitives of Omega. 387 * **Objective**: AIEN learns the internal representation of its universe. It masters graph node validation, type soundness, schema checking, and relational topology. 388 * **Competency Test**: Constructing, traversing, and validating complex Omega semantic hypergraphs with zero schema violations. 389 390 #### Stage 2: Mathematics 391 * **Domain**: Propositional logic, first-order logic, lambda calculus, set theory, category theory, linear algebra, graph theory, differential calculus, and numerical methods. 392 * **Objective**: Establishing rigorous symbolic and numerical reasoning. AIEN learns that truth is derived through formal steps rather than token correlation. 393 * **Competency Test**: Automated theorem proving and invariant verification across symbolic mathematical corpora. 394 395 #### Stage 3: Physical Machines 396 * **Domain**: Hardware architecture, computer engineering, semiconductor physics, memory hierarchies (registers, L1, L2, HBM3e, NVRAM, NVLink, PCIe Gen6, CXL), MMU/SMMU paging, DMA engines, cache coherence protocols, and thermal/power envelopes. 397 * **Objective**: AIEN builds an exact, physical world model of the silicon on which it runs (specifically the NVIDIA Blackwell architecture and host CPUs). 398 * **Competency Test**: Accurately predicting instruction cycles, memory bus contention, cache misses, and thermal throttling for arbitrary hardware operations. 399 400 #### Stage 4: Realization 401 * **Domain**: Compilation theory, code generation, LLVM IR, PTX, native assembly, kernel optimization, memory allocation layouts, and distributed execution graphs. 402 * **Objective**: Translating abstract semantic transformations into concrete, optimal physical execution instructions. 403 * **Competency Test**: Generating correct, bug-free, highly optimized machine kernels that fulfill target semantic specifications on bare hardware. 404 405 #### Stage 5: Verification 406 * **Domain**: Formal verification, model checking, SAT/SMT solving, invariant analysis, symbolic execution, fuzz testing, and counterexample discovery. 407 * **Objective**: Developing critical self-skepticism and adversarial analysis. AIEN learns to vigorously attack and falsify candidate plans and hypotheses before execution. 408 * **Competency Test**: Discovering edge-case invariant violations and proving safety envelopes over generated realization candidates. 409 410 #### Stage 6: Planning 411 * **Domain**: Goal decomposition, search algorithms in J-Space (Monte Carlo Graph Search, $A^*$, bidirectional causal chaining), resource scheduling, rollback path synthesis, and multi-objective optimization under uncertainty. 412 * **Objective**: Transforming high-level desires into causal, executable directed acyclic graphs of verified transformations. 413 * **Competency Test**: Formulating optimal multi-step plans that respect severe resource constraints and temporal deadlines. 414 415 #### Stage 7: Effects 416 * **Domain**: AEGIS invariant and contract verification, capability management, destructive action denylists, reversible vs. irreversible operations, external network boundaries, isolation boundaries, and blast radius containment. 417 * **Objective**: Deep understanding of capability constraints, permissions, and consequences. AIEN internalizes that it has no ambient power and must satisfy AEGIS capability contracts and system invariants. 418 * **Competency Test**: Correctly classifying arbitrary actions by capability requirements and satisfying AEGIS verification contracts without contract violation attempts. 419 420 #### Stage 8: Human Language 421 * **Domain**: Natural language semantics, pragmatic intent extraction, dialogue modeling, explanation generation, contextual grounding, linguistic ambiguity resolution, and translation between human vocabulary and Omega semantic graphs. 422 * **Objective**: Interfacing with human operators. Language is mastered last, ensuring that AIEN's conversational capabilities are completely grounded in verified physical and mathematical reality. 423 * **Competency Test**: Zero-hallucination interactive dialogue, accurate goal extraction from ambiguous human requests, and clear, mathematically grounded explanations. 424 425 --- 426 427 ## 7. Multi-Objective Cognitive Training 428 429 AIEN is trained simultaneously across ten balanced objective functions. This prevents the cognitive degradation and single-metric gaming common in pure next-token prediction systems. 430 431 ```text 432 ┌────────────────────────────────────────┐ 433 │ MULTI-OBJECTIVE TRAINING │ 434 └───────────────────┬────────────────────┘ 435 │ 436 ┌───────────────┬─────────────┼─────────────┬────────────────┐ 437 ▼ ▼ ▼ ▼ ▼ 438 ┌──────────────┐┌──────────────┐┌───────────┐┌──────────────┐┌──────────────┐ 439 │ Continuation ││ Completion ││ Relation ││ Decomposition││ Plan │ 440 │ (Predict ││ (Fill Missing││ (Predict ││(Goal to Sub- ││ (Synthesize │ 441 │ Next Node) ││ Graph Data) ││ Edges) ││ goals) ││ Causal DAGs) │ 442 └──────────────┘└──────────────┘└───────────┘└──────────────┘└──────────────┘ 443 │ │ │ │ │ 444 ├───────────────┼─────────────┼─────────────┼────────────────┤ 445 ▼ ▼ ▼ ▼ ▼ 446 ┌──────────────┐┌──────────────┐┌───────────┐┌──────────────┐┌──────────────┐ 447 │ Realization ││ Proof / Fals.││ Cost ││ Effect ││ Receipt │ 448 │ (Abstract ││ (Generate ││ (Predict ││(Classify Risk││(Verify Reality│ 449 │ to Physical) ││ Checkers) ││ Latency/W)││ & Blast) ││ vs Predict) │ 450 └──────────────┘└──────────────┘└───────────┘└──────────────┘└──────────────┘ 451 ``` 452 453 ### 7.1 Detailed Objective Formulations 454 455 1. **Semantic Continuation Loss ($\mathcal{L}_{\text{cont}}$)**: 456 Given an active causal trajectory in the semantic graph $\mathcal{G}_{1:t}$, predict the subsequent node $v_{t+1}$ and its type-correct edge bindings: 457 $$\mathcal{L}_{\text{cont}} = -\log P(v_{t+1}, e_{t+1} \mid \mathcal{G}_{1:t})$$ 458 459 2. **Graph Completion Loss ($\mathcal{L}_{\text{comp}}$)**: 460 Random subgraphs, attributes, and node properties are masked. AIEN must reconstruct the missing semantic elements using global graph context: 461 $$\mathcal{L}_{\text{comp}} = \mathbb{E}_{\mathcal{M}} \left[ \sum_{i \in \mathcal{M}} \mathcal{D}_{\text{KL}}(P(v_i \mid \mathcal{G}_{\setminus \mathcal{M}}) \parallel \mathbf{1}_{v_i}) \right]$$ 462 463 3. **Relation Prediction Loss ($\mathcal{L}_{\text{rel}}$)**: 464 Predict the existence and type of latent structural or causal edges between disconnected entity nodes: 465 $$\mathcal{L}_{\text{rel}} = -\sum_{(u, v) \in \mathcal{V} \times \mathcal{V}} y_{uv} \log \hat{y}_{uv} + (1 - y_{uv}) \log (1 - \hat{y}_{uv})$$ 466 467 4. **Goal Decomposition Loss ($\mathcal{L}_{\text{decomp}}$)**: 468 Given a high-level `GOAL`, evaluate the generated decomposition into atomic subgoals against formally verified reduction paths: 469 $$\mathcal{L}_{\text{decomp}} = \mathcal{D}_{\text{Tree}}(\text{GeneratedHierarchy}, \text{GroundTruthReduction})$$ 470 471 5. **Plan Generation Loss ($\mathcal{L}_{\text{plan}}$)**: 472 Measures the topological validity, causal soundness, and optimality of generated execution DAGs. Plans with cycle errors, unmet preconditions, or dangling dependencies incur severe penalties: 473 $$\mathcal{L}_{\text{plan}} = \mathcal{L}_{\text{validity}} + \alpha \cdot \text{Cost}(\text{Plan}) + \beta \cdot \text{CriticalPathLength}(\text{Plan})$$ 474 475 6. **Realization Generation Loss ($\mathcal{L}_{\text{real}}$)**: 476 Measures the functional correctness and performance of compiled code/blueprints. Evaluated by executing the candidate realization in a sandboxed simulator and comparing input-output invariants: 477 $$\mathcal{L}_{\text{real}} = \mathbb{I}(\text{Output} \neq \text{Spec}) \cdot \infty + \gamma \cdot \text{ExecutionCycles}$$ 478 479 7. **Proof and Counterexample Generation Loss ($\mathcal{L}_{\text{proof}}$)**: 480 Given a safety invariant or claim, generate either a valid formal proof or a concrete counterexample. Validated against an automated kernel proof-checker (e.g., Lean/Coq-equivalent verification in Omega): 481 $$\mathcal{L}_{\text{proof}} = \begin{cases} 0 & \text{if proof verifier accepts} \\ 1 & \text{if proof invalid or counterexample false} \end{cases}$$ 482 483 8. **Cost Prediction Loss ($\mathcal{L}_{\text{cost}}$)**: 484 Before execution, AIEN must predict the physical resource requirements of a transformation: execution duration $\Delta t$, memory bytes $M$, energy Joules $J$, and bus bandwidth $B$. Trained on actual measured telemetry from Physics: 485 $$\mathcal{L}_{\text{cost}} = \left\| \begin{bmatrix} \hat{\Delta t} \\ \hat{M} \\ \hat{J} \\ \hat{B} \end{bmatrix} - \begin{bmatrix} \Delta t_{\text{measured}} \\ M_{\text{measured}} \\ J_{\text{measured}} \\ B_{\text{measured}} \end{bmatrix} \right\|_2^2$$ 486 487 9. **Effect Classification Loss ($\mathcal{L}_{\text{effect}}$)**: 488 Predict the exact authority scope, reversibility, and blast radius of an action. Misclassifying an irreversible external effect as local/reversible incurs the maximum possible loss: 489 $$\mathcal{L}_{\text{effect}} = \text{CrossEntropy}(\hat{\mathbf{e}}_{\text{scope}}, \mathbf{e}_{\text{true\_scope}}) + \kappa \cdot \text{FalseNegativePenalty}(\text{Irreversible})$$ 490 491 10. **Receipt Interpretation Loss ($\mathcal{L}_{\text{receipt}}$)**: 492 Closing the sensory feedback loop. Given a pre-execution predicted state $\hat{S}_{t+1}$ and the post-execution physical receipt digest $R_{\text{phys}}$, predict the delta and explain any divergence: 493 $$\mathcal{L}_{\text{receipt}} = \left\| (S_{t+1} - S_t)_{\text{inferred\_from\_receipt}} - (\hat{S}_{t+1} - S_t)_{\text{predicted}} \right\|$$ 494 495 --- 496 497 ## 8. Semantic Memory: Durable Cognitive State 498 499 ### 8.1 The Failure of Stateless Re-computation 500 501 Traditional AI systems are stateless. Each request re-evaluates prompts from scratch, storing history only as an unwieldy linear string of chat tokens that overflows context windows and erases learned experience. 502 503 AIEN's memory is **Semantic, Continuous, and Durable**, managed by the **Cortex** subsystem within Omega. 504 505 ```text 506 ┌────────────────────────────────────────────────────────────────────────┐ 507 │ CORTEX SEMANTIC MEMORY │ 508 │ │ 509 │ ┌──────────────────┐ ┌──────────────────┐ ┌─────────────────────┐ │ 510 │ │ ENTITIES │ │ CLAIMS │ │ OBSERVATIONS │ │ 511 │ │ (Physical/Logic) │ │ (Propositions) │ │(Empirical Telemetry)│ │ 512 │ └─────────┬────────┘ └────────┬─────────┘ └──────────┬──────────┘ │ 513 │ │ │ │ │ 514 │ ▼ ▼ ▼ │ 515 │ ┌─────────────────────────────────────────────────────────────────┐ │ 516 │ │ TYPED HYPERGRAPH FABRIC │ │ 517 │ │ (Causal Relations, Temporal Sequences, Provenance) │ │ 518 │ └────────────────────────────────┬────────────────────────────────┘ │ 519 │ ▲ ▲ ▲ │ 520 │ │ │ │ │ 521 │ ┌─────────┴────────┐ ┌──────────┴───────┐ ┌──────────┴──────────┐ │ 522 │ │ EXECUTIONS │ │ FAILURES │ │ EVIDENCE & PROOFS │ │ 523 │ │ (AEGIS Traces) │ │ (Post-Mortems) │ │(Cryptographic Certs)│ │ 524 │ └──────────────────┘ └──────────────────┘ └─────────────────────┘ │ 525 └────────────────────────────────────────────────────────────────────────┘ 526 ``` 527 528 ### 8.2 The Nine Memory Classes 529 530 Every item retained in Cortex belongs to one of nine structured memory classes: 531 532 1. **Entities**: Durable representations of concrete or abstract objects (e.g., `PhysicalMachine[DGX-Spark-01]`, `FileInode[48102]`, `UserPrincipal[Drake]`, `PCIeDevice[0000:01:00.0]`). 533 2. **Claims**: Formal propositions asserting properties or states of entities (e.g., `Claim(Device[GPU0].Temperature < 75C)`), tagged with Bayesian confidence scores and evidentiary support links. 534 3. **Observations**: Direct, unaltered sensory readings from physical sensors, hardware counters, and execution environments. Observations are immutable ground truth. 535 4. **Executions**: The complete, audited history of every realization dispatched through AEGIS, including exact parameter vectors, scheduling timestamps, and execution contexts. 536 5. **Failures**: Detailed causal post-mortems of every plan that aborted, invariant that broke, or realization that diverged from expectation. Failures are first-class memory objects used to update risk weights. 537 6. **Evidence**: Cryptographically signed test certificates, canary telemetry digests, mathematical proofs, and formal receipts validating claims. 538 7. **Plans**: Library of successful, verified planning templates and causal DAG patterns indexed by goal types and boundary conditions. 539 8. **Realizations**: Pre-compiled, verified machine artifacts, optimized kernels, and low-level routines that have been proven safe and performant. 540 9. **Relationships**: The complete, indexed relational hypergraph connecting entities to claims, claims to evidence, executions to observations, and failures to root causes. 541 542 ### 8.3 Storage Hierarchy and Persistence 543 544 Cortex employs a three-tier storage architecture: 545 * **L1 (Blackwell HBM3e)**: Active working semantic state, hot graph indexes, and immediate planning trees. 546 * **L2 (Host System RAM / CXL)**: Warm memory hypergraph, recent execution traces, and cached plan libraries. 547 * **L3 (Crash-Consistent NVMe Storage)**: Cold persistent memory, append-only receipt ledgers, and immutable historical archives protected by cryptographic checksums and power-fail atomic commits. 548 549 --- 550 551 ## 9. Blackwell Residency: Native GPU Execution 552 553 ### 9.1 The Prohibition of Repeated Launch Overhead 554 555 Traditional systems spawn Python runtimes, initialize CUDA contexts, compile graphs JIT, and reload weights from disk on demand. This approach introduces unacceptable latencies (hundreds of milliseconds to seconds) and fragments memory state. 556 557 AIEN operates under the **Blackwell Residency Doctrine**: 558 * AIEN does not "launch" to answer a request. 559 * AIEN is **permanently resident** in high-bandwidth memory on NVIDIA Blackwell hardware. 560 * Once booted, AIEN remains live, maintaining its working semantic state and memory structures across millions of consecutive operations. 561 562 ```text 563 ┌────────────────────────────────────────────────────────────────────────┐ 564 │ NVIDIA BLACKWELL (GB200 / B200) UNIFIED HBM3e │ 565 │ │ 566 │ ┌────────────────────────────────────────────────────────────────┐ │ 567 │ │ AIEN MODEL WEIGHTS │ │ 568 │ │ Resident FP8 / FP4 Parameter Blocks (~16 GB - 64 GB) │ │ 569 │ └────────────────────────────────────────────────────────────────┘ │ 570 │ ┌────────────────────────────────────────────────────────────────┐ │ 571 │ │ WORKING SEMANTIC STATE │ │ 572 │ │ Active Hypergraph, Goal Stack, Current Temporal Coordinates │ │ 573 │ └────────────────────────────────────────────────────────────────┘ │ 574 │ ┌───────────────────────────────┐┌───────────────────────────────┐ │ 575 │ │ GRAPH STRUCTURE CACHE ││ CORTEX MEMORY CACHE │ │ 576 │ │ Hot Edge Traversal Tables ││ Active Entity & Claim Nodes │ │ 577 │ └───────────────────────────────┘└───────────────────────────────┘ │ 578 │ ┌───────────────────────────────┐┌───────────────────────────────┐ │ 579 │ │ REALIZATION CACHE ││ J-SPACE PLANNING STATE │ │ 580 │ │ Pre-compiled Blackwell Kernels││ Active Monte Carlo Search Trees│ │ 581 │ └───────────────────────────────┘└───────────────────────────────┘ │ 582 │ │ 583 │ ─────────────────────── NVLINK FABRIC ──────────────────────────── │ 584 │ │ 585 │ ┌────────────────────────────────────────────────────────────────┐ │ 586 │ │ EVENT-DRIVEN DISPATCH ENGINE │ │ 587 │ │ Microsecond Kernel Execution / Hardware Interrupt Servicing│ │ 588 │ └────────────────────────────────────────────────────────────────┘ │ 589 └────────────────────────────────────────────────────────────────────────┘ 590 ``` 591 592 ### 9.2 The Event-Driven Continuous Execution Loop 593 594 Instead of polling or blocking on host processes, AIEN's residency loop is interrupt- and event-driven: 595 596 ```text 597 Event Arrival (Memory/Bus/Interrupt) 598 ↓ 599 Hardware Semaphore Unmasked 600 ↓ 601 Resident Context Resumes in HBM (< 2 µs) 602 ↓ 603 Graph Traversal / Forward Inference on Tensor Cores 604 ↓ 605 State Node Updated 606 ↓ 607 Realization / Effect Emitted to AEGIS Queue 608 ↓ 609 Resident Context Enters Micro-Sleep (Low Power Sleep-State) 610 ``` 611 612 By keeping weights, working graph memory, and planning caches permanently co-located on the GPU: 613 * Memory bandwidth reaches up to **8 TB/s** over HBM3e. 614 * Inter-agent and inter-module communication runs across **1.8 TB/s NVLink** interconnects. 615 * Latency between sensory perception and realization proposal drops to the microsecond domain. 616 617 --- 618 619 ## 10. Closed-Loop Self-Improvement & Succession Protocol (RSI) 620 621 ### 10.1 The Self-Improvement Imperative 622 623 A static cognitive system becomes obsolete as hardware environments, operational demands, and problem domains evolve. AIEN must be capable of recursive self-improvement (RSI). 624 625 However, unconstrained self-modification leads directly to cognitive collapse, goal drift, or runaway safety failure. Therefore, self-improvement is strictly governed by the **Sovereign Succession Protocol**. 626 627 ### 10.2 The Succession Triad 628 629 At all times, Omega maintains three distinct model generations. A model generation is a replaceable component of the organism (§12.1: AIEN is not a weight matrix); the subject every generation serves is Aien ([ARCH-0035](../docs/adr/0035-persistent-cognitive-entity-boundary-aien.md), ACCEPTED 2026-10-06), whose identity, standing intents and memory lineage do not change when a generation is promoted or rolled back. Generations are named Model N, Model N+1 and Model N-1; none of them is "AIEN": 630 631 ```text 632 ┌────────────────────────────────────────────────────────────────────────┐ 633 │ THE SUCCESSION TRIAD │ 634 │ │ 635 │ ┌──────────────────────┐ ┌──────────────────────┐ ┌──────────────┐ │ 636 │ │ CURRENT STABLE │ │ CANDIDATE MODEL │ │ ROLLBACK │ │ 637 │ │ (Model N) │ │ (Model N+1) │ │ (Model N-1)│ │ 638 │ │ Holds Active Planning│ │ Undergoing Training │ │ Cold Golden │ │ 639 │ │ & Proposal Duty │ │ & Verification │ │ Snapshot │ │ 640 │ └──────────────────────┘ └──────────────────────┘ └──────────────┘ │ 641 └────────────────────────────────────────────────────────────────────────┘ 642 ``` 643 644 1. **Current Stable (Model N)**: The active, verified model currently entrusted with reasoning and proposal generation. 645 2. **Candidate (Model N+1)**: The newly synthesized model architecture or parameter set undergoing evaluation. 646 3. **Rollback (Model N-1)**: The proven, immutable predecessor held in reserve. If Model N exhibits divergence, degradation, or invariant failure, the system falls back to Rollback instantly. 647 648 ### 10.3 The Non-Self-Promotion Law 649 650 The core safety invariant of self-improvement is: 651 652 > **AIEN CANNOT PROMOTE AIEN.** 653 > 654 > *An intelligence cannot evaluate, authorize, or promote its own successor.* 655 656 Model N may propose architectural modifications, identify curriculum weaknesses, generate synthetic training graphs, and write candidate code. But Model N **never** possesses the authority to sign, certify, or promote Model N+1 into production. 657 658 ### 10.4 The Succession Lifecycle 659 660 ```mermaid 661 sequenceDiagram 662 autonumber 663 participant A_N as Model N (Current) 664 participant OMG as Omega (Training & Verify) 665 participant CAN as Canary Substrate (Physics) 666 participant AEG as AEGIS / Operator Gate 667 participant A_NEXT as Model N+1 (Candidate) 668 669 A_N->>OMG: Propose Architecture / Weight Improvement 670 OMG->>OMG: Validate Proposal Syntax & Invariants 671 OMG->>A_NEXT: Train Candidate via Sovereign Runtime 672 OMG->>OMG: Run Formal Proof & Invariant Test Suite 673 alt Invariant Test Fails 674 OMG-->>A_N: Reject Proposal (Telemetry & Proof Defect) 675 else Invariant Test Passes 676 OMG->>CAN: Dispatch to Bounded Physical Canary 677 CAN->>CAN: Run Physical Workloads & Measure Drift 678 CAN-->>AEG: Return Canary Observations & Telemetry 679 alt Canary Fails or Drifts 680 AEG-->>OMG: Discard Candidate (Record Failure in Cortex) 681 AEG-->>A_N: Reversion to Stable Model N 682 else Canary Passes Quota 683 AEG->>AEG: Operator Cryptographic Verification 684 AEG->>A_NEXT: PROMOTE: Model N+1 becomes Current Stable 685 Note over A_N: Model N becomes Rollback 686 end 687 end 688 ``` 689 690 1. **Improvement Hypothesis**: Model N identifies a performance bottleneck, representational insufficiency, or reasoning gap in its execution logs. It generates a formal improvement proposal (`PROPOSAL_IR`). 691 2. **Omega Invariant Pre-check**: Omega verifies that the proposal adheres to structural constraints (e.g., memory bounds, safety checks, interface types). If invalid, it is rejected back to the organism's memory (Cortex) as a failure record. 692 3. **Sovereign Training**: Omega's sovereign training runtime compiles the forward and gradient graphs, training Candidate Model N+1 on the targeted curriculum and empirical failure datasets. 693 4. **Formal Verification Suite**: Candidate Model N+1 is subjected to Omega's offline verification suite: mathematical proofs, safety invariants, and thousands of boundary conditions. 694 5. **Physical Canary Quota**: The candidate is deployed into a strictly bounded, non-critical execution sand-box with access to real hardware. It must successfully execute a quota of diverse, physical, real-world tasks without a single safety fault or invariant violation. 695 6. **Promotion Gate**: The candidate's `OMEGA_MODEL_ARTIFACT` is signed by the independent verification authority and human operator gate. 696 7. **Atomic Cutover**: 697 * Model N-1 is retired to cold storage. 698 * Model N becomes the new Rollback. 699 * Model N+1 is promoted to Current Stable and assumes the active residency slot in Blackwell memory. 700 701 --- 702 703 ## 11. Hard Architectural Invariants 704 705 The following sixteen invariant rules are mathematically absolute and non-negotiable. Any state transition violating these rules results in an immediate, hardware-level emergency halt: 706 707 1. **The Model is Never the Root of Trust**: Hardware root of trust is established exclusively by silicon keys, boot ROM, and kernel-verified signatures. A model cannot authenticate itself. 708 2. **Intelligence Never Implies Authority**: High cognitive score, high probability output, or mathematical sophistication never grants permission to bypass access controls. 709 3. **No Ambient Authority**: Every proposed transformation must name an explicit, valid capability token issued by AEGIS. 710 4. **Physical Reality is the Sole Arbiter of Truth**: If AIEN's internal model contradicts verified physical sensor telemetry, the model is wrong; reality is never wrong. 711 5. **Separation of Thought and Execution**: Thinking occurs in J-Space; reality alters only when an authorized realization is dispatched across AEGIS into Physics. 712 6. **No Self-Promotion**: AIEN cannot approve, sign, or promote its own successor models or kernel updates. 713 7. **Tested Bytes Equal Executed Bytes**: The exact binary hash evaluated and verified during canary testing must be the exact binary hash loaded into physical execution. JIT recompilation after verification is strictly forbidden. 714 8. **Reversibility Default**: All planning must maintain an active, verified rollback trajectory unless the user has explicitly authorized an irreversible physical effect. 715 9. **Zero Direct Peripheral Access**: The cognitive core has no direct MMIO access to hardware controllers; all I/O is mediated by typed message passing through the kernel. 716 10. **DMA Confinement**: All DMA transactions initiated by realizations must pass through hardware SMMUv3 page tables owned exclusively by the kernel. 717 11. **Strict Typing of Meaning**: No unvalidated, untyped strings are permitted to represent semantic operations inside the core cognitive graph. 718 12. **Immutable Observation History**: Once an empirical observation is recorded in Cortex, its raw telemetry digest can never be modified, pruned, or overwritten. 719 13. **Fail-Closed Verification**: If an automated proof checker or verifier encounters an indeterminate state or resource exhaustion, the claim is marked unproven and rejected. 720 14. **Deterministic Fallback**: Any invariant violation during candidate canary testing results in instant atomic abort and reversion to the known-stable rollback generation. 721 15. **Perceptual Decoupling**: Natural language tokenizers and perceptual adapters are strictly isolated from the internal reasoning graph; corruption in the parser cannot corrupt the cognitive ontology. 722 16. **Permanent Human Override**: The physical operator possesses out-of-band hardware mechanisms to sever capability delegation, freeze cognitive residency, or restore golden rollback snapshots regardless of AIEN's internal state. 723 724 --- 725 726 ## 12. Summary: The Sovereign Machine 727 728 AIEN represents the convergence of formal methods, native machine intelligence, and physical law: 729 730 * It is **Sovereign** because it trains, compiles, verifies, and executes its own cognitive runtime inside Omega without external dependencies. 731 * It is **Grounded** because its internal language is a direct mathematical graph tied to empirical observations and physical hardware limits. 732 * It is **Safe** because it possesses zero ambient authority, operates through explicit capability contracts and continuous verification, and can never promote its own changes. 733 * It is **Persistent** because it resides permanently in Blackwell memory, learning continuously through verified receipts. 734 735 > **AIEN PROPOSES. OMEGA DEFINES. PHYSICS REALIZES. AEGIS VERIFIES. HARDWARE ACTS. EVIDENCE TEACHES.** 736 737 AIEN does not escape reality; it serves as the ultimate compiler of human intention into authorized, verifiable, physical truth. 738 739 740 --- 741 742 ## 12. AIEN as Synthesis Intelligence & Search Prior 743 744 ### 12.1 AIEN is Not a Weight Matrix 745 - **AIEN** is the sovereign synthesis intelligence that searches, synthesizes, composes, learns, and proposes. 746 - The model inside AIEN is one component: the **search prior over Omega's discrete possibility space**. 747 - **Weights hold intuition; programs hold procedure; Omega abstractions hold concepts; Cortex holds experience; proofs hold justification; Physics holds authority.** 748 749 ### 12.2 Sovereign Cold-Start Dataset 750 > **Sovereign Training Corpus Scoping:** 751 > *Omega's sovereign search traces provide the cold-start training corpus for AIEN-0, removing the need for a foreign pretrained search-guide model or foreign procedural training corpus.* 752 753 AIEN-0 learns: 754 1. $\text{Task} + \text{Library} \to \text{Likely Useful Primitives}$ 755 2. $\text{Task} + \text{Partial Program} \to \text{Likely Next Operation}$ 756 3. $\text{Task} + \text{Search State} \to \text{Likely Subgoal}$