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/aienux/blob/main/CONTEXT.md # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. 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 `aienux / CONTEXT.md` 119 lines · 6136 bytes Raw Blame History Rendered 1 # AIENOS Domain Model 2 3 AIENOS 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**: 10 The 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**: 14 The 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**: 18 The 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**: 22 The 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**: 26 The 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**: 30 An 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**: 34 The 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**: 38 An 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**: 42 A 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**: 50 The 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**: 54 An unforgeable token granting fine-grained authority to access a specific resource or effect. 55 _Avoid_: Privilege, role, access right 56 57 **Capability Request**: 58 A 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**: 62 The 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**: 66 A 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**: 70 A 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**: 74 The 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**: 82 The persistent, evidence-aware knowledge system that records facts, observations, and decisions with verifiable provenance. 83 _Avoid_: Vector database, memory store, cache 84 85 **World**: 86 A 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**: 90 Any 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**: 94 The 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**: 98 A 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**: 106 The 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**: 110 The 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**: 114 A 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**: 118 An 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