interplane.Get Omega
Read in your language

omega-harness

Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories

Brought by drakestapleton

branch main Branches Tags History

omega-harness / skills / omega-encoding / SKILL.md

2565 lines · 211190 bytes Raw Blame History Source

name: omega-encoding description: "Write .om that the seeded Omega compiler actually accepts: syntax, types, traps, bounds, register limits, host I/O, byte encoding, compiler errors, verified examples. Use before writing, reviewing or explaining any Omega program."


Omega encoding: writing .om that the seeded compiler actually accepts

Use this before writing, reviewing or explaining any .om program, before claiming what Omega can or cannot express, and before encoding bytes, integers or host I/O in Omega.

0. Pin and how to re-check it

Pin (PIN)Value
omega-mv commit6c562dd1f7ab01fd9a2638e74a7330ec4c941ad8
seed/out/omc sha25634d611ca0415eab1728d3234911d90e74af17ba9ab0c581d559f48274d7ca6d3
reference datadata/reference.tsv: omega-mcp's data/reference.json for this pin, with 201 keyword-table entries (80 host words), 30 compiler error codes, 14 traps and 13 topics

The pin is written once, in this repository's PIN file; the table above is generated from it and from the reference data for it (omega-harness section 6). examples/gate.sh refuses any other compiler. The rest of this section is dated history: how earlier pinned compilers were established, and those pins. omc c52e986e… (omega-mv 3537baad, landed 2026-11-11) replaced those fixed tables of omc f4fa7951… that grow with the unit (names, functions, calls, trap sites, blocks, input, output) with one arena; the fixed tables OMEGESE 9.6 lists stayed (section 11 error 14); with it examples/gate.sh printed GATE PASS for every program on 2026-11-11.

Merge status, 2026-10-29: compiler batch #904 merged at e2662fffbce1c21ef09da71c0d8808133a6af8ab; x86 integration #923 merged at bf54b19fa590e8ae925c0e80815516dbf41e7326. Earlier pending labels describe the recorded pre-merge tests. Native x86 execution remains NOT_RUN; merging is not hardware qualification.

The quantity and diagnostic audit is merged through omega-mv #914 at main d94a503f7aae57d09697046405da2e9a5895be6d. The older candidate observations below remain dated history, not claims about the newer integration.

How omc f4fa7951… was established: omega-mv c106bae0 (checked 2026-11-10T20:31Z)

ItemValue
Commitc106bae04231f47912f4b90b49f426a44a1f4238 (Radicle omega-mv main, 2026-11-10T19:21:07Z)
Compiler source seed/omc/omc.om19,438 lines, 520 ^fn lines, sha256 c86159627820cf5741be0a2a4c05df0efb78f5c91a652b986fec5d745baa62ed
Compiler seed/out/omcsha256 f4fa7951816bbd09c5eaaae6692852a70c3c305164b365027c5b683dec7d63e9, 674,212 bytes (equals seed/out/omc.sha256; last seed/omc/size-history.tsv row pinned-globals-on-0ed21175)
Seed loader seed/rung0/seed0.hexsha256 baaf081fe6055a768485c5d25d7435681ce00b04cfa80b26c48169f78944e14d (unchanged)

Long names (omc 564c5835…c999) are on main since 12bdb787. Three stacked omc heads then landed on main (merge --no-ff, 2026-11-10T16:29:17Z), in this order; each reseeded omc:

HeadMerge on mainChangeseed/out/omc sha256omc.om lines / ^fn
d58b271dda8304ada7c7247b7dee07973e70e687 (ham/omc-perf-loops-6)281b7a3dOM-2 AArch64 for loops tested at the latch6844d173abc85ecbc04154cce85e4e5eeec8bf7b21f4ab1c10728c55efe7dd00, 669,192 bytes19,257 / 515
f8c8c7dc7d387fd033e3106e173bf5a85a474e12 (ham/om-threads-4)9581eff5scheduler host words 236..240 (section 9)0ed21175a1709cb755c289383cd8fcbfaac8330c3967fe4656b9f82fc96a3c4f, 672,960 bytes19,369 / 517
83b230bf2ed352f354f6f5f7e000578b57fe9a0a (ham/omc-perf-mem-4)887311bbOM-2 AArch64 pinned global registers X18..X26 (section 6, scrub)f4fa7951816bbd09c5eaaae6692852a70c3c305164b365027c5b683dec7d63e9, 674,212 bytes19,438 / 520

No commit after 887311bb up to c106bae0 changes seed/out/omc or seed/out/omc.sha256 (`git log 887311bbc..c106bae0 -- seed/out/omc seed/out/omc.sha256` is empty); the later merges are NG front, NG IR and NG host-word work.

Observed 2026-11-10T20:31Z on the Spark (Linux AArch64), in a fresh detached clone at c106bae0: sh seed/omega-from-seed.sh printed RC=0, left the tree clean, and its seed/out/omc is byte-identical to the committed f4fa7951…63e9. examples/gate.sh with that compiler: `GATE PASS examples=126 pass=126 fail=0(exit 0), aftererr13_long_name` moved to a 64-byte name. The same gate refuses main's previous omc 564c5835… (omega-mv 0158ce88) with exit 2. Earlier the same day each of the three heads above passed the gate in its own clean worktree (123 examples on omega-harness af497dc; ham lane OmcRebase).

On 2026-11-11 Radicle omega-mv main was b2ad967e57146172c1bedf1eac98babb75baef65, with the same compiler: `git diff --stat c106bae0 b2ad967e -- seed/out/omc seed/out/omc.sha256 seed/omc/omc.om seed/rung0/seed0.hex docs/one_layer/OMEGESE.mdprints nothing andsha256sum seed/out/omc` prints f4fa7951…63e9. On 2026-11-11 examples/gate.sh with that omc printed `GATE PASS examples=126 pass=126 fail=0(exit 0), and omc564c5835…(omega-mv0158ce88) exited 2. The 22 commits after c106bae0` are ng work (omega-harness section 3, "ng additions"). They add no omc syntax:

ng is a separate compiler: its 2026-11-11 no-caps arena change (omega-mv 229f77bc) removes its old fixed table capacities; it does not change omc's language or this guide's pin. For ng's shared-arena costs, stack-derived nesting bound, reader verdicts and complete gate set, see omega-harness section 3, "ng arena and no-caps gate".

Language-reference pin f4df8239 (omega-mv main on 2026-11-05, checked then; no longer main's head; omega-mcp's source pin until 2e8e12a2)

ItemValue
Repositorygithub.com/aien-dev/omega-mv, branch main
Commitf4df82394e35893dcf1354dda69a2fe028d94bc1 (merge commit of #1022, efi 14 machine identity, head 81c5cb25, merged 2026-11-05T23:48:11Z)
Compiler source seed/omc/omc.om18,224 lines, 511 ^fn lines, sha256 0effe37afc4ddd0507151c9f2afa34b3e6774eae7006cbecd8c59f11bc386db7
Compiler seed/out/omcsha256 3ad9f10f64309e7acf8a725082b28e23a2a4aeb07e98322fb4dc0fcd8fc93194, 625,676 bytes (equals seed/out/omc.sha256; last seed/omc/size-history.tsv row x86efi-ident-1022)
Seed loader seed/rung0/seed0.hexsha256 baaf081fe6055a768485c5d25d7435681ce00b04cfa80b26c48169f78944e14d (unchanged)

#1022 is the only merge after d3d1b1bc7 that changes seed/out/omc.sha256 (`git log d3d1b1bc..f4df8239 -- seed/out/omc.sha256`). It adds x86efi OP 14 (machine identity: CPUID brand, firmware vendor/revision, SMBIOS copy). omc.om went from 510 to 511 ^fn lines, so the om4 cap (section 8) has 1 free entry at this pin. Still current at main 2a1e6d29 (2026-11-05).

Observed 2026-11-05 on a Linux AArch64 host in a clean detached worktree at main 2a1e6d29: sh seed/omega-from-seed.sh printed RC=0 and left seed/out/omc at exactly 3ad9f10f…3194. That rerun is history for the example gate, which now uses main c106bae0 (top of this section).

Previous example gate pin (omega-mv#1074 execenv reseed, history since 2026-11-10T20:31Z)

Until guides-current-4, examples/gate.sh pinned omega-mv 7d9ed10fd7b7fc33d8bfc39435f3eea80ee55dea, seed/out/omc sha256 cfd96b48b0460ab5557853d6856f9c741b96ac8d0d624e06198defb4cbfa0d8a. That is the execenv reseed. The same omc blob is at #1074 heads 5d288784 and 88282ecd. #1074 merged on Radicle omega-mv main as 6efc45728d5080b0fc5d74016a00ba8bbfcf9698 (2026-11-07); the GitHub mirror's main is still 943d955531b9d4d9f70deb41756c0b46441dd5e0 (omc 5f90edea…). Radicle main has since reseeded to omc 0f2de85153b07656f4b992d101272987fe6ed1eee471ef70b132a37f5ba6b02f at 0062602e (2026-11-08), to 6d1b1cf5a44803389a831b67f750ea4cd1c9f53edfde9d6d9241d7352887f1f8 at a0d12c25 (main a59a425b, 2026-11-10), to b87c8b65… at ac7b7724 and to 564c5835f307a65c07908eb5bd236addb060a42f44cfb7ac496879195486c999 at cd7c5132 (ham/omc-train, 2026-11-09; on Radicle main 0158ce88, checked 2026-11-10T15:44Z), so main's own compiler is not the gate pin. The language-reference omc 3ad9f10f above refuses examples/execenv.om with omc: line 63: error 3. Rechecked 2026-11-08, Linux AArch64: GATE PASS examples=111 pass=111 fail=0 at cfd96b48; the same gate on 5f90edea or 3ad9f10f exits 2, and on 0f2de851 (2026-11-09) also exits 2. Rerun 2026-11-10, Linux AArch64, on omega-harness branch ham/guides-current (121 programs in examples/ plus 5 in skills/*/examples/): GATE PASS examples=126 pass=126 fail=0 at cfd96b48; on 6d1b1cf5 it exits 2. Later on 2026-11-10 Radicle omega-mv main moved to 19ed248e, 9255b45f and then 0158ce88 (ng-bench, ng-ir ng/ir-rand and ng/opt-licm, ng-a64 float, ng-front, the omc train with omc 564c5835…, crumb removal, docs and seed/text merges). Rerun 2026-11-10T15:44Z, Linux AArch64, at omega-harness c9780bf5: GATE PASS examples=126 pass=126 fail=0 at cfd96b48; on main's 564c5835 it exits 2 (GATE FAIL omc sha256 564c5835…, pinned cfd96b48…). That was the state until 2026-11-10T20:31Z; now f4df8239 stays the language-reference pin (an ancestor of main), the example-gate pin is main c106bae0 (omc f4fa7951…), and the MCP compilers are stated in "The omega MCP tools" paragraph of this section.

Previous pin d3d1b1bc (checked 2026-11-04, history)

Commit d3d1b1bc7e3b970016a2176435f78c8f0251bad1 (merge commit of #1015, target x86efi, head 19ee7e99); omc.om 18,056 lines, 510 ^fn lines, sha256 16b4ca40…c749; seed/out/omc sha256 b4f45121f6c6d5d8a6ed0f5c4f3934b7cc4bec369bfa89523699bd33928f9b55, 611,620 bytes. #1015 was the only merge after 9920aab14 that changed seed/out/omc. It added the x86efi backend; AArch64 and x86linux output of the 1305 tracked .om files was unchanged except the 4 x86efi test programs (#1015's corpus TSVs).

Observed 2026-11-04 on a Linux AArch64 host in a clean detached worktree at d3d1b1bc7: sh seed/omega-from-seed.sh exited 0 and left seed/out/omc at exactly b4f45121…9b55. fnv1a32.om and trap_narrow.om compiled to binaries byte-identical to the ones be8c5130 emits; abc gave 0b e9 47 1a, exit 0; trap_narrow exited 105. The example gate result is in the "Rerun at omega-mv d3d1b1bc" section.

Previous pin 9920aab1 (checked 2026-10-31, history)

ItemValue
Repositorygithub.com/aien-dev/omega-mv, branch main
Commit9920aab1413983c2867d02d75b2276341595adb8 (squash of #994, scrub keeps live float registers, merged 2026-10-31T10:48:56Z)
Compiler source seed/omc/omc.om16,432 lines, 495 ^fn lines, sha256 d4b4b89d8a58cc90d30d15a525b417e4b31e5bfe5288d21d665f1c7958a330f6
Compiler seed/out/omcsha256 be8c51301307555254fc59e351d281aae1aa096d91521777e33a41c8b446448a, 517,856 bytes (equals seed/out/omc.sha256; last seed/omc/size-history.tsv row scrub-flive)
Seed loader seed/rung0/seed0.hexsha256 baaf081fe6055a768485c5d25d7435681ce00b04cfa80b26c48169f78944e14d

Merges after 91c83438d (omc 2aec185d…d8d5) that change the compiler, oldest first: #967 (96ea448ad, IR-mode TYPE casts read the operand at its own type, section 4), #948 (dc0d06e95, B/BL imm26 displacements checked by the shared bdisp, section 4 error 24 entry), #875 (236787439, OM-2 words dit 225 / scrub 226, section 6), #918 (2d848d939, host word peername 224, section 9), #853 (4722cba58, floats in V registers, codegen only; see the scrub entry in section 6), #848 (157bab57c, while ... bound N up to 2^63-1, section 8), #857 (3a163bc5e, for ... bound N, IR loop ranges, section 8) and #994 (9920aab14, scrub no longer zeroes the V16+j twin of a live float slot, section 6; the only merge after 3a163bc5e). #990, #992 and #989 touch tests and docs only. seed/rung0, seed/rung4/om4.s, seed/rung4/om4.bin (sha256 d0da40e4…19efab), seed/omega-from-seed.sh and seed/omc/gate12.sh are unchanged between 91c83438d and 9920aab14. omc.om went from 512 to 495 ^fn lines with #853 (#994 adds none), so the om4 cap (section 8) has 17 free entries at this pin.

Observed 2026-10-31 on a Linux AArch64 host in a clean detached worktree at 9920aab14: sh seed/omega-from-seed.sh exited 0 (RC=0) and left seed/out/omc at exactly be8c5130…448a with a clean git status. Both guide examples were rerun with that omc and gave the same results as at the previous pin: fnv1a32.om and trap_narrow.om compiled with exit 0 to binaries byte-identical to the ones 24caacf4 emits; abc, a and empty input gave 0b e9 47 1a, 2c 29 0c e4, c5 9d 1c 81, exit 0; 65536 zero bytes gave no output, exit 2; trap_narrow.om ran with exit 105. The same fnv1a32.om prefixed with target x86linux printed 0b e9 47 1a for abc with exit 0 under qemu-x86_64 8.2.2: EMULATED, not native x86.

The omega MCP tools (compile, run, explain_error, lookup) report the compiler they run as compiler_sha256: read it from a trivial compile and compare it with this repository's PIN before trusting any MCP result. omega-mcp records its own source pin in its PIN file (https://interplane.io/projects/omega-mcp/repo.git); before its 2026-11-11 repin it pinned omega-mv f4df8239, omc 3ad9f10f…3194 (omega-mcp #6, frozen GitHub history). On 2026-11-11 the server at the path agent configs named still reported omc 2c82480596bb…029f (omega-mv e5b32567). Whenever a server reports 2c824805…, that omc's limits apply: it predates #848, so while ... bound 1000000 is error 8 (1..999999) and for ... bound is error 5; names over 8 bytes are error 13; out is reserved in om2 units (error 16); and it has the #775 empty-text defect (len of a text e "" passed as view uchar * returned a stale register value, exit 36 in the program recorded under "Empty text" below). The first four were observed through the MCP on 2026-11-11. From omc 3ad9f10f on, execprog closes every descriptor at or above 3 (omega-mv #970); omega-mcp #6 moved its bwrap control pipes to fds 0..2 for that reason.

Previous pin 3a163bc5 (2026-10-31, history)

ItemValue
Commit3a163bc5eafa5be4b9ca97b7f17046c33f0d9032 (squash of #857, for ... bound N and the IR loop ranges, 2026-10-31)
Compiler source seed/omc/omc.om16,422 lines, 495 ^fn lines, sha256 0ed35c70437d498cbce3deb661bb24ba4753ec16a8890450a482aaea147bca2a
Compiler seed/out/omcsha256 24caacf463cc29c5413d5b2565ef8f88c76e60a585bbad44d2388cb1ac29abb7, 517,768 bytes (equals seed/out/omc.sha256; last seed/omc/size-history.tsv row forbound-857-main)

This pin had #967, #948, #875, #918, #853, #848 and #857 but not #994, so its scrub zeroed live float locals (section 6). #990, #992 and #989 touched tests and docs only, and the seed files listed above were unchanged between 91c83438d and 3a163bc5e.

Observed 2026-10-31 on a Linux AArch64 host in a clean detached worktree at 3a163bc5e: sh seed/omega-from-seed.sh exited 0 (RC=0) and left seed/out/omc at exactly 24caacf4…abb7 with a clean git status. Both guide examples were rerun with that omc: fnv1a32.om compiled with exit 0 and empty stderr to a binary byte-identical to the one 2aec185d emits; abc, a and empty input gave 0b e9 47 1a, 2c 29 0c e4, c5 9d 1c 81, exit 0; 65536 zero bytes gave no output, exit 2; the wrong-prime control (16777617) gave 55 be dc f5 for abc. trap_narrow.om compiled with exit 0 and empty stderr and ran with exit 105; deleting only its unmasked store (negative control) changed the run exit to 44. The same fnv1a32.om prefixed with target x86linux printed 0b e9 47 1a with exit 0 under qemu-x86_64 8.2.2: EMULATED, not native x86.

Previous pin 91c83438 (2026-10-31, history)

ItemValue
Commit91c83438daec0bdb88bf5c077cae10f3d15d365d (squash of #965, error-code registry and IR error 30, 2026-10-31)
Compiler source seed/omc/omc.om15,952 lines, 512 ^fn lines, sha256 92eb49f35715147ccb6c6b00a96b9cb38d7f7383de14d4f6521d2e07eaad465c
Compiler seed/out/omcsha256 2aec185d4ed6d7a6a5779ed656b4e56904742bde5551b02893fb5f73916ad8d5, 495,668 bytes (last seed/omc/size-history.tsv row error-registry-965)

Three merges after 4376c2112 (omc 62775d2a…712b) changed the compiler: #946 (d94617177, host words cpufence 199 / cpurelax 200), #970 (1db941627, execpure word 198 and close_range before exec; omc 7a8b84fcc07808a52e6cbb65aa7450c754b3ad62eeddf9ec64cc0edd0938b2de) and #965 (91c83438d: error-code registry and IR error 30, section 11; float literal scans and the untyped long float literal miscompile, section 4). The omc.om line links in this file are permalinks to the commit they name; on main the line numbers have moved.

Observed 2026-10-31 on a Linux AArch64 host in a fresh clone at 91c83438d: the committed seed/out/omc hashed to 2aec185d…d8d5; seed/rung4/om4.bin alone compiled that omc.om with exit 0 to a 495,668-byte binary with the same sha256; sh seed/omega-from-seed.sh exited 0 (RC=0) and left seed/out/omc at exactly 2aec185d…d8d5. Both guide examples were rerun with that omc, with the same results as with the previous main omc 7a8b84fc… (both compilers emit byte-identical fnv1a32.om binaries): fnv1a32.om compiled with exit 0 and empty stderr; abc, a and empty input gave 0b e9 47 1a, 2c 29 0c e4, c5 9d 1c 81, exit 0; 65536 zero bytes gave no output, exit 2; the wrong-prime control (16777617) gave 55 be dc f5 for abc. trap_narrow.om compiled with exit 0 and ran with exit 105; deleting only its unmasked store (negative control) changed the run exit to 44. The same fnv1a32.om prefixed with target x86linux compiled with exit 0 to an x86-64 ELF that printed 0b e9 47 1a with exit 0 under qemu-x86_64 8.2.2: EMULATED, not native x86.

x86 integration as tested before merge (observed 2026-10-28)

Then-draft #923, source 7ab5fdd067884fd3044155084b39163da1be5c8a, integrated main and batch 3 (#904). Its seed/omc/omc.om and seed/out/omc hashes equal the main pin bf54b19fa (omc 62775d2a…712b, main until #946). The seed gate passed, including GATE5. Both guide examples compiled with empty stderr: fnv1a32.om on abc exited 0 with bytes 0b e9 47 1a; trap_narrow.om exited 105, while removing its unmasked store exited 44.

The exact first line target x86linux selects the x86 backend. Quantity negation and complement refuse with error 7 on both targets. Empty text remains sized with length zero and emits no literal bytes; bounds checks still apply. Target-specific diagnostic contracts preserve the extra x86 stack-check records and exact growth-refusal records. See the source's docs/X86-LINUX.md and seed/omc/x86-diagnostic-contracts.json. Historical failed experiments and frozen compatibility rows remain separate from current acceptance. At main bf54b19f, docs/X86-LINUX.md is headed "Status: DRAFT; native x86 qualification NOT_RUN". Its last complete differential (section "Current acceptance contracts", source 7ab5fdd0, QEMU, EMULATED) reported 15179 PASS, 4 NOT_RUN, 222 EXCLUDED and no FAIL cases, aggregate verdict FAIL because NOT_RUN is not PASS; 00ebdee8 then passed the two text-write cases (5 PASS), leaving two invalid-fd ioctl cases unrun. Merged in source; not native x86 qualification.

Error 25 on x86 at main 62d1d0d66 (observed 2026-10-30, compile only; rechecked 2026-10-31 at 4376c2112). docs/X86-LINUX.md (#L201-L202) defines error 25 as an unsupported target/emission path. In seed/omc/omc.om at that commit it is raised by the target-line parser for any target word other than x86linux (#L15549-L15550; target x86efi gives omc: line 1: error 25), by emit when a nondefault target reaches the AArch64 emitter (#L571-L574), by hostval, xhost and xio on a target mismatch (#L6807-L6809, #L14663-L14665, #L15398-L15400), and by the xcc condition-code fallthrough (#L14841). The device and mapping words 166..177 are not refused on x86: xhost dispatches them to x86 helpers (xhdev, xhmnew, xhmbind, xhmdrop, xhmcopy, xhmmio; #L14679-L14707). seed/host/tests/device.om, mapping.om and devcall.om, each prefixed with target x86linux, compiled with exit 0 to x86-64 ELF files with main's omc, at 62d1d0d66 and again at 4376c2112 (where target x86efi still gave omc: line 1: error 25, exit 25). They were not run, so no x86 execution of device words is claimed. The VFIO words vfioctl/vfiomap are not on main (pending draft omega-mv#878, open on 2026-10-31). At main 91c83438d (omc 2aec185d…, 2026-10-31), at main 3a163bc5e (omc 24caacf4…, 2026-10-31) and again at main 9920aab14 (omc be8c5130…, 2026-10-31) target x86efi still gives omc: line 1: error 25, exit 25 (observed); vfioctl is still absent from omc.om at 9920aab14 and #878 is still an open draft. Since #970, docs/X86-LINUX.md also lists execpure (word 198) among the xhost error-25 refusals on x86 (source text, not run here). These are observations of the omc before #1015; since #1015 merged (d3d1b1bc7, omc b4f45121…) error 25 on target x86efi covers only the refusals listed in the next section.

target x86efi: omega-mv#1015 (merged d3d1b1bc7, the current pin; observed 2026-11-01 to 2026-11-04)

omega-mv#1015, branch feat/x86efi-main, head 19ee7e99fafaa6a509e0fd166126a16226e414f7, merged 2026-11-04 with the merge commit d3d1b1bc7e3b970016a2176435f78c8f0251bad1, so the commits cited below stay reachable. First observed at 5ce9ecaa7b2034d5a7b4502403591d5c2489c06d on main ba5559d9b (2026-11-01); the omc is the same at both: sha256 b4f45121f6c6d5d8a6ed0f5c4f3934b7cc4bec369bfa89523699bd33928f9b55 (committed seed/out/omc, reproduced by seed/omega-from-seed.sh). An omc built before the merge, such as the previous pin's be8c5130…, refuses every target x86efi unit with error 25 (section above). Observed 2026-11-04 at d3d1b1bc7: target x86efi with fn main to int / ret 0 / end compiles with exit 0 to a file starting MZ; the same unit with be8c5130 gives omc: line 1: error 25.

target a64efi: an Arm program with no operating system (omega-mv d7fbd565, 50485583 and 5a260fc6, observed 2026-11-12)

Observed on 2026-11-12 with the omc that omega-mv commit 5a260fc6907ba82565dd173b6369cd2bc158c6af carries. The target landed two commits earlier, at d7fbd5658312e321b39edd992b27d8f3aefea882, and was corrected at 5048558380c6e0a1f72dd0c68e43ae846d2fd1db and at 5a260fc6; the compiler before d7fbd565 gives omc: line 1: error 25 for the line. Every sentence below that is not true of all three says from which commit it holds. Authority: that revision's docs/A64-EFI.md, seed/a64efi/efirt.om and tests/a64efi/run.sh.

Historical quantity/check/next candidate (observed 2026-10-28)

ItemValue
Repositorygithub.com/aien-dev/omega-mv, PR #911 head
Commit1fe5976d398646b17acabbf6d9dfae96b017e439
Compiler source seed/omc/omc.om12,520 lines, sha256 3f937160c823d3a90a6b4cc296f00f517f36ede7fd27a06505c998985ec62240
Compiler seed/out/omcsha256 d6290c7663c2b4bafb59eb3fdf812476e977f4c144def71095c6248ef9b96b84
Seed loader seed/rung0/seed0.hexsha256 baaf081fe6055a768485c5d25d7435681ce00b04cfa80b26c48169f78944e14d

Host-only observations below used a fresh clone checked out detached at this commit. Hash and count commands: sha256sum seed/omc/omc.om seed/out/omc seed/rung0/seed0.hex and wc -l seed/omc/omc.om; their observed values are in this table. The fresh-clone sh seed/omega-from-seed.sh run exited 0 and printed:

PASS seed0 408 bytes, rebuilds itself
PASS hex1 776 bytes, born from seed0
PASS asm2 2464 bytes, born from hex1
PASS om4 om4.bin 14224 bytes
PASS omc fixpoint d6290c7663c2b4bafb59eb3fdf812476e977f4c144def71095c6248ef9b96b84
PASS fwd exit 0
PASS fwd runs, exit 7
PASS mut exit 0
PASS mut runs, exit 0
PASS cycle exit 9
PASS assign exit 7
RC=0

This reproduces the independently recorded binary digest, not an independent correctness proof or a full gate5/host qualification.

Pending optional kernel-leaf experiment (2026-10-28; not an active pin)

Compiler draft #925 and bridge draft #38 describe an optional restricted ABI experiment, not a prerequisite for Linux-hosted Omega policy. Function-mode continuations/effect records can use the existing policy language; kernel adapter, lifetime and non-leaf hardening requirements remain separate.

The host-tested compiler source is c4b4500d172690c8a72ae2df7124c1bf70c39173 (isolated base 6999fa9e6dae4847c155ef4eacaece74f491d3ca, distinct from FR9). seed/omc/omc.om SHA256 is 545e630349b45b826d49f8e75ed1fbc0e5d76c90410650f9945e0d89829441c8; experimental executable SHA256 is e7e95a8305fe0bf8331f579533b1fca69101eaf351fc5cea8208e3892a8733b8. The untouched seed remains d6290c7663c2b4bafb59eb3fdf812476e977f4c144def71095c6248ef9b96b84. Bridge source 9a4e5102a82c913699fb7c3dd99a2736cab2b3d6, src/kernel_leaf.om, has SHA256 3f599cd22bc636084e81d4d3118a352da5ed1c42ce93624c88d7394ebed044cb. None replaces the current candidate/general-language/native-command pin.

The experimental kleaf directive permits one bounded unsigned scalar function, normal x0 value/x1 status returns and allocated volatile-register clearing. It rejects stack/calls/views/loops/host/OM-2 rather than claiming a general kernel backend. Its .om bridge envelope matches only inspected Linux 7.0.0-1019-nvidia leaf tracing/PAC metadata; GNU binutils 2.42 performs assembly/object packaging. Native ET_REL generation is not added. The compiler-side seed/omc/kernel-leaf-experiment.py requires clean compiler and bridge commits and produced immutable host receipt SHA256 254e2f3ea3acc3f9578e0854c6bd4664df234b3d8c9a9cf970a8c0c3ef8504d7, filed in #925. Self-rebuild, ABI/status/trap/register, refusal/mutant and explicit single-kbuild-object comparisons passed. No module link/modpost/sign/load, kernel execution, tracing exercise, DMA/IRQ or GPU qualification occurred. The broader Linux effect contract is proposed only. Existing examples and active pins are unchanged.

Historical general-language pin (2026-10-25)

ItemValue
Repositorygithub.com/aien-dev/omega-mv, branch main
Commit55f9b0af47de70a3d06357985cf99ae3e45c016f (2026-10-25, merge of PR #766)
Compiler source seed/omc/omc.om7,838 lines, sha256 2e35db7d6c2066fb4a20d19b8a9579c44caca9c9937b0594a89422010b673637
Committed compiler seed/out/omcsha256 734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61
Seed loader input seed/rung0/seed0.hexsha256 baaf081fe6055a768485c5d25d7435681ce00b04cfa80b26c48169f78944e14d
Language document docs/one_layer/OMEGESE.mdblob 89a27d2e68519eb45c103abb23dfe05a68d8ad69

Every citation links to that commit: https://github.com/aien-dev/omega-mv/blob/55f9b0af47de70a3d06357985cf99ae3e45c016f/<path>#L<n>.

Rerun at omega-mv f4df8239 (2026-11-05)

At this rerun the example gate pinned f4df82394e35893dcf1354dda69a2fe028d94bc1 (#1022), seed/out/omc sha256 3ad9f10f64309e7acf8a725082b28e23a2a4aeb07e98322fb4dc0fcd8fc93194, built from seed at main 2a1e6d29. With only the pin moved and no expectation changed, bash examples/gate.sh against that binary printed GATE PASS examples=110 pass=110 fail=0 omc=3ad9f10f64309e7acf8a725082b28e23a2a4aeb07e98322fb4dc0fcd8fc93194 (exit 0) on 2026-11-05, Linux AArch64. Negative control: the gate pointed at the previous omc b4f45121…9b55 was refused with exit 2 (`GATE FAIL omc sha256 b4f45121…, pinned 3ad9f10f… (omega-mv f4df8239…)). On 2026-11-09 two examples were added (examples/mistake_bound_input.om`, examples/bound_input_guard.om, section 8) and the same gate against the same binary printed GATE PASS examples=123 pass=123 fail=0 omc=3ad9f10f… (exit 0); with the three guard lines (if gt q 64 / ret 0 / end) removed from bound_input_guard.om it printed FAIL examples/bound_input_guard: exit 104, expected 0 and GATE FAIL examples=123 pass=122 fail=1 (exit 1). Merged with examples/trap1_divmin.om (signed minimum div -1 is trap 1, exit 101; Hive NG lane ng-ir), the same gate against the same binary printed `GATE PASS examples=124 pass=124 fail=0 omc=3ad9f10f…` (exit 0) on 2026-11-09; with that example's expected exit changed to 102 it printed FAIL examples/trap1_divmin: exit 101, expected 102 and GATE FAIL examples=124 pass=123 fail=1 (exit 1). The section below is the previous pin.

Rerun at omega-mv d3d1b1bc (2026-11-04, previous pin)

The example gate pins main d3d1b1bc7e3b970016a2176435f78c8f0251bad1 (#1015), seed/out/omc sha256 b4f45121f6c6d5d8a6ed0f5c4f3934b7cc4bec369bfa89523699bd33928f9b55. #1015 adds the x86efi target and leaves AArch64 output unchanged; with only the pin moved and no expectation changed, bash examples/gate.sh against that binary printed GATE PASS examples=101 pass=101 fail=0 omc=b4f45121f6c6d5d8a6ed0f5c4f3934b7cc4bec369bfa89523699bd33928f9b55 (exit 0) on 2026-11-04, Linux AArch64. Negative control: the gate pointed at the previous omc be8c5130…448a was refused with exit 2 (`GATE FAIL omc sha256 be8c5130…, pinned b4f45121… (omega-mv d3d1b1bc…)`). The section below is the previous pin.

Rerun at omega-mv 9920aab1 (2026-10-31, previous pin)

The example gate pins main 9920aab1413983c2867d02d75b2276341595adb8 (#994), seed/out/omc sha256 be8c51301307555254fc59e351d281aae1aa096d91521777e33a41c8b446448a. #994 changed only the scrub emitter, and no example uses scrub; with only the pin moved and no expectation changed, bash examples/gate.sh against that binary printed GATE PASS examples=101 pass=101 fail=0 omc=be8c51301307555254fc59e351d281aae1aa096d91521777e33a41c8b446448a (exit 0) on 2026-10-31, Linux AArch64. Negative controls: the gate pointed at the previous omc 24caacf4…abb7 was refused with exit 2 (`GATE FAIL omc sha256 24caacf4…, pinned be8c5130… (omega-mv 9920aab1…)), and on a scratch copy const N ulong 16` changed to 15 in examples/consts.om ended GATE FAIL examples=101 pass=100 fail=1 with exit 1 (`stdout differs from consts.stdout`). The section below is the pin before.

Rerun at omega-mv 3a163bc5 (2026-10-31)

The example gate then pinned main 3a163bc5eafa5be4b9ca97b7f17046c33f0d9032 (#857), seed/out/omc sha256 24caacf463cc29c5413d5b2565ef8f88c76e60a585bbad44d2388cb1ac29abb7. With the previous tree and only the pin moved, the gate against that binary ended GATE FAIL examples=99 pass=97 fail=2: mistake_bound_range.om (while ... bound 1000000, valid since #848) and mistake_for_bound.om (for ... bound 10, valid since #857) both compiled with exit 0 where error 8 and error 5 were expected. mistake_bound_range.om now uses bound 9223372036854775808 (error 8, line 4); mistake_for_bound.om became for_bound.om (exit 10); trap4_for_bound.om (a value count 11 over bound 10, exit 104) and mistake_ir_bound.om (ir, while ... bound 1000001, error 8, line 5) are new. On 2026-10-31, Linux AArch64, examples/gate.sh against 24caacf4…abb7 printed GATE PASS examples=101 pass=101 fail=0 (exit 0). Negative controls on a scratch copy each ended GATE FAIL examples=101 pass=100 fail=1 with exit 1: bound 9223372036854775807 in mistake_bound_range.om (compile exit 0, expected 8) and bound 4 in for_bound.om (exit 104, expected 10). The gate pointed at the previous omc 2aec185d…d8d5 was refused with exit 2. The section below is the previous pin.

Rerun at omega-mv 91c83438 (2026-10-31)

The example gate then pinned main 91c83438daec0bdb88bf5c077cae10f3d15d365d (#965), seed/out/omc sha256 2aec185d4ed6d7a6a5779ed656b4e56904742bde5551b02893fb5f73916ad8d5. On 2026-10-31, Linux AArch64, examples/gate.sh against that binary printed GATE PASS examples=98 pass=98 fail=0 (exit 0) with no expectation changed. The rerun also showed that code 25 is emitted (it has been since the x86 integration bf54b19f): target foo as the first line is omc: line 1: error 25 under both 2aec185d and the pre-#965 7a8b84fc. examples/err25_target.om now records it, and the gate printed GATE PASS examples=99 pass=99 fail=0 (exit 0); with its first line changed to target x86linux (a known target) that example fails (compile exit 0, expected 25). Negative controls on a scratch copy of the 99-program tree each ended GATE FAIL examples=99 pass=98 fail=1 with exit 1: const N ulong 16 changed to 15 in examples/consts.om (stdout 15 instead of 16), and one byte appended to consts.stdout. The gate pointed at the pre-#965 omc 7a8b84fc… was refused with exit 2. The 2026-10-29 section below is the previous pin.

Rerun at omega-mv bf54b19f (2026-10-29)

The example gate now pins this compiler. On 2026-10-29, Linux AArch64, examples/gate.sh against seed/out/omc sha256 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b printed GATE PASS examples=98 pass=98 fail=0 after the keyword-prefix expectation was updated. The same gate pinned to 2c824805…029f had passed 98/98 with the old expectation. A copy of the new gate pointed at 2c824805 was refused (exit 2).

ItemValue
Commitbf54b19fa590e8ae925c0e80815516dbf41e7326 (2026-10-28, merge of PR #923)
seed/omc/omc.om15,624 lines, sha256 96d51b63c8f451661ac715395078e04f39195e50c9e8fe37746cda121e4d7a1e
seed/out/omcsha256 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b
seed/rung0/seed0.hexsha256 baaf081fe6055a768485c5d25d7435681ce00b04cfa80b26c48169f78944e14d (unchanged)
docs/one_layer/OMEGESE.mdblob 90fa5d0c32757da6e7c271e96406b75105ba8008

Two defects recorded at e5b32567 are fixed in this compiler (the #904 integration, e2662fff): fn continue_x compiles and the program exits 7 (examples/defect_keyword_prefix.om); bitcast int of uint 4294967295 compares equal to -1 and add 2 returns 1, and bitcast uint of int -1 compares equal to 4294967295. At 2c824805 those three programs were error 16, exit 2 and exit 2, and add 2 trapped 1. fn continue is still error 16. The #775 empty-text defect was reproduced at 2c824805 (see the bullet below); it is fixed at the guide pin and in omc f4fa7951, but not in the 2c824805 that the installed MCP server reported on 2026-11-11, so part e 0 0 is needed for an older vendored omc. Other "observed at e5b32567" lines below are dated history; the example suite still matches them.

Historical rerun at omega-mv e5b32567 (2026-10-27)

Every example and rule in this file that a program can show was rerun on 2026-10-27 with the compiler below, on a Linux AArch64 host only. The 2026-10-29 section above is current where it disagrees with this list.

ItemValue
Commite5b32567a7aff3ce594e3254a622a846a6cd190b (2026-10-26, merge of PR #868)
seed/omc/omc.om12,040 lines, sha256 7703da00055fc0c7a91fcae43071df76a3f277dbe867cb284a3bdff3bedb7e1b
seed/out/omcsha256 2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f
seed/rung0/seed0.hexsha256 baaf081fe6055a768485c5d25d7435681ce00b04cfa80b26c48169f78944e14d (unchanged)
docs/one_layer/OMEGESE.mdblob 119c559557e4f227dee348c0e0e1240c71a42df3

The executable record is examples/gate.sh: it refuses any other compiler hash, then compiles and runs 98 programs (examples/*.om and this skill's examples/*.om) against exact expected stdout bytes, exit statuses and compiler stderr lines. Observed: GATE PASS examples=98 pass=98 fail=0. Negative controls on a copy each ended GATE FAIL with exit 1: one changed digit in an expected stdout, an expected exit 105 changed to 104, an expected stderr line number changed, a removed .expect file, and a changed program body; a compiler with one appended byte was refused with exit 2. Arithmetic expectations were checked with Wolfram (examples/WOLFRAM.md).

Changes and confirmations against the rules below, each observed with a program:

Merged IR/wasm backend (2026-10-26)

Source: omega-mv main 3364a1dfd0ca50c1b82bf19ba34932d8bc10a7a9, #787, after the separate boolean IR fix #786, merge 87489da90a1a7a750fd4a7f9eeb005b1221721f6. Source merge is not deployment.

Backend itemVerified value
seed/omc/omc.omsha256 bd64bb6f20952818e155328f429ab6cd36bba213e3e00b60d796336f9d0c9343
seed/out/omcsha256 befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d
Prior main compiler at ec07d25d5506d33567adbd4d9b518177b7933badsha256 499236398aabc652e2dae27fe4bdc4c5db3d3726314356e0dbef23e3345803ec
seed/wasm/irwasm.omsha256 8dc7bf602eb882e26a18b9e2dc4cacdd3ad68827215e71874b14c4acb237ccf8

The compiler corrects IR-mode boolean AND/OR/XOR typing: all three previously exited 7 and now compile to bytes identical to the C encoder, accepted by checker2. Boolean arithmetic and shifts remain refused. The om4-built compiler and two self-rebuilds are byte-identical; the full compiler referee/wrong-word-mutant gate ended GATE5 PASS. Retained evidence: evidence/IR-BOOL-20261026/ from merged #786.

seed/wasm/irwasm.om is a seeded Omega backend for scalar OSC IR v1, not an arbitrary foreign-source converter. It writes an import-free WebAssembly MVP module and exports each function under its ASCII IR name. ABI tags bool/u8/u16/u32/i8/i16/i32 map to i32, u64/i64 to i64, void to no result. Internal canonical i64 locals preserve width and signedness; signed overflow, invalid shifts/casts/division, explicit traps and lowered loop guards become wasm runtime traps. Wasm does not expose Omega's numeric trap code. Supported instructions: CONST/MOV/BIN/UN/CMP/CAST/CALL/TRAP/BR/CBR/RET. Limits and exact mappings: OMEGESE.md section 11.1. Versions other than 1, memory/reference/arena/pool/slice tags and operations refuse. The module is buffered so parse/type/capacity refusals have empty stdout.

Host command: nice -n 19 sh seed/wasm/gate-irwasm.sh. Observed on Linux AArch64, Node v24.21.0 used only as a read-only oracle: PASS parity cases=129 units=13 traps=29; every export exercised. The parity checker rejected an add-to-sub IR-byte mutant with exit 1; two translations of every unit were identical, and named refusal exits were pinned with empty stdout. Source-bound full logs/artifacts: evidence/IRWASM-20261026/ from merged #787. Re-exercised at head 0e81d5a6f990000f1dca50f05f0c6050f7cdf9a5 before merge; the backend gate did not run browser integration or GPU qualification.

Existing guide examples were rerun with this compiler: FNV abc emitted 0b e9 47 1a, compile/run exit 0; trap_narrow.om compiled with exit 0 and ran with exit 105. Removing only the unmasked store (negative control) changed the run exit to 44. The historical examples and their old measured evidence below remain intact.

Downstream browser integration is separately merged, not qualified as deployed here: aienos.com #109, merge a6aec5e2628804abd27101ba184d7a319f95774e; #108 closed as superseded. Its existing OM-1 compiler pin 734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61 compiled the same upstream irwasm.om to identical backend bytes 2d235a70c39ac1461a09c41e10e058d962b767ae83893cdcfc693ef6c47182e6. No site compiler pin bump was necessary. irwasm.provenance records the source and build. The site unit om/hive-page/fresh.om accepts clock/timestamps, the caller's stale threshold and fetch status; check.sh uses an ir header and the pinned backend to produce public/wasm/hive-fresh.wasm, sha256 af9e1fb0d9e736949b2aa83c0bf978ac2d98f37428a8507176abaa1dd50b777b.

freshness-js.om emits the loader and explicit JS load-failure fallback. data-fresh-engine="wasm|js" discloses the engine; the four state codes are 0 fresh, 1 stale (strictly past the supplied threshold), 2 backwards timestamp, 3 interrupted fetch. Source-clock trust gating remains separate. Browser-supplied fractional elapsed age is rounded upward only at the integer wasm boundary, preserving a strict comparison against the validated integer threshold. sh om/hive-page/gate-fresh.sh compared ten boundary cases with actual native AArch64 execution and read-only Node wasm execution. Real Chromium poll fixtures exercised all four wasm states, incorrect-MIME arrayBuffer loading, and one-byte module corruption falling back to JS. Corrupting that byte on disk made the x86_64-compatible asset hash test fail with exit 101; original bytes were restored. Historical evidence/fixtures/results remain om/hive-page/fresh-evidence.log and sibling fresh-* files on closed #108, not in the #109 main tree. These were synthetic acceptance feeds, not production telemetry. The helper source and wasm artifact were carried over byte-identically. Production browser verification, deployment and GPU qualification remain NOT_RUN by this guide update.

Current main, OM-2 contract and the 1.0 roadmap (2026-10-26)

omega-mv main 19f014f2178ca9cd3473728fe00a475a2398c409 (merge of #801) changed no compiler file after 3364a1dfd: seed/out/omc and its sidecar are still befb8199...8a1d, the backend pin above. Read only; not rebuilt for this note.

Merged compiler batch: contracts, capacity and f32 returns

Omega main 91b3c9326919faf1491e29ae9276929e8349b8c7 merges #768, including executable contracts #807 and f32 return repair #812. Status: MERGED and EXERCISED on arm64 Linux; not GPU qualification. The batch receipt is evidence/BATCH-189ada82/README.md at that commit. Host qualification with C oracles, gate5, contract checks and mutants, float and capacity boundaries and IR-trap mutants passed. Frozen C2 retains three expected failures from the intentional capacity expansion; manifest-c2-capacity.txt records those three newly accepted units separately. Do not claim the frozen manifest itself passes or rewrite it.

ItemValue
seed/omc/omc.om11,555 lines, sha256 de7f5c8035608c244fb612ed5bf7691ae22d3b64735a5e7122fe9d0c67853d2b
seed/out/omcsha256 189ada82e00bb440cb41351bd252cc68c54a1b1050051cc42a1df700081c3b54
Language textdocs/one_layer/OMEGESE.md section 12, "Executable native contracts, version 1"
Fixturesseed/omc/contracts/contracts.cases (44 rows), mutant.cases (2 mutants, both must FAIL)
Size ledgerseed/omc/size-history.tsv, row RM2-capacity-f32 with that sha256

At that commit the capacity was 4096 functions, 8192 names and 524288 call sites per unit (since 2026-11-11 these three tables have no fixed capacity; the fixed tables OMEGESE 9.6 lists remain, section 11). Native to f32 returns now work: internal void return code 12 is distinct from f32 value type 10 and f64 11. gate8.sh exercises f32 values and rejects void-as-value (7) and f32 fallthrough (18). Consumers must explicitly migrate and qualify their own pins; a main merge does not deploy them.

Compiler batch 3 (merged #904; superseded on main by #923)

omega-mv#904 merged at e2662fffbce1c21ef09da71c0d8808133a6af8ab; that merge carries the same omc.om and seed/out/omc hashes as the tested source below. Tested on 2026-10-28 at 7bce2a4fddc43268ac2af09cddc4a5a67d78312d over main d94a503f7, merges #896 (integer bitcast re-extension), #897 (empty text sized nm_len 0, view count 0; closes the #775 defect above), #898 (function names that start with a keyword) and #903 (pread/pwrite destination writable check) and reseeds seed/out/omc to sha256 1811d4047f118440cc35e995261af6768b606148cb17e18c42158afd15fcad58 (12,577 source lines, 418 functions, size-history row RM-batch3-current). Compiler source SHA-256: d33ef5cab603f85a5cbcbdfdd55391f2ce0448bfcbc5fecbf0393599b636ef04. Status when recorded: HOST_TESTED before merge; merged in source, not deployed. The targeted regression cases, seed/GATE5, OM-2 s1 through s4 and their mutants, current-language quantity cases, diagnostic experiment, bindings/parity, JSON/HTTP, WebAssembly, CPU OpenCL, IR-trap checks and local TLS suites pass. The frozen C2 corpus still fails its six historical assertions; its capacity and batch2 replacement manifests pass. TLS live-internet parity and GPU gates are NOT_RUN. The earlier 397346de receipt remains immutable history in evidence/BATCH-397346de/. At this new pin, the guide's FNV example with abc outputs 0be9471a (exit 0), the narrowing example exits 105, and removing its unmasked store exits 44. All compile with empty stderr. Main has since moved to the x86 integration compiler 62775d2a...712b and then to 2aec185d…d8d5 (section 0); cite 1811d404...ad58 only as the #904 merge pin, never as current main or as x86 qualification.

Re-check recipe (read only, in a fresh clone, never in a shared working tree another agent may be using):

git clone https://interplane.io/projects/omega-mv/repo.git omega-src
git -C omega-src checkout f4df82394e35893dcf1354dda69a2fe028d94bc1
git -C omega-src rev-parse HEAD
sha256sum omega-src/seed/omc/omc.om omega-src/seed/out/omc

If the hashes differ from the table, the rules below are unverified for that tree. Read the changed parts of OMEGESE.md and omc.om first.

Status words used here: implemented (in omc.om at the pin), gated (a committed gate script or fixture checks it), author-verified (the repository records a run; not re-run for this note), proposed (described, not on main). Nothing here is hardware qualification, and nothing here is deployed anywhere.

qty: checked quantities, not modular words

At the current candidate pin, qty is distinct from ulong. Do not silently mix quantity arithmetic with modular words. Save this as qty-overflow.om:

fn main to int
a = qty 18446744073709551615
b = qty 1
c = add a b
ret int 0
end

Use the section 1a compile/run recipe with prog.om replaced by qty-overflow.om. Observed: compile exit 0, empty stderr; run exit 101, empty stdout and stderr. The boundary literal is copied from the pinned tests/quantity/qty_add_overflow.om.

Negative control: change only a = qty 18446744073709551615 to a = qty 0 and ret int 0 to ret int c. Observed: compile exit 0, run exit 1, empty stdout/stderr. The trap is not an unconditional program exit.

For the modular contrast, replace both qty spellings with ulong and return int c. Observed: compile exit 0, run exit 0, empty stdout/stderr: ulong still wraps. Mixed operands are refused, not coerced:

fn main to int
a = qty 1
b = ulong 1
c = add a b
ret int 0
end

Observed: compile exit 7, empty stdout, stderr:

omc: line 4: error 7

check and next: text diagnostics and prefix context

These are leading input lines to the seeded compiler, not command-line flags and not the legacy C omegese next interface. At the current candidate pin:

printf 'check\nfn main to int\nret true\nend\n' | seed/out/omc

Observed stdout (exit 7):

omega-diag v1
om1 TYPE span=19-23 FINAL REPAIRABLE code=7 line=2 expect=value found=true

Observed stderr:

omc: line 3: error 7

Negative control: replace ret true with ret 0. Observed exit 0, empty stderr, stdout exactly omega-diag v1 followed by a newline. Check mode emits diagnostics, not an executable. Its record line is relative to the program after the leading mode line; the ordinary stderr line includes that mode line.

printf 'next\nfn main to int\na = ulong 3\nwhile lt a 9\n' | seed/out/omc

Observed exit 0, empty stderr, stdout:

omega-query v1
scope: function
constructs: ret if while for trap exit put end note break continue
names:
a ulong local
functions:
fn main to int

This is prefix context (scope, constructs, visible names and signatures), not a promise of an exact next-token mask. The unfinished loop above is intentional. Negative control: compare the observed query with a copy whose name line is a ulong param. Observed comparison: unequal (REJECTED), so a local/parameter kind error is detectable.

1. Which language is which

ThingWhereStatus
Omegese, the .om languagedocs/one_layer/OMEGESE.md, sections 1-11 on maincurrent
Profile OM-2 (opt-in per unit)contract spec/omegese-om2.md plus errata E1..E18 (normative, on main since #801); implemented subset in OMEGESE section 9.13current, merged; host evidence only
WebAssembly MVP backend seed/wasm/irwasm.omOMEGESE sections 11.1-11.2; scalar OSC IR v1, plus IR v7 (regions, f32/f64, RLOAD/RSTORE/BITCAST/RINIT) since #818 reached main in train r4 f9a9a40b (2026-11-01). omc IR mode still writes only v1; v7 test units come from seed/wasm/v7/writer.js. seed/equiv/irequiv.om keeps the v1 reader, and seed/equiv/gate-irequiv.sh checks irwasm's reader against it plus the edits recorded in seed/equiv/irwasm-v7.sed (omega-mv #1039)merged; neither gate in any manifest (#790)
Executable contracts (requires, ensures, invariant, result)OMEGESE section 12; section 11a heremerged in #768, including #807; host-exercised
The seeded compiler omc, written in .omseed/omc/omc.om, built seed0 -> hex1 -> asm2 -> om4 -> omc by sh seed/omega-from-seed.shon main since PR #696 (README.md#L27)
Keyword table, the authority for reserved wordsfn kw in seed/omc/omc.om (#L375 at 55f9b0af, #L765 at e5b32567, #L818 and fn kw2 #L1328 at 91c83438); same list in seed/omc/genkw.awk (#L16 at 55f9b0af; #L16-L18 at e5b32567, which adds flock 197 and a second list for peercred, pollfds, sendmsg; #L17-L20 at 91c83438, whose second list adds qty, cpufence, cpurelax), parity checked by seed/omc/gate18.shgated
C translator tools/omegese/omegese.c and omegese nextOMEGESE sections 1-8legacy referee and token-mask tool, not the compiler
spec/omega-language-v0.md (let x: u8 = ..., fn f(x: T) -> T { }, // comments)Visor console line language, lowered by C in src/language/ (#L1-L13)history; never write .om in that syntax
C under src/, including src/compiler/mainunfinished migration (README.md#L50)

OMEGESE sections 2-6 describe the C translator's rules; sections 9-12 describe omc at 91b3c932. Where they disagree, omc is what compiles your program:

Language rule: .om is the only forward first-party implementation language. C, Rust and shell that remain are unfinished migration, not exemptions (README.md#L50).

1a. Compile and run (Linux AArch64 host only)

OMC=omega-src/seed/out/omc                 # after checking its sha256 against section 0
"$OMC" < prog.om > prog 2> prog.err
compile_rc=$?
printf 'compile rc=%s\n' "$compile_rc"
cat prog.err
if [ "$compile_rc" -eq 0 ]; then
    chmod +x prog
    ./prog
    run_rc=$?
    printf 'run rc=%s\n' "$run_rc"
fi

Only compile status 0 permits running the new output. Check the runtime status separately: a program may intentionally return nonzero (modulo 256), and a trap has its own status. Empty compiler stderr alone is not a successful compile. To rebuild the compiler from the seed instead, run sh seed/omega-from-seed.sh from the root of a disposable clone (prints PASS ... lines and RC=0). It writes build/seed/, rewrites the tracked seed/rung4/om4.s size word and seed/rung4/om4.bin (seed/rung4/mk4.sh), and rewrites seed/out/omc and seed/out/omc.sha256 with whatever fixpoint it reached, so check git status and compare the new hash with the pin yourself (omega-from-seed.sh#L52-L60). Full host qualification is sh seed/host/check.sh (author-verified on 2026-10-23 per seed/host/README.md); a host pass is never hardware qualification.

2. Program shape

note any text to the end of the line
const LIMIT ulong 64
global buf uchar 4096
text msg "hello\n"
struct Pair a uint b long end
fn helper x ulong y ulong to ulong
ret add x y
end
fn main to int
ret 0
end

3. Values: prefix words, fixed arity

Every operator is a prefix word with a fixed number of values, so nesting needs no brackets: add mul r r 4 = (r*r)+4; eq rem n 2 0 = (n mod 2)=0 (#L73-L75). Evaluation is innermost first, left to right (#L137-L141).

WordsTakesResult
add sub mul div rem and or xor shl shr2same type as operands
eq ne lt le gt ge2bool
neg not1negate / bool not or bitwise not
TYPE v1typed number (uint 5) or checked conversion (ulong x)
bitcast TYPE v2same-width reinterpretation (section 5)
get A i, get S f, get S f i2-3load from array / struct field
len A1array length, ulong
sizeof T, offsetof S f1-2compile-time ulong (#L591-L599)
FUNCTION argsits parameter countcall
( v )1grouping only; adds no code (#L583-L588)

There are no infix operators. + - * / are not keywords (they are absent from the keyword table); OMEGESE 9.9 (#L564) writes "+ - * /" but its own float fixtures use add sub mul div (seed/omc/tests/float/arith.om). Write the words. Observed at e5b32567: y = x + 1 is error 5 (examples/mistake_infix.om).

and / or evaluate both sides; there is no short circuit (#L104). and lt i len a eq get a i 0 still loads a[i] when i is out of range and traps 3. Test the bound in an outer if, then load inside it.

4. Types, literals, typing

5. Arithmetic, conversions and traps

From OMEGESE 9.3 (#L429-L447), gate fixtures in seed/rung4/tests/t_*.om with expected statuses in the matching .want files:

BehaviourResultFixture
Unsigned add sub mul shl neg notwrap mod 2^widthgate 3
Signed add sub mul neg div shl out of range (incl. MIN div -1)trap 1, exit 101t_ovf.om -> 101
div / rem by zerotrap 2, exit 102t_div0.om -> 102
Array index or I/O slice out of bounds (also a negative signed index)trap 3, exit 103t_bounds.om, t_rw.om, t_write_wrap.om -> 103
Loop past its boundtrap 4, exit 104t_loop.om -> 104
Conversion whose value does not fit the new typetrap 5, exit 105t_conv.om, t_conv_sign.om -> 105
Call or local array below the 8 MiB stacktrap 6, exit 106t_stack.om -> 106
Shift amount outside 0..width-1 (every type)trap 7, exit 107gate 4 s.5
trap N, N 1..14exit 100+Nseed/omc/tests/loop/t1.om -> 105

Signed div rounds toward zero; signed rem has the dividend's sign; signed shr keeps the sign. Comparisons follow the operand type: with ulong x = 2^64-1 and y = 1, lt x y is false (t_cmp_unsigned.om -> 0). Floats never trap: IEEE results, NaN compares false except ne (#L564-L567).

Conversions are checked, not truncating. uchar x with x = 300 traps 5. Mask first: uchar and x 255 (see examples/trap_narrow.om). long x with x = 2^63 as ulong traps 5.

bitcast T v reinterprets bits of the same width; bool and different widths are error 7, a bare number is error 11 (omc.om#L4640-L4662). Every fixture uses it between floats and unsigned integers. The code also accepts integer-to-integer of equal width. At omc 2c824805 results across signedness below 64 bits were wrong (section 0). At omc 62775d2a the two measured 32-bit pairs are correct; narrower pairs and f32 to int were not retested. Do not bitcast an unmeasured pair; decode signed values arithmetically (section 10).

Float to integer conversion is the exception to "checked": it truncates toward zero and saturates at the target's limits, and a NaN gives 0, with no trap (observed at e5b32567, examples/float_to_int.om).

6. Names, scope, registers

7. Arrays, globals, structs

From OMEGESE 9.4 and 9.7 (#L449-L474, #L494-L516):

8. Loops and bounds

From OMEGESE section 3 and 4 (#L58-L60, #L131-L135) and omc.om#L5493-L5494; the bound ranges below are those of the pin 3a163bc5, and the cited lines are unchanged at the pin 9920aab1 (the omc.om ones moved down 10 lines) (OMEGESE #L63-L69, #L140-L149; s_while omc.om#L8853-L8854, sf_num #L8912-L8915, ir_bound #L13162-L13163):

Critical source profile seed/profile (omega-mv #1063, DRA-419; on Radicle omega-mv main: b27482f4 is an ancestor of a59a425b)

seed/profile/profile.om is a seeded-Omega, token-level checker that adapts Holzmann's Power of Ten to .om units. It is stricter than omc, which compiles every B1/B2/B3 refusal fixture. Run it from the omega-mv root, because it reads host words from seed/effects/effects.om: profile [bounds] [SOURCE ...]. The sources are concatenated, and stdin is used when no source is given. It prints one token:

ExitOutputMeaning
0PROFILE-PASSthe unit passes
1PROFILE-REFUSED:<rule>:<line>a rule was violated
2usage error
3PROFILE-INVALIDthe unit exceeds a capacity
4I/O error

Capacities are 65535 bytes, 4095 lines, 16383 tokens, 63-byte tokens and 128 functions. The rules:

bounds mode skips E1 and X1. The seeded driver seed/profile/check.om (it replaced check.sh at #1063 head b27482f4; build it with the pinned compiler and run it from the omega-mv root: mkdir -p build/seed && seed/out/omc < seed/profile/check.om > build/seed/profile-check && chmod +x build/seed/profile-check && build/seed/profile-check) runs these checks and prints PROFILE CHECK PASS (exit 0), PROFILE CHECK FAIL failed=N (exit 1) or NOT_RUN … (exit 3, wrong or missing omc):

Rechecked 2026-11-10 on Radicle omega-mv main a59a425b (omc 6d1b1cf5…, Linux AArch64): check.om printed PROFILE CHECK FAIL failed=3 (exit 1). The 53 profile cases, the 11 killed mutants with 11 controls, the authority unit profile, all seven authority gates (each exit 0) and both pre-fix controls passed; the three failures are freshness checks, dispatch-gate.om, dispatch-order-gate.om and dispatch-fault-gate.om "is stale against" their seed/authority sources. Until omega-mv regenerates those gates, a FAIL from check.om at main is not by itself a profile defect: read its FAIL lines. The profile itself still gives PROFILE-PASS on examples/p10_profile.om.

The om-profile-arm64 workflow builds and runs check.om weekly and on PRs. The fixes that this profile forced add the following codes:

CodeWhereMeaning
43lacqmore than 1000 tries requested
40ltrythe owner pid could not be read: lerr is 32 (open), 33 (close) or 34 (short read). Before the fix, a live pid 32 was misread as an error.
76dispatchreconcile refused
77dispatchpost-effect record write failed
78dispatchrelease failed
79dispatchactlost failed after a generation change

What the profile does not do:

Example: examples/p10_profile.om passes both omc and the profile. On 2026-11-07, at omega-mv #1063 heads 7ae0a1df (profile sha256 98c95aff…e613), 795f5d0d (f4d730cb…1671), e6974c5d (2d19340a…f5f7) and b27482f4 (2d19340a…f5f7, PROFILE-PASS on the example), its mutants were refused:

MutantOutput
bound removedPROFILE-REFUSED:B1:15
effect note removedPROFILE-REFUSED:X1:23
result overwrittenPROFILE-REFUSED:E1:34

Its output, 285, was checked with Wolfram: Sum[k^2,{k,0,9}] -> 285. Rerun 2026-11-07 on Linux AArch64 with this example added: bash examples/gate.sh against omc 3ad9f10f…3194 (omega-mv f4df8239, the pin of gate.sh) printed `GATE PASS examples=111 pass=111 fail=0, exit 0. The profile runs used omega-mv 943d9555omc5f90edea…f6df (OMC_PIN` at that main). At b27482f4 the same gate printed the same line, and build/seed/profile-check printed PROFILE CHECK PASS, exit 0.

Compiler limits checked at main bf54b19fa (2026-10-29; rechecked at 91c83438d on 2026-10-31)

Checked with main's seed/out/omc (sha256 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b) and seed/rung4/om4.bin (d0da40e4…19efab) on the Linux AArch64 host; facts 2, 3, 5 and 6 were also reproduced with the omega MCP run tool (pin e5b32567, compiler 2c824805…029f). Host evidence only. The first six facts (value slots through x86 target) were rerun on 2026-10-31 with main 91c83438d's omc 2aec185d…d8d5 and with the previous main omc 7a8b84fc… (#970): the same exit codes and diagnostics with both. The om4 cap was rechecked as stated in its entry; the 4096 cap on user programs was not rerun. Float literals longer than about 1000000 characters are a separate, fixed limit (section 4).

9. Host I/O: counts, errors, evidence

Base words (#L476-L486): read fd A off n, write fd A off n, pread/pwrite fd A off n pos. Native host words (#L624-L747): files, directories, clocks, sockets, poll, processes, arguments, environment, random.

Scheduler words 236..240: omega-mv ham/om-threads-4 (head f8c8c7dc, omc 0ed21175…), merged on main as 9581eff5 (2026-11-10); in the example-gate pin c106bae0. cpuset pid A off n (236, sched_setaffinity, AArch64 122 / x86linux 203; checked byte-mask slice; long 0 or minus errno, an empty mask -22), cpuget pid A off n (237, sched_getaffinity 123 / 204; long bytes copied), cpunow (238, getcpu 168 / 309; long CPU number), setprio which who prio (239, setpriority 140 / 141; long 0 or minus errno; Linux privilege checks remain) and getprio which who (240, getpriority 141 / 140; the raw kernel value 20 minus nice). Program-only: function mode error 9, contracts 30, x86efi 25. Gate: seed/host/affinity/sched.cases (19 cases, one-core and nice-19 pools included). Contract: spec/omegese-cpu-workers.md. Host evidence only; x86linux rows run under qemu-x86_64.

cpufence / cpurelax: merged in omega-mv#946 as d94617177; in the current pin d3d1b1bc / omc b4f45121 (since 91c83438). Rechecked 2026-10-31 at omega-mv main 91c83438daec0bdb88bf5c077cae10f3d15d365d (omc sha256 2aec185d4ed6d7a6a5779ed656b4e56904742bde5551b02893fb5f73916ad8d5). These are operand-free statements. cpufence (keyword 199) is a full host CPU barrier, AArch64 DSB SY and x86-64 MFENCE. cpurelax (200) is a spin-wait hint with no ordering, YIELD and PAUSE. Unlike every other host word they compile in function mode too. An operand gives error 5, use as a value or at top level gives error 16, use as a name gives error 5, after ret gives error 17, and IR mode gives error 16. seed/host/cpufence.sh proves this: a fixture that exits 42 natively and under qemu-x86_64, objdump instruction deltas, and a nop-fence mutant that is caught. These are host results only. An omc older than d94617177 (its parent's omc is 62775d2a…) does not know either word: the fixture fails with error 4 (a bare cpufence line read as a name waiting for =) and cpurelax 1 is error 11, so check the pin before writing them. Keyword ids: #946 landed with ids 199/200. Draft omega-mv#878 (vfioctl/vfiomap, with #890 stacked on it) is still open, PENDING, and must take ids that do not collide; recheck fn kw in seed/omc/omc.om at the pin before quoting any id.

pread/pwrite writability (landed via omega-mv#904, e2662fff). At omega-mv main bf54b19f (omc sha256 62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b), pwrite only reads its array, so it accepts a text or a view; pread writes its array, so pread into a text or an unsized view is error 20, as for read. Observed 2026-10-30 on the AArch64 host with main seed/out/omc (omc < file): seed/omc/om2/s4/v-bad-pread-text.om gives omc: line 5: error 20 (rc 20); seed/omc/om2/s4/v-pwrite-text.om compiles (rc 0) and runs with exit 0, writing ABC\n to stdout. Host evidence only.

Historical note: up to omc 2c824805… (omega-mv e5b32567; the installed omega MCP server still reported it on 2026-11-11) the check sat on the wrong word: pwrite from a text was error 20 and pread into a text compiled and returned -EFAULT at run time. Code written for that pin copied a text into a new array before pwrite.

x86efi firmware boundary word efi, OP 11 boot-file word (in the pin: omega-mv d3d1b1bc / omc b4f45121…, merged via omega-mv#1015; the previous pin 9920aab1 / omc be8c5130… refuses target x86efi with error 25). Read omega-mv docs/X86-EFI.md for the full word. Under target x86efi it is r = efi OP ARG A OFF N: OP a literal 0..13 (14 is error 25), ulong result, bit 63 set means an error with its code in the low bits. OPs 0..10: info, key, stall, gop blt, time, rng, recv, tx, net up, pointer, clock; 12 general file, 13 console. OP 11 is the boot-file word of the firmware Allen's self-install contract (first proposed in draft omega-mv#981): ARG bits 0..7 = sub-op, bits 8..15 = volume index k. Sub 0 counts the Simple-File-System volumes and finds the one this image was loaded from, result count | index << 8. Sub 1 reads \EFI\BOOT\BOOTX64.EFI from volume k into A[OFF..OFF+N) and returns the byte count. Sub 2 writes A's N bytes as that file (the merged code deletes it first, unlike #981's "must already exist") and returns the bytes written. File and root handles close on every path (source notes above fn xefile in seed/omc/omc.om at d3d1b1bc; quote error codes from that source, not from #981). omega-mv's own table marks OP 11 "shipped, NOT_RUN" at d3d1b1bc (only OPs 12 and 13 are EXERCISED, EMULATED under QEMU q35 + OVMF); physical hardware NOT_RUN. Observed 2026-11-04 with the pinned omc b4f45121…: efi 11 0 a 0 0 under target x86efi compiles (exit 0, MZ image) and the same unit with efi 14 is omc: line 4: error 25; the previous pin's omc be8c5130… gives line 1: error 25.

peername: bounded peer address of an existing descriptor (merged in omega-mv#918 as 2d848d939, committed omc 38748442…; in the current pin d3d1b1bc / omc b4f45121, since 3a163bc5 / omc 24caacf4). peername fd A off n is host word 224, program mode only. It writes the connected peer's address into A[off, off+n) through AArch64 getpeername 205 (not getsockname 204) or x86-64 getpeername 52 (not 51), with the same slice and private 32-bit length convention as sockname. Zero capacity is allowed, at the array end too, and returns the full length. The result is the full address length (above n means truncated) or a negative errno. An invalid slice traps 3; a read-only buffer (a view or text) is error 20. It creates and connects no descriptor; the caller owns the descriptor's lifetime. The peer is the transport endpoint, not an authenticated user; forwarding headers gain no authority from it. Observed 2026-10-31 (host only) with seed/host/tests/peername.om at 3a163bc5e: omc 24caacf4… compiles it and the run prints PASS native peername: accepted peer, truncation, empty slices, errno and bounds, exit 0; its mutant arguments 1, 2 and 3 each exit 103; prefixed with target x86linux it gives the same PASS line and exits under qemu-x86_64 8.2.2 (EMULATED, not native x86). The earlier pin 2aec185d… gives omc: line 24: error 3 for that file, and compiles peername = int 1 as a name (at 24caacf4 that is omc: line 2: error 16). Rerun 2026-10-31 at 9920aab14 with omc be8c5130… (host only): the same PASS line with exit 0, mutant arguments 1, 2 and 3 each exit 103, the target x86linux build gives the same PASS line with exit 0 under qemu-x86_64 8.2.2 (EMULATED), and peername = int 1 as a one-line unit is omc: line 1: error 16. This supersedes the pending candidate notes of harness draft #108 (candidate omc 4ef67f18/6a2916cd).

**execenv (omega-mv#1074, merged on Radicle main 6efc4572 2026-11-07, omc cfd96b48…; the language-reference omc 3ad9f10f… refuses it with error 3).** r = execenv A off n B off m (keyword 233) is execprog A off n with a private environment: the child's environment is exactly packet B, packed like argv (u16 count 1..64, nonempty u16-length NAME=VALUE records, 2..4096 bytes, no zero byte, no trailing bytes). Both packets are checked (trap 3, exit 103) before descriptors 3 and up close; it returns only on failure, with a negative errno; function mode is error 9 and a contract is error 30; AArch64 and x86linux. examples/execenv.om re-executes /proc/self/exe with the one record GREETING=hi while the parent runs with FOO=bar; the child prints only GREETING=hi (gate GATE PASS examples=111 at cfd96b48).

execpure and descriptor closing in execprog (merged in omega-mv#970 as 1db941627; in the current pin d3d1b1bc / omc b4f45121; observed below with the then pin 91c83438 / omc 2aec185d). execpure A off n is host word 198 (AArch64 only; target x86linux is error 25): it decodes the packet as execprog does, pins the executable as descriptor 3, applies a fixed strict stdio profile (Landlock execute/read beneath that file, no-new-privs, seven prlimit64 ceilings, a seccomp filter allowing only read on 0, write on 1 and 2, exit, exit_group and execveat on 3) and calls execveat(AT_EMPTY_PATH). It returns only on failure, with the first failing step's negative errno, and has no weaker fallback. execprog also changes: it now closes every descriptor at or above 3 with close_range(3, UINT_MAX, CLOSE_RANGE_UNSHARE) before exec, so a child no longer inherits them. Observed 2026-10-31 with omc 2aec185d (host only): the seed/qualification/security673/pure-launch.om fixture launching a static omc program that exits 7 gave exit 7; launching /nonexistent/x printed PURE_LAUNCH_REFUSED and exited 2 (ENOENT); a child that reads descriptor 3 got EPERM (exit 1) under execpure, and EBADF (exit 9) under execprog with the parent's descriptor 3 open. The omc of 1db941627^ (0243e4aff, sha256 1578b357…) refuses execpure with error 3, and its execprog child read the inherited descriptor 3 (exit 50). Older pins, including the omc 2c824805… (the installed MCP server's compiler, observed 2026-11-11), lack both; the language-reference omc 3ad9f10f… and the example-gate f4fa7951… have both.

9a. GPU kernels written in .om (GB10 sm_121, raw driver)

Observed 2026-11-02 to 2026-11-04 while building the Omega LLM GPU training path in aien-dev/aien-train #56 (head 4e0039070cce87802654a74b869288159ce94f5d; merged e186ea29): rungs 4 and 5 at d6ff5f5, geval and the Kahan CE sum at 154fd8c, kernel round k1 (one-warp softmax, split-K weight gradients, gprof) at ed2e1925d7a838995582131196b60cbfda1b666b, k2 (64×64 GEMM tile) at ea0f078ed8bec21f9a50cccaf85a7cba11bc3a34, k3 (warp-per-row RMS norm) at 1d241c38d213c8921d24ab970c7260aaf93c5a36, k4 (warp-per-row cross-entropy) at 9a5225a4bbc4df0ee19d4cc416ebe72db5c518b0, k5 (causal attention GEMMs) at f84a657246e80686302f534017540fee68e85171, k6 (causal predicated softmax loads and stores) at 8dff0ba1d249583c1a9f00e6f47b2dc3d80c3c9a (evidence crumb af29657423dc548a40a9e685484cf95a1ccc0e7e, README fix 099fa9e68e94516404486c2c3ef27956149e249b), k7 (FFMA operand reuse plus an accumulator remap) at d3d4551d2c3726e3927c9cf0a95b8091e11919f7, k7b (remap removed) at 574e78afaa80976538c8f08cf1a2ddbf8e5a36c2, k8 (pipelined 64×64 GEMM, per-kernel shared-memory TARGET, GPR guard) at c05b89f7e08ea8d2c3717a500fc3e17af8e30a9d, k9 (ReLU fused into the FFN GEMM epilogues) at 1575dc866bb556c8b6b605044e5bd43d17c3f2a0, rung 6 (30000 steps, evidence 0d744749465cf31c5220ac0eaad26462a993b0e4); rung 7 (v2 shape D 384, F 1536, #57, head 43f374a6042769a3d853d9b953dbe4d86348b01b) at b312942460bc81ef590a92fde8f23a298e119916 (files native/omegallm/gpu/gk.om, gr.om, gg.om), the BF16 path (#58, head cb556468380944f4aa1a9a5da389f4ad193f4154) at a82fc1a11f01031162fd305e9ce6158afb760eb6 (adds gb.om), rung 8 (60000-step schedule, #59, head 7baaf8b4bda00a4394f1f094aece5ce7b3b6ed5c, evidence only) at 2d19e6fec5b12930e17d6ad6ddbb038263732c5b, v3 (L ≤ 16, banked storage, #60, head b92c96b627f33beadd69dc2d8f70833e973a377f), rung 9 (first long BF16 run, #61, head fcf6cdedec3024806a82f40e977c1d1389d684a4, evidence only) at 687bbcb82aa0bf03e9d3fa71447ce544909f642c, and rung 10 (BF16 on the 60000-step schedule, #62, head 3ed47a0503f15cdff38ad911eeddb13cf13b4c32, evidence only) at 6929722a36023f0c807d8b05945e845bbe88534e; every cited commit is an ancestor of its PR head. All merged on aien-train main (checked with gh pr view 2026-11-04): #56 e186ea29, #57 16e9932e, #58 4461e3fa, #59 24d21497, #60 a9c720db, #61 930ae21c, #62 56cc8870 (main head). The best trained model is rung 10's BF16 v2 checkpoint (P 15,833,472, T 256, held-out `E 60000 2243 1204466). The Omega LLM is the planned model for :18091` (Linear P-DRA-7), not served yet: its only inference path is the CPU command ollm sample, and no HTTP server exists. Compiled with omc 2c824805… (omega-mv e5b32567). The device words come from the vendored CUDApp context.om/vector.om/launch.om (dcba8bb8). Status EXERCISED on one GB10, non-quiet windows; not QUALIFIED. These are pin-specific facts, not rules of the language.

10. Wire serialization (only what the pin defines)

11. Compiler errors (exit code = error number, stderr omc: line N: error K)

The single source of the codes on main 91c83438d (#965) is the registry seed/omc/error-codes.reg (issue #797). seed/omc/gate15.sh (#L1-L9, cases #L45-L72) holds one minimal program per code (at 91c83438 codes 1..25 and 27..30, when 26 had no emitting site; observed 2026-11-13 at 2ee0a70d, codes 1..30, with 26 the malformed OMC_MEMORY_MAX case), each checked for its exact exit code and omc: line L: error C line, and runs seed/omc/codereg.om, which fails when an emitting site in omc.om has no registry row, an emitted row has no site, the table in OMEGESE section 9.14 (#L811-L855) differs from the registry, or a case did not refuse as listed. irwasm exit codes 20..28 are a separate namespace in the same registry (OMEGESE section 11.1). The message format is fn fail (omc.om#L122-L148 at 55f9b0af; omc.om#L292-L322 at e5b32567; omc.om#L324-L356 at 91c83438, fn fail on the first line and exit int code on the last; at e5b32567 that was the only non-zero exit in the compiler, and at 91c83438 and 2ee0a70d there is one other, exit int 2 in fn mflush, a failed write of buffered output).

CodeMeaningCodeMeaning
1, 2compiler input / output (stdin a directory: 1; stdout /dev/full: 2; both observed)13name over 63 bytes (IR-mode names, abstract/layout names and layout fields: over 8)
3unknown name or field14capacity: the host refused to grow the compiler's arena or the caller's memory ceiling OMC_MEMORY_MAX was reached (observed at omega-mv 2ee0a70d, OMEGESE 9.6; the refusal is followed on stderr by an omc-use record saying what held the arena; at omc c52e986e…, 2026-11-11, the arena was a fixed 128 MiB), a value nested deeper than 32768 (error 14 on the value's own line; no record unless the unit's first line is usage), or AArch64 output past 134217728 bytes. History: omc f4fa7951… (omega-mv b2ad967e, bisected 2026-11-11) had fixed tables of 8192 names (texts and globals share it; omc: line 8193: error 14), 8192 trap sites per function (one per call; omc: line 8196: error 14) and a 262144-byte code budget per om2 function (6552 calls with one unsized view argument compiled, 6553 did not); at 91b3c932: 8192 names, 4096 functions, 512 nested blocks, 1024 nesting depth, 8 MiB input/output
4line ends too early15missing end
5extra words on the line16syntax / unknown word
6malformed number17line after ret/break/continue/trap/exit
7type mismatch18missing ret
8number out of range19global passed, or the same array twice in one call
9word in a disallowed place20write to a view or text
10duplicate name21constant index out of range
11ambiguous bare number22bad text literal
12register pool exhausted23size capacity
24AArch64 branch displacement out of range28abstract type: seal outside its constructor, or an unsupported holds
25unknown target, an AArch64-only path on another target, or an x86efi refusal (omega-mv#1015: bare unit, Linux host word, efi OP literal outside 0..13, 0..14 with #1022); under target a64efi the same refusals and a run-time pool29external layout out of bounds or misplaced
26the compiler's environment entry OMC_MEMORY_MAX is malformed (refused before the input is read, line 0; observed at 2ee0a70d, no emitting site before the run-time pools)30contract syntax misplaced or not supported here (IR mode included)
27fresh element read before it is definitely written, or a fresh array passed on

A refused compile may still leave bytes on stdout. Never run output from a non-zero compile. Capacity boundaries are gated in seed/omc/gate12.sh. At 91c83438 it required 8193 globals, and 4096 helper functions plus main, to be refused with error 14. Observed 2026-11-13 at 2ee0a70d: it requires both units to compile, and both do (exit 0); what it still refuses is the host's refusal of arena growth, a value nested 32768 deep and the program's own pool limits (error 23).

OM-2 units add or extend codes (OMEGESE 9.13, spec/omegese-om2.md section 8): 27 initialization (fresh), 28 constructor discipline (seal, holds), 29 external layout; 14 also covers expansion fuel (obligation=growth) and a 33rd export; 24 keeps its OM-1 meaning (branch displacement). Merged contracts (#807 through #768) add error 30, diagnostic obligation=contract (section 11a).

IR mode refuses contract clause lines with error 30 (main 91c83438d, #965, #791; OMEGESE section 11 #L1097-L1102). Contracts are native only; an IR unit that writes one is refused rather than misread. Only the clause form is refused: a contract word followed by = (ensures = ulong 1) still assigns a local of that name. Observed 2026-10-31 with omc 2aec185d…, control omc 7a8b84fc… (main before #965): ir / fn f x uint to uint / requires lt x 10 / ret x / end is omc: line 3: error 30, exit 30 (control: exit 0, 59 bytes of IR, the clause read as a local named requires); the same with ensures lt x 10: error 30 (control: exit 0, 59 bytes); with invariant lt x 10: error 30 (control: omc: line 3: error 13, a 9-byte name). ensures = ulong 1 / ret ensures compiles with exit 0 to the same 55 bytes of IR under both compilers. Native units are unaffected: with 2aec185d, as with 7a8b84fc, an OM-1 unit (no om2 first line) with requires ge x 0, called with -5, still compiles and exits 6 (the contract is not checked), and the same unit with om2 first exits 109 (trap 9).

Limits met while porting CUDApp's encoder and cubin writer (aien-dev/CUDApp#143, merged 2fab72fde0), rechecked with omega-mv main bf54b19f (seed/out/omc sha256 62775d2a...): an array parameter of length 16777216 compiles and 16777217 is error 23, so one .om buffer holds at most 16 MiB of uchar; text inside a function-mode unit is error 9 (both OBSERVED, identical on omc 2c824805). AUTHOR-CLAIMED, not rechecked: global inside a function-mode unit is error 9, and omega-bridge 431fff0a native c exits 110 when an entry's array length is written as a const name (write the literal in the entry signature).

One minimal refusal per code is in examples/errNN_*.om of this repository, with its exact stderr line in errNN_*.expect, and examples/gate.sh runs them: codes 1..23 and 27..30, observed at e5b32567, plus code 25 (err25_target, added 2026-10-31 at 91c83438). Code 24 needs a generated program of more than 1 MiB inside one loop (recipe in writing-omega section 11; observed at e5b32567 and rerun at 91c83438, section 0). 25 and 26 were unused at e5b32567; since bf54b19f the target checks emit 25 (section 0, rerun at 91c83438).

11a. Executable contracts (merged #807 through #768)

Source: OMEGESE section 12 and seed/omc/contracts/ at main 91b3c9326919faf1491e29ae9276929e8349b8c7, compiler 189ada82...3b54 (section 0). The committed fixtures below were exercised by the batch host qualification: evidence/BATCH-189ada82/qualification.log records all 44 contract cases and the two mutants. Older compiler befb8199 does not implement these contextual contract words.

seed/omc/contracts/ok.om (expected exit 0):

om2
fn step x uint to uint
requires lt x 10
ensures eq result add x 1
ret add x 1
end
fn main to int
i = uint 0
while lt i 3
invariant le i 3
i = step i
end
ret int sub i 3
end

seed/omc/contracts/requires.om (expected exit 109; the precondition fails on entry):

om2 debug
fn f x int to int
requires gt x 0
ret x
end
fn main to int
ret f 0
end

seed/omc/contracts/release.om (expected exit 0, and byte-identical to erased.om, which is the same program without the three contract lines and with om2 in place of om2 release):

om2 release
fn f x int to int
requires gt x 0
ensures eq result add x 1
ret x
end
fn main to int
while false
invariant false
end
ret f 0
end

Refusals pinned by contracts.cases: a user call, host word, float (also through a float constant or float array), misplaced clause, late invariant, result in a requires or in a void function are error 30; a non-bool predicate is 7; a name declared later in the body is 3; reading an unwritten fresh element is 27. The cases run through the existing OM-2 conductor seed/qualification/om2/gate.om. mutant.cases builds two broken compilers: one with enforcement disabled (requires.om must still exit 109) and one whose prover treats any constant predicate as proved (false.om, requires false, must exit 109). Both run to exit 0, so the suite must end OM2GATE FAIL cases=2 pass=0 fail=2 invalid=0 not_run=0 (conductor exit 1), which seed/host/check.sh requires with the exact VERDICT lines. A passing mutant suite would mean the check proves nothing.

11b. Composed units and traps that compile

Omega has no imports: a multi-file program is its units concatenated into one input (cat a.om b.om main.om | omc). These rules bite there, and several compile without a word. Observed 2026-11-04, Linux AArch64 host only, with the pinned omc be8c5130… (omega-mv 9920aab1); the first three are gated as examples/pitfall_*.om in this skill. Source citations are seed/omc/omc.om at 9920aab1.

12. Before any claim

  1. Inspect the compiler, not memory. Find the rule in omc.om or a gate fixture at the pinned commit and cite file and line. Skills, older notes and this file can be stale.
  2. Compile with the pinned omc and run. Report what was observed, labelled host-only.
  3. Add a negative control: change an expected value or remove a guard and confirm the exit status changes.
  4. No silent fallback. If omc cannot express something, do not write it in C, Rust, shell or Python and call the result Omega. Say exactly which word or capacity is missing.
  5. Missing is not impossible, and it is not a stopping point. Drake's standing rule (2026-10-26): "If .om doesn't have a feature, you need to make that feature." Build it in Omega and land it on omega-mv main (https://interplane.io/projects/omega-mv/repo.git) with a receipt (omega-harness section 6), coordinated with whoever owns the compiler lane at the time. The change names the hardware or OS need, the word and its types, refusal codes and a new error code if one is needed, gates with a negative control, parity against an independent oracle, and the matching update to this skill. Host code is a last resort only. When it is used, record it with its Omega successor and the omega-mv change that will replace it. Known decision-blocked gaps still need Drake's decision before they are built (roadmap RM4 heap, RM6 imports; frozen GitHub history: omega-mv#793, #795). They are listed at 55f9b0af (OM_COMPLETION.md#L62-L72), unchanged at main bf54b19f (#L65-L73): packed structs (FR-2), imports (FR-3, units concatenate), threads/atomics (FR-6), C ABI/shared objects (FR-7), heap (decision 24). x86-64 (FR-9) is no longer missing: since main bf54b19f (#923, 2026-10-28) target x86linux selects an x86-64 Linux static-ELF backend in seed/omc/omc.om. Its status there is DRAFT, x86 execution is EMULATED (QEMU) only and native x86 qualification is NOT_RUN (docs/X86-LINUX.md lines 3 and 286).
  6. Documents can disagree with the code; trust the code and name the conflict. At main 91c83438d (rechecked 2026-10-31) the earlier conflicts are resolved: OM_COMPLETION FR-5 (#L68) lists devctl devcall uvmctl mapnew ... mapbind (ids 166..177 in seed/omc/genkw.awk) as implemented for AArch64 program mode (omega-mv #944, merged by train r5 #985 as 613765d2b; it said "absent" through 4376c2112), and seed/host/MAPPING.md (#L68-L70) says the device words are on main (train r2 #972, f5c9bd89a). GPU launch and model execution through them are not qualified. The FR-9 row (#L72) and docs/X86-LINUX.md line 450 now cite the same EMULATED differential at 62d1d0d6 (15182 PASS, 0 FAIL, 2 NOT_RUN, 222 EXCLUDED, aggregate FAIL); native x86 stays NOT_RUN.
  7. devctl request set at the pin (unchanged at omega-mv main d3d1b1bc7, rechecked 2026-11-04 in hdevctl, seed/omc/omc.om): FIONREAD (21531) and encoded read/write NVRM 'F' requests only; any DRM request is error 9. PENDING, not merged: aien-dev/omega-mv#899 (head 15fb0b88, open, its body says draft pending review, conflicting with main on 2026-11-04) adds an explicit list of eleven accel/ethosu requests (the ten DRM_IOCTL_ETHOSU_* of Linux v7.3 plus DRM_IOCTL_GEM_CLOSE), with the exact-size check unchanged. Until it merges and the pin moves, code that issues those requests needs that branch's omc and must say so.

13. Examples

Each carries .expect (and fnv1a32 also .stdin abc and the 4 expected bytes in .stdout) and runs in examples/gate.sh with the programs in the repository's examples/ directory:

examples/gate.sh reruns 132 programs: 127 in examples/ and 5 in skills/*/examples/.

The gate runs only under the pinned compiler (section 0); the observations below keep their own dates and compiler hashes. The portable guide for writing a first program is skills/writing-omega/SKILL.md.

Observed on 2026-10-25, Linux AArch64 host only, compiler sha256 734f0a39...6b61:

CheckObserved
fnv1a32.om compileexit 0, empty stderr
input abc, a, empty, 65535 zero bytes0be9471a, 2c290ce4, c59d1c81, 47dac371; each exit 0 and equal to an independent Python FNV-1a computation
65536 zero bytesexit 2, no output
prime changed to 16777617 (negative control)abc gives 55bedcf5, differing from the expected hash
trap_narrow.omcompile exit 0, run exit 105
unmasked line removedrun exit 44
refusal belowcompile exit 7, stderr omc: line 3: error 7

Refusal to try inline (expected exit 7, the same class as gate15 e7_type_mismatch):

global b uchar 1
fn main to int
x = add get b 0 uint 1
ret int x
end