interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / CONTEXT.md

119 lines · 6136 bytes Raw Blame History Rendered
1# AIENOS Domain Model
2
3AIENOS is an agent-native, sovereign operating system wherein the persistent AIEN agent is the primary user interface and control plane, running directly on bare-metal hardware.
4
5## Language
6
7### Core Entities
8
9**Operator**:
10The sovereign human user who owns the hardware, sets ultimate policy, and holds root authority over the system.
11_Avoid_: User, admin, root, consumer
12
13**AIEN Agent**:
14The continuous logical intelligence organism that acts as the primary interface, planner, and coordinator for the machine across reboots and hardware changes. Its durable subject (the same agent identity, standing intents and memory lineage, resolved from the Store after any restart) is named ALLEN ([ARCH-0035](https://github.com/aien-spark/aien-architecture/blob/main/docs/adr/0035-persistent-cognitive-entity-boundary-allen.md), PROPOSED; [ADR 0018](docs/adr/0018-allen-subject-state-object.md)).
15_Avoid_: Assistant, bot, chatbot, process
16
17**Logical Agent Identity**:
18The immutable cryptographic and semantic identity (`LogicalAgentId`, lineage, token history, provenance) that persists across hardware swaps, crashes, and reboots. Created only by initial provisioning; boot, sleep, model reload, kernel restart, and migration resume it—they do not create it (Continuous-Existence Amendment).
19_Avoid_: PID, session, instance, thread, recreated agent
20
21**Physical Execution State**:
22The ephemeral, disposable hardware state (KV cache pages, GPU buffers, scheduler slots, registers) utilized to run inference.
23_Avoid_: Agent identity, persistent state
24
25**Kernel**:
26The minimal, deterministic, auditable software layer that schedules CPU, manages memory, services interrupts, and enforces capabilities without requiring an AI model.
27_Avoid_: Core, microkernel, executive
28
29**Binary Artifact**:
30An externally supplied executable package with an authenticated identity, an explicit request for bounded authority, and an explicit resource envelope.
31_Avoid_: Binary, program, module (when referring to an admitted executable package)
32
33**ArtifactId**:
34The stable cryptographic identity of a Binary Artifact's canonical execution contract and exact payload bytes.
35_Avoid_: File hash, signer identity
36
37**Qualification Trust Anchor**:
38An explicitly test-only public key admitted for SEED-0B qualification; it conveys no production owner or machine identity.
39_Avoid_: Production root, enrolled key
40
41**Model**:
42A replaceable, swappable intelligence component accessed via the Model ABI that proposes thought and action without possessing inherent authority.
43_Avoid_: Operating system, AI, brain
44
45---
46
47### Security & Authority
48
49**AEGIS**:
50The deterministic policy evaluation and capability enforcement system that evaluates whether an agent's proposed action is permitted.
51_Avoid_: Firewall, permission manager, sudo
52
53**Capability**:
54An unforgeable token granting fine-grained authority to access a specific resource or effect.
55_Avoid_: Privilege, role, access right
56
57**Capability Request**:
58A Binary Artifact's bounded request for particular rights over one named resource; it grants no authority until local policy admits it.
59_Avoid_: Permission mask, capability grant
60
61**Granted Admission**:
62The deterministic authorization result that intersects verified Capability Requests with local policy and available resources.
63_Avoid_: Artifact permission, trust decision (when referring to the resulting resource handles)
64
65**Admission Receipt**:
66A cryptographically signed record binding an ArtifactId to its verification, policy decision, requested and granted authority, resources, and execution result.
67_Avoid_: Log line, boot report
68
69**EffectIntent**:
70A structured proposal emitted by the agent expressing a desire to perform an action on the physical machine, network, or data.
71_Avoid_: Command, system call, RPC
72
73**EffectBroker**:
74The deterministic mechanism that translates an AEGIS-authorized EffectIntent into real physical hardware, driver, or network effects.
75_Avoid_: Dispatcher, driver wrapper
76
77---
78
79### Epistemics & Execution
80
81**Cortex**:
82The persistent, evidence-aware knowledge system that records facts, observations, and decisions with verifiable provenance.
83_Avoid_: Vector database, memory store, cache
84
85**World**:
86A sandboxed, reversible execution environment where the agent can mutate files, build code, run experiments, and evaluate decisions with instant rollback.
87_Avoid_: Container, VM, workspace
88
89**Irreversible Boundary**:
90Any state change, network transmission, or physical action that permanently alters data, leaves the local fabric, or cannot be rolled back via World discard.
91_Avoid_: Write operation, side effect
92
93**C1 Copy-On-Write Tree**:
94The branch-native prefix sharing architecture that shares common physical inference KV pages across divergent reasoning branches, allocating private pages only on divergence.
95_Avoid_: Prefix cache, KV cache
96
97**Machine Capsule**:
98A portable hardware description generated on a host system that defines all CPU, accelerator, storage, memory, and firmware characteristics required for AIENOS to reproduce native execution.
99_Avoid_: Hardware profile, sysinfo
100
101---
102
103### Storage, Recovery & Allocation
104
105**AIEN System Store**:
106The native, minimal persistent storage layer organizing immutable content-addressed extents, append-only journals, and committed agent states without general-purpose POSIX filesystem overhead.
107_Avoid_: Filesystem, disk image, partition table
108
109**Recovery Core**:
110The deterministic, non-model operating environment providing local operator authentication, A/B slot verification, rollback, and raw hardware diagnostics without AI dependencies.
111_Avoid_: Recovery mode, safe mode, rescue shell
112
113**Standing Capability**:
114A pre-authorized capability grant enabling autonomous agent execution of specific external effects without interactive per-action confirmation.
115_Avoid_: Permanent privilege, whitelist
116
117**Transactional KV Reservation**:
118An atomic memory reservation acquired prior to scheduling a reasoning step to guarantee that worst-case private block divergence cannot exhaust physical memory mid-step.
119_Avoid_: Dynamic allocation, malloc