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/26ac05b1585c45e8 # 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#116 (code only) closed derived `26ac05b1585c45e8` #116 Imported from GitHub aien-dev/omega-harness#116 (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 `042518f6435aa6e19d1cf4d754ae5a5a6103fc07` · Head `f0e586b567088a829e67e1f93778a6c071be24e2` ### Fetch it A git bundle of the pull request's head, 12558 bytes. ``` curl -fsSL https://interplane.io/drakestapleton/omega-harness/patches/26ac05b1585c45e8.bundle -o 26ac05b1585c45e8.bundle git fetch 26ac05b1585c45e8.bundle refs/pull/116/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 116 f0e586b567088a829e67e1f93778a6c071be24e2 ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"omega-harness","number":116,"url":"https://github.com/aien-dev/omega-harness/pull/116","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:32Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/skills/omega-encoding/SKILL.md b/skills/omega-encoding/SKILL.md index b38eaec..d212385 100644 --- a/skills/omega-encoding/SKILL.md +++ b/skills/omega-encoding/SKILL.md @@ -10,12 +10,38 @@ cannot express, and before encoding bytes, integers or host I/O in Omega. ## 0. Pin and how to re-check it -The current candidate pin below covers `qty` and the compiler's `check`/`next` interface. -Older tables and their citations remain dated history, not claims about this candidate. -Pending [omega-mv #911](https://github.com/aien-dev/omega-mv/pull/911), including -[#909](https://github.com/aien-dev/omega-mv/pull/909); not merged or deployed. - -### Current candidate pin (observed 2026-10-28) +Merge status, 2026-10-29: compiler batch #904 merged at `e2662fffbce1c21ef09da71c0d8808133a6af8ab`; +x86 integration #923 merged at `bf54b19fa590e8ae925c0e80815516dbf41e7326`. +The tested x86 compiler/source hashes below are unchanged by those merges. +Earlier pending labels describe the recorded pre-merge tests. Native x86 +execution remains NOT_RUN; merging is not hardware qualification. + +The quantity and diagnostic audit is merged through omega-mv #914 at main +`d94a503f7aae57d09697046405da2e9a5895be6d`. The older candidate observations +below remain dated history, not claims about the newer integration. + +### Pending integrated x86 candidate (observed 2026-10-28) + +Compiler draft [#923](https://github.com/aien-dev/omega-mv/pull/923), source +`7ab5fdd067884fd3044155084b39163da1be5c8a`, integrates current main and batch 3 +(#904). Source `seed/omc/omc.om` has SHA256 +`96d51b63c8f451661ac715395078e04f39195e50c9e8fe37746cda121e4d7a1e`; +compiler `seed/out/omc` has SHA256 +`62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b`. +The seed gate passed, including GATE5. Both guide examples compiled with empty +stderr: `fnv1a32.om` on `abc` exited 0 with bytes `0b e9 47 1a`; +`trap_narrow.om` exited 105, while removing its unmasked store exited 44. + +The exact first line `target x86linux` selects the pending backend. Quantity +negation and complement refuse with error 7 on both targets. Empty text remains +sized with length zero and emits no literal bytes; bounds checks still apply. +Target-specific diagnostic contracts preserve the extra x86 stack-check records +and exact growth-refusal records. See the source's `docs/X86-LINUX.md` and +`seed/omc/x86-diagnostic-contracts.json`. Historical failed experiments and +frozen compatibility rows remain separate from current acceptance. +This candidate is not merged and does not establish native x86 qualification. + +### Historical quantity/check/next candidate (observed 2026-10-28) | Item | Value | |---|---| diff --git a/skills/omega-harness/SKILL.md b/skills/omega-harness/SKILL.md index 5b49a90..b0c1413 100644 --- a/skills/omega-harness/SKILL.md +++ b/skills/omega-harness/SKILL.md @@ -5,6 +5,12 @@ description: Operate in Omega and the AIEN repositories. Use for any Omega or .o # Omega Harness: operate, encode, communicate +Merge status, 2026-10-29: omega-mv #904 and #923 are merged (x86 main +`bf54b19fa590e8ae925c0e80815516dbf41e7326`); omega-bridge #40, including the +earlier #37 proposal, merged at `ed420fcbffa1ad83db78111deb836dd880ed891e`. +The pending labels in the dated observations below describe pre-merge tests. +Compiler identities and execution limits are unchanged. Native x86 remains NOT_RUN. + These skills are operating guidance for coding agents. They are not a compiler and cannot guarantee correct output. What they do is require the checks that catch the mistakes agents keep repeating. English is how the work gets steered. Explicit programs, checked contracts and replayable execution evidence are what establish that something was done. Companion skills in this package: @@ -154,7 +160,17 @@ 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. - ABI-v2's `tests/native/v2/run.sh` has the corresponding terminal refusal since bridge +- **Pending x86 native bridge target and compiler refresh:** omega-bridge draft [PR #37](https://github.com/aien-dev/omega-bridge/pull/37), 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. At bridge `1109b46a19c98c650488d36b465d969de65e3d61`, separate `OMEGA_NATIVE_X86_OMC` is pinned to candidate compiler SHA256 `badedbb0c6287887641fcd7e97301b43b5f82f2d7a2838bbe0d17547873108be`, omega-mv source `3e66b6744590cc72c623d8e09413b9072bcab36e`, source SHA256 `4b5392fffd25a3a37844ad8bb5138fbaada690be7dae95132614524bdb78a1e0`, pending [compiler draft #923](https://github.com/aien-dev/omega-mv/pull/923). `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. + **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 pending drafts are not merged, deployed, 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. + **Current pending refresh, EMULATED only (2026-10-28):** bridge [#40](https://github.com/aien-dev/omega-bridge/pull/40), exercised source `8a9618fa2f4e623f332973fd12ab5c466e8356f7`, pins `OMEGA_NATIVE_X86_OMC` to `62775d2a391cfef7cde64e387655caa9809a267093112910ec76bfa568f3712b`, omega-mv source `7ab5fdd067884fd3044155084b39163da1be5c8a`. The generator baseline remains `734f0a39…`. Both the full six-language suite and `tests/native/x86/test_build_failures.py` exited 0, including failed/missing-toolchain controls and the real-toolchain positive case. Receipt: `evidence/native-x86-62775d2a.json`. The compiler's complete differential is separate; bridge success does not qualify it. Physical native x86 and GPU execution remain **NOT_RUN**. + For current compiler acceptance, preserve frozen manifests and replay their pinned compilers. Use only the explicit accepted capacity/batch2 deltas for current C2 rows. Target diagnostic expectations are exact, source-hash-pinned records in `seed/omc/x86-diagnostic-contracts.json`, including required stack checks. Historical failed S2 mutation experiments remain recorded as FAIL; successfully replaying one does not turn it into a successful kill. Never transplant old failure totals or erase their transcripts. + Full run at `7ab5fdd0`: 15179 PASS, 4 NOT_RUN, 222 EXCLUDED, no FAIL cases; aggregate FAIL because of NOT_RUN. All three original large-input SHA cases passed. The isolated text-write driver addition at `00ebdee8` passed both formerly unrun text-write cases plus exit/encoding controls (5 PASS). The remaining two cases are invalid-fd ioctl checks affected by QEMU's ENOTTY versus native EBADF. The compiler binary is identical across these runs. Receipt: omega-mv `evidence/x86_current_acceptance.1db7902db393b0e4e56e93af8f136133b05663cac58e712c219d84c43fc120b1.json`. This is not native x86 qualification. +- ABI-v2's `tests/native/v2/run.sh` has the corresponding terminal refusal since bridge `0c4cb9ff980af278890b231b994eaede4dc7621c` (#34, 2026-10-28): actual failures take precedence, otherwise any missing required toolchain emits `NATIVE-V2 NOT_RUN` and exits 1. `python3 tests/native/v2/test_verdict.py` passed all five compiler-free tests on that pin; ```