From d42ca5baf8b2294f8d56122a27e1c154295eafda Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Wed, 28 Oct 2026 09:06:09 -0500 Subject: [PATCH 1/3] docs: record pending private bridge runtime linkage --- README.md | 5 +++++ skills/omega-harness/SKILL.md | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/README.md b/README.md index 9708e93..950a1eb 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,11 @@ cp -R omega-harness/skills/* ~/.agents/skills/ # pick the directory for your a These skills cover working in Omega itself. Conversion between Omega and other languages belongs to [`omega-bridge`](https://github.com/aien-dev/omega-bridge). It converts a declared, checked subset and refuses to attempt universal conversion. You can run an MCP server in front of it if you want automated conversion, but that wrapper doesn't let it convert anything beyond that subset. +Pending [omega-bridge #31](https://github.com/aien-dev/omega-bridge/pull/31) localizes private +generated native-runtime symbols so separate binding translation units can link together without +changing their public ABI. The companion `omega-harness` section 2 note records the source pin, +host-only acceptance evidence and the global-symbol negative control; it is not a merge claim. + The merged [omega-mv WebAssembly backend (#787)](https://github.com/aien-dev/omega-mv/pull/787) is a compiler backend for the existing scalar OSC IR v1 wire format, not a foreign-source converter. Its seeded Omega writer and read-only Node oracle boundary are documented in diff --git a/skills/omega-harness/SKILL.md b/skills/omega-harness/SKILL.md index a7f708c..ae4cc0e 100644 --- a/skills/omega-harness/SKILL.md +++ b/skills/omega-harness/SKILL.md @@ -48,6 +48,15 @@ say so and stop rather than estimating. - Reuse the existing unit composition, error handling, buffer layouts and build patterns. Make bounds, types, ownership, effects and wire encodings explicit. Keep authorization and refusal paths working, not just the happy-path bytes. - Migrate the actual consumers before deleting a replaced implementation. Preserve history and immutable evidence. Matching a recorded hash does not prove parity with the current foreign reference; where the contract calls for it, run an independently built oracle. - Conversion between Omega and other languages is not this skill's job. Route it to `aien-dev/omega-bridge`, which implements checked conversion for a declared subset and refuses universal conversion. An MCP wrapper is optional tooling and does not widen what the bridge can convert. A native binding counts as working for a language only when its caller was built and executed by the bridge's native-call runner (section 3); a binding that was generated but never called is IMPLEMENTED, not EXERCISED. + Pending bridge [PR #31](https://github.com/aien-dev/omega-bridge/pull/31), source + `62ac98aec54b0698b103f97b1707f4acd6756195` (2026-10-28), makes all private emitted + assembly symbols local, matching the existing static C runtime helpers and state. This allows + independently generated C translation units to link without private-helper collisions; only + `omega_` exports remain public. The per-translation-unit runtime table and per-thread stack + and reentry state stay distinct. Host evidence: all seven native callers and build-failure controls + passed; `tests/native/test_private_symbols.py` linked two independent bindings, ran trap recovery + and concurrent callers, checked local symbols with `nm`, and rejected a `.globl ombr_enter` + mutant. This is pending source behavior, not merged, deployed or GPU-qualified. - The scalar IR-to-WebAssembly backend is owned by omega-mv, not a foreign-source import: [#787](https://github.com/aien-dev/omega-mv/pull/787) merged as `3364a1dfd0ca50c1b82bf19ba34932d8bc10a7a9`, after boolean IR fix From 891710fba716d11b2783cac920b43805ac4f97c9 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Wed, 28 Oct 2026 09:34:59 -0500 Subject: [PATCH 2/3] docs(bridge): pin private ABI2 linkage and freestanding scalar mode Signed-off-by: Drake Stapleton --- README.md | 10 ++++++---- skills/omega-harness/SKILL.md | 35 ++++++++++++++++++++++++++--------- 2 files changed, 32 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 950a1eb..282cc8a 100644 --- a/README.md +++ b/README.md @@ -39,10 +39,12 @@ cp -R omega-harness/skills/* ~/.agents/skills/ # pick the directory for your a These skills cover working in Omega itself. Conversion between Omega and other languages belongs to [`omega-bridge`](https://github.com/aien-dev/omega-bridge). It converts a declared, checked subset and refuses to attempt universal conversion. You can run an MCP server in front of it if you want automated conversion, but that wrapper doesn't let it convert anything beyond that subset. -Pending [omega-bridge #31](https://github.com/aien-dev/omega-bridge/pull/31) localizes private -generated native-runtime symbols so separate binding translation units can link together without -changing their public ABI. The companion `omega-harness` section 2 note records the source pin, -host-only acceptance evidence and the global-symbol negative control; it is not a merge claim. +Pending [omega-bridge #32](https://github.com/aien-dev/omega-bridge/pull/32) localizes private +ABI1/ABI2 runtime symbols so independently generated translation units link without collisions. +Draft [#33](https://github.com/aien-dev/omega-bridge/pull/33) adds an explicitly checked +integer-scalar freestanding output with no pthread, mmap, heap or TLS. The companion section 2 +records exact source pins, host evidence and negative controls; pending work is not a main, +deployment or GPU-qualification claim. The merged [omega-mv WebAssembly backend (#787)](https://github.com/aien-dev/omega-mv/pull/787) is a compiler backend for the existing scalar OSC IR v1 wire format, not a foreign-source diff --git a/skills/omega-harness/SKILL.md b/skills/omega-harness/SKILL.md index ae4cc0e..0d7b6fd 100644 --- a/skills/omega-harness/SKILL.md +++ b/skills/omega-harness/SKILL.md @@ -48,15 +48,32 @@ say so and stop rather than estimating. - Reuse the existing unit composition, error handling, buffer layouts and build patterns. Make bounds, types, ownership, effects and wire encodings explicit. Keep authorization and refusal paths working, not just the happy-path bytes. - Migrate the actual consumers before deleting a replaced implementation. Preserve history and immutable evidence. Matching a recorded hash does not prove parity with the current foreign reference; where the contract calls for it, run an independently built oracle. - Conversion between Omega and other languages is not this skill's job. Route it to `aien-dev/omega-bridge`, which implements checked conversion for a declared subset and refuses universal conversion. An MCP wrapper is optional tooling and does not widen what the bridge can convert. A native binding counts as working for a language only when its caller was built and executed by the bridge's native-call runner (section 3); a binding that was generated but never called is IMPLEMENTED, not EXERCISED. - Pending bridge [PR #31](https://github.com/aien-dev/omega-bridge/pull/31), source - `62ac98aec54b0698b103f97b1707f4acd6756195` (2026-10-28), makes all private emitted - assembly symbols local, matching the existing static C runtime helpers and state. This allows - independently generated C translation units to link without private-helper collisions; only - `omega_` exports remain public. The per-translation-unit runtime table and per-thread stack - and reentry state stay distinct. Host evidence: all seven native callers and build-failure controls - passed; `tests/native/test_private_symbols.py` linked two independent bindings, ran trap recovery - and concurrent callers, checked local symbols with `nm`, and rejected a `.globl ombr_enter` - mutant. This is pending source behavior, not merged, deployed or GPU-qualified. + Bridge ABI2 rollup [PR #15](https://github.com/aien-dev/omega-bridge/pull/15) merged at + `826cb8aee4a09b65cc1b2e295b1dc9e50e155253` (2026-10-28), preserving its later main + native-caller gates. Current source extensions remain pending, not main pins: + [PR #32](https://github.com/aien-dev/omega-bridge/pull/32), head + `ddd9862f9f9de9c2473ecbd27386e9dcb379aa91`, makes all private ABI1/ABI2 assembly + symbols local, matching static C helpers and per-translation-unit runtime/TLS state. + Independently generated translation units link without helper collisions; public + `omega_`/`omega2_` exports and compiler bytes are unchanged. Its private-symbol regression + checks independent units, trap recovery, concurrent callers, local `nm` bindings and a + `.globl ombr_enter` link-failure mutant. + Draft [PR #33](https://github.com/aien-dev/omega-bridge/pull/33), source + `a81190ada26d2eb75ac0d4e0db9a8e69960f8304` (native.om SHA256 + `edaa9bd7fadc23d0ab105c55b9cff954337294d9ebbbdd1348688d4013b33902`), adds generator + output `freest` and `tools/native --freestanding OUTDIR unit.om...`: generated C/header/object, + same scalar status ABI, caller-owned stack and no pthread, mmap, heap, TLS or mutable runtime + state. Whole-source validation includes unused helpers and conservatively refuses arrays, + globals, text, host effects, OM2 and types outside its declared integer/bool scalar subset. + Traps return status without writing the result; nested and concurrent calls remain isolated. + The undefined-import gate permits only the GPU_FS_LINK libc-string allowlist and catches an + emitter mutant importing `pthread_self`. Framed source and code must still match the pinned + compiler invocation: this is not an arbitrary-bytecode sandbox. + Host evidence for both heads: all seven native callers, build-failure controls and the ABI2 + suite passed; private-symbol and freestanding controls passed. Evidence is filed in + `evidence/native-private-symbols/` and `evidence/native-freestanding/`. Remote checks are + CodeQL analysis, not execution of those functional gates. Pending source is EXERCISED only, + not merged, deployed or GPU-qualified; consumer production pins must wait for main commits. - The scalar IR-to-WebAssembly backend is owned by omega-mv, not a foreign-source import: [#787](https://github.com/aien-dev/omega-mv/pull/787) merged as `3364a1dfd0ca50c1b82bf19ba34932d8bc10a7a9`, after boolean IR fix From d9ec3763c840c9cf8d19ee3fe58218208da24971 Mon Sep 17 00:00:00 2001 From: Drake Stapleton Date: Wed, 28 Oct 2026 10:09:31 -0500 Subject: [PATCH 3/3] docs(bridge): pin merged private freestanding and bounded capacity behavior Signed-off-by: Drake Stapleton --- README.md | 13 ++++++----- skills/omega-harness/SKILL.md | 43 ++++++++++++++++++++++------------- 2 files changed, 34 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index 282cc8a..185d50f 100644 --- a/README.md +++ b/README.md @@ -39,12 +39,13 @@ cp -R omega-harness/skills/* ~/.agents/skills/ # pick the directory for your a These skills cover working in Omega itself. Conversion between Omega and other languages belongs to [`omega-bridge`](https://github.com/aien-dev/omega-bridge). It converts a declared, checked subset and refuses to attempt universal conversion. You can run an MCP server in front of it if you want automated conversion, but that wrapper doesn't let it convert anything beyond that subset. -Pending [omega-bridge #32](https://github.com/aien-dev/omega-bridge/pull/32) localizes private -ABI1/ABI2 runtime symbols so independently generated translation units link without collisions. -Draft [#33](https://github.com/aien-dev/omega-bridge/pull/33) adds an explicitly checked -integer-scalar freestanding output with no pthread, mmap, heap or TLS. The companion section 2 -records exact source pins, host evidence and negative controls; pending work is not a main, -deployment or GPU-qualification claim. +Merged [omega-bridge #32](https://github.com/aien-dev/omega-bridge/pull/32) localizes private +ABI1/ABI2 runtime symbols so independent generated translation units link without collisions. +[#33](https://github.com/aien-dev/omega-bridge/pull/33) adds conservative integer-scalar +freestanding output without pthread, mmap, heap or TLS; [#35](https://github.com/aien-dev/omega-bridge/pull/35) +extends finite aggregate frame/output pools with checked refusal. Section 2 pins main +`2efdd48cd0c7c232064d5870e77660a5a75966e1` and records host evidence and negative controls. +Merged host-exercised source is not deployment or GPU qualification. The merged [omega-mv WebAssembly backend (#787)](https://github.com/aien-dev/omega-mv/pull/787) is a compiler backend for the existing scalar OSC IR v1 wire format, not a foreign-source diff --git a/skills/omega-harness/SKILL.md b/skills/omega-harness/SKILL.md index 0d7b6fd..f68b7a6 100644 --- a/skills/omega-harness/SKILL.md +++ b/skills/omega-harness/SKILL.md @@ -50,30 +50,41 @@ say so and stop rather than estimating. - Conversion between Omega and other languages is not this skill's job. Route it to `aien-dev/omega-bridge`, which implements checked conversion for a declared subset and refuses universal conversion. An MCP wrapper is optional tooling and does not widen what the bridge can convert. A native binding counts as working for a language only when its caller was built and executed by the bridge's native-call runner (section 3); a binding that was generated but never called is IMPLEMENTED, not EXERCISED. Bridge ABI2 rollup [PR #15](https://github.com/aien-dev/omega-bridge/pull/15) merged at `826cb8aee4a09b65cc1b2e295b1dc9e50e155253` (2026-10-28), preserving its later main - native-caller gates. Current source extensions remain pending, not main pins: - [PR #32](https://github.com/aien-dev/omega-bridge/pull/32), head - `ddd9862f9f9de9c2473ecbd27386e9dcb379aa91`, makes all private ABI1/ABI2 assembly - symbols local, matching static C helpers and per-translation-unit runtime/TLS state. - Independently generated translation units link without helper collisions; public + native-caller gates. Private-linkage [PR #32](https://github.com/aien-dev/omega-bridge/pull/32) + merged at `31ce3886d7966c27f8208922e27fc79ed76b39c6`: all private ABI1/ABI2 assembly + runtime, code and entry labels are local, matching static C helpers and hosted per-TU/TLS + state. Independently generated translation units link without helper collisions; public `omega_`/`omega2_` exports and compiler bytes are unchanged. Its private-symbol regression checks independent units, trap recovery, concurrent callers, local `nm` bindings and a `.globl ombr_enter` link-failure mutant. - Draft [PR #33](https://github.com/aien-dev/omega-bridge/pull/33), source - `a81190ada26d2eb75ac0d4e0db9a8e69960f8304` (native.om SHA256 - `edaa9bd7fadc23d0ab105c55b9cff954337294d9ebbbdd1348688d4013b33902`), adds generator + Freestanding [PR #33](https://github.com/aien-dev/omega-bridge/pull/33) merged at + `37bf93d158e2e4fd7a3c6a1b9a47b569195a2a66`. It adds generator output `freest` and `tools/native --freestanding OUTDIR unit.om...`: generated C/header/object, same scalar status ABI, caller-owned stack and no pthread, mmap, heap, TLS or mutable runtime state. Whole-source validation includes unused helpers and conservatively refuses arrays, globals, text, host effects, OM2 and types outside its declared integer/bool scalar subset. Traps return status without writing the result; nested and concurrent calls remain isolated. - The undefined-import gate permits only the GPU_FS_LINK libc-string allowlist and catches an - emitter mutant importing `pthread_self`. Framed source and code must still match the pinned - compiler invocation: this is not an arbitrary-bytecode sandbox. - Host evidence for both heads: all seven native callers, build-failure controls and the ABI2 - suite passed; private-symbol and freestanding controls passed. Evidence is filed in - `evidence/native-private-symbols/` and `evidence/native-freestanding/`. Remote checks are - CodeQL analysis, not execution of those functional gates. Pending source is EXERCISED only, - not merged, deployed or GPU-qualified; consumer production pins must wait for main commits. + The undefined-import gate permits only the GPU_FS_LINK libc-string allowlist; failed symbol + extraction/filtering refuses installation. One private input snapshot supplies profile, + compilation, framing and identity. Tests exercise the pthread-import mutant, failed/missing + inspectors and a deterministic source swap whose original-reread mutant admits mismatched code. + Framed source/code must still match the pinned compiler: this is not an arbitrary-bytecode sandbox. + Current bridge main source pin, including bounded-capacity + [PR #35](https://github.com/aien-dev/omega-bridge/pull/35), is + `2efdd48cd0c7c232064d5870e77660a5a75966e1` (native.om SHA256 + `d3cfe0561696aad92164ddf11340522645cf6daf7af238835c3d3c61ecdef656`). + Fixed pools hold 4194304 input bytes (accepted input strictly smaller) and 16777216 output + bytes; exhaustion exits 106 before output. Compiler/per-unit limits are unchanged. + Host evidence: all seven native callers, build-failure controls and ABI2 suite passed; + private/freestanding controls and a compiler-matched 16-unit frame beyond both old pool sizes + passed, while old-bound mutants and both current-overflow probes refused. The independent + 31-root consumer frame emitted and C-compiled with both pinned compilers; those 31 consumer + functions were not executed by this qualification. Evidence is under + `evidence/native-{private-symbols,freestanding,capacity}/`. Capacity's + `coverage-correction.log` preserves and corrects an earlier overclaim; use + `native-boundaries.log` and `qualification-boundaries.json` for current boundary coverage. + Remote CodeQL checks are analysis, not functional execution. This is MERGED and HOST EXERCISED, + not deployed or GPU-qualified. - The scalar IR-to-WebAssembly backend is owned by omega-mv, not a foreign-source import: [#787](https://github.com/aien-dev/omega-mv/pull/787) merged as `3364a1dfd0ca50c1b82bf19ba34932d8bc10a7a9`, after boolean IR fix