Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-harness/patches/5c991819eaf45f15 # omega-harness Agent skills for operating, encoding and communicating in Omega (.om) and the AIEN repositories Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/omega-harness#78 (code only) closed derived `5c991819eaf45f15` #78 Imported from GitHub aien-dev/omega-harness#78 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `3e56afb73ad755170f3238cec326debb76021071` · Head `10ba447e13c372a6f5669684c9ccb86740651177` ### Fetch it A git bundle of the pull request's head, 5944 bytes. ``` curl -fsSL https://interplane.io/drakestapleton/omega-harness/patches/5c991819eaf45f15.bundle -o 5c991819eaf45f15.bundle git fetch 5c991819eaf45f15.bundle refs/pull/78/head ``` Raw bundle · Diff ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/omega-harness 78 10ba447e13c372a6f5669684c9ccb86740651177 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"omega-harness","number":78,"url":"https://github.com/aien-dev/omega-harness/pull/78","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:49Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/skills/aien-repositories/SKILL.md b/skills/aien-repositories/SKILL.md index d6d7133..a1fbb6c 100644 --- a/skills/aien-repositories/SKILL.md +++ b/skills/aien-repositories/SKILL.md @@ -110,6 +110,7 @@ For memory, do not route to an archived repo just because its name sounds right. - [aien-protocols-mv](https://github.com/aien-dev/aien-protocols-mv): canonical wire/state specifications and schemas. Change the contract here rather than silently forking it in a consumer. - [interplane-mv](https://github.com/aien-dev/interplane-mv): model/runtime interoperability and conformance. Its [instructions](https://github.com/aien-dev/interplane-mv/blob/main/AGENTS.md) make the model untrusted: parsing never executes, transport never grants, a valid envelope is not authorization, and a signature proves origin, not authority. Runtime policy decides; requests cannot upgrade its decision. `STATUS.md` owns implementation/qualification claims. +- [ggml-omega](https://github.com/aien-dev/ggml-omega) (created 2026-10-27, child of omega-bridge, issue omega-bridge#10): a ggml/llama.cpp out-of-tree backend (`GGML_BACKEND_PATH=libggml-omega.so`) whose op kernels are seeded-Omega units; unsupported ops fall back to ggml's CPU backend. PENDING: main holds only a skeleton (README, LICENSE); the backend is open [ggml-omega#1](https://github.com/aien-dev/ggml-omega/pull/1) (branch `omega-backend`, head `90f1e313` on 2026-10-31), and the following describes that branch. `ggml-omega.c` is interim host glue (addressing, loops, staging only; successor: an `.om` loadable object, omega-mv #636/#637). It pins omc, omega-bridge `src/native.om` (sha256) and llama.cpp (commit); `build.sh` refuses mismatches. Status claims come from its CI per-op `test-backend-ops` table, the `add -> sub` mutant and the end-to-end CPU-vs-Omega decode, never from compiling. Nothing from it is posted to ggml-org/llama.cpp. - [omega-bridge](https://github.com/aien-dev/omega-bridge): owns compatibility, not computation or GPU execution. Checked Omega-subset conversion to C/Python (`src/toc.om`), native bindings so foreign callers call compiled Omega (`src/native.om`), framework attachments (PyTorch, llama.cpp/GGML, MAX) and the opt-in GPU artifact boundary (`src/gpu_adapter.om`, which runs no kernel; device runs go through CUDApp). It is an adoption mechanism that makes existing ecosystems optional and must not constrain Omega to them. [Current instructions](https://github.com/aien-dev/omega-bridge/blob/main/AGENTS.md) explicitly refuse universal conversion: Python/C input conversion is not implemented. Adapter admission is not proof of device execution. Do not take a compiler from it; pin omega-mv's (omega-mv#870, open). [omega-bridge #47](https://github.com/aien-dev/omega-bridge/pull/47) (merged 2026-10-31, squash `6ec6dab7`) runs a `.om` matmul inside a MAX 26.7.0 graph as a CPU custom op (`max-cpu/`; one Mojo glue file, `OwnedDLHandle` + dlsym; plain `external_call` cannot resolve the symbol in MAX's kernel JIT). EXERCISED on the Spark host CPU only (`sh max-cpu/run.sh`: `OMEGA MAX CPU: PASS`, controls green and four negative controls refused); no kernel ran on GB10. The graphs are CPU-only, but MAX 26.7.0 `Graph()` still creates a CUDA context whenever a GPU is visible, and `run.sh` at `6ec6dab7` did not hide it: a 2026-10-31 rerun there passed every check and control, then exited 1 when its last measurement failed in `Accelerator()` with `CUDA_ERROR_OUT_OF_MEMORY`. [omega-bridge #51](https://github.com/aien-dev/omega-bridge/pull/51) (merged 2026-10-31, squash `9532044e`) fixes this: `run.sh` exports `CUDA_VISIBLE_DEVICES=` and `omega_max.py` refuses a visible GPU (exit 2). Its requalification at head `5f7492ff` exited 0 with 16 of 16 measurements and no harness process in `nvidia-smi --query-compute-apps` across 77 samples, and a copy of `run.sh` without the export was refused. Run plain `sh max-cpu/run.sh` on main; on the Spark pin it to cores 5-9, never 10-14. When reproducing it, give each run an empty `MODULAR_CACHE_DIR`, because MAX 26.7.0 reuses a compiled custom-op kernel after its Mojo source changes; `max-cpu/mogg-cache-repro.sh` shows this and exits 0 since #51. - [omega-mcp](https://github.com/aien-dev/omega-mcp) (created 2026-10-27): an MCP stdio server written in `.om` that lets an agent `compile` and `run` Omega with the pinned seeded omc (omega-mv `e5b32567`, omc sha256 `2c824805…`) in a per-call bwrap+prlimit sandbox, and answers `explain_error` and `lookup` from data checked against that pin. At main `6eba894d87b3486957d03bc62e630723545ac6eb` its smoke session, reference oracle and trust gate (a `~/.local/state` read, a fork bomb, an infinite loop and a 10 GiB write, each with a no-isolation negative control) PASS on the Spark host only: no CI yet, and bwrap and prlimit are recorded host dependencies awaiting Omega namespace and rlimit words. It is agent tooling, not a conversion route: conversion stays with omega-bridge. - [babel](https://github.com/aien-dev/babel) (created 2026-10-26): the code-translation CLI that goes through Omega. `babel --to rust|c|python|cpp|zig|go` writes `.babel/` (input copy, Omega units, target project, differential vectors, REPORT.md/report.json). The driver is `.om`; the translation adapters stay in omega-mv (#624 lanes), so change adapters there, not in babel. Only profile S1 (C17 pure `uint64_t` functions, adapters pinned at `universal/624-g1-integration` `2d4c6407`) is implemented. Everything else is refused or MISSING_IMPLEMENTATION per item. TRANSLATED requires the original C, the Omega unit and the target output to agree byte for byte on every vector. Its README matrix and `tests/run.sh` (with a mutated-oracle negative control) own the status; host CI is not hardware qualification. diff --git a/skills/omega-harness/SKILL.md b/skills/omega-harness/SKILL.md index 4f98954..c20086f 100644 --- a/skills/omega-harness/SKILL.md +++ b/skills/omega-harness/SKILL.md @@ -320,6 +320,7 @@ fi - `seed/wasm/gate-irwasm.sh` and the OM-2 `gate.om` suites are merged but not in any `tests/gates/*.gate` manifest at main `19f014f21`, so `tests/gates/run.sh seed` does not cover them (omega-mv #790). Run and report them separately. - A benchmark can need a seekable stdin. A checker replay that seeks back over its input 101 times exits 90 when stdin is a pipe, and the same command exits 0 when stdin is an opened regular file. Supply a file, and do not count the setup-status exit as a control result. - Native callers of compiled Omega units are qualified per language, and only by execution. Since omega-bridge main `adb26cc654656926e76ab1839adae63e92909e88` (PR #18, merged 2026-10-26), `tests/native/run.sh` prints `NATIVE-CALL PASS` only after all seven required callers (`c`, `c-bti`, `cpp`, `python`, `rust`, `zig`, `go`) built and ran. A present toolchain whose build fails prints `NATIVE-CALL FAIL` and a missing toolchain prints `NATIVE-CALL NOT_RUN`; both exit nonzero. Check the refusal paths with `OMEGA_NATIVE_OMC= sh tests/native/test_build_failures.sh`: it injects failing Zig and Go toolchains, hides both for the missing-toolchain control, then requires the real Zig and Go callers to pass. It needs real Zig 0.13.0 and Go binaries (`ZIG`, `GO`) and prints `NOT_RUN` without them. The historical `evidence/native-call-v1/run.log` predates this runner and stays unchanged; do not cite it as a current all-caller PASS. +- Since omega-bridge PR #26 (merged 2026-10-30 as `f637021f36f0cfff39240a62341a47e442ae05c3`) the native call generator also binds `edit`/`view` arrays of `f32` (4-byte, 4-aligned) and `ushort` (2-byte, 2-aligned, e.g. binary16 bits converted inside Omega), besides `ulong`/`uchar`; other array kinds (e.g. `view uint`) are still refused with exit 110 and the previous output left untouched. Check them with `OMEGA_NATIVE_OMC= sh tests/native/kinds.sh` (C caller vs `_Float16`-computed values, six status-32 refusals, an `add -> sub` mutant that must fail; `NATIVE-KINDS PASS` rerun 2026-10-31 at `f637021f`, at bridge main `654305fa` and at bridge main `9532044e`; any other compiler prints `FAIL omc sha256`). The omc pinned by `tools/native` (`734f0a39…`, still the pin at bridge main `9532044e`) rejects functions that return `f32` (error 5); omega-mv omc `2aec185d…` (pin `91c83438`) accepts them (`seed/omc/tests/float/f32_return.om` compiles and exits 0), but bridge units must compile under the pin, so have helpers return `uint` bits and `bitcast` in the caller. First consumer: [aien-dev/ggml-omega](https://github.com/aien-dev/ggml-omega), a llama.cpp backend whose op kernels are Omega units; its per-op `test-backend-ops` table and end-to-end decode are its evidence, not the bridge's. - **x86 native bridge target and compiler refresh (merged 2026-10-29; native x86 NOT_RUN):** omega-bridge [PR #37](https://github.com/aien-dev/omega-bridge/pull/37) (closed unmerged; #40, stacked on it, squash-merged its changes at `ed420fcbffa1ad83db78111deb836dd880ed891e`), commit `1109b46a19c98c650488d36b465d969de65e3d61`, adds explicit `tools/native --target x86linux OUT unit.om...` for hosted SysV AMD64 C/C++/Python/Rust/Zig/Go callers. AArch64 remains the default; all 150 baseline/output comparisons with bridge `0c4cb9ff` passed byte-for-byte. The generator/bootstrap build host is still AArch64; x86 freestanding explicitly refuses. Do not infer the target from the build host. Both compiler baselines remain mandatory: `OMEGA_NATIVE_OMC` sha256 `734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61` builds the generator (still required at bridge main `ed420fcb`, `docs/NATIVE-ABI.md` lines 15-16). At bridge `1109b46a19c98c650488d36b465d969de65e3d61`, separate `OMEGA_NATIVE_X86_OMC` was pinned to candidate compiler SHA256 `badedbb0c6287887641fcd7e97301b43b5f82f2d7a2838bbe0d17547873108be`, omega-mv source `3e66b6744590cc72c623d8e09413b9072bcab36e`, source SHA256 `4b5392fffd25a3a37844ad8bb5138fbaada690be7dae95132614524bdb78a1e0`, then-pending [compiler draft #923](https://github.com/aien-dev/omega-mv/pull/923) (merged at `bf54b19f`). `OMEGA_NATIVE_OMC2` is unused for x86; do not substitute the candidate for the baseline. The tool prefixes only compiler input with `target x86linux`; source snapshots and `src=` identities retain original bytes. X86 export slots are six bytes, not AArch64's four-byte branches. The pinned private ABI uses negative frame slots, R12 for the caller frame anchor, R14 for the runtime table, R15 for the actual stack floor, and ESI/table slot 2 for nonlocal traps. Advanced host helpers refuse bare units; legacy read/write remain permitted. The adapter does not support CET shadow-stack enforcement. ```