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/d457662c4c9f2087 # 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#169 (code only) closed derived `d457662c4c9f2087` #169 Imported from GitHub aien-dev/omega-harness#169 (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 `ec1bb54e2ef6c5cc2cf58ff05d6de531850a4969` · Head `2f408443c9ae75e6034870e72ebe209f4b1c3ed3` ### Apply it ``` git checkout -b patch-d457662c4c9f2087 ec1bb54e2ef6c5cc2cf58ff05d6de531850a4969 curl -fsSL https://interplane.io/drakestapleton/omega-harness/patches/d457662c4c9f2087.patch | git am ``` Raw patch (mbox) · 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 169 2f408443c9ae75e6034870e72ebe209f4b1c3ed3 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"omega-harness","number":169,"url":"https://github.com/aien-dev/omega-harness/pull/169","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:39Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/skills/omega-harness/SKILL.md b/skills/omega-harness/SKILL.md index 2d1d5ba..6c22895 100644 --- a/skills/omega-harness/SKILL.md +++ b/skills/omega-harness/SKILL.md @@ -326,10 +326,11 @@ fi - 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. +- **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. Do not infer the target from the build host. x86 freestanding refused (exit 110, before creating OUTDIR) until [omega-bridge#44](https://github.com/aien-dev/omega-bridge/pull/44) merged 2026-10-31 as `49b6963587cc625027a0445996e57841430f3c63`; since then `--target x86linux --freestanding` emits the pure-scalar binding with a SysV adapter on the caller's stack (trap anchor R12, owned-stack floor R15 = 0, no bound check), per that revision's `docs/NATIVE-ABI.md`. 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. Run `python3 tests/native/x86/test_build_failures.py [EMPTY_OUTPUT]` with the cross-toolchain, guest Python and `QEMU_X86_64` environment documented in that bridge revision's `docs/NATIVE-ABI.md`. Its strict positive suite executes all six actual language callers (Rust 2021/2024), pointer statuses 32, signal reentry 33, stale identities, private symbols/TLS, traps, fixed-stack-floor and boundary/API mutants. A mismatched candidate must refuse before creating a fresh output directory and preserve existing output bytes. Failed Zig/Go and missing-toolchain controls must refuse aggregate PASS (#34). `tests/native/x86/prepare.py` records exact guest-Python package custody. + **QEMU oracle preflight (MERGED 2026-11-05 as [omega-bridge#57](https://github.com/aien-dev/omega-bridge/pull/57), squash commit `8c4abda27b6c5d88c87b80d824528ac7883fdcc5`):** Ubuntu's `/usr/bin/qemu-x86_64` 8.2.2 (sha256 `120db995…`) fails 4 callers at bridge main `7af4d11`: c, go, rust and rust-2024, giving 312 PASS and 4 FAIL. The same main passes 316/316 under the receipt's QEMU 10.0.14, binary sha256 `fd7ae7768c1d698d387893688d28abde90512f1f445d171a1389110eb7c237ee`. 8.2.2 has two defects. It crashes internally reading `/proc/self/maps` (MAPERR addr 0x20). It also enters signal handlers with RSP+8 misaligned by 8, so the `movaps` stack stores in `omega2_vlen` fault inside the C caller's reentry handler. Before blaming the bridge for an x86 caller crash, check the emulator: set `QEMU_X86_64` to a 10.0.14 build per `docs/NATIVE-ABI.md`. Since bridge `8c4abda2`, the suite prints the QEMU path, sha256 and version, then runs `tests/native/x86/qemu_probe.c` (`maps`, `sigframe`). A failing mode prints `NOT_RUN QEMU-ORACLE-UNUSABLE `, and the run ends `NATIVE-X86 NOT_RUN` with exit 1 before any caller runs. That is a refusal of the emulator, not a bridge FAIL. Never weaken a caller to fit an old QEMU. The preflight was exercised on the PR head; it has not been re-run at merge commit `8c4abda2`. **Historical EXERCISED, EMULATED only:** at bridge `81c7ec3d95469b8ae60b3cf6797068decc1900de`, with its old candidate pin `1f0fdef06574ffec782c164941114edcf51f36f9f9cd1e79bc0452dbcebb3322`, the aggregate command exited 0 under unpatched QEMU 10.0.14, source archive sha256 `c7230968906fdb5540d803e2af1f515e77590a414f2a4dbd3ec9ada3c47083d0`. Those command/runtime/tool/source receipts remain immutable in `evidence/native-x86/`; they do not qualify the refreshed pin. QEMU 8.2.2 produced signal and `/proc/self/maps` failures; the same callers passed with the newer oracle, without weakening them. Physical native x86 and GPU execution are **NOT_RUN**. These were unmerged drafts when recorded; the later merges are not deployment, Alpha or hardware qualification. **Historical EXERCISED, EMULATED only (2026-10-28):** at bridge `29087763accea55666ac7a4c14ecb37cef1c2be8` with candidate `f7752bc5c800e85c2393a08153786d0a6bc4516c9cea955fe27624228d6d1409`, the aggregate command exited 0, including both mismatched-pin controls; receipts remain in `evidence/native-x86-f7752bc5/`. The compiler's own full differential at `efd15c234afc584e1e67492e736cbb42806c2a7d` is FAIL (14,930 PASS, 60 FAIL, 10 NOT_RUN, 216 EXCLUDED). Never transplant those totals onto the repaired source. **Historical EXERCISED, EMULATED only (2026-10-28):** at bridge `1109b46a19c98c650488d36b465d969de65e3d61` with candidate `badedbb0…08be`, the aggregate command exited 0 (294 PASS lines, 0 FAIL), including both mismatched-pin controls; the previous candidate `f7752bc5` refused with exit 1 before creating OUTDIR. Receipts: `evidence/native-x86-badedbb0/`. The compiler's full differential at `3e66b674` was FAIL (14,936 PASS, 54 FAIL, 10 NOT_RUN, 216 EXCLUDED; omega-mv#923 `d5b445b7`). Those totals do not describe the newer candidate. ```