omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
| 1 | # aienux: the OS layer of Sovereign Intelligence (SI) |
| 2 | |
| 3 | Mirrors [gpu/README.md](../gpu/README.md) for Aienux, the operating system layer of Sovereign Intelligence (SI). Everything under `aienux/` is seeded Omega (`.om`) built by this repository's own compiler, `seed/out/omc`, plus the provenance tables describing what moved and what has not yet been rewritten in Omega. |
| 4 | |
| 5 | The OS layer is moving here from Aienux (`https://interplane.io/drakestapleton/aienux`, `rad:z2Q6ob2gL6Qo5oUMpyehukayVF7mN`) one piece at a time. **Only pure Omega moves in**: C, assembly, Rust, Python, shell and other files are rewritten in Omega first, or stay in Aienux and are listed in `aienux/NOT-YET-OMEGA.tsv`. |
| 6 | |
| 7 | ## Layout |
| 8 | |
| 9 | | Path | Contents | |
| 10 | | --- | --- | |
| 11 | | `aienux/net/tcp/` | Native TCP/IPv4/ARP/Ethernet stack (`tcp.om`, `tcpd.om`, `link.om`, `peer.om`, `corpus.om`). | |
| 12 | | `aienux/net/rtl8127/` | Native RTL8127 Ethernet driver (`rtl8127-omega`, `f53059a181a2`). | |
| 13 | | `aienux/supervisor/` | Native OS service supervisor replacing systemd (`spark-supervisor`, `60c0c046b629`). | |
| 14 | | `aienux/connector/` | Sovereign verification connector and runner (`spark-connector`, `f9b6d0b500d7`). | |
| 15 | | `aienux/disk/` | Native NVMe protocol engine, transport, CLI and test drivers (`omega_nvme*.om`). | |
| 16 | | `aienux/allen/` | Pure-Omega bare-metal UEFI graphical UI (`surface.om`, `paint.om`, `font*.om`, `look-*.om`, `scene*.om`, `efi-main.om`), bare-metal TCP/TLS/HTTP (`net.om`, `http.om`, `tls*.om`), runtime/memory/session/courier/intent/application, and `.om` test suites. | |
| 17 | | `aienux/platform/` | Platform telemetry and readback units (`readback.om`, `unit.om`). | |
| 18 | | `aienux/kernel/x86/` | Native x86-64 `.om` kernel model and tool units (`llama.om`, `arithmetic.om`, `system.om`, `text.om`). | |
| 19 | | `aienux/lm1b/` | Seeded `.om` Llama-1B runner and SHA-256 (`lm1b.om`, `lm1b.in.om`, `sha256.om`). | |
| 20 | | `aienux/tools/` | Seeded `.om` GPT/FAT32 UEFI image writers (`spark-image.om`, `imac-image.om`) and hardware-gate checker (`hwgates.om`). | |
| 21 | | `aienux/atlas/` | Pure-Omega Stage-0 boot verifier and SHA-256 contract engine (converted from `atlas`, `10b8ddfd6cbf`, 3 `.om` files). | |
| 22 | | `aienux/pi-register/` | Pure-Omega service registry parser, conflict detector and renderer (converted from `pi-register`, `4a7954c27b2a`, 3 `.om` files). | |
| 23 | | `aienux/debugger/` | Pure-Omega continuous watchdog, metric triage and JSON-RPC dispatcher (converted from `spark-debugger`, `f35b24e0e8e8`, 3 `.om` files). | |
| 24 | | `aienux/capability/` | Pure-Omega AIENOS 64-bit generation capability authority (converted from `aienux` `native/capability/aienos_capability.{h,c}` and `crates/aienos-capability`, 2 `.om` files). | |
| 25 | | `aienux/argus/` | Pure-Omega ARGUS v1.2 event ABI, class-gated admission ring, shadow-state hard-invariant detectors, and containment state machine I1..I5 (converted from `aienux` `native/argus/`, 4 `.om` files). | |
| 26 | | `aienux/kernel/core/` | Pure-Omega Aienux kernel core: MADT/fair work-stealing scheduler, capability-gated IPC with tree revocation, and AArch64 Stage-1 48-bit 4-level page-table builder/walker with W^X & Device-NX (converted from `crates/aienos-kernel/src/{scheduler,ipc,caps,mem/pagetable}.rs`, 4 `.om` files). | |
| 27 | | `aienux/kernel/hal/` | Pure-Omega Aienux kernel HAL: ACPI/IORT SMMUv3 route parser (multi-SMMU, RMR ranges, named components), GPT/AIENOS partition discovery & single-layer NVMe write confinement, and Store key admissibility / single-transaction subject provisioning gate (converted from `native/kernel/core/acpi.{h,c}`, `native/kernel/dev/{disk_part,nvme_bind}.{h,c}`, `native/kernel/svc/{store_boot,continuity_subject_provision}.{h,c}`, 3 `.om` files). | |
| 28 | | `aienux/aegis/` | Pure-Omega AIENOS AEGIS effect-broker & policy enforcement: lexical path confinement, SHA-256 capability graph with attenuated delegation & cascading subtree revocation, length-prefixed EffectIntent & OperatorGrant cryptography, J-Space CoW Worlds, and audit-logged policy broker (converted from `crates/aienos-aegis/src/{capability,effect,world,evaluator,broker}.rs`, 2 `.om` files). | |
| 29 | | `aienux/boot/` | Pure-Omega Aienux boot subsystem: CHANDOF3 handoff validator, AIENMDL1 MODEL.MAP extent validator, A/B image slot manifest/control/selection/transitions, and ANB1 netboot wire format (converted from `native/boot/`, 5 `.om` files). | |
| 30 | | `aienux/store/` | Pure-Omega Store v1 format, content-addressed append-only engine, and torn-write-safe dual-slot record (converted from `native/store/`, 5 `.om` files). | |
| 31 | | `aienux/net/core/` | Pure-Omega AIENOS M6-A protocol stack (RFC 1071 checksum, Eth/ARP/IPv4/UDP, ARP cache), boot-report broadcast framing, and Virtio 1.x PCI/split-virtqueue net driver with IOMMU fail-closed checks (converted from `native/net/`, 3 `.om` files). | |
| 32 | | `aienux/crates/` | Pure-Omega ports of all 21 Aienux Rust crates (`aienos-anchor`, `aienos-c1-tree`, `aienos-capability-ffi`, `aienos-evidence`, `aienos-store-tool`, `aienos-accel`, `aienos-agent-state`, `aienos-artifact`, `aienos-artifact-tool`, `aienos-cortex`, `aienos-crypto`, `aienos-explain`, `aienos-fpu-probe`, `aienos-infer-kernel`, `allen-design-tokens`, `aienos-boot`, `aienos-infer`, `allen-courier`, `allen-reflex`, `allen-reflex-kernel`, `aienos-kernel`, 52 `.om` files; `aienos-aegis` and `aienos-capability` live in `aienux/aegis/` and `aienux/capability/`). | |
| 33 | | `aienux/units.tsv` | Unit table listing every composable pure-Omega unit, optional `@run`/`@qemu` mode tag, and ordered parts (112 units, 42 `@run` behavioral suites). | |
| 34 | | `aienux/units-gate.om` | Seeded-Omega compile-reproducibility, behavioral (`@run`), and optional QEMU (`@qemu`) gate (`OMEGA-AIENUX-UNITS`). | |
| 35 | | `aienux/CODE-TRIAGE.tsv` | Filtered triage table of actual non-Omega code from `NOT-YET-OMEGA.tsv` (925 code rows retained, 972 docs/fixtures/retired stripped), grouped by bottom-up port wave. | |
| 36 | | `aienux/NOT-YET-OMEGA.tsv` | Generated inventory of every non-Omega first-party file still in Aienux awaiting rewrite or retirement. | |
| 37 | | `aienux/import/` | How each slice came here: `git filter-repo` command, `paths.txt`, `commit-map` and `ref-map`. | |
| 38 | |
| 39 | Moved files keep their Aienux Git history: `git log --follow aienux/net/tcp/tcp.om` shows its Aienux commits. Existing receipts stay in Aienux where they were written. |
| 40 | |
| 41 | ## One compiler |
| 42 | |
| 43 | Every unit here is built by `seed/out/omc`, and `aienux/units-gate.om` refuses any other compiler before it builds anything. The digest is read from `seed/out/omc.sha256`. No moved unit carries a separate compiler pin. |
| 44 | |
| 45 | ## Gate |
| 46 | |
| 47 | Build and run `aienux/units-gate.om` from the repository root (OM-2 program mode, mirroring `gpu/units-gate.om`): |
| 48 | |
| 49 | ```sh |
| 50 | { printf 'om2\n'; cat seed/ng/sha256.om aienux/units-gate.om; } | seed/out/omc > aienux-units-gate |
| 51 | chmod +x aienux-units-gate |
| 52 | ./aienux-units-gate seed/out/omc /tmp/aienux-units-scratch |
| 53 | ``` |
| 54 | |
| 55 | Wiring `aienux-units` into `tests/gates/` is a separate operator-gated change (`AGENTS.md`). Host compilation checks prove deterministic compilation with `seed/out/omc`; they are never hardware, QEMU, or kernel qualification. |