interplane.Get Omega
Read in your language

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

Omegese for the kernel: bytes, text, machine memory, system words, placement, units

Open · #601 · open 2026-10-20 14:37 UTC

Imported from GitHub aien-dev/omega-mv#601, by drakestapleton

drakestapleton wrote on 2026-10-20 14:37 UTC

Goal

Drake (2026-10-20): the final kernel is an Omega program. The Rust kernel (aienos-mv) is frozen as the oracle. Omegese is the source language; this issue tracks what Omegese and the Omega IR still lack to write Aienux, and ships each piece as one PR with red-before-green tests and byte-for-byte checks against the oracle.

What exists

  • Omegese (tools/omegese/omegese.c, docs/one_layer/OMEGESE.md): integers, bool, structs, own/edit/view arrays of 1..64 elements, calls, loops proven to end, exact next-word oracle. Lowers to the omega_emit op list, then the OSC binary IR (src/compiler/osc_ir.h, version 5), then checker2.
  • OSC IR already has external byte slices (OSC_T_BYTES, OSC_T_CELLS, SLOAD/SSTORE) and an AArch64 native backend (src/compiler/osc_a64.c, osc_cg.c).
  • docs/osc/OSC-4-DESIGN.md designs large buffers, extern C, syscalls and long loops. Status: design, not implemented. The kernel needs a different slice D (no Linux underneath), so this issue takes slices B and E from OSC-4 and adds a machine slice.

Rungs (each one PR, each gated)

rungwhatgate
K1 bytes and textbyte-string constants (text "..." as a view byte N), arrays past 64 elements for byte and ulong (OSC-4 slice B subset), long loops (slice E)goldens + fuzz mismatches=0 interpreter vs native; Omegese next stays exact (6.5 suite green)
K2 machine memorypeek/poke of 8/16/32/64 bits at a ulong address, volatile (never reordered, merged or dropped), only in a unit compiled with --machine; checker2 marks the receipt machinea test that writes a pattern to a mapped page and reads it back through the oracle's own reader; reorder test on the emitted bytes
K3 system wordssys ops for the few instructions a kernel needs: mrs/msr by named register, dsb/isb/dmb, wfi, eret, tlbi, exception vector entryemitted bytes equal to what the oracle (aienos-mv Rust build) emits for the same instruction, checked with src/aarch64_decoder.c
K4 placemententry function placed first at a fixed address; raw flat binary output (oscc --flat); no runtime context register (x7) in machine unitsthe output boots under QEMU virt and prints one line on PL011; byte-compared with the oracle's first stage
K5 unitscross-file use (closes L096): one unit per file, names resolved at link, one binarya two-file program equals the same program in one file, byte for byte
K6 first lightan Omega-compiled Aienux stage 0 boots the DGX Spark with no Linux and prints one line on the serial consolereceipt from the real machine (photo of console + serial log + sha of the binary) in evidence/

Rules

  • No C, Rust, GNU or CUDA in the program path; the Rust kernel and gcc are oracles only.
  • Every number measured; machine ops are refused outside --machine units; a --machine receipt is never mistaken for a safe one.
  • Branch omegese/bytes-io (K1) is open. Ledger: L184.

Owner: Hermes chat (Drake asked for this to be done by the coordinator personally, 2026-10-20).

No comments.

Sign in to comment