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 / 08-world-cortex-provenance.md

70 lines · 1733 bytes Raw Blame History Rendered
1# World, Cortex, and Provenance
2
3> **Implementation status (2026-09-30).** World state is owned by omega `src/runtime/rx_world.c`. Cortex has three implementations and no recorded authoritative owner: sovereign-core `crates/cortex-rs` (live Linux LLM stack), omega `src/runtime/rx_cortex.{c,h}` (host reference, one in-memory tier) and aienos `crates/aienos-cortex` (Rust). Evidence is written by omega `src/omega_evidence.{h,c}`; no shared cross-repo evidence schema exists. Ownership: `doctrine/ARCHITECTURE.md` §2.8.
4
5## World
6
7World is branchable execution state.
8
9```text
10World
11 ├─ object root
12 ├─ filesystem root
13 ├─ token root
14 ├─ memory view/root
15 ├─ capability set
16 ├─ effect intents
17 └─ parent lineage
18```
19
20Worlds support speculative execution without immediately changing external reality.
21
22## Cortex
23
24Cortex is durable epistemic memory.
25
26It owns:
27
28- entities,
29- claims,
30- evidence,
31- sessions/events,
32- summaries,
33- memory candidates,
34- promotion receipts,
35- verification tiers.
36
37It does not own the live scheduler or speculative execution lifecycle.
38
39## Provenance
40
41The target signed World commit binds:
42
43```text
44parent World
45object/filesystem/token/memory roots
46effect root
47evidence root
48model/tokenizer identity
49policy digest
50runtime build digest
51J-Space decision
52signer identity
53signature
54```
55
56Reuse existing AIEN protocol signers and Merkle-root machinery.
57
58## Hardware signing
59
60Do not place hardware signing in the hot path for every small event.
61
62Preferred:
63
64- short-lived session signer,
65- Merkle batching,
66- periodic hardware-rooted checkpoint.
67
68## Memory promotion
69
70Inferred knowledge should enter Cortex through candidate/evidence/promotion flow, not be silently asserted as fact.