interplane.Get Omega
Read in your language

omega-bridge

Omega-first language interoperability: checked conversion backends and native language bindings

Brought by drakestapleton

branch main Branches Tags History

omega-bridge / evidence / native-pin-73-75

741c1eb test: record union profile gates and portable source identity Drake Stapleton committed 2026-11-06
..
323-noop.log44
330-freestanding.log12361
README.md9611
baseline-device-free.log3605
commands.json81500
device.log2548
f32-a64-compiled14.log12331
f32-x86-compiled14.log12774
float-sqrt-final.log219
freest-device-free.log549
freest-x86.log549
integ-noop.log44
native-build-controls-profile.log223
native-float-e5-mixed-final.log767
native-float-next-mixed-final.log767
native-kinds-profile.log703
native-x86-controls-device-free.log27648
native-x86-device-free.log24252
next-device-free.log302
nine-a64.log10111
nine-x86.log10197
om1.log587
om2.log11635
pathlen.log812
portable-hashes.json1168
portable-proof.md1661
runtime-nul-final.log973
seeded-device-free.log103
six-a64.log3040
six-x86.log3366
v2-baseline72.log10208
v2.log10243
views-device-free.log771

README.md

Native union merge qualification

IMPLEMENTED and EXERCISED on AArch64 Linux; x86 results are EMULATED. No GPU/driver/device was opened. Physical x86, chip qualification, merge-to-main and deployment are NOT_RUN.

History: merge commit 6afaec6d618920a54e25a0194a75484f13bf22aa combines #73 79e8c3613a6f6f9e8eaaa9c013fc25bcb39e0538 and #75 6a8f0090913283125f14871272f03d144a102d02. The exercised native fix is a215e62 (close the additional float-profile branch in the combined rmode parser). Portable sources were unchanged across both revisions; all source pairs are recorded in portable-hashes.json.

The first native run exposed an automatic-merge missing end (omc line 693 error 15). The follow-up closes that branch. Initial reruns also exposed receipt setup errors (unexpanded tilde in QEMU argument, missing cross-toolchain fields, cross CC leaking into A64 jobs, reused nonempty output directories); corrected environments and fresh output paths were used below. None were suppressed in test code. Historical receipts are untouched.

Admission and scope

Every listed command is prefixed by bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10. Builds use GOMAXPROCS=3 GOFLAGS=-p=3, and the make invocation has -j3. The complete command, cwd, relevant environment, rc and final line are in commands.json. HOME is normalized to ~ in all committed receipts. Other shell environment variables were inherited, not an env-i audit.

The portable no-op proof is source identity, expressly accepted by Main: every bridge input read by both consumer units.sh scripts is identical to #73. The original unmodified consumer commands were nevertheless run and refused at their older converter pins (rc3); no gate was changed and no generation PASS is claimed for those commands. See portable-proof.md and portable-hashes.json.

The #330 four-target command passed using this merged bridge. All portable suites and all exercised native profile/negative-control suites passed, except the known full-V2 failure. The old six-unit command forms and newer nine-unit API/f32 form are both exercised. The current API form supersedes the historical eight-unit form by adding attention/private f32; its full final line is preserved rather than pretending the old historical script was unchanged.

Full V2 and a fresh #72 checkout both returned rc1, final NATIVE-V2 FAIL 1, with exactly the same sole failure:

FAIL hoist writes 0 of x20..x26 and 3 of d8..d15: OMEGA_NATIVE_OMC2 does not hoist (omega-mv perf/omc-loop-checks)

This uses #72's hosted OMC2 b8f8 profile; the newer hoist compiler is not silently substituted. Public pure float refusal remains exit110. Float suites actually ran C/Python/Rust/Zig/Go (no per-language NOT_RUN), despite their generic final-line wording. x86 controls include the known-bad QEMU oracle refusal.

Proof table

The command column below omits only the common sandbox prefix. Full logs are adjacent.

CaseCommandrcFinal line
native-build-controls-profilesh tests/native/test_build_failures.sh0PASS native callers: Zig and Go built and executed; no missing languages
native-kinds-profilesh tests/native/kinds.sh0NATIVE-KINDS PASS
baseline-device-freesh tools/test.sh0ALL SUITES RC=0
seeded-device-freepython3 tests/seeded.py0SEEDED CONVERTER differential C/Python/native/x86 and pin/arithmetic/ABI controls PASS; device NOT_RUN
views-device-freepython3 tests/seeded_views.py0SEEDED-VIEWS PASS
next-device-freepython3 tests/seeded_next.py0SEEDED-NEXT PASS
freest-device-freepython3 tests/freest.py0PASS direct structural converter refusals independently of frontend, including recursive call graph
native-x86-device-freesh tests/native/x86/run.sh /tmp/bridge-pin-proof/third-native-x860NATIVE-X86 EMULATED PASS (six languages built and run; native x86 NOT_RUN)
native-x86-controls-device-freepython3 tests/native/x86/test_build_failures.py0NATIVE-X86 CONTROLS PASS (EMULATED; native x86 NOT_RUN)
float-sqrt-finalpython3 tests/seeded_float.py0PASS seeded binary32/binary64 byte differential (native/C/x86, 132 constants vs exact oracle, one-ulp mutant detected); baseline/Python/f64-array/converter refusals
native-float-e5-mixed-finalpython3 tests/native/float.py0NATIVE-FLOAT PASS (see per-language NOT_RUN lines)
native-float-next-mixed-finalpython3 tests/native/float.py0NATIVE-FLOAT PASS (see per-language NOT_RUN lines)
freest-x86env CC=x86_64-linux-gnu-gcc 'FREEST_RUNNER=~/.local/opt/qemu-oracle-10.0.14/build/qemu-x86_64 -L /usr/x86_64-linux-gnu' python3 tests/freest.py0PASS direct structural converter refusals independently of frontend, including recursive call graph
runtime-nul-finalpython3 tests/seeded_runtime_views.py0SEEDED-RUNTIME-VIEWS PASS
om1python3 tests/native/test_freestanding.py0PASS source-swap control refuses original non-pure snapshot; reread mutant admits mismatched source/code and is caught
f32-a64-compiled14python3 tests/native/test_freestanding_f32.py --out /tmp/bridge-pin-proof/third-freestanding-f32-a64-compiled140PASS FP32 bare ELF: no undefined symbols, interpreter, TLS or libc; raw hosted bytes identical; three source and two generator mutants caught; 14 compiled public float interfaces and scanner-only host helper refused110
f32-x86-compiled14python3 tests/native/test_freestanding_f32.py --target x86linux --out /tmp/bridge-pin-proof/third-freestanding-f32-x86-compiled140PASS FP32 bare ELF: no undefined symbols, interpreter, TLS or libc; raw hosted bytes identical; three source and two generator mutants caught; 14 compiled public float interfaces and scanner-only host helper refused110
nine-a64python3 tests/native/test_freestanding_aggregate.py --regalloc ~/work/cudastack/lanes/RegAllocOm --core ~/work/cudastack/lanes/CoreUtilOm --target aarch64linux --api ~/work/cudastack/lanes/ApiPlanOm --out /tmp/bridge-pin-proof/third-freestanding-nine-a640PASS whole policy/mm/attention without libc: views/rem/private f32/f64, RNE conversion/Newton outputs, bad span untouched; four source mutants caught
nine-x86python3 tests/native/test_freestanding_aggregate.py --regalloc ~/work/cudastack/lanes/RegAllocOm --core ~/work/cudastack/lanes/CoreUtilOm --target x86linux --api ~/work/cudastack/lanes/ApiPlanOm --out /tmp/bridge-pin-proof/freestanding-nine-x860PASS whole policy/mm/attention without libc: views/rem/private f32/f64, RNE conversion/Newton outputs, bad span untouched; four source mutants caught
om2python3 tests/native/test_freestanding_om2.py0PASS FP32 bare ELF: no undefined symbols, interpreter, TLS or libc; raw hosted bytes identical; three source and two generator mutants caught; 14 compiled public float interfaces and scanner-only host helper refused110
v2sh tests/native/v2/run.sh1NATIVE-V2 FAIL 1
devicepython3 tests/native/x86/device.py /tmp/bridge-pin-proof/f32-native-device-compiled140NATIVE-X86-DEVICE EMULATED PASS shared fixtures, 15 word controls, 5 ABI1 controls, 3-unit context ABI, 12 mutants; native/driver/chip NOT_RUN
v2-baseline72sh tests/native/v2/run.sh1NATIVE-V2 FAIL 1
pathlenpython3 tests/native/test_freestanding_pathlen.py0PASS freestanding pathlen differential A64+x86 mutants=7 checks=33158
integ-noopsh om/units.sh --check3NOT_RUN: toc.om is not the pinned converter
323-noopsh om/units.sh --check3NOT_RUN: toc.om is not the pinned converter
330-freestandingmake -j3 test-leftovers gpu-engine-freestanding test-gpu-engine-freestanding test-codegen-freestanding0PASS: freestanding codegen contract (14 fixtures, 0 failing checks)
six-a64python3 tests/native/test_freestanding_aggregate.py --regalloc ~/work/cudastack/lanes/RegAllocOm --core ~/work/cudastack/lanes/CoreUtilOm --target aarch64linux --out /tmp/bridge-pin-proof/freestanding-six-a640PASS allocator, IR, liveness, graph, private f64, padded NOP and CUBIN refusal; bad span untouched; wrong-result control exits 90
six-x86python3 tests/native/test_freestanding_aggregate.py --regalloc ~/work/cudastack/lanes/RegAllocOm --core ~/work/cudastack/lanes/CoreUtilOm --target x86linux --out /tmp/bridge-pin-proof/freestanding-six-x860PASS allocator, IR, liveness, graph, private f64, padded NOP and CUBIN refusal; bad span untouched; wrong-result control exits 90

Conflict resolution

  • Native generator: retain #71 float admission and keyword f64; retain #72/#75 host-word size, explicit mapping-context SHA pins, and zero-initialized span storage. Combine mode admission with all branches closed.
  • Native wrapper: retain FLOAT_PIN and X86_HOST_PIN, the float-specific AArch64 restriction, and hosted x86 support. No compiler fingerprint changed.
  • ABI documentation: preserve public float signatures, pure freestanding OM2/private-float/borrowed-byte contracts, mapping-context section, and hosted typed runtime extents as distinct profiles.
  • Refresh affected root/docs/src crumbs. No other source behavior is changed outside the union.

No new language/compiler/ownership/profile contract was added beyond #71/#73/#72/#75. Their existing omega-harness guide requests (#181 and #194) remain applicable; no guide pin is promoted by this integration.