From 88ca85c5561ddf120a1eb6030996342b551a5e78 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Sun, 1 Nov 2026 09:37:23 -0600 Subject: [PATCH 1/8] Route aien-train to the pending Omega LLM v0 draft (aien-train#53) --- skills/aien-repositories/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skills/aien-repositories/SKILL.md b/skills/aien-repositories/SKILL.md index 9151cc9..e3ce441 100644 --- a/skills/aien-repositories/SKILL.md +++ b/skills/aien-repositories/SKILL.md @@ -101,7 +101,7 @@ prerequisites; the document grants no physical or live-service authority. - [allen](https://github.com/aien-dev/allen): persistent-subject programme, identity/continuity contracts and acceptance work. Do not identify Allen with an interchangeable model or claim planned subject capabilities already run. - [aegis-runtime-mv](https://github.com/aien-dev/aegis-runtime-mv): agent gateway, heartbeat/task workflow and storage attachment. It is not all of the AEGIS verification doctrine. - [spark-rsi-mv](https://github.com/aien-dev/spark-rsi-mv): evaluation/promotion and cryptographic-ledger attachment, not proof of autonomous improvement merely because an experiment proposes a better candidate. -- [aien-train](https://github.com/aien-dev/aien-train): training programme and research route toward training on Omega. Its [current instructions](https://github.com/aien-dev/aien-train/blob/main/AGENTS.md) explicitly describe plans and empty output directories, not a working training engine. +- [aien-train](https://github.com/aien-dev/aien-train): training programme and research route toward training on Omega. On main (`af34d5ba`) its [current instructions](https://github.com/aien-dev/aien-train/blob/main/AGENTS.md) describe plans and empty output directories, not a working training engine. Pending, not merged: draft [PR #53](https://github.com/aien-dev/aien-train/pull/53) (issue #52) adds an Omega LLM v0 proof of concept: a 119104-parameter byte-level transformer whose forward, backward, Adam, checkpoints, eval and sampling are `.om` built with omc at omega-mv `e5b32567`, CPU only, with receipts under `evidence/OMEGALLM/` and a Python-stdlib referee used only as an oracle. Treat it as IMPLEMENTED/EXERCISED on GB10 host CPU in that branch, not as merged, qualified or a general training engine, and check the PR state before citing it. - [aien-math](https://github.com/aien-dev/aien-math) (private): a Wolfram Language replacement written in `.om`, checked against a corpus of sourced Wolfram recordings. Since main `43c629db362b48aeec3590a8f0cd30e927e5ec16` (PR #2, merged 2026-10-26) its runners fail closed: a nonzero candidate exit fails the row; comparisons in `tests/oracle_common.py` keep the whole result structure instead of matching fractional number tokens; an empty, null or malformed selected corpus prints `CORPUS FAULT` and exits nonzero; Alpha rows (`python3 tests/run_alpha.py`) and `--limit` selections print `NOT_RUN` in `tests/run.py`; and an `intentional_difference` reason excuses a mismatch only when the result equals a sourced `alternate` full answer. Quote a pass count only from a full, unlimited `tests/run.py` run with its exit status, the Alpha result and the guard controls (`python3 -m unittest discover -s tests/unit -p test_oracle_guards.py -v`). Scores from the earlier matcher are dated history and do not compare with current ones. Land changes through a pull request, draft while a dependency is pending, not by pushing to `main`. For memory, do not route to an archived repo just because its name sounds right. [ADR 0036](https://github.com/aien-dev/aien-architecture-mv/blob/main/docs/adr/0036-release-v1-memory-owner.md) names `aien-allen-memory` with an engaged Allen identity for release E4, while preserving ADR 0022's Omega-layer `rx_cortex` ownership. Durable execution journals, evidence receipts, subject memory and a coding agent's recall service are different things. A `.crumb` records directory role/invariants and provenance; `.crumb.local` is temporary coordination. Neither stale metadata nor a recalled model suggestion overrides code or receipts. From ec52a2c432d9ee989ffd09bba750f1f2eaf2601f Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Sun, 1 Nov 2026 17:21:00 -0600 Subject: [PATCH 2/8] Route aien-train x86linux and x86efi rungs; document draft omega-mv#1015 target x86efi --- skills/aien-repositories/SKILL.md | 2 +- skills/omega-encoding/SKILL.md | 37 +++++++++++++++++++++++++++++++ skills/writing-omega/SKILL.md | 2 +- 3 files changed, 39 insertions(+), 2 deletions(-) diff --git a/skills/aien-repositories/SKILL.md b/skills/aien-repositories/SKILL.md index e3ce441..fbd5192 100644 --- a/skills/aien-repositories/SKILL.md +++ b/skills/aien-repositories/SKILL.md @@ -101,7 +101,7 @@ prerequisites; the document grants no physical or live-service authority. - [allen](https://github.com/aien-dev/allen): persistent-subject programme, identity/continuity contracts and acceptance work. Do not identify Allen with an interchangeable model or claim planned subject capabilities already run. - [aegis-runtime-mv](https://github.com/aien-dev/aegis-runtime-mv): agent gateway, heartbeat/task workflow and storage attachment. It is not all of the AEGIS verification doctrine. - [spark-rsi-mv](https://github.com/aien-dev/spark-rsi-mv): evaluation/promotion and cryptographic-ledger attachment, not proof of autonomous improvement merely because an experiment proposes a better candidate. -- [aien-train](https://github.com/aien-dev/aien-train): training programme and research route toward training on Omega. On main (`af34d5ba`) its [current instructions](https://github.com/aien-dev/aien-train/blob/main/AGENTS.md) describe plans and empty output directories, not a working training engine. Pending, not merged: draft [PR #53](https://github.com/aien-dev/aien-train/pull/53) (issue #52) adds an Omega LLM v0 proof of concept: a 119104-parameter byte-level transformer whose forward, backward, Adam, checkpoints, eval and sampling are `.om` built with omc at omega-mv `e5b32567`, CPU only, with receipts under `evidence/OMEGALLM/` and a Python-stdlib referee used only as an oracle. Treat it as IMPLEMENTED/EXERCISED on GB10 host CPU in that branch, not as merged, qualified or a general training engine, and check the PR state before citing it. +- [aien-train](https://github.com/aien-dev/aien-train): training programme and research route toward training on Omega. On main (`af34d5ba`) its [current instructions](https://github.com/aien-dev/aien-train/blob/main/AGENTS.md) describe plans and empty output directories, not a working training engine. Pending, not merged: draft [PR #53](https://github.com/aien-dev/aien-train/pull/53) (issue #52) adds an Omega LLM v0 proof of concept: a 119104-parameter byte-level transformer whose forward, backward, Adam, checkpoints, eval and sampling are `.om` built with omc at omega-mv `e5b32567`, CPU only, with receipts under `evidence/OMEGALLM/` and a Python-stdlib referee used only as an oracle. Treat it as IMPLEMENTED/EXERCISED on GB10 host CPU in that branch, not as merged, qualified or a general training engine, and check the PR state before citing it. At branch head `57202356` (2026-11-01) the I/O sits in one platform unit (`lio.om` Linux, `eio.om` UEFI) and `tests/omegallm/build.sh` takes `TARGET=aarch64|x86linux|x86efi`. The x86linux rung (omc `be8c5130…`, omega-mv main `ba5559d9`) is EXERCISED but EMULATED, under qemu-x86_64 user mode on a GB10 core: the full suite matches AArch64 receipt for receipt (`evidence/OMEGALLM/x86/`). The x86efi rung needs draft omega-mv#1015 (omc `b4f45121…`) and is EXERCISED but EMULATED under QEMU/OVMF (`evidence/OMEGALLM/efi/`). On the physical iMac it is NOT_RUN until Drake boots the staged image. - [aien-math](https://github.com/aien-dev/aien-math) (private): a Wolfram Language replacement written in `.om`, checked against a corpus of sourced Wolfram recordings. Since main `43c629db362b48aeec3590a8f0cd30e927e5ec16` (PR #2, merged 2026-10-26) its runners fail closed: a nonzero candidate exit fails the row; comparisons in `tests/oracle_common.py` keep the whole result structure instead of matching fractional number tokens; an empty, null or malformed selected corpus prints `CORPUS FAULT` and exits nonzero; Alpha rows (`python3 tests/run_alpha.py`) and `--limit` selections print `NOT_RUN` in `tests/run.py`; and an `intentional_difference` reason excuses a mismatch only when the result equals a sourced `alternate` full answer. Quote a pass count only from a full, unlimited `tests/run.py` run with its exit status, the Alpha result and the guard controls (`python3 -m unittest discover -s tests/unit -p test_oracle_guards.py -v`). Scores from the earlier matcher are dated history and do not compare with current ones. Land changes through a pull request, draft while a dependency is pending, not by pushing to `main`. For memory, do not route to an archived repo just because its name sounds right. [ADR 0036](https://github.com/aien-dev/aien-architecture-mv/blob/main/docs/adr/0036-release-v1-memory-owner.md) names `aien-allen-memory` with an engaged Allen identity for release E4, while preserving ADR 0022's Omega-layer `rx_cortex` ownership. Durable execution journals, evidence receipts, subject memory and a coding agent's recall service are different things. A `.crumb` records directory role/invariants and provenance; `.crumb.local` is temporary coordination. Neither stale metadata nor a recalled model suggestion overrides code or receipts. diff --git a/skills/omega-encoding/SKILL.md b/skills/omega-encoding/SKILL.md index 1dc84cd..5956a56 100644 --- a/skills/omega-encoding/SKILL.md +++ b/skills/omega-encoding/SKILL.md @@ -156,6 +156,43 @@ 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). +### `target x86efi`: pending draft omega-mv#1015 (observed 2026-11-01; NOT on main) + +Draft [omega-mv#1015](https://github.com/aien-dev/omega-mv/pull/1015), branch `feat/x86efi-main`, +commit `5ce9ecaa7b2034d5a7b4502403591d5c2489c06d` on main `ba5559d9b`, omc sha256 +`b4f45121f6c6d5d8a6ed0f5c4f3934b7cc4bec369bfa89523699bd33928f9b55` (committed `seed/out/omc`, +reproduced by `seed/omega-from-seed.sh`). Main's omc `be8c5130…` still refuses `target x86efi` with +error 25 (section above); everything below needs the #1015 compiler until it merges. + +- The exact first line `target x86efi` emits a PE32+ EFI application for x86-64 UEFI firmware. + A bare unit and `write` are refused with error 25 there; `efi` under `target x86linux` is error 3 + (lane receipts, `docs/one_layer/OMEGESE.md` §9.1 at `5ce9ecaa`). +- Keyword 178 `efi`: `st = efi OP ARG BUF OFF N`. `efi 12` is files: ARG bits 0-7 are the sub-op + (0 OPEN-READ, 1 OPEN-WRITE, 2 READ, 3 WRITE, 4 CLOSE, 5 OPEN-UPDATE), bits 8-15 the volume + (255 = the boot volume), bits 16-63 the position; one open file at a time; an error returns + bit 63 | code. `efi 13` is the console: it accepts bytes 9, 10, 13 and 32..126 and writes LF as + CR LF; with a NULL ConOut it returns error 43 without calling firmware (source; NOT_RUN, OVMF + always installs ConOut). Ops 0..11 ship but are NOT_RUN (`docs/X86-EFI.md` ops table). +- Exit closes the open file: on `return`, `exit` or any trap, a still-open file is flushed (if + opened for writing) and closed with its volume root. Without this, a refusal path that exits + between OPEN-WRITE and CLOSE loses the data: `tests/x86efi/run.sh` at `5ce9ecaa` gave + `SUMMARY pass=11 fail=0` with `b4f45121` and `pass=9 fail=2` with the previous candidate + `d0f756d9…` (both exit checks: `X.TXT` left at 0 bytes). The runner prints NOT_RUN per QEMU + check when OVMF is missing. +- At entry the program calibrates the TSC with a 100 ms `Stall(100000)` when CPUID reports an + invariant TSC. +- Gates at `5ce9ecaa` (lane receipts): AArch64 corpus 621 compiled byte-identical and 620 refused + identically against main's omc; x86linux corpus 605 and 636; check.sh 348 PASS; GATE5 and gate18 + PASS. The function table is at its 512/512 cap (#1013, the 4096 raise, is parked). +- Evidence class: QEMU q35 + OVMF results are EMULATED. A physical UEFI machine is the only + QUALIFIED evidence, and none exists yet. +- Pitfall met while porting: `le` is a keyword (comparison), so a local named `le` is error 16; + rename it (`lend`). +- First application: aien-train's Omega LLM `ollm` (aien-train#52, draft #53) builds with + `TARGET=x86efi sh tests/omegallm/build.sh` (platform unit `native/omegallm/eio.om`, which reads + `\OLLM\JOB.TXT` and writes `\OLLM\OUT.TXT`). `tests/omegallm/efi-receipts.sh` boots it under + OVMF and compares OUT.TXT with the AArch64 Linux run, line by line. + ### Historical quantity/check/next candidate (observed 2026-10-28) | Item | Value | diff --git a/skills/writing-omega/SKILL.md b/skills/writing-omega/SKILL.md index aa60151..70e8ebf 100644 --- a/skills/writing-omega/SKILL.md +++ b/skills/writing-omega/SKILL.md @@ -315,7 +315,7 @@ with its exact stderr line in the matching `.expect`, except 24, which needs a g | 22 | a text escape other than `\n \t \\ \"` | `err22_text_escape` | build other bytes with `put` | | 23 | array or pool size limit | `err23_size` | smaller arrays (section 8 limits) | | 24 | a conditional branch farther than 1 MiB of code | generated, below | move long bodies into functions | -| 25 | unknown `target` name, or an AArch64-only path on another target | `err25_target` | omit `target` for AArch64, or name a target the unit fits (`target x86linux` with `fn main` compiles; `target x86efi` with the same unit is error 25) | +| 25 | unknown `target` name, or an AArch64-only path on another target | `err25_target` | omit `target` for AArch64, or name a target the unit fits (`target x86linux` with `fn main` compiles; `target x86efi` with the same unit is error 25 at the pin; draft omega-mv#1015, omc `b4f45121…`, adds the x86efi backend: see `omega-encoding`) | | 26 | never emitted at the pin | none | none | | 27 | OM-2 `fresh` element read before it is written | `err27_fresh` | `put` every element before the `get` | | 28 | OM-2 `seal` outside the constructor | `err28_seal` | `seal` only as the whole body of `fn NAMEmk ... to NAME` | From ad2ed3812e7cfddc0df301b7b27c472ecd106e97 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Sun, 1 Nov 2026 17:47:25 -0600 Subject: [PATCH 3/8] Record the physical iMac run of the x86efi ollm image aien-train 581cc873 adds evidence/OMEGALLM/imac/: the UEFI image built with draft omega-mv#1015 ran on the iMac18,3 and matched the AArch64 reference (OUT.TXT and the three written files), 186521 ms by the firmware clock. aien-repositories now calls that rung QUALIFIED for the 11-job check; omega-encoding records the first physical x86efi run and the raw-dd stick readback (macOS 26 refused to mount the partition). --- skills/aien-repositories/SKILL.md | 2 +- skills/omega-encoding/SKILL.md | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/skills/aien-repositories/SKILL.md b/skills/aien-repositories/SKILL.md index fbd5192..4b4d3d5 100644 --- a/skills/aien-repositories/SKILL.md +++ b/skills/aien-repositories/SKILL.md @@ -101,7 +101,7 @@ prerequisites; the document grants no physical or live-service authority. - [allen](https://github.com/aien-dev/allen): persistent-subject programme, identity/continuity contracts and acceptance work. Do not identify Allen with an interchangeable model or claim planned subject capabilities already run. - [aegis-runtime-mv](https://github.com/aien-dev/aegis-runtime-mv): agent gateway, heartbeat/task workflow and storage attachment. It is not all of the AEGIS verification doctrine. - [spark-rsi-mv](https://github.com/aien-dev/spark-rsi-mv): evaluation/promotion and cryptographic-ledger attachment, not proof of autonomous improvement merely because an experiment proposes a better candidate. -- [aien-train](https://github.com/aien-dev/aien-train): training programme and research route toward training on Omega. On main (`af34d5ba`) its [current instructions](https://github.com/aien-dev/aien-train/blob/main/AGENTS.md) describe plans and empty output directories, not a working training engine. Pending, not merged: draft [PR #53](https://github.com/aien-dev/aien-train/pull/53) (issue #52) adds an Omega LLM v0 proof of concept: a 119104-parameter byte-level transformer whose forward, backward, Adam, checkpoints, eval and sampling are `.om` built with omc at omega-mv `e5b32567`, CPU only, with receipts under `evidence/OMEGALLM/` and a Python-stdlib referee used only as an oracle. Treat it as IMPLEMENTED/EXERCISED on GB10 host CPU in that branch, not as merged, qualified or a general training engine, and check the PR state before citing it. At branch head `57202356` (2026-11-01) the I/O sits in one platform unit (`lio.om` Linux, `eio.om` UEFI) and `tests/omegallm/build.sh` takes `TARGET=aarch64|x86linux|x86efi`. The x86linux rung (omc `be8c5130…`, omega-mv main `ba5559d9`) is EXERCISED but EMULATED, under qemu-x86_64 user mode on a GB10 core: the full suite matches AArch64 receipt for receipt (`evidence/OMEGALLM/x86/`). The x86efi rung needs draft omega-mv#1015 (omc `b4f45121…`) and is EXERCISED but EMULATED under QEMU/OVMF (`evidence/OMEGALLM/efi/`). On the physical iMac it is NOT_RUN until Drake boots the staged image. +- [aien-train](https://github.com/aien-dev/aien-train): training programme and research route toward training on Omega. On main (`af34d5ba`) its [current instructions](https://github.com/aien-dev/aien-train/blob/main/AGENTS.md) describe plans and empty output directories, not a working training engine. Pending, not merged: draft [PR #53](https://github.com/aien-dev/aien-train/pull/53) (issue #52) adds an Omega LLM v0 proof of concept: a 119104-parameter byte-level transformer whose forward, backward, Adam, checkpoints, eval and sampling are `.om` built with omc at omega-mv `e5b32567`, CPU only, with receipts under `evidence/OMEGALLM/` and a Python-stdlib referee used only as an oracle. Treat it as IMPLEMENTED/EXERCISED on GB10 host CPU in that branch, not as merged, qualified or a general training engine, and check the PR state before citing it. At branch head `581cc873` (2026-11-01) the I/O sits in one platform unit (`lio.om` Linux, `eio.om` UEFI) and `tests/omegallm/build.sh` takes `TARGET=aarch64|x86linux|x86efi`. The x86linux rung (omc `be8c5130…`, omega-mv main `ba5559d9`) is EXERCISED but EMULATED, under qemu-x86_64 user mode on a GB10 core: the full suite matches AArch64 receipt for receipt (`evidence/OMEGALLM/x86/`). The x86efi rung needs draft omega-mv#1015 (omc `b4f45121…`) and is EXERCISED but EMULATED under QEMU/OVMF (`evidence/OMEGALLM/efi/`). The same UEFI image is QUALIFIED for that 11-job check on the physical iMac (iMac18,3, Core i5-7500; `evidence/OMEGALLM/imac/`): OUT.TXT and the three written files equal the AArch64 reference, 186521 ms by the firmware clock. One machine, one job; still a draft PR on a draft compiler. - [aien-math](https://github.com/aien-dev/aien-math) (private): a Wolfram Language replacement written in `.om`, checked against a corpus of sourced Wolfram recordings. Since main `43c629db362b48aeec3590a8f0cd30e927e5ec16` (PR #2, merged 2026-10-26) its runners fail closed: a nonzero candidate exit fails the row; comparisons in `tests/oracle_common.py` keep the whole result structure instead of matching fractional number tokens; an empty, null or malformed selected corpus prints `CORPUS FAULT` and exits nonzero; Alpha rows (`python3 tests/run_alpha.py`) and `--limit` selections print `NOT_RUN` in `tests/run.py`; and an `intentional_difference` reason excuses a mismatch only when the result equals a sourced `alternate` full answer. Quote a pass count only from a full, unlimited `tests/run.py` run with its exit status, the Alpha result and the guard controls (`python3 -m unittest discover -s tests/unit -p test_oracle_guards.py -v`). Scores from the earlier matcher are dated history and do not compare with current ones. Land changes through a pull request, draft while a dependency is pending, not by pushing to `main`. For memory, do not route to an archived repo just because its name sounds right. [ADR 0036](https://github.com/aien-dev/aien-architecture-mv/blob/main/docs/adr/0036-release-v1-memory-owner.md) names `aien-allen-memory` with an engaged Allen identity for release E4, while preserving ADR 0022's Omega-layer `rx_cortex` ownership. Durable execution journals, evidence receipts, subject memory and a coding agent's recall service are different things. A `.crumb` records directory role/invariants and provenance; `.crumb.local` is temporary coordination. Neither stale metadata nor a recalled model suggestion overrides code or receipts. diff --git a/skills/omega-encoding/SKILL.md b/skills/omega-encoding/SKILL.md index 5956a56..5009eff 100644 --- a/skills/omega-encoding/SKILL.md +++ b/skills/omega-encoding/SKILL.md @@ -184,8 +184,11 @@ error 25 (section above); everything below needs the #1015 compiler until it mer - Gates at `5ce9ecaa` (lane receipts): AArch64 corpus 621 compiled byte-identical and 620 refused identically against main's omc; x86linux corpus 605 and 636; check.sh 348 PASS; GATE5 and gate18 PASS. The function table is at its 512/512 cap (#1013, the 4096 raise, is parked). -- Evidence class: QEMU q35 + OVMF results are EMULATED. A physical UEFI machine is the only - QUALIFIED evidence, and none exists yet. +- Evidence class: QEMU q35 + OVMF results are EMULATED; only a physical UEFI machine is QUALIFIED. + First physical run: aien-train `ollm.efi` on the iMac18,3 (2026-11-01, `evidence/OMEGALLM/imac/` + at aien-train `581cc873`); OUT.TXT and the written files equal the reference. Reading the stick + back: macOS 26 refused to mount the partition the firmware wrote (fsck clean), so copy it with + `sudo dd if=/dev/rdiskNs1` and extract with mtools. - Pitfall met while porting: `le` is a keyword (comparison), so a local named `le` is error 16; rename it (`lend`). - First application: aien-train's Omega LLM `ollm` (aien-train#52, draft #53) builds with From acbfcbe457a6a6d83acf7d4b8b88b26ecfbc6192 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 2 Nov 2026 00:22:46 +0000 Subject: [PATCH 4/8] Call the iMac x86efi run EXERCISED, not QUALIFIED QUALIFIED stays the repository gate at an exact commit. The iMac18,3 run is EXERCISED on physical hardware (one machine). The OUT.TXT body matches the AArch64 reference after tests/omegallm/efi-check.sh strips the banner, J (timing) and DONE lines; the written files match by recorded sha256. Paths that exist only on unmerged aien-train#53 and omega-mv#1015 are marked pending. Co-authored-by: aien-spark --- skills/aien-repositories/SKILL.md | 2 +- skills/omega-encoding/SKILL.md | 20 ++++++++++++-------- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/skills/aien-repositories/SKILL.md b/skills/aien-repositories/SKILL.md index 4b4d3d5..7bd18e0 100644 --- a/skills/aien-repositories/SKILL.md +++ b/skills/aien-repositories/SKILL.md @@ -101,7 +101,7 @@ prerequisites; the document grants no physical or live-service authority. - [allen](https://github.com/aien-dev/allen): persistent-subject programme, identity/continuity contracts and acceptance work. Do not identify Allen with an interchangeable model or claim planned subject capabilities already run. - [aegis-runtime-mv](https://github.com/aien-dev/aegis-runtime-mv): agent gateway, heartbeat/task workflow and storage attachment. It is not all of the AEGIS verification doctrine. - [spark-rsi-mv](https://github.com/aien-dev/spark-rsi-mv): evaluation/promotion and cryptographic-ledger attachment, not proof of autonomous improvement merely because an experiment proposes a better candidate. -- [aien-train](https://github.com/aien-dev/aien-train): training programme and research route toward training on Omega. On main (`af34d5ba`) its [current instructions](https://github.com/aien-dev/aien-train/blob/main/AGENTS.md) describe plans and empty output directories, not a working training engine. Pending, not merged: draft [PR #53](https://github.com/aien-dev/aien-train/pull/53) (issue #52) adds an Omega LLM v0 proof of concept: a 119104-parameter byte-level transformer whose forward, backward, Adam, checkpoints, eval and sampling are `.om` built with omc at omega-mv `e5b32567`, CPU only, with receipts under `evidence/OMEGALLM/` and a Python-stdlib referee used only as an oracle. Treat it as IMPLEMENTED/EXERCISED on GB10 host CPU in that branch, not as merged, qualified or a general training engine, and check the PR state before citing it. At branch head `581cc873` (2026-11-01) the I/O sits in one platform unit (`lio.om` Linux, `eio.om` UEFI) and `tests/omegallm/build.sh` takes `TARGET=aarch64|x86linux|x86efi`. The x86linux rung (omc `be8c5130…`, omega-mv main `ba5559d9`) is EXERCISED but EMULATED, under qemu-x86_64 user mode on a GB10 core: the full suite matches AArch64 receipt for receipt (`evidence/OMEGALLM/x86/`). The x86efi rung needs draft omega-mv#1015 (omc `b4f45121…`) and is EXERCISED but EMULATED under QEMU/OVMF (`evidence/OMEGALLM/efi/`). The same UEFI image is QUALIFIED for that 11-job check on the physical iMac (iMac18,3, Core i5-7500; `evidence/OMEGALLM/imac/`): OUT.TXT and the three written files equal the AArch64 reference, 186521 ms by the firmware clock. One machine, one job; still a draft PR on a draft compiler. +- [aien-train](https://github.com/aien-dev/aien-train): training programme and research route toward training on Omega. On main (`af34d5ba`) its [current instructions](https://github.com/aien-dev/aien-train/blob/main/AGENTS.md) describe plans and empty output directories, not a working training engine. Pending, not merged: draft [PR #53](https://github.com/aien-dev/aien-train/pull/53) (issue #52) adds an Omega LLM v0 proof of concept: a 119104-parameter byte-level transformer whose forward, backward, Adam, checkpoints, eval and sampling are `.om` built with omc at omega-mv `e5b32567`, CPU only, with receipts under pending `evidence/OMEGALLM/` on that draft and a Python-stdlib referee used only as an oracle. Treat it as IMPLEMENTED/EXERCISED on GB10 host CPU in that branch, not as merged, qualified or a general training engine, and check the PR state before citing it. At branch head `581cc873` (2026-11-01; recheck [PR #53](https://github.com/aien-dev/aien-train/pull/53) before citing these paths) the I/O sits in one platform unit (pending on #53: `native/omegallm/lio.om` Linux, `native/omegallm/eio.om` UEFI) and pending `tests/omegallm/build.sh` takes `TARGET=aarch64|x86linux|x86efi`. The x86linux rung (omc `be8c5130…`, omega-mv main `ba5559d9`) is EXERCISED but EMULATED, under qemu-x86_64 user mode on a GB10 core: the full suite matches AArch64 receipt for receipt (pending on #53: `evidence/OMEGALLM/x86/`). The x86efi rung needs draft [omega-mv#1015](https://github.com/aien-dev/omega-mv/pull/1015) (omc `b4f45121…`) and is EXERCISED but EMULATED under QEMU/OVMF (pending on #53: `evidence/OMEGALLM/efi/`). The same UEFI image is EXERCISED on physical hardware (one machine) for that 11-job check on the iMac (iMac18,3, Core i5-7500; pending on #53: `evidence/OMEGALLM/imac/`, 2026-11-01): the OUT.TXT body matches the AArch64 reference after `tests/omegallm/efi-check.sh` (pending on #53) strips the banner, J (timing) and DONE lines, and the written files are matched by recorded sha256, 186521 ms by the firmware clock. One machine, one job; still a draft PR on a draft compiler. - [aien-math](https://github.com/aien-dev/aien-math) (private): a Wolfram Language replacement written in `.om`, checked against a corpus of sourced Wolfram recordings. Since main `43c629db362b48aeec3590a8f0cd30e927e5ec16` (PR #2, merged 2026-10-26) its runners fail closed: a nonzero candidate exit fails the row; comparisons in `tests/oracle_common.py` keep the whole result structure instead of matching fractional number tokens; an empty, null or malformed selected corpus prints `CORPUS FAULT` and exits nonzero; Alpha rows (`python3 tests/run_alpha.py`) and `--limit` selections print `NOT_RUN` in `tests/run.py`; and an `intentional_difference` reason excuses a mismatch only when the result equals a sourced `alternate` full answer. Quote a pass count only from a full, unlimited `tests/run.py` run with its exit status, the Alpha result and the guard controls (`python3 -m unittest discover -s tests/unit -p test_oracle_guards.py -v`). Scores from the earlier matcher are dated history and do not compare with current ones. Land changes through a pull request, draft while a dependency is pending, not by pushing to `main`. For memory, do not route to an archived repo just because its name sounds right. [ADR 0036](https://github.com/aien-dev/aien-architecture-mv/blob/main/docs/adr/0036-release-v1-memory-owner.md) names `aien-allen-memory` with an engaged Allen identity for release E4, while preserving ADR 0022's Omega-layer `rx_cortex` ownership. Durable execution journals, evidence receipts, subject memory and a coding agent's recall service are different things. A `.crumb` records directory role/invariants and provenance; `.crumb.local` is temporary coordination. Neither stale metadata nor a recalled model suggestion overrides code or receipts. diff --git a/skills/omega-encoding/SKILL.md b/skills/omega-encoding/SKILL.md index 5009eff..39709e8 100644 --- a/skills/omega-encoding/SKILL.md +++ b/skills/omega-encoding/SKILL.md @@ -184,17 +184,21 @@ error 25 (section above); everything below needs the #1015 compiler until it mer - Gates at `5ce9ecaa` (lane receipts): AArch64 corpus 621 compiled byte-identical and 620 refused identically against main's omc; x86linux corpus 605 and 636; check.sh 348 PASS; GATE5 and gate18 PASS. The function table is at its 512/512 cap (#1013, the 4096 raise, is parked). -- Evidence class: QEMU q35 + OVMF results are EMULATED; only a physical UEFI machine is QUALIFIED. - First physical run: aien-train `ollm.efi` on the iMac18,3 (2026-11-01, `evidence/OMEGALLM/imac/` - at aien-train `581cc873`); OUT.TXT and the written files equal the reference. Reading the stick - back: macOS 26 refused to mount the partition the firmware wrote (fsck clean), so copy it with - `sudo dd if=/dev/rdiskNs1` and extract with mtools. +- Evidence class: QEMU q35 + OVMF results are EMULATED. First physical run: EXERCISED on physical + hardware (one machine), aien-train `ollm.efi` on the iMac18,3 (2026-11-01; pending + `evidence/OMEGALLM/imac/` on draft aien-train#53 at `581cc873`). The OUT.TXT body matches the + AArch64 reference after `tests/omegallm/efi-check.sh` (pending on #53) strips the banner, + J (timing) and DONE lines, and the written files are matched by recorded sha256. Reading the + stick back: macOS 26 refused to mount the partition the firmware wrote (fsck clean), so copy it + with `sudo dd if=/dev/rdiskNs1` and extract with mtools. - Pitfall met while porting: `le` is a keyword (comparison), so a local named `le` is error 16; rename it (`lend`). - First application: aien-train's Omega LLM `ollm` (aien-train#52, draft #53) builds with - `TARGET=x86efi sh tests/omegallm/build.sh` (platform unit `native/omegallm/eio.om`, which reads - `\OLLM\JOB.TXT` and writes `\OLLM\OUT.TXT`). `tests/omegallm/efi-receipts.sh` boots it under - OVMF and compares OUT.TXT with the AArch64 Linux run, line by line. + `TARGET=x86efi sh tests/omegallm/build.sh` (pending on #53; platform unit + `native/omegallm/eio.om`, which reads `\OLLM\JOB.TXT` and writes `\OLLM\OUT.TXT`). + `tests/omegallm/efi-receipts.sh` (pending on #53) boots it under OVMF and compares OUT.TXT with + the AArch64 Linux run through `tests/omegallm/efi-check.sh` (pending on #53): it strips the + banner, J (timing) and DONE lines and `cmp`s what remains. It does not check where the J lines sit. ### Historical quantity/check/next candidate (observed 2026-10-28) From 247d59379956f86de2751a6f55c74191331a5d76 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 2 Nov 2026 00:26:54 +0000 Subject: [PATCH 5/8] Tag the pending docs/X86-EFI.md ops table at 5ce9ecaa The ops-table citation is on draft omega-mv#1015 only. Match the other pending refs in that section, which already name commit 5ce9ecaa. Co-authored-by: aien-spark --- skills/omega-encoding/SKILL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skills/omega-encoding/SKILL.md b/skills/omega-encoding/SKILL.md index 39709e8..7442535 100644 --- a/skills/omega-encoding/SKILL.md +++ b/skills/omega-encoding/SKILL.md @@ -172,7 +172,7 @@ error 25 (section above); everything below needs the #1015 compiler until it mer (255 = the boot volume), bits 16-63 the position; one open file at a time; an error returns bit 63 | code. `efi 13` is the console: it accepts bytes 9, 10, 13 and 32..126 and writes LF as CR LF; with a NULL ConOut it returns error 43 without calling firmware (source; NOT_RUN, OVMF - always installs ConOut). Ops 0..11 ship but are NOT_RUN (`docs/X86-EFI.md` ops table). + always installs ConOut). Ops 0..11 ship but are NOT_RUN (`docs/X86-EFI.md` ops table at `5ce9ecaa`). - Exit closes the open file: on `return`, `exit` or any trap, a still-open file is flushed (if opened for writing) and closed with its volume root. Without this, a refusal path that exits between OPEN-WRITE and CLOSE loses the data: `tests/x86efi/run.sh` at `5ce9ecaa` gave From 551c3a80831cbdd45daa680fb5db952e03008dfd Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Sun, 1 Nov 2026 19:52:29 -0600 Subject: [PATCH 6/8] Record efi 14 (omega-mv#1022), aien-train v1 #54 and ident #55, global-before-use error 3 --- skills/aien-repositories/SKILL.md | 2 +- skills/omega-encoding/SKILL.md | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/skills/aien-repositories/SKILL.md b/skills/aien-repositories/SKILL.md index 7bd18e0..d67d0ca 100644 --- a/skills/aien-repositories/SKILL.md +++ b/skills/aien-repositories/SKILL.md @@ -101,7 +101,7 @@ prerequisites; the document grants no physical or live-service authority. - [allen](https://github.com/aien-dev/allen): persistent-subject programme, identity/continuity contracts and acceptance work. Do not identify Allen with an interchangeable model or claim planned subject capabilities already run. - [aegis-runtime-mv](https://github.com/aien-dev/aegis-runtime-mv): agent gateway, heartbeat/task workflow and storage attachment. It is not all of the AEGIS verification doctrine. - [spark-rsi-mv](https://github.com/aien-dev/spark-rsi-mv): evaluation/promotion and cryptographic-ledger attachment, not proof of autonomous improvement merely because an experiment proposes a better candidate. -- [aien-train](https://github.com/aien-dev/aien-train): training programme and research route toward training on Omega. On main (`af34d5ba`) its [current instructions](https://github.com/aien-dev/aien-train/blob/main/AGENTS.md) describe plans and empty output directories, not a working training engine. Pending, not merged: draft [PR #53](https://github.com/aien-dev/aien-train/pull/53) (issue #52) adds an Omega LLM v0 proof of concept: a 119104-parameter byte-level transformer whose forward, backward, Adam, checkpoints, eval and sampling are `.om` built with omc at omega-mv `e5b32567`, CPU only, with receipts under pending `evidence/OMEGALLM/` on that draft and a Python-stdlib referee used only as an oracle. Treat it as IMPLEMENTED/EXERCISED on GB10 host CPU in that branch, not as merged, qualified or a general training engine, and check the PR state before citing it. At branch head `581cc873` (2026-11-01; recheck [PR #53](https://github.com/aien-dev/aien-train/pull/53) before citing these paths) the I/O sits in one platform unit (pending on #53: `native/omegallm/lio.om` Linux, `native/omegallm/eio.om` UEFI) and pending `tests/omegallm/build.sh` takes `TARGET=aarch64|x86linux|x86efi`. The x86linux rung (omc `be8c5130…`, omega-mv main `ba5559d9`) is EXERCISED but EMULATED, under qemu-x86_64 user mode on a GB10 core: the full suite matches AArch64 receipt for receipt (pending on #53: `evidence/OMEGALLM/x86/`). The x86efi rung needs draft [omega-mv#1015](https://github.com/aien-dev/omega-mv/pull/1015) (omc `b4f45121…`) and is EXERCISED but EMULATED under QEMU/OVMF (pending on #53: `evidence/OMEGALLM/efi/`). The same UEFI image is EXERCISED on physical hardware (one machine) for that 11-job check on the iMac (iMac18,3, Core i5-7500; pending on #53: `evidence/OMEGALLM/imac/`, 2026-11-01): the OUT.TXT body matches the AArch64 reference after `tests/omegallm/efi-check.sh` (pending on #53) strips the banner, J (timing) and DONE lines, and the written files are matched by recorded sha256, 186521 ms by the firmware clock. One machine, one job; still a draft PR on a draft compiler. +- [aien-train](https://github.com/aien-dev/aien-train): training programme and research route toward training on Omega. On main (`af34d5ba`) its [current instructions](https://github.com/aien-dev/aien-train/blob/main/AGENTS.md) describe plans and empty output directories, not a working training engine. Pending, not merged: draft [PR #53](https://github.com/aien-dev/aien-train/pull/53) (issue #52) adds an Omega LLM v0 proof of concept: a 119104-parameter byte-level transformer whose forward, backward, Adam, checkpoints, eval and sampling are `.om` built with omc at omega-mv `e5b32567`, CPU only, with receipts under pending `evidence/OMEGALLM/` on that draft and a Python-stdlib referee used only as an oracle. Treat it as IMPLEMENTED/EXERCISED on GB10 host CPU in that branch, not as merged, qualified or a general training engine, and check the PR state before citing it. At branch head `581cc873` (2026-11-01; recheck [PR #53](https://github.com/aien-dev/aien-train/pull/53) before citing these paths) the I/O sits in one platform unit (pending on #53: `native/omegallm/lio.om` Linux, `native/omegallm/eio.om` UEFI) and pending `tests/omegallm/build.sh` takes `TARGET=aarch64|x86linux|x86efi`. The x86linux rung (omc `be8c5130…`, omega-mv main `ba5559d9`) is EXERCISED but EMULATED, under qemu-x86_64 user mode on a GB10 core: the full suite matches AArch64 receipt for receipt (pending on #53: `evidence/OMEGALLM/x86/`). The x86efi rung needs draft [omega-mv#1015](https://github.com/aien-dev/omega-mv/pull/1015) (omc `b4f45121…`) and is EXERCISED but EMULATED under QEMU/OVMF (pending on #53: `evidence/OMEGALLM/efi/`). The same UEFI image is EXERCISED on physical hardware (one machine) for that 11-job check on the iMac (iMac18,3, Core i5-7500; pending on #53: `evidence/OMEGALLM/imac/`, 2026-11-01): the OUT.TXT body matches the AArch64 reference after `tests/omegallm/efi-check.sh` (pending on #53) strips the banner, J (timing) and DONE lines, and the written files are matched by recorded sha256, 186521 ms by the firmware clock. One machine, one job; still a draft PR on a draft compiler. Stacked on #53, also drafts (2026-11-02): [PR #54](https://github.com/aien-dev/aien-train/pull/54) (v1, head `4899562`) adds a BPE tokenizer in `.om` (V=4096, oracle-checked), a larger checkpoint cap and K worker processes whose gradients the parent sums in a fixed order (bit-identical for every K); its 2.58M-parameter TinyStories run is in progress on the GB10's 20 CPU cores, so quote no v1 loss or bpb until its receipt lands on #54. [PR #55](https://github.com/aien-dev/aien-train/pull/55) adds an `M` machine-identity line to the UEFI `OUT.TXT` (CPU brand, firmware vendor and revision, SMBIOS type 1 manufacturer/product/version; never serial or UUID) through `efi 14` of draft omega-mv#1022; EMULATED only until the iMac run is filed. - [aien-math](https://github.com/aien-dev/aien-math) (private): a Wolfram Language replacement written in `.om`, checked against a corpus of sourced Wolfram recordings. Since main `43c629db362b48aeec3590a8f0cd30e927e5ec16` (PR #2, merged 2026-10-26) its runners fail closed: a nonzero candidate exit fails the row; comparisons in `tests/oracle_common.py` keep the whole result structure instead of matching fractional number tokens; an empty, null or malformed selected corpus prints `CORPUS FAULT` and exits nonzero; Alpha rows (`python3 tests/run_alpha.py`) and `--limit` selections print `NOT_RUN` in `tests/run.py`; and an `intentional_difference` reason excuses a mismatch only when the result equals a sourced `alternate` full answer. Quote a pass count only from a full, unlimited `tests/run.py` run with its exit status, the Alpha result and the guard controls (`python3 -m unittest discover -s tests/unit -p test_oracle_guards.py -v`). Scores from the earlier matcher are dated history and do not compare with current ones. Land changes through a pull request, draft while a dependency is pending, not by pushing to `main`. For memory, do not route to an archived repo just because its name sounds right. [ADR 0036](https://github.com/aien-dev/aien-architecture-mv/blob/main/docs/adr/0036-release-v1-memory-owner.md) names `aien-allen-memory` with an engaged Allen identity for release E4, while preserving ADR 0022's Omega-layer `rx_cortex` ownership. Durable execution journals, evidence receipts, subject memory and a coding agent's recall service are different things. A `.crumb` records directory role/invariants and provenance; `.crumb.local` is temporary coordination. Neither stale metadata nor a recalled model suggestion overrides code or receipts. diff --git a/skills/omega-encoding/SKILL.md b/skills/omega-encoding/SKILL.md index 7442535..7407931 100644 --- a/skills/omega-encoding/SKILL.md +++ b/skills/omega-encoding/SKILL.md @@ -181,6 +181,17 @@ error 25 (section above); everything below needs the #1015 compiler until it mer check when OVMF is missing. - At entry the program calibrates the TSC with a 100 ms `Stall(100000)` when CPUID reports an invariant TSC. +- `efi 14` machine identity: pending draft [omega-mv#1022](https://github.com/aien-dev/omega-mv/pull/1022) + (branch `feat/x86efi-ident`, commit `fbcf08826`, stacked on #1015; omc sha256 + `3ad9f10f64309e7acf8a725082b28e23a2a4aeb07e98322fb4dc0fcd8fc93194`; NOT on #1015 or main). ARG + `L << 16` = CPUID leaf L (16 bytes EAX..EDX; N < 16 is error 5), 1 = FirmwareVendor UCS-2 units, + 2 = FirmwareRevision as the result (nothing written), `3 + (P << 16)` = SMBIOS structure table from + byte P (SMBIOS 3 entry point first, else 2; none is error 44, NOT_RUN); anything else is error 32. + Structures are left to the program: read only the fields you print (`tests/x86efi/ident/id.om` + never reads type 1 serial or UUID). Gates at `fbcf08826`: `tests/x86efi/run.sh` pass=18 fail=0, + AArch64/x86linux sweep 2594 same, 0 differ; all EMULATED (QEMU q35 + OVMF). `seed/omc/omc.om` has + 511 `fn` definitions (510 at #1015 `7e76329f`; the om4 cap is 512) and the seed bootstrap still + builds it. aien-train draft #55 uses it for the `M` line of `OUT.TXT`. - Gates at `5ce9ecaa` (lane receipts): AArch64 corpus 621 compiled byte-identical and 620 refused identically against main's omc; x86linux corpus 605 and 636; check.sh 348 PASS; GATE5 and gate18 PASS. The function table is at its 512/512 cap (#1013, the 4096 raise, is parked). @@ -944,6 +955,11 @@ the target's limits, and a NaN gives 0, with no trap (observed at `e5b32567`, names and layout fields stay at 8, and so does om4. Until the batch-3 pin lands, keep names at 8. - A new name may not equal a visible name, a function or a struct (error 10). A name first written inside `if` / `else` / `while` / `for` dies at its `end`; assign it before the block to carry it out. +- A `global` is visible only to lines after its declaration: a function above it that reads it is + **error 3** (unknown name). Checked on omc `2c824805…` via the omega MCP: `fn f to ulong` / `ret + get g 0` / `end` / `global g ulong 4` gives `omc: line 2: error 3`; moving the `global` line first + compiles. In multi-file units (`build.sh` concatenation) the file that declares a global must come + before every file that uses it. - Reserved words cannot be names. Besides the obvious ones, the table reserves `len read write text new free own view edit global note exit const bound` and every host word, including `stat link bind send recv random fork cwd chdir umask accept listen connect waitio memfd mapget mapset`. `bits min From aae31cbe40561e269e88f3c99868b9b62f30da2c Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Wed, 4 Nov 2026 07:49:05 -0600 Subject: [PATCH 7/8] skills: x86efi per omega-mv#1015 head 19ee7e99, aien-train stack #53-#62 routing, global example needs fn main --- skills/aien-repositories/SKILL.md | 2 +- skills/omega-encoding/SKILL.md | 100 +++++++++++++++++++----------- skills/writing-omega/SKILL.md | 2 +- 3 files changed, 66 insertions(+), 38 deletions(-) diff --git a/skills/aien-repositories/SKILL.md b/skills/aien-repositories/SKILL.md index d67d0ca..ca4f4b5 100644 --- a/skills/aien-repositories/SKILL.md +++ b/skills/aien-repositories/SKILL.md @@ -101,7 +101,7 @@ prerequisites; the document grants no physical or live-service authority. - [allen](https://github.com/aien-dev/allen): persistent-subject programme, identity/continuity contracts and acceptance work. Do not identify Allen with an interchangeable model or claim planned subject capabilities already run. - [aegis-runtime-mv](https://github.com/aien-dev/aegis-runtime-mv): agent gateway, heartbeat/task workflow and storage attachment. It is not all of the AEGIS verification doctrine. - [spark-rsi-mv](https://github.com/aien-dev/spark-rsi-mv): evaluation/promotion and cryptographic-ledger attachment, not proof of autonomous improvement merely because an experiment proposes a better candidate. -- [aien-train](https://github.com/aien-dev/aien-train): training programme and research route toward training on Omega. On main (`af34d5ba`) its [current instructions](https://github.com/aien-dev/aien-train/blob/main/AGENTS.md) describe plans and empty output directories, not a working training engine. Pending, not merged: draft [PR #53](https://github.com/aien-dev/aien-train/pull/53) (issue #52) adds an Omega LLM v0 proof of concept: a 119104-parameter byte-level transformer whose forward, backward, Adam, checkpoints, eval and sampling are `.om` built with omc at omega-mv `e5b32567`, CPU only, with receipts under pending `evidence/OMEGALLM/` on that draft and a Python-stdlib referee used only as an oracle. Treat it as IMPLEMENTED/EXERCISED on GB10 host CPU in that branch, not as merged, qualified or a general training engine, and check the PR state before citing it. At branch head `581cc873` (2026-11-01; recheck [PR #53](https://github.com/aien-dev/aien-train/pull/53) before citing these paths) the I/O sits in one platform unit (pending on #53: `native/omegallm/lio.om` Linux, `native/omegallm/eio.om` UEFI) and pending `tests/omegallm/build.sh` takes `TARGET=aarch64|x86linux|x86efi`. The x86linux rung (omc `be8c5130…`, omega-mv main `ba5559d9`) is EXERCISED but EMULATED, under qemu-x86_64 user mode on a GB10 core: the full suite matches AArch64 receipt for receipt (pending on #53: `evidence/OMEGALLM/x86/`). The x86efi rung needs draft [omega-mv#1015](https://github.com/aien-dev/omega-mv/pull/1015) (omc `b4f45121…`) and is EXERCISED but EMULATED under QEMU/OVMF (pending on #53: `evidence/OMEGALLM/efi/`). The same UEFI image is EXERCISED on physical hardware (one machine) for that 11-job check on the iMac (iMac18,3, Core i5-7500; pending on #53: `evidence/OMEGALLM/imac/`, 2026-11-01): the OUT.TXT body matches the AArch64 reference after `tests/omegallm/efi-check.sh` (pending on #53) strips the banner, J (timing) and DONE lines, and the written files are matched by recorded sha256, 186521 ms by the firmware clock. One machine, one job; still a draft PR on a draft compiler. Stacked on #53, also drafts (2026-11-02): [PR #54](https://github.com/aien-dev/aien-train/pull/54) (v1, head `4899562`) adds a BPE tokenizer in `.om` (V=4096, oracle-checked), a larger checkpoint cap and K worker processes whose gradients the parent sums in a fixed order (bit-identical for every K); its 2.58M-parameter TinyStories run is in progress on the GB10's 20 CPU cores, so quote no v1 loss or bpb until its receipt lands on #54. [PR #55](https://github.com/aien-dev/aien-train/pull/55) adds an `M` machine-identity line to the UEFI `OUT.TXT` (CPU brand, firmware vendor and revision, SMBIOS type 1 manufacturer/product/version; never serial or UUID) through `efi 14` of draft omega-mv#1022; EMULATED only until the iMac run is filed. +- [aien-train](https://github.com/aien-dev/aien-train): training programme and research route toward training on Omega. On main (`af34d5ba`) its [current instructions](https://github.com/aien-dev/aien-train/blob/main/AGENTS.md) describe plans and empty output directories, not a working training engine. The Omega LLM stack lands through PRs #53-#62 (merge state: MERGED_PENDING; cite each at the head below and recheck the PR before citing paths). [PR #53](https://github.com/aien-dev/aien-train/pull/53) (issue #52) at `df1fd9a94b4ec8317552777b2ce361f737942509` adds an Omega LLM v0 proof of concept: a 119104-parameter byte-level transformer whose forward, backward, Adam, checkpoints, eval and sampling are `.om` built with omc at omega-mv `e5b32567`, CPU only, with receipts under `evidence/OMEGALLM/` and a Python-stdlib referee used only as an oracle. Treat it as IMPLEMENTED/EXERCISED on GB10 host CPU, not as qualified or a general training engine. On #53 the I/O sits in one platform unit (`native/omegallm/lio.om` Linux, `native/omegallm/eio.om` UEFI) and `tests/omegallm/build.sh` takes `TARGET=aarch64|x86linux|x86efi`. The x86linux rung (omc `be8c5130…`, omega-mv main `ba5559d9`) is EXERCISED but EMULATED, under qemu-x86_64 user mode on a GB10 core: the full suite matches AArch64 receipt for receipt (`evidence/OMEGALLM/x86/`). The x86efi rung needs [omega-mv#1015](https://github.com/aien-dev/omega-mv/pull/1015) (merged as `MERGESHA_1015`; omc `b4f45121…`) and is EXERCISED but EMULATED under QEMU/OVMF (`evidence/OMEGALLM/efi/`). The same UEFI image is EXERCISED on physical hardware (one machine) for that 11-job check on Drake's iMac (2026-11-01, `evidence/OMEGALLM/imac/`; the run records no machine identity, iMac18,3 and Core i5-7500 come from earlier aienux evidence): `tests/omegallm/efi-check.sh` checks the banner, one `J` timing line after each job and the final DONE line by position and finds the job output EQUAL to the AArch64 reference; the written files match their recorded sha256; 186521 ms by the firmware clock. One machine, one run. [PR #54](https://github.com/aien-dev/aien-train/pull/54) (v1) at `2e70de4c8d8663ae4f484b0a9b03220c0dc9e52a` adds a BPE tokenizer in `.om` (V=4096, oracle-checked), a larger checkpoint cap and K worker processes whose gradients the parent sums in a fixed order (bit-identical for every K); its 2,582,208-parameter TinyStories run (9000 steps, K = 20 on the GB10 CPU, wall 41,814 s) finished with `T 9000 1756201` and held-out `E 9000 4486 1823975 680427`, i.e. 0.680427 bpb (`evidence/OMEGALLM/v1/`; EXERCISED, one run, one seed). [PR #55](https://github.com/aien-dev/aien-train/pull/55) adds an `M` machine-identity line to the UEFI `OUT.TXT` through `efi 14` of [omega-mv#1022](https://github.com/aien-dev/omega-mv/pull/1022) (merged as `MERGESHA_1022`); check #55's current head and receipts before citing it. GPU training on the GB10 from `.om` through the raw NVIDIA driver: [#56](https://github.com/aien-dev/aien-train/pull/56) (rungs 4-6 and kernel rounds k1-k9) at `4e0039070cce87802654a74b869288159ce94f5d`, [#57](https://github.com/aien-dev/aien-train/pull/57) (v2 shape, rung 7) at `43f374a6042769a3d853d9b953dbe4d86348b01b`, [#58](https://github.com/aien-dev/aien-train/pull/58) (BF16 training, adopted in CONTRACT-BF16 section 7) at `cb556468380944f4aa1a9a5da389f4ad193f4154`, [#59](https://github.com/aien-dev/aien-train/pull/59) (rung 8) at `7baaf8b4bda00a4394f1f094aece5ce7b3b6ed5c`, [#60](https://github.com/aien-dev/aien-train/pull/60) (v3 shape, L up to 16; chip gates of window v3-g1 held) at `b92c96b627f33beadd69dc2d8f70833e973a377f`, [#61](https://github.com/aien-dev/aien-train/pull/61) (rung 9) at `fcf6cdedec3024806a82f40e977c1d1389d684a4` and [#62](https://github.com/aien-dev/aien-train/pull/62) (rung 10) at `3ed47a0503f15cdff38ad911eeddb13cf13b4c32`. They are EXERCISED on one GB10, not QUALIFIED; the GPU is reached only through a spark-window; the encoding lessons are in `omega-encoding` section 9a. - [aien-math](https://github.com/aien-dev/aien-math) (private): a Wolfram Language replacement written in `.om`, checked against a corpus of sourced Wolfram recordings. Since main `43c629db362b48aeec3590a8f0cd30e927e5ec16` (PR #2, merged 2026-10-26) its runners fail closed: a nonzero candidate exit fails the row; comparisons in `tests/oracle_common.py` keep the whole result structure instead of matching fractional number tokens; an empty, null or malformed selected corpus prints `CORPUS FAULT` and exits nonzero; Alpha rows (`python3 tests/run_alpha.py`) and `--limit` selections print `NOT_RUN` in `tests/run.py`; and an `intentional_difference` reason excuses a mismatch only when the result equals a sourced `alternate` full answer. Quote a pass count only from a full, unlimited `tests/run.py` run with its exit status, the Alpha result and the guard controls (`python3 -m unittest discover -s tests/unit -p test_oracle_guards.py -v`). Scores from the earlier matcher are dated history and do not compare with current ones. Land changes through a pull request, draft while a dependency is pending, not by pushing to `main`. For memory, do not route to an archived repo just because its name sounds right. [ADR 0036](https://github.com/aien-dev/aien-architecture-mv/blob/main/docs/adr/0036-release-v1-memory-owner.md) names `aien-allen-memory` with an engaged Allen identity for release E4, while preserving ADR 0022's Omega-layer `rx_cortex` ownership. Durable execution journals, evidence receipts, subject memory and a coding agent's recall service are different things. A `.crumb` records directory role/invariants and provenance; `.crumb.local` is temporary coordination. Neither stale metadata nor a recalled model suggestion overrides code or receipts. diff --git a/skills/omega-encoding/SKILL.md b/skills/omega-encoding/SKILL.md index 7407931..c636009 100644 --- a/skills/omega-encoding/SKILL.md +++ b/skills/omega-encoding/SKILL.md @@ -154,62 +154,87 @@ At main `91c83438d` (omc `2aec185d…`, 2026-10-31), at main `3a163bc5e` (omc `2 `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). +here). These are main's omc observations; with omega-mv#1015 merged (`MERGESHA_1015`) error 25 +on `target x86efi` covers only the refusals listed in the next section. -### `target x86efi`: pending draft omega-mv#1015 (observed 2026-11-01; NOT on main) +### `target x86efi`: omega-mv#1015 (merged as `MERGESHA_1015`; observed 2026-11-01 to 2026-11-04) -Draft [omega-mv#1015](https://github.com/aien-dev/omega-mv/pull/1015), branch `feat/x86efi-main`, -commit `5ce9ecaa7b2034d5a7b4502403591d5c2489c06d` on main `ba5559d9b`, omc sha256 -`b4f45121f6c6d5d8a6ed0f5c4f3934b7cc4bec369bfa89523699bd33928f9b55` (committed `seed/out/omc`, -reproduced by `seed/omega-from-seed.sh`). Main's omc `be8c5130…` still refuses `target x86efi` with -error 25 (section above); everything below needs the #1015 compiler until it merges. +[omega-mv#1015](https://github.com/aien-dev/omega-mv/pull/1015), branch `feat/x86efi-main`, +open and ready for review at head `19ee7e99fafaa6a509e0fd166126a16226e414f7` (merged with a merge +commit as `MERGESHA_1015`, 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 +main's `be8c5130…`, refuses every `target x86efi` unit with error 25 (section above). - The exact first line `target x86efi` emits a PE32+ EFI application for x86-64 UEFI firmware. - A bare unit and `write` are refused with error 25 there; `efi` under `target x86linux` is error 3 - (lane receipts, `docs/one_layer/OMEGESE.md` §9.1 at `5ce9ecaa`). + Only whole programs (`fn main`) are accepted. Error 25 there means one of three refusals: a bare + unit (`omc: line 1: error 25`), a Linux host word such as `read` or `write` (error 25 at its + line), or an `efi` OP literal outside 0..13 (0..14 once omega-mv#1022 is merged as + `MERGESHA_1022`). An OP that is not a literal, such as a name, is error 16. `efi` under + `target x86linux` is an ordinary unknown name, error 3 (`docs/one_layer/OMEGESE.md` lines + 441-451 at `19ee7e99`). Observed 2026-11-04 with omc `b4f45121`: `efi 13` compiles, `efi 14` and + `efi 15` give `omc: line 4: error 25`, `k = ulong 13` then `efi k …` gives `omc: line 5: error + 16`, a unit without `fn main` gives `omc: line 1: error 25`, `write` gives `omc: line 4: error + 25`; under `target x86linux` `efi` gives `omc: line 4: error 3`. With the #1022 omc `3ad9f10f` + `efi 14` compiles and `efi 15` is error 25. - Keyword 178 `efi`: `st = efi OP ARG BUF OFF N`. `efi 12` is files: ARG bits 0-7 are the sub-op (0 OPEN-READ, 1 OPEN-WRITE, 2 READ, 3 WRITE, 4 CLOSE, 5 OPEN-UPDATE), bits 8-15 the volume (255 = the boot volume), bits 16-63 the position; one open file at a time; an error returns bit 63 | code. `efi 13` is the console: it accepts bytes 9, 10, 13 and 32..126 and writes LF as CR LF; with a NULL ConOut it returns error 43 without calling firmware (source; NOT_RUN, OVMF - always installs ConOut). Ops 0..11 ship but are NOT_RUN (`docs/X86-EFI.md` ops table at `5ce9ecaa`). + always installs ConOut). Ops 0..11 ship but are NOT_RUN (`docs/X86-EFI.md` ops table at `19ee7e99`). - Exit closes the open file: on `return`, `exit` or any trap, a still-open file is flushed (if opened for writing) and closed with its volume root. Without this, a refusal path that exits between OPEN-WRITE and CLOSE loses the data: `tests/x86efi/run.sh` at `5ce9ecaa` gave `SUMMARY pass=11 fail=0` with `b4f45121` and `pass=9 fail=2` with the previous candidate - `d0f756d9…` (both exit checks: `X.TXT` left at 0 bytes). The runner prints NOT_RUN per QEMU - check when OVMF is missing. + `d0f756d9…` (both exit checks: `X.TXT` left at 0 bytes). The runner prints NOT_RUN for each + check it cannot run (OVMF missing) and exits 77 when nothing ran; since review commit + `e6d14505` it no longer reports a false `PASS exit e1`. - At entry the program calibrates the TSC with a 100 ms `Stall(100000)` when CPUID reports an invariant TSC. -- `efi 14` machine identity: pending draft [omega-mv#1022](https://github.com/aien-dev/omega-mv/pull/1022) - (branch `feat/x86efi-ident`, commit `fbcf08826`, stacked on #1015; omc sha256 - `3ad9f10f64309e7acf8a725082b28e23a2a4aeb07e98322fb4dc0fcd8fc93194`; NOT on #1015 or main). ARG +- `efi 14` machine identity: [omega-mv#1022](https://github.com/aien-dev/omega-mv/pull/1022) + (branch `feat/x86efi-ident`, stacked on #1015, observed at `fbcf08826` and at head `9bf67eff`; + omc sha256 `3ad9f10f64309e7acf8a725082b28e23a2a4aeb07e98322fb4dc0fcd8fc93194` at `9bf67eff`; + merged as `MERGESHA_1022`). ARG `L << 16` = CPUID leaf L (16 bytes EAX..EDX; N < 16 is error 5), 1 = FirmwareVendor UCS-2 units, 2 = FirmwareRevision as the result (nothing written), `3 + (P << 16)` = SMBIOS structure table from byte P (SMBIOS 3 entry point first, else 2; none is error 44, NOT_RUN); anything else is error 32. Structures are left to the program: read only the fields you print (`tests/x86efi/ident/id.om` never reads type 1 serial or UUID). Gates at `fbcf08826`: `tests/x86efi/run.sh` pass=18 fail=0, AArch64/x86linux sweep 2594 same, 0 differ; all EMULATED (QEMU q35 + OVMF). `seed/omc/omc.om` has - 511 `fn` definitions (510 at #1015 `7e76329f`; the om4 cap is 512) and the seed bootstrap still - builds it. aien-train draft #55 uses it for the `M` line of `OUT.TXT`. -- Gates at `5ce9ecaa` (lane receipts): AArch64 corpus 621 compiled byte-identical and 620 refused - identically against main's omc; x86linux corpus 605 and 636; check.sh 348 PASS; GATE5 and gate18 - PASS. The function table is at its 512/512 cap (#1013, the 4096 raise, is parked). -- Evidence class: QEMU q35 + OVMF results are EMULATED. First physical run: EXERCISED on physical - hardware (one machine), aien-train `ollm.efi` on the iMac18,3 (2026-11-01; pending - `evidence/OMEGALLM/imac/` on draft aien-train#53 at `581cc873`). The OUT.TXT body matches the - AArch64 reference after `tests/omegallm/efi-check.sh` (pending on #53) strips the banner, - J (timing) and DONE lines, and the written files are matched by recorded sha256. Reading the + 511 `fn` definitions with #1022 (510 with #1015 alone; the om4 cap is 512) and the seed bootstrap + still builds it. aien-train [#55](https://github.com/aien-dev/aien-train/pull/55) uses it for the + `M` line of `OUT.TXT`. +- Gates at `19ee7e99` (`docs/X86-EFI.md`, committed TSVs): the 1305 tracked `.om` files compiled + by `b4f45121` against main's `be8c5130` with `tools/x86efi/corpus_diff.sh`: AArch64 663 + identical, 638 same-refusal, 4 differ (`evidence/x86efi/corpus_b4f45121_vs_be8c5130.tsv`, sha256 + `e07c912b…`); x86linux 647, 654, 4 (`…_x86linux.tsv`, sha256 `04604a9d…`). The 4 are the + `target x86efi` test programs, which only `b4f45121` accepts. Both TSVs were reproduced natively + on AArch64 on 2026-11-04. Since `e6d14505`, `corpus_diff.sh` prints NOT_RUN (exit 3) without + file(1) and reports the verdict `signal` for an exit above 128. The compiler uses 510 of the om4 + cap of 512 functions (511 with #1022; #1013, the 4096 raise, is parked). +- Evidence class: QEMU q35 + OVMF results are EMULATED; #1015 itself is IMPLEMENTED and EXERCISED + under emulation, not QUALIFIED. First physical run: EXERCISED on physical hardware (one + machine), aien-train `ollm.efi` on Drake's iMac (2026-11-01; `evidence/OMEGALLM/imac/` on + aien-train [#53](https://github.com/aien-dev/aien-train/pull/53) at `df1fd9a`, MERGED_PENDING). + The run records no machine identity; iMac18,3 and Core i5-7500 come from earlier aienux + evidence. The OUT.TXT body equals the AArch64 reference under `tests/omegallm/efi-check.sh` (next + bullet), and the written files TR.BIN, HE.BIN and S.CK match their recorded sha256. Reading the stick back: macOS 26 refused to mount the partition the firmware wrote (fsck clean), so copy it with `sudo dd if=/dev/rdiskNs1` and extract with mtools. - Pitfall met while porting: `le` is a keyword (comparison), so a local named `le` is error 16; rename it (`lend`). -- First application: aien-train's Omega LLM `ollm` (aien-train#52, draft #53) builds with - `TARGET=x86efi sh tests/omegallm/build.sh` (pending on #53; platform unit - `native/omegallm/eio.om`, which reads `\OLLM\JOB.TXT` and writes `\OLLM\OUT.TXT`). - `tests/omegallm/efi-receipts.sh` (pending on #53) boots it under OVMF and compares OUT.TXT with - the AArch64 Linux run through `tests/omegallm/efi-check.sh` (pending on #53): it strips the - banner, J (timing) and DONE lines and `cmp`s what remains. It does not check where the J lines sit. +- First application: aien-train's Omega LLM `ollm` (aien-train#52, #53 at `df1fd9a`) builds with + `TARGET=x86efi sh tests/omegallm/build.sh` (platform unit `native/omegallm/eio.om`, which reads + `\OLLM\JOB.TXT` and writes `\OLLM\OUT.TXT`). `tests/omegallm/efi-receipts.sh` boots it under OVMF + and requires `EV=` to name a new or empty directory, so it never overwrites receipts. + `tests/omegallm/efi-check.sh OUT.TXT REF JOBS BYTES` checks positions as well as content: the + first line must be exactly `OLLM efi BYTES`, each reference job must be followed by exactly one + `J ` line (an extra one is refused), and the last line must be `OLLM DONE JOBS `. + J-shaped and DONE-shaped lines inside a job's output stay in the comparison. A `> ` job line + holding only spaces or tabs runs nothing, gets no J line and is not counted in JOBS. It prints + `EQUAL` (exit 0) or `DIFFERENT` (exit 1); exit 2 is a usage error. ### Historical quantity/check/next candidate (observed 2026-10-28) @@ -956,10 +981,13 @@ the target's limits, and a NaN gives 0, with no trap (observed at `e5b32567`, - A new name may not equal a visible name, a function or a struct (error 10). A name first written inside `if` / `else` / `while` / `for` dies at its `end`; assign it before the block to carry it out. - A `global` is visible only to lines after its declaration: a function above it that reads it is - **error 3** (unknown name). Checked on omc `2c824805…` via the omega MCP: `fn f to ulong` / `ret - get g 0` / `end` / `global g ulong 4` gives `omc: line 2: error 3`; moving the `global` line first - compiles. In multi-file units (`build.sh` concatenation) the file that declares a global must come - before every file that uses it. + **error 3** (unknown name). `global` needs program mode, so the unit must have `fn main` (without + it `global` is error 9). Checked 2026-11-04 on omc `2c824805…` via the omega MCP: `fn f to ulong` + / `ret get g 0` / `end` / `global g ulong 4` / `fn main to int` / `ret int f` / `end` gives + `omc: line 2: error 3`; the same seven lines with the `global` line first compile and exit 0; + the first four lines with the `global` first and no `fn main` give error 9 (`omc: line 5: error + 9` with a trailing newline). In multi-file units (`build.sh` concatenation) the file that + declares a global must come before every file that uses it. - Reserved words cannot be names. Besides the obvious ones, the table reserves `len read write text new free own view edit global note exit const bound` and every host word, including `stat link bind send recv random fork cwd chdir umask accept listen connect waitio memfd mapget mapset`. `bits min @@ -1303,7 +1331,7 @@ separate namespace in the same registry (OMEGESE section 11.1). The message form | 11 | ambiguous bare number | 22 | bad text literal | | 12 | register pool exhausted | 23 | size capacity | | 24 | AArch64 branch displacement out of range | 28 | abstract type: `seal` outside its constructor, or an unsupported `holds` | -| 25 | unknown target, or an AArch64-only path on another target | 29 | external `layout` out of bounds or misplaced | +| 25 | unknown 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) | 29 | external `layout` out of bounds or misplaced | | 26 | unused (no emitting site) | 30 | contract syntax misplaced or not supported here (IR mode included) | | 27 | `fresh` element read before it is definitely written, or a fresh array passed on | | | diff --git a/skills/writing-omega/SKILL.md b/skills/writing-omega/SKILL.md index 70e8ebf..a8e37b5 100644 --- a/skills/writing-omega/SKILL.md +++ b/skills/writing-omega/SKILL.md @@ -315,7 +315,7 @@ with its exact stderr line in the matching `.expect`, except 24, which needs a g | 22 | a text escape other than `\n \t \\ \"` | `err22_text_escape` | build other bytes with `put` | | 23 | array or pool size limit | `err23_size` | smaller arrays (section 8 limits) | | 24 | a conditional branch farther than 1 MiB of code | generated, below | move long bodies into functions | -| 25 | unknown `target` name, or an AArch64-only path on another target | `err25_target` | omit `target` for AArch64, or name a target the unit fits (`target x86linux` with `fn main` compiles; `target x86efi` with the same unit is error 25 at the pin; draft omega-mv#1015, omc `b4f45121…`, adds the x86efi backend: see `omega-encoding`) | +| 25 | unknown `target` name, an AArch64-only path on another target, or (with omega-mv#1015) an x86efi refusal | `err25_target` | omit `target` for AArch64, or name a target the unit fits (`target x86linux` with `fn main` compiles; at the pin `target x86efi` with the same unit is error 25). omega-mv#1015 (head `19ee7e99`, merged as `MERGESHA_1015`, omc `b4f45121…`) adds the x86efi backend; its error 25 is a bare unit (no `fn main`), a Linux host word, or an `efi` OP literal outside 0..13 (0..14 with omega-mv#1022, `MERGESHA_1022`); a non-literal OP is error 16 and `efi` under `target x86linux` is error 3. See `omega-encoding` | | 26 | never emitted at the pin | none | none | | 27 | OM-2 `fresh` element read before it is written | `err27_fresh` | `put` every element before the `get` | | 28 | OM-2 `seal` outside the constructor | `err28_seal` | `seal` only as the whole body of `fn NAMEmk ... to NAME` | From 2a2416013fcb98aa00b201275a73520fd59cbf71 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Wed, 4 Nov 2026 14:56:50 -0600 Subject: [PATCH 8/8] pin: omega-mv d3d1b1bc / omc b4f45121 (#1015 x86efi merged); aien-train #53 #54 #56-#62 merge shas --- README.md | 8 ++-- examples/gate.sh | 4 +- skills/aien-repositories/SKILL.md | 4 +- skills/omega-encoding/SKILL.md | 77 ++++++++++++++++++++++--------- skills/omega-harness/SKILL.md | 28 +++++------ skills/writing-omega/SKILL.md | 8 ++-- 6 files changed, 83 insertions(+), 46 deletions(-) diff --git a/README.md b/README.md index 23a7930..c2235e6 100644 --- a/README.md +++ b/README.md @@ -85,14 +85,14 @@ pinned one, then compiles and runs every program here and in `skills/*/examples/ ```sh git clone https://github.com/aien-dev/omega-mv.git omega-src -git -C omega-src checkout 9920aab1413983c2867d02d75b2276341595adb8 -sha256sum omega-src/seed/out/omc # be8c51301307555254fc59e351d281aae1aa096d91521777e33a41c8b446448a at main 9920aab1 (2026-10-31); 24caacf4... at the previous pin 3a163bc5; 2aec185d... at the pin before, 91c83438; 734f0a39... at the 2026-10-25 pin 55f9b0af +git -C omega-src checkout d3d1b1bc7e3b970016a2176435f78c8f0251bad1 +sha256sum omega-src/seed/out/omc # b4f45121f6c6d5d8a6ed0f5c4f3934b7cc4bec369bfa89523699bd33928f9b55 at main d3d1b1bc (2026-11-04, #1015 x86efi); be8c5130... at the previous pin 9920aab1; 24caacf4... at 3a163bc5; 2aec185d... at 91c83438; 734f0a39... at the 2026-10-25 pin 55f9b0af examples/gate.sh omega-src/seed/out/omc ``` It prints `PASS name` or `FAIL name: reason` per program and ends with -`GATE PASS examples=101 pass=101 fail=0 omc=be8c5130...` (exit 0), `GATE FAIL ...` (exit 1), or a hash -refusal (exit 2), for example `GATE FAIL omc sha256 24caacf4..., pinned be8c5130... (omega-mv 9920aab1...)` +`GATE PASS examples=101 pass=101 fail=0 omc=b4f45121...` (exit 0), `GATE FAIL ...` (exit 1), or a hash +refusal (exit 2), for example `GATE FAIL omc sha256 be8c5130..., pinned b4f45121... (omega-mv d3d1b1bc...)` for the previous pin's compiler. The `omega-encoding` skill (section 0 and section 13) records the observed results and the negative controls; [`examples/WOLFRAM.md`](examples/WOLFRAM.md) records the Wolfram checks of the arithmetic expectations. diff --git a/examples/gate.sh b/examples/gate.sh index b970611..128832a 100755 --- a/examples/gate.sh +++ b/examples/gate.sh @@ -16,8 +16,8 @@ # Exit 0 only when every example passes; 1 on any failure; 2 on a usage or pin error. set -u -PIN_REV=9920aab1413983c2867d02d75b2276341595adb8 -PIN_SHA=be8c51301307555254fc59e351d281aae1aa096d91521777e33a41c8b446448a +PIN_REV=d3d1b1bc7e3b970016a2176435f78c8f0251bad1 +PIN_SHA=b4f45121f6c6d5d8a6ed0f5c4f3934b7cc4bec369bfa89523699bd33928f9b55 if [ "$#" -ne 1 ]; then echo "usage: $0 /path/to/omc (omega-mv $PIN_REV seed/out/omc)" >&2 diff --git a/skills/aien-repositories/SKILL.md b/skills/aien-repositories/SKILL.md index ca4f4b5..a977e50 100644 --- a/skills/aien-repositories/SKILL.md +++ b/skills/aien-repositories/SKILL.md @@ -101,7 +101,7 @@ prerequisites; the document grants no physical or live-service authority. - [allen](https://github.com/aien-dev/allen): persistent-subject programme, identity/continuity contracts and acceptance work. Do not identify Allen with an interchangeable model or claim planned subject capabilities already run. - [aegis-runtime-mv](https://github.com/aien-dev/aegis-runtime-mv): agent gateway, heartbeat/task workflow and storage attachment. It is not all of the AEGIS verification doctrine. - [spark-rsi-mv](https://github.com/aien-dev/spark-rsi-mv): evaluation/promotion and cryptographic-ledger attachment, not proof of autonomous improvement merely because an experiment proposes a better candidate. -- [aien-train](https://github.com/aien-dev/aien-train): training programme and research route toward training on Omega. On main (`af34d5ba`) its [current instructions](https://github.com/aien-dev/aien-train/blob/main/AGENTS.md) describe plans and empty output directories, not a working training engine. The Omega LLM stack lands through PRs #53-#62 (merge state: MERGED_PENDING; cite each at the head below and recheck the PR before citing paths). [PR #53](https://github.com/aien-dev/aien-train/pull/53) (issue #52) at `df1fd9a94b4ec8317552777b2ce361f737942509` adds an Omega LLM v0 proof of concept: a 119104-parameter byte-level transformer whose forward, backward, Adam, checkpoints, eval and sampling are `.om` built with omc at omega-mv `e5b32567`, CPU only, with receipts under `evidence/OMEGALLM/` and a Python-stdlib referee used only as an oracle. Treat it as IMPLEMENTED/EXERCISED on GB10 host CPU, not as qualified or a general training engine. On #53 the I/O sits in one platform unit (`native/omegallm/lio.om` Linux, `native/omegallm/eio.om` UEFI) and `tests/omegallm/build.sh` takes `TARGET=aarch64|x86linux|x86efi`. The x86linux rung (omc `be8c5130…`, omega-mv main `ba5559d9`) is EXERCISED but EMULATED, under qemu-x86_64 user mode on a GB10 core: the full suite matches AArch64 receipt for receipt (`evidence/OMEGALLM/x86/`). The x86efi rung needs [omega-mv#1015](https://github.com/aien-dev/omega-mv/pull/1015) (merged as `MERGESHA_1015`; omc `b4f45121…`) and is EXERCISED but EMULATED under QEMU/OVMF (`evidence/OMEGALLM/efi/`). The same UEFI image is EXERCISED on physical hardware (one machine) for that 11-job check on Drake's iMac (2026-11-01, `evidence/OMEGALLM/imac/`; the run records no machine identity, iMac18,3 and Core i5-7500 come from earlier aienux evidence): `tests/omegallm/efi-check.sh` checks the banner, one `J` timing line after each job and the final DONE line by position and finds the job output EQUAL to the AArch64 reference; the written files match their recorded sha256; 186521 ms by the firmware clock. One machine, one run. [PR #54](https://github.com/aien-dev/aien-train/pull/54) (v1) at `2e70de4c8d8663ae4f484b0a9b03220c0dc9e52a` adds a BPE tokenizer in `.om` (V=4096, oracle-checked), a larger checkpoint cap and K worker processes whose gradients the parent sums in a fixed order (bit-identical for every K); its 2,582,208-parameter TinyStories run (9000 steps, K = 20 on the GB10 CPU, wall 41,814 s) finished with `T 9000 1756201` and held-out `E 9000 4486 1823975 680427`, i.e. 0.680427 bpb (`evidence/OMEGALLM/v1/`; EXERCISED, one run, one seed). [PR #55](https://github.com/aien-dev/aien-train/pull/55) adds an `M` machine-identity line to the UEFI `OUT.TXT` through `efi 14` of [omega-mv#1022](https://github.com/aien-dev/omega-mv/pull/1022) (merged as `MERGESHA_1022`); check #55's current head and receipts before citing it. GPU training on the GB10 from `.om` through the raw NVIDIA driver: [#56](https://github.com/aien-dev/aien-train/pull/56) (rungs 4-6 and kernel rounds k1-k9) at `4e0039070cce87802654a74b869288159ce94f5d`, [#57](https://github.com/aien-dev/aien-train/pull/57) (v2 shape, rung 7) at `43f374a6042769a3d853d9b953dbe4d86348b01b`, [#58](https://github.com/aien-dev/aien-train/pull/58) (BF16 training, adopted in CONTRACT-BF16 section 7) at `cb556468380944f4aa1a9a5da389f4ad193f4154`, [#59](https://github.com/aien-dev/aien-train/pull/59) (rung 8) at `7baaf8b4bda00a4394f1f094aece5ce7b3b6ed5c`, [#60](https://github.com/aien-dev/aien-train/pull/60) (v3 shape, L up to 16; chip gates of window v3-g1 held) at `b92c96b627f33beadd69dc2d8f70833e973a377f`, [#61](https://github.com/aien-dev/aien-train/pull/61) (rung 9) at `fcf6cdedec3024806a82f40e977c1d1389d684a4` and [#62](https://github.com/aien-dev/aien-train/pull/62) (rung 10) at `3ed47a0503f15cdff38ad911eeddb13cf13b4c32`. They are EXERCISED on one GB10, not QUALIFIED; the GPU is reached only through a spark-window; the encoding lessons are in `omega-encoding` section 9a. +- [aien-train](https://github.com/aien-dev/aien-train): training programme and research route toward training on Omega. The Omega LLM stack is on main (`56cc88706a9a685ed9c5dae8050e4643cc7f1aae`, 2026-11-04): #53 merged as `19c952b6`, #54 `2897f38f`, #56 `e186ea29`, #57 `16e9932e`, #58 `4461e3fa`, #59 `24d21497`, #60 `a9c720db`, #61 `930ae21c`, #62 `56cc8870`; #55 is still an open draft (checked with `gh pr view` 2026-11-04). The heads cited below are the reviewed heads before each merge; cite paths at main. The Omega LLM is the planned model for `:18091` (Linear P-DRA-7), not served yet: inference is the CPU command `ollm sample`, with no HTTP server. [PR #53](https://github.com/aien-dev/aien-train/pull/53) (issue #52) at `df1fd9a94b4ec8317552777b2ce361f737942509` adds an Omega LLM v0 proof of concept: a 119104-parameter byte-level transformer whose forward, backward, Adam, checkpoints, eval and sampling are `.om` built with omc at omega-mv `e5b32567`, CPU only, with receipts under `evidence/OMEGALLM/` and a Python-stdlib referee used only as an oracle. Treat it as IMPLEMENTED/EXERCISED on GB10 host CPU, not as qualified or a general training engine. On #53 the I/O sits in one platform unit (`native/omegallm/lio.om` Linux, `native/omegallm/eio.om` UEFI) and `tests/omegallm/build.sh` takes `TARGET=aarch64|x86linux|x86efi`. The x86linux rung (omc `be8c5130…`, omega-mv main `ba5559d9`) is EXERCISED but EMULATED, under qemu-x86_64 user mode on a GB10 core: the full suite matches AArch64 receipt for receipt (`evidence/OMEGALLM/x86/`). The x86efi rung needs [omega-mv#1015](https://github.com/aien-dev/omega-mv/pull/1015) (merged `d3d1b1bc`, the current harness pin; omc `b4f45121…`) and is EXERCISED but EMULATED under QEMU/OVMF (`evidence/OMEGALLM/efi/`). The same UEFI image is EXERCISED on physical hardware (one machine) for that 11-job check on Drake's iMac (2026-11-01, `evidence/OMEGALLM/imac/`; the run records no machine identity, iMac18,3 and Core i5-7500 come from earlier aienux evidence): `tests/omegallm/efi-check.sh` checks the banner, one `J` timing line after each job and the final DONE line by position and finds the job output EQUAL to the AArch64 reference; the written files match their recorded sha256; 186521 ms by the firmware clock. One machine, one run. [PR #54](https://github.com/aien-dev/aien-train/pull/54) (v1) at `2e70de4c8d8663ae4f484b0a9b03220c0dc9e52a` adds a BPE tokenizer in `.om` (V=4096, oracle-checked), a larger checkpoint cap and K worker processes whose gradients the parent sums in a fixed order (bit-identical for every K); its 2,582,208-parameter TinyStories run (9000 steps, K = 20 on the GB10 CPU, wall 41,814 s) finished with `T 9000 1756201` and held-out `E 9000 4486 1823975 680427`, i.e. 0.680427 bpb (`evidence/OMEGALLM/v1/`; EXERCISED, one run, one seed). [PR #55](https://github.com/aien-dev/aien-train/pull/55) adds an `M` machine-identity line to the UEFI `OUT.TXT` through `efi 14` of [omega-mv#1022](https://github.com/aien-dev/omega-mv/pull/1022) (open on 2026-11-04); check #55's current head and receipts before citing it. GPU training on the GB10 from `.om` through the raw NVIDIA driver: [#56](https://github.com/aien-dev/aien-train/pull/56) (rungs 4-6 and kernel rounds k1-k9) at `4e0039070cce87802654a74b869288159ce94f5d`, [#57](https://github.com/aien-dev/aien-train/pull/57) (v2 shape, rung 7) at `43f374a6042769a3d853d9b953dbe4d86348b01b`, [#58](https://github.com/aien-dev/aien-train/pull/58) (BF16 training, adopted in CONTRACT-BF16 section 7) at `cb556468380944f4aa1a9a5da389f4ad193f4154`, [#59](https://github.com/aien-dev/aien-train/pull/59) (rung 8) at `7baaf8b4bda00a4394f1f094aece5ce7b3b6ed5c`, [#60](https://github.com/aien-dev/aien-train/pull/60) (v3 shape, L up to 16; chip gates of window v3-g1 held) at `b92c96b627f33beadd69dc2d8f70833e973a377f`, [#61](https://github.com/aien-dev/aien-train/pull/61) (rung 9) at `fcf6cdedec3024806a82f40e977c1d1389d684a4` and [#62](https://github.com/aien-dev/aien-train/pull/62) (rung 10) at `3ed47a0503f15cdff38ad911eeddb13cf13b4c32`. They are EXERCISED on one GB10, not QUALIFIED; the GPU is reached only through a spark-window; the encoding lessons are in `omega-encoding` section 9a. - [aien-math](https://github.com/aien-dev/aien-math) (private): a Wolfram Language replacement written in `.om`, checked against a corpus of sourced Wolfram recordings. Since main `43c629db362b48aeec3590a8f0cd30e927e5ec16` (PR #2, merged 2026-10-26) its runners fail closed: a nonzero candidate exit fails the row; comparisons in `tests/oracle_common.py` keep the whole result structure instead of matching fractional number tokens; an empty, null or malformed selected corpus prints `CORPUS FAULT` and exits nonzero; Alpha rows (`python3 tests/run_alpha.py`) and `--limit` selections print `NOT_RUN` in `tests/run.py`; and an `intentional_difference` reason excuses a mismatch only when the result equals a sourced `alternate` full answer. Quote a pass count only from a full, unlimited `tests/run.py` run with its exit status, the Alpha result and the guard controls (`python3 -m unittest discover -s tests/unit -p test_oracle_guards.py -v`). Scores from the earlier matcher are dated history and do not compare with current ones. Land changes through a pull request, draft while a dependency is pending, not by pushing to `main`. For memory, do not route to an archived repo just because its name sounds right. [ADR 0036](https://github.com/aien-dev/aien-architecture-mv/blob/main/docs/adr/0036-release-v1-memory-owner.md) names `aien-allen-memory` with an engaged Allen identity for release E4, while preserving ADR 0022's Omega-layer `rx_cortex` ownership. Durable execution journals, evidence receipts, subject memory and a coding agent's recall service are different things. A `.crumb` records directory role/invariants and provenance; `.crumb.local` is temporary coordination. Neither stale metadata nor a recalled model suggestion overrides code or receipts. @@ -164,7 +164,7 @@ Observed contradictions to keep visible, not silently reconcile: - The AienOS README describes an older universal Spark-before-merge process. Its [newer repository instructions](https://github.com/aien-dev/aienix/blob/main/AGENTS.md) warn that historical README prose is not current merge policy. - Omega README's opening sentence used to say the seeded compiler was only on candidate branches while line 27 said it landed from PR #696. omega-mv #801 corrected the opening at main `19f014f21`. Source and current instructions still decide availability. - Architecture README acknowledges roadmap R15/R16 wording lagging candidate results. The execution plan contains dated corrections to older baselines. Read exact candidate receipts and exceptions before raising status. -- CUDApp's README, `AGENTS.md`, `docs/NAMING.md` and Makefile said Omega builds CUDApp from `cudapp.lock`; omega-mv main (`e5b32567`, 2026-10-26, still at `3a163bc5` and at `9920aab1`, 2026-10-31) has no such file and builds its own diverged GPU copy with `nvrm` from physics-mv. The lock exists only on draft omega-mv#924. Corrected in CUDApp#109 (merged `c1652b0d53`); the cut-over is CUDApp#106/#107. CUDApp#212 (merged `c76412e8`) corrected the last two mentions (`AUDIT_SCOPE.md` line 141, `docs/START_HERE.md` line 65), which had still described the lock as existing at CUDApp main `edb9a70361`. +- CUDApp's README, `AGENTS.md`, `docs/NAMING.md` and Makefile said Omega builds CUDApp from `cudapp.lock`; omega-mv main (`e5b32567`, 2026-10-26, still at `3a163bc5` and at `9920aab1`, 2026-10-31, and at `d3d1b1bc`, 2026-11-04) has no such file and builds its own diverged GPU copy with `nvrm` from physics-mv. The lock exists only on draft omega-mv#924. Corrected in CUDApp#109 (merged `c1652b0d53`); the cut-over is CUDApp#106/#107. CUDApp#212 (merged `c76412e8`) corrected the last two mentions (`AUDIT_SCOPE.md` line 141, `docs/START_HERE.md` line 65), which had still described the lock as existing at CUDApp main `edb9a70361`. - [ADR 0038](https://github.com/aien-dev/aien-architecture-mv/blob/main/docs/adr/0038-names-aienux-kernel-aienos-system.md) establishes **AienOS system / Aienux kernel**, but its rename request is not proof both renames happened. Current system slug is **`aien-dev/aienix`**, kernel **`aien-dev/aienux`**. Do not rename `aienix` or reuse `aienos` as onboarding cleanup: redirects, signed repository identities, pins, judge consumers and receipt paths require a coordinated migration. Preserve historical evidence, cryptographic labels and identifiers exactly. ## Refresh before acting diff --git a/skills/omega-encoding/SKILL.md b/skills/omega-encoding/SKILL.md index c636009..a7c1dd6 100644 --- a/skills/omega-encoding/SKILL.md +++ b/skills/omega-encoding/SKILL.md @@ -19,7 +19,29 @@ 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. -### Current main pin (checked 2026-10-31) +### Current main pin (checked 2026-11-04) + +| Item | Value | +|---|---| +| Repository | `github.com/aien-dev/omega-mv`, branch `main` | +| Commit | `d3d1b1bc7e3b970016a2176435f78c8f0251bad1` (merge commit of [#1015](https://github.com/aien-dev/omega-mv/pull/1015), `target x86efi`, head `19ee7e99`, merged 2026-11-04T13:50:27Z) | +| Compiler source `seed/omc/omc.om` | 18,056 lines, 510 `^fn ` lines, sha256 `16b4ca40a5bd7796ac08b55d1ceadac1260e52298ed123f45418e77b3221c749` | +| Compiler `seed/out/omc` | sha256 `b4f45121f6c6d5d8a6ed0f5c4f3934b7cc4bec369bfa89523699bd33928f9b55`, 611,620 bytes (equals `seed/out/omc.sha256`; last `seed/omc/size-history.tsv` row `x86efi-1015`) | +| Seed loader `seed/rung0/seed0.hex` | sha256 `baaf081fe6055a768485c5d25d7435681ce00b04cfa80b26c48169f78944e14d` (unchanged) | + +#1015 is the only merge after `9920aab14` that changes `seed/out/omc`: at `ba5559d9b`, `f9a9a40b5` +(train r4) and `19b8340db` (train r5) it is still `be8c5130…`. #1015 adds the x86efi backend +(section below); AArch64 and x86linux output of the 1305 tracked `.om` files is unchanged except the +4 x86efi test programs (#1015's corpus TSVs). `omc.om` went from 495 to 510 `^fn ` lines, so the om4 +cap (section 8) has 2 free entries at this pin. + +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) | Item | Value | |---|---| @@ -52,7 +74,7 @@ with exit 105. The same `fnv1a32.om` prefixed with `target x86linux` printed `0b `abc` with exit 0 under `qemu-x86_64` 8.2.2: EMULATED, not native x86. The omega MCP tools (`compile`, `run`) use an older pin: omega-mv `e5b32567`, omc `2c824805…029f`. -Their results do not describe main's omc `be8c5130…`; for main, run `git show main:seed/out/omc` +Their results do not describe main's omc `b4f45121…`; for main, run `git show main:seed/out/omc` directly. ### Previous pin `3a163bc5` (2026-10-31, history) @@ -154,24 +176,26 @@ At main `91c83438d` (omc `2aec185d…`, 2026-10-31), at main `3a163bc5e` (omc `2 `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 main's omc observations; with omega-mv#1015 merged (`MERGESHA_1015`) error 25 -on `target x86efi` covers only the refusals listed in the next section. +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 as `MERGESHA_1015`; observed 2026-11-01 to 2026-11-04) +### `target x86efi`: omega-mv#1015 (merged `d3d1b1bc7`, the current pin; observed 2026-11-01 to 2026-11-04) [omega-mv#1015](https://github.com/aien-dev/omega-mv/pull/1015), branch `feat/x86efi-main`, -open and ready for review at head `19ee7e99fafaa6a509e0fd166126a16226e414f7` (merged with a merge -commit as `MERGESHA_1015`, so the commits cited below stay reachable). First observed at +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 -main's `be8c5130…`, refuses every `target x86efi` unit with error 25 (section above). +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`. - The exact first line `target x86efi` emits a PE32+ EFI application for x86-64 UEFI firmware. Only whole programs (`fn main`) are accepted. Error 25 there means one of three refusals: a bare unit (`omc: line 1: error 25`), a Linux host word such as `read` or `write` (error 25 at its - line), or an `efi` OP literal outside 0..13 (0..14 once omega-mv#1022 is merged as - `MERGESHA_1022`). An OP that is not a literal, such as a name, is error 16. `efi` under + line), or an `efi` OP literal outside 0..13 (0..14 with omega-mv#1022, open on + 2026-11-04). An OP that is not a literal, such as a name, is error 16. `efi` under `target x86linux` is an ordinary unknown name, error 3 (`docs/one_layer/OMEGESE.md` lines 441-451 at `19ee7e99`). Observed 2026-11-04 with omc `b4f45121`: `efi 13` compiles, `efi 14` and `efi 15` give `omc: line 4: error 25`, `k = ulong 13` then `efi k …` gives `omc: line 5: error @@ -196,7 +220,7 @@ main's `be8c5130…`, refuses every `target x86efi` unit with error 25 (section - `efi 14` machine identity: [omega-mv#1022](https://github.com/aien-dev/omega-mv/pull/1022) (branch `feat/x86efi-ident`, stacked on #1015, observed at `fbcf08826` and at head `9bf67eff`; omc sha256 `3ad9f10f64309e7acf8a725082b28e23a2a4aeb07e98322fb4dc0fcd8fc93194` at `9bf67eff`; - merged as `MERGESHA_1022`). ARG + open, not merged, on 2026-11-04 at head `d07974da`). ARG `L << 16` = CPUID leaf L (16 bytes EAX..EDX; N < 16 is error 5), 1 = FirmwareVendor UCS-2 units, 2 = FirmwareRevision as the result (nothing written), `3 + (P << 16)` = SMBIOS structure table from byte P (SMBIOS 3 entry point first, else 2; none is error 44, NOT_RUN); anything else is error 32. @@ -217,7 +241,7 @@ main's `be8c5130…`, refuses every `target x86efi` unit with error 25 (section - Evidence class: QEMU q35 + OVMF results are EMULATED; #1015 itself is IMPLEMENTED and EXERCISED under emulation, not QUALIFIED. First physical run: EXERCISED on physical hardware (one machine), aien-train `ollm.efi` on Drake's iMac (2026-11-01; `evidence/OMEGALLM/imac/` on - aien-train [#53](https://github.com/aien-dev/aien-train/pull/53) at `df1fd9a`, MERGED_PENDING). + aien-train [#53](https://github.com/aien-dev/aien-train/pull/53) at `df1fd9a`, merged `19c952b6`). The run records no machine identity; iMac18,3 and Core i5-7500 come from earlier aienux evidence. The OUT.TXT body equals the AArch64 reference under `tests/omegallm/efi-check.sh` (next bullet), and the written files TR.BIN, HE.BIN and S.CK match their recorded sha256. Reading the @@ -282,7 +306,18 @@ correctness proof or a full gate5/host qualification. Every citation links to that commit: `https://github.com/aien-dev/omega-mv/blob/55f9b0af47de70a3d06357985cf99ae3e45c016f/#L`. -### Rerun at omega-mv `9920aab1` (2026-10-31) +### Rerun at omega-mv `d3d1b1bc` (2026-11-04) + +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 @@ -293,9 +328,9 @@ sha256 `be8c51301307555254fc59e351d281aae1aa096d91521777e33a41c8b446448a`. #994 `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 previous pin. +from consts.stdout`). The section below is the pin before. -### Rerun at omega-mv `3a163bc5` (2026-10-31, previous pin) +### 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 @@ -760,7 +795,7 @@ disagree, `omc` is what compiles your program: compile; `ret uchar 256` and `ret ulong sub c 300` (c uchar) are error 8; `ret bool c` and `ret ulong eq a b` are error 9. An earlier pin of this skill (omega-mv `91c83438`, omc `2aec185d…`) predates #967: it gives error 7 for the two widening casts and for `ret ulong eq a b`, and compiles - `ret bool c`. The current pin `9920aab1` includes #967 (since `3a163bc5`): observed 2026-10-31, the + `ret bool c`. The pins `9920aab1` and `d3d1b1bc` include #967 (since `3a163bc5`): observed 2026-10-31, the IR unit `fn dig c uchar to ulong` / `ret ulong sub c 48` compiles with omc `24caacf4…` (124 bytes of IR) and is `omc: line 3: error 7` with `2aec185d…`; with omc `be8c5130…` the `ir` unit `ir` / `fn dig c uchar to ulong` / `ret ulong sub c 48` / `end` compiles with exit 0 to output @@ -999,7 +1034,7 @@ the target's limits, and a NaN gives 0, with no trap (observed at `e5b32567`, - **`dit` and `scrub`: merged in [omega-mv#875](https://github.com/aien-dev/omega-mv/pull/875) as `2367874399001efdc7f1ff345fb327469bc1a135` (2026-10-31), committed omc sha256 `3862655902e3bb9f502ebca2e1e5e5edb6175bf512be731a63c700a6dce8d355`; included in the current pin - `9920aab1` (omc `be8c5130…`) and in the previous pin `3a163bc5` (omc `24caacf4…`).** Keyword ids: `dit` 225, `scrub` 226 in `fn kw2`, the OM-2 table + `d3d1b1bc` (omc `b4f45121…`), in `9920aab1` (omc `be8c5130…`) and in `3a163bc5` (omc `24caacf4…`).** Keyword ids: `dit` 225, `scrub` 226 in `fn kw2`, the OM-2 table ([omc.om#L1329](https://github.com/aien-dev/omega-mv/blob/2367874399001efdc7f1ff345fb327469bc1a135/seed/omc/omc.om#L1329), [#L1384-L1388](https://github.com/aien-dev/omega-mv/blob/2367874399001efdc7f1ff345fb327469bc1a135/seed/omc/omc.om#L1384-L1388)). Both are emitted inline, not as helper functions, because om4 holds 512 functions and `omc.om` is at @@ -1086,7 +1121,7 @@ From OMEGESE 9.4 and 9.7 ([#L449-L474](https://github.com/aien-dev/omega-mv/blob ## 8. Loops and bounds From OMEGESE section 3 and 4 ([#L58-L60](https://github.com/aien-dev/omega-mv/blob/55f9b0af47de70a3d06357985cf99ae3e45c016f/docs/one_layer/OMEGESE.md#L58-L60), [#L131-L135](https://github.com/aien-dev/omega-mv/blob/55f9b0af47de70a3d06357985cf99ae3e45c016f/docs/one_layer/OMEGESE.md#L131-L135)) and [omc.om#L5493-L5494](https://github.com/aien-dev/omega-mv/blob/55f9b0af47de70a3d06357985cf99ae3e45c016f/seed/omc/omc.om#L5493-L5494); -the bound ranges below are those of the pin `3a163bc5`, and the cited lines are unchanged at the current pin `9920aab1` (the `omc.om` ones moved down 10 lines) (OMEGESE [#L63-L69](https://github.com/aien-dev/omega-mv/blob/3a163bc5eafa5be4b9ca97b7f17046c33f0d9032/docs/one_layer/OMEGESE.md#L63-L69), +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](https://github.com/aien-dev/omega-mv/blob/3a163bc5eafa5be4b9ca97b7f17046c33f0d9032/docs/one_layer/OMEGESE.md#L63-L69), [#L140-L149](https://github.com/aien-dev/omega-mv/blob/3a163bc5eafa5be4b9ca97b7f17046c33f0d9032/docs/one_layer/OMEGESE.md#L140-L149); `s_while` [omc.om#L8853-L8854](https://github.com/aien-dev/omega-mv/blob/3a163bc5eafa5be4b9ca97b7f17046c33f0d9032/seed/omc/omc.om#L8853-L8854), `sf_num` [#L8912-L8915](https://github.com/aien-dev/omega-mv/blob/3a163bc5eafa5be4b9ca97b7f17046c33f0d9032/seed/omc/omc.om#L8912-L8915), @@ -1186,7 +1221,7 @@ Base words ([#L476-L486](https://github.com/aien-dev/omega-mv/blob/55f9b0af47de7 `write fd A off n`, `pread`/`pwrite fd A off n pos`. Native host words ([#L624-L747](https://github.com/aien-dev/omega-mv/blob/55f9b0af47de70a3d06357985cf99ae3e45c016f/docs/one_layer/OMEGESE.md#L624-L747)): files, directories, clocks, sockets, poll, processes, arguments, environment, random. -**cpufence / cpurelax: merged in [omega-mv#946](https://github.com/aien-dev/omega-mv/pull/946) as `d94617177`; in the current pin `9920aab1` / omc `be8c5130` (since `91c83438`).** +**cpufence / cpurelax: merged in [omega-mv#946](https://github.com/aien-dev/omega-mv/pull/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` @@ -1216,7 +1251,7 @@ the wrong word: `pwrite` from a `text` was error 20 and `pread` into a `text` co **`peername`: bounded peer address of an existing descriptor** (merged in [omega-mv#918](https://github.com/aien-dev/omega-mv/pull/918) as `2d848d939`, committed omc -`38748442…`; in the current pin `9920aab1` / omc `be8c5130`, since `3a163bc5` / omc `24caacf4`). `peername fd A off n` is host word 224, +`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 @@ -1237,7 +1272,7 @@ candidate notes of harness draft #108 (candidate omc `4ef67f18`/`6a2916cd`). **`execpure` and descriptor closing in `execprog`** (merged in [omega-mv#970](https://github.com/aien-dev/omega-mv/pull/970) as `1db941627`; in the current pin -`9920aab1` / omc `be8c5130`; observed below with the then pin `91c83438` / omc `2aec185d`). `execpure A off n` is host word 198 +`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, diff --git a/skills/omega-harness/SKILL.md b/skills/omega-harness/SKILL.md index 2d1d5ba..61584d0 100644 --- a/skills/omega-harness/SKILL.md +++ b/skills/omega-harness/SKILL.md @@ -128,7 +128,7 @@ reference from omega-mv #919 is **MERGED** and **IMPLEMENTED / EXERCISED (host)* not QUALIFIED or DEPLOYED: train r1 [#971](https://github.com/aien-dev/omega-mv/pull/971) merged it as `f56a372aec4909f0601bb4f74ce07b066dd54cf2` ([#919 close comment](https://github.com/aien-dev/omega-mv/pull/919#issuecomment-6529992046)). -Current pin: omega-mv main `9920aab1413983c2867d02d75b2276341595adb8`. The original +Current pin: omega-mv main `d3d1b1bc7e3b970016a2176435f78c8f0251bad1`. The original evidence pins were documentation `e79566c191ea8ef11888e69ce50d8fadf375d4fd` and clean implementation `39e89fb1c2aaed99ddc05ec565274dd05792b70f` on main `6999fa9e6`. @@ -153,7 +153,7 @@ The original run used compiler `seed/out/omc` SHA-256 `d6290c7663c2b4bafb59eb3fdf812476e977f4c144def71095c6248ef9b96b84` (receipt `neuralese/host-results.287fdc263f7af93107c378ba63c92202a0e6c1479cb1ff6971706b423b0b15fb.json`, kept unedited on main). The conductor refuses any compiler other than the pinned one, -so at main `9920aab1` use the current omc SHA-256. From a fresh Linux AArch64 clone, +so at main `d3d1b1bc` use the current omc SHA-256. From a fresh Linux AArch64 clone, with the scratch directory absent: ```sh @@ -161,15 +161,17 @@ mkdir -p build if seed/out/omc < seed/qualification/om2/gate.om > build/neuralese-gate; then chmod +x build/neuralese-gate && build/neuralese-gate seed/out/omc \ - be8c51301307555254fc59e351d281aae1aa096d91521777e33a41c8b446448a \ + b4f45121f6c6d5d8a6ed0f5c4f3934b7cc4bec369bfa89523699bd33928f9b55 \ neuralese/host.cases build/neuralese-host else exit 1 fi ``` -MEASURED 2026-10-31 at main `9920aab1` (omc `be8c5130...448a`, clean detached worktree): -`OM2GATE PASS cases=54 pass=54 fail=0 invalid=0 not_run=0` (exit 0), the same count as at +MEASURED 2026-11-04 at main `d3d1b1bc` (omc `b4f45121...9b55`, clean detached worktree): +`OM2GATE PASS cases=54 pass=54 fail=0 invalid=0 not_run=0` (exit 0); passing the previous pin hash +`be8c5130` gives `OM2GATE INVALID cases=54 pass=0 fail=0 invalid=0 not_run=54` (exit 3). +MEASURED 2026-10-31 at main `9920aab1` (omc `be8c5130...448a`): the same PASS count as at `3a163bc5` (omc `24caacf4...abb7`), at `91c83438` (omc `2aec185d...d8d5`) and in the original `d6290c76` receipt; passing the previous pin hash `24caacf4` to the same conductor gives `OM2GATE INVALID cases=54 pass=0 fail=0 invalid=0 not_run=54` (exit 3). Earlier negative control (2026-10-31 at `91c83438`): one byte appended to @@ -271,17 +273,17 @@ MJB/MJR authority or production qualification. The independent NL6 replay is Use the target repository's documented commands. A host-only seed workflow on AArch64 Linux, in a disposable clone pinned to an exact revision, looks like this: -Current main source pin (checked 2026-10-31): omega-mv -`9920aab1413983c2867d02d75b2276341595adb8` (squash of -[#994](https://github.com/aien-dev/omega-mv/pull/994), `scrub` keeps live float registers, after -#857, #967, #948, #875, #918, #853 and #848; the list is in `omega-encoding` section 0). -`seed/omc/omc.om`: 16,432 lines, sha256 -`d4b4b89d8a58cc90d30d15a525b417e4b31e5bfe5288d21d665f1c7958a330f6`; +Current main source pin (checked 2026-11-04): omega-mv +`d3d1b1bc7e3b970016a2176435f78c8f0251bad1` (merge commit of +[#1015](https://github.com/aien-dev/omega-mv/pull/1015), `target x86efi`; the only compiler change +after #994; the list is in `omega-encoding` section 0). +`seed/omc/omc.om`: 18,056 lines, sha256 +`16b4ca40a5bd7796ac08b55d1ceadac1260e52298ed123f45418e77b3221c749`; `seed/out/omc`: sha256 -`be8c51301307555254fc59e351d281aae1aa096d91521777e33a41c8b446448a`, 517,856 bytes, equal to +`b4f45121f6c6d5d8a6ed0f5c4f3934b7cc4bec369bfa89523699bd33928f9b55`, 611,620 bytes, equal to `seed/out/omc.sha256`, and reproduced by `sh seed/omega-from-seed.sh` in a clean detached worktree (exit 0). Example reruns at this compiler are in `omega-encoding` section 0. The earlier -main pins `3a163bc5e` (#857, omc `24caacf4…abb7`), `91c83438d` (#965, omc `2aec185d…d8d5`), +main pins `9920aab14` (#994, omc `be8c5130…448a`), `3a163bc5e` (#857, omc `24caacf4…abb7`), `91c83438d` (#965, omc `2aec185d…d8d5`), `bf54b19fa` (#923, omc `62775d2a…712b`, unchanged through `4376c2112`), `1db941627` (#970, omc `7a8b84fc…`), the candidate pin `1fe5976d` (#911, compiler `d6290c76...6b84`) and older pins below remain dated history. diff --git a/skills/writing-omega/SKILL.md b/skills/writing-omega/SKILL.md index a8e37b5..7923eb3 100644 --- a/skills/writing-omega/SKILL.md +++ b/skills/writing-omega/SKILL.md @@ -14,8 +14,8 @@ For compiler internals, register rules, wire formats and the reasons behind each | Pin | Value | |---|---| -| omega-mv commit | `9920aab1413983c2867d02d75b2276341595adb8` | -| compiler `seed/out/omc` | sha256 `be8c51301307555254fc59e351d281aae1aa096d91521777e33a41c8b446448a` | +| omega-mv commit | `d3d1b1bc7e3b970016a2176435f78c8f0251bad1` | +| compiler `seed/out/omc` | sha256 `b4f45121f6c6d5d8a6ed0f5c4f3934b7cc4bec369bfa89523699bd33928f9b55` | | language reference | `docs/one_layer/OMEGESE.md` at that commit | | host | Linux AArch64 only; omc writes a static AArch64 Linux ELF | @@ -26,7 +26,7 @@ decides; this guide records the known disagreements. ```sh git clone https://github.com/aien-dev/omega-mv && cd omega-mv -git checkout 9920aab1413983c2867d02d75b2276341595adb8 +git checkout d3d1b1bc7e3b970016a2176435f78c8f0251bad1 sha256sum seed/out/omc # must print the pinned hash sh seed/omega-from-seed.sh # optional: rebuild omc from the 408-byte loader seed/out/omc < prog.om > prog; echo "compile $?" @@ -315,7 +315,7 @@ with its exact stderr line in the matching `.expect`, except 24, which needs a g | 22 | a text escape other than `\n \t \\ \"` | `err22_text_escape` | build other bytes with `put` | | 23 | array or pool size limit | `err23_size` | smaller arrays (section 8 limits) | | 24 | a conditional branch farther than 1 MiB of code | generated, below | move long bodies into functions | -| 25 | unknown `target` name, an AArch64-only path on another target, or (with omega-mv#1015) an x86efi refusal | `err25_target` | omit `target` for AArch64, or name a target the unit fits (`target x86linux` with `fn main` compiles; at the pin `target x86efi` with the same unit is error 25). omega-mv#1015 (head `19ee7e99`, merged as `MERGESHA_1015`, omc `b4f45121…`) adds the x86efi backend; its error 25 is a bare unit (no `fn main`), a Linux host word, or an `efi` OP literal outside 0..13 (0..14 with omega-mv#1022, `MERGESHA_1022`); a non-literal OP is error 16 and `efi` under `target x86linux` is error 3. See `omega-encoding` | +| 25 | unknown `target` name, an AArch64-only path on another target, or (with omega-mv#1015) an x86efi refusal | `err25_target` | omit `target` for AArch64, or name a target the unit fits (`target x86linux` and `target x86efi` with `fn main` compile). omega-mv#1015 (head `19ee7e99`, merged as `d3d1b1bc`, the pin, omc `b4f45121…`) adds the x86efi backend; its error 25 is a bare unit (no `fn main`), a Linux host word, or an `efi` OP literal outside 0..13 (0..14 with omega-mv#1022, open); a non-literal OP is error 16 and `efi` under `target x86linux` is error 3. See `omega-encoding` | | 26 | never emitted at the pin | none | none | | 27 | OM-2 `fresh` element read before it is written | `err27_fresh` | `put` every element before the `get` | | 28 | OM-2 `seal` outside the constructor | `err28_seal` | `seal` only as the whole body of `fn NAMEmk ... to NAME` |