interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

branch main Branches Tags History

aien-architecture-mv / docs / plans / adaptive-intelligence / inventory / omega-runtime.md

29 lines · 5049 bytes Raw Blame History Source

Inventory: omega runtime cognitive loop (Milestone 0/1, read by the orchestrator)

Repo: aien-spark/omega main @ 16e729b6d844 (fresh clone 2026-10-11). Build pins: aienos.lock b84c0a67590a9 (native authority), argus.lock b375dcaa2887d (ARGUS observer). Sibling deps: ../physics (headers), ../aienos-argus, AIENOS_LOCK_REPO.

CapabilityStatusSource
Resident AIEN faculty: observe/predict/explain/assess/plan as World reactionsImplemented and integratedsrc/runtime/rx_aien.h:1-30, enums :60-85 (PRED_FAILED, HYP_CORE_CLASS/DRIFT, ACT_RESEARCH, EXP_SUPPORTED/REFUTED)
Failed prediction -> hypothesis -> bounded experiment plan; memory of explored conditions (no re-plan)Implemented and integratedrx_aien.h "memory: explored condition keys", RX_AIEN_MEMORY_SLOTS; tests/runtime/rx_r11_aien.c steps printed by the program
Living system: experiment on resident GPU seat under R5 admission/R7 authority, evidence, AIEN experiment belief, generation prepare/promote, in-force record read by productionImplemented and integratedsrc/runtime/rx_living.h:1-30; tests/runtime/rx_r13_living.c phases POSITIVE, NO_AIEN, NO_PROMOTION, REVOKED_EXPERIMENT, STALE_GPU, FAILED_VERIFICATION (:48)
Restart recovery: generation.restore re-verifies the active generation at body start; R14 scenarios A-FImplemented and integratedrx_living.h rx_living_register_restore; tests/runtime/rx_r14_recovery.c:1-20
Canonical Cortex store (append-only, typed, provenance, promote, verify chain)Implemented and integratedsrc/runtime/rx_cortex.h:1-29 (AUTHORITY M20), API :184-289
World -> Cortex recorder (every crumb becomes a Cortex object with provenance links)Implemented but DISCONNECTED from the living bodysrc/runtime/rx_cortex_record.h:1-20; only attached by src/runtime/rx_compose.c; no use in rx_living.c, rx_aien.c, rx_r11/r13/r14 tests
Cognitive state projection (typed need -> smallest Cortex state, protected evidence never summarized)Implemented and integrated (compose path); not fed to the living AIENsrc/runtime/rx_projection.h:1-30; Makefile OMEGA_STATE_PROJECTION part B
Typed resource needs, 7 priority classes, physical budget, bounded fairness, emergency stopImplemented and integratedrx_world.h:48-60 (RX_PRIO_*), :249 RxResourceNeed, :251-269 RxResourceBudget, :735 rx_world_set_resources, :824 rx_world_emergency_stop
Adaptive policy that changes priority/budget from observed conditionsMissingno caller of rx_world_set_resources from a reaction (grep)
Legacy stores cortex-rs / aienos-cortexSuperseded (retire, import only as CX_K_IMPORTED)rx_cortex.h:13-29, CX_SRC_* :111

Executable path (shortest, already in main)

observation (Omega demand interval, external placement change) -> aien.observe belief -> aien.predict prediction -> miss streak -> PRED_FAILED -> aien.explain hypothesis (CORE_CLASS or DRIFT) -> aien.plan plan (ACT_RESEARCH, one per untried condition; memory blocks repeats) -> living.experiment.prepare -> living.blackwell.add (GPU seat, authority-gated) -> living.experiment.evidence -> aien experiment belief (SUPPORTED/REFUTED) -> generation.prepare candidate -> generation.promote (separate subject, native authority) -> in-force record -> production serves the new realization (changed subsequent decision). Control arms prove each link is causal (no AIEN, no promotion, revoked grant, stale GPU, failed verification).

Baseline (fresh clone, host)

What survives a restart today

Durable: the R9 generation store (in-force record, candidate bytes, config, evidence, durable provenance links RxLivingProvenance) and the aienos authority table. Ephemeral: every AIEN world object (belief, prediction, hypothesis, plan, assessment, memory of explored conditions). So after a restart the body serves the promoted realization but AIEN has forgotten why, and would re-explore an already explored condition. That is the Milestone 2 gap.