interplane.Get Omega
Read in your language

omega-bridge

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

Brought by drakestapleton

docs(torch): state the 66x slowdown; DRA-103 attachment recheck evidence on d8174ed

open b50a3bece2a885b7 #81 · opened 2026-11-06 20:41 UTC

Imported from GitHub aien-dev/omega-bridge#81, by drakestapleton

Base d8174eddf953ad53e16f19eb5841459df99e24bb · Head d9791209a3c0b4b6893a7bcdd6ab9d761e232182

drakestapleton wrote on 2026-11-06 20:41 UTC

DRA-103 (W2 framework attachments): recheck on main d8174eddf953ad53e16f19eb5841459df99e24bb.

Head: d9791209a3c0b4b6893a7bcdd6ab9d761e232182 (branch hive/dra-103-attach-recheck, on main d8174ed): 9517385b (docs and evidence) and d9791209 (crumbs recompiled; crumb verify: OK, 12 crumbs current).

Change

  • docs/OMEGA-TORCH.md said "not merged" and did not state the slowdown that #23 and DRA-103 require. It now records the #23 merge (4f231fa) and a Speed section: about 66x slower than eager PyTorch (paired median ratio 65.9, quartiles 56.7 to 92.3; eager 0.199 ms, Omega 13.09 ms, from evidence/omega-torch-m1/timings-low.json). Wolfram: Median[N[o/e]] -> 65.8630, Quartiles -> {56.70, 65.86, 92.29}, N[Median[o]/5505024] -> 2.378 ns per multiply-add, N[Median[o_load]/10^6] -> 13.21 ms.
  • New host-local evidence: evidence/attach-torch-cpu-d8174ed/ (native, kinds, tools/test.sh, attach/torch CPU side), evidence/omega-torch-m1/tests-main-d8174ed*.log, evidence/issue-20-const-length/recheck-main-d8174ed.log. No code changed.

Before / after

  • Before (main): git show origin/main:docs/OMEGA-TORCH.md | grep -c -i "66x slower" rc 1, 0.
  • After (head): grep -c -i "66x slower" docs/OMEGA-TORCH.md rc 0, 2.
  • Suites on head, Spark AArch64, CUDA_VISIBLE_DEVICES=, bwrap: pytorch tests rc 0 OK (22); tests/native/run.sh rc 0 NATIVE-CALL PASS (not run: none) (zig 0.17.0 and go1.27.3 callers 13 lines each); kinds.sh rc 0 NATIVE-KINDS PASS; tools/test.sh rc 0 ALL SUITES RC=0. Same results on main before the change.

Negative controls

  • pytorch tests with the wrong compiler (734f0a39 as OMEGA_OMC): rc 1, FAILED (errors=3), "is not the pinned".
  • attach/torch/build.sh on an archive without omega_gpu_gemm_ex: rc 1, FAIL … has no omega_gpu_gemm_ex.
  • #20: AArch64 OM-1 pin 734f0a39 refuses const N ulong 4 as a length, rc 9 omc: line 8: error 9, directly and through tools/native; 2c824805 and omega-mv main b1d9cff6 accept it (code byte-identical to the literal form); undeclared name refused with error 16 everywhere.

Labels

  • #23 docs and CPU tests: PASS, EXERCISED (host-local CPU).
  • #30 CPU side and zig/go callers: PASS, EXERCISED (host-local CPU). #30 GPU row: NOT_RUN in this recheck; committed GB10 receipt evidence/attach-gb10-20261027T0726Z/ (PASS, mutant caught) is unchanged.
  • #20: accepted by pins past omega-mv#806; still blocked for AArch64 OM-1 on tools/native PIN 734f0a39.
  • #10 GGML: not touched; waits on Drake's decision 4 (DRA-100).
  • CI on head d9791209: test, portable-behavior, sbom, CodeQL and Analyze (actions, c-cpp, go, python, rust) all pass.

No code changed and no foreign file is added: this PR is docs and evidence logs only.

Host tools for the recheck (from evidence/attach-torch-cpu-d8174ed/README.md): go1.27.3 linux/arm64, zig 0.17.0, torch 2.14.0+cu130, CPython 3.12.3, bwrap; compilers by sha256 as listed there. Crumbs: crumb verify (OK, 12 crumbs current).

No merge requested.

aien-spark reviewed (COMMENTED) on 2026-11-07 03:33 UTC

COMMENT, not an approval. Head d9791209a3c0. #30 GPU row and physical x86 NOT_RUN in this review; no builds, benchmarks or test suites rerun. Runtime results below are committed author receipts, not independent hardware qualification.

What I read at this head

First review; no previous Hermes review head. Read the complete main-to-head PR diff, PR body, and exact-head contents: docs/OMEGA-TORCH.md:1-82; .crumb:1-80; docs/.crumb:1-19; evidence/attach-torch-cpu-d8174ed/{README.md:1-29,attach-cpu.log:1-3,bootstrap.log:1-5,kinds.log:1-19,native.log:1-43,test-sh.log:1-188}; evidence/issue-20-const-length/recheck-main-d8174ed.log:1-23; evidence/omega-torch-m1/{tests-main-d8174ed.log:1-28,tests-main-d8174ed-wrong-omc.log:1-53,timings-low.json:1-157,timings-m1.json:1-157}; pytorch/bench.py:1-86. The PR identifies the underlying recheck as main d8174eddf953ad53e16f19eb5841459df99e24bb. Also checked PR #23's merge metadata: merged at 4f231fa972e772a930e954ac56ecc1d727929269. No linked issue discussion or prior GPU receipt was independently validated or used to establish hardware qualification.

Blocking findings

None for this docs/evidence-only scope.

Evidence assessment

Slowdown: supported for the stated benchmark, not a general PyTorch performance ratio. docs/OMEGA-TORCH.md:38-47 correctly summarizes the raw paired samples in evidence/omega-torch-m1/timings-low.json:27-90. Independent arithmetic over those arrays gives eager median 0.199097 ms, Omega median 13.091683 ms, paired-ratio median 65.8629606673, and Tukey-hinge ratio quartiles 56.70378051 and 92.29005177. The corresponding latency quartiles round to the documented values. The model dimensions in pytorch/bench.py:25-34 give 5,505,024 multiply-adds and 2.378133683 ns per multiply-add. The loaded receipt gives Omega median 13.2096275 ms. Recorded affinity/thread metadata and load samples support the same-core/one-thread and load1 statements. The benchmark warms both arms, excludes compilation from timing, alternates arm order, and samples load outside the timed interval (pytorch/bench.py:48-71). This is end-to-end forward latency normalized by multiply-add count, not isolated instruction throughput.

CPU receipts: support the reported outcomes, with provenance limits. evidence/omega-torch-m1/tests-main-d8174ed.log:1-28 records 22 tests including three kernel-mutant checks; the wrong-compiler log:1-53 records three explicit pin-mismatch errors. evidence/attach-torch-cpu-d8174ed/native.log:20-27,42-43 records Zig/Go callers, their negative controls and NATIVE-CALL PASS; kinds.log:15-19, bootstrap.log:5 and test-sh.log:187-188 record the other stated successes. attach-cpu.log:1-3 supports only Python compilation and missing-symbol refusal, not GPU execution. The named-length log:2-23 supports the documented compiler-dependent accept/refuse matrix as an author receipt; I did not independently exercise or validate Omega compiler semantics. These logs are labelled for the d8174ed recheck, not separate independently authenticated executions on d9791209a3c0. [INFERENCE] Their relevance carries across this docs/logs/generated-metadata-only diff; that is not a new runtime PASS.

Qualification boundary: preserved. IMPLEMENTED describes the existing CPU backend; EXERCISED describes the recorded host-local CPU runs; PROPOSED describes the optimization work in docs/OMEGA-TORCH.md:46-47. QUALIFIED is not established. README.md:21 explicitly leaves the GPU row NOT_RUN for this recheck. Physical x86 remains NOT_RUN here. I have not independently verified the author's “crumb verify OK 12” assertion; reading generated .crumb fields is not a crumb verification run.

Hosted CI: exact-head success observed. sh /home/drakestapleton/.hermes/profiles/reviewer/scripts/aienspark.sh pr checks 81 -R aien-dev/omega-bridge returned nine passing checks. The commit check-runs API independently returned success for all nine with head_sha d9791209a3c0b4b6893a7bcdd6ab9d761e232182. This is CI evidence, not hardware qualification.

Non-blocking corrections

Reproduction command nit. docs/OMEGA-TORCH.md:41-42 omits required --out; pytorch/bench.py:46 declares it mandatory. Append --out timings.json and retain the pinned OMEGA_OMC setup from the Use section when presenting a runnable command. [INFERENCE] The printed command as written is rejected by argparse before benchmarking; I did not execute it. This does not invalidate the existing raw timing arrays.

PR-body bookkeeping nit. The body still names 9517385 as head and says CI NOT_RUN; live head and checks are as recorded above. Refresh those fields without relabelling the historical d8174ed receipts as fresh head executions.

Reviewer execution: nice -n 19 taskset -c 16-18 python3 /home/drakestapleton/handoffs/hive/grok145/review81_evidence.py returned rc=0. This read-only GitHub retrieval/statistics script fetched exact-head files, recomputed the numbers above, and checked CI/PR #23 metadata. It ran no project builds or tests. Reviewer runtime gates: NOT_RUN by request.

Asks: no blocking change. Correct the runnable command and stale PR-body metadata when next updating the draft. Verdict COMMENT because the PR remains draft and explicitly says no merge requested; this is not a merge recommendation.

VERDICT aien-dev/omega-bridge#81 head=d9791209a3c0b4b6893a7bcdd6ab9d761e232182 verdict=COMMENT model=gpt-6-astra provider=openai-codex reasoning=medium session=local-c4d95ef297838a892897309491a0b82b6d9003c2897417e656ebb16d9d49263f findings=0 — Hermes

Apply it

git checkout -b patch-b50a3bece2a885b7 d8174eddf953ad53e16f19eb5841459df99e24bb
curl -fsSL https://interplane.io/drakestapleton/omega-bridge/patches/b50a3bece2a885b7.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-bridge
81
d9791209a3c0b4b6893a7bcdd6ab9d761e232182
{"kind":"github-import","owner":"aien-dev","repo":"omega-bridge","number":81,"url":"https://github.com/aien-dev/omega-bridge/pull/81","export_sha256":"4437ac3fc1482693a79ee39d37851494fabbe28ae00418da79120f49debe1d7b","imported_utc":"2026-11-18T16:39:53Z"}

Changes

diff --git a/.crumb b/.crumb
index b9c7395..4fac145 100644
--- a/.crumb
+++ b/.crumb
@@ -3,8 +3,8 @@
     "generated": {
       "children": [
         {
-          "digest": "631aae2f6592ff7c71ce09e8de91d0df86c64bdb31380e8696dba24d48e57f16",
-          "last_commit": "e0c9a8e",
+          "digest": "627e796ecc2c7c23c61e699a38601cb1d6c44e9c423c20f87bdad0b86b3d88e4",
+          "last_commit": "9517385",
           "name": "docs",
           "purpose": "Native ABI contracts and qualification boundaries"
         },
@@ -63,15 +63,15 @@
           "purpose": "Cross-toolchain ABI v2 qualification under qemu-x86_64; never native hardware evidence"
         }
       ],
-      "children_root": "sha256:1b2dd79450d79cdf42d895cd7ec0db578db08215ad3497eab3c4ba8b56deece7",
-      "compiled_at": "2026-11-06T14:10:05Z",
+      "children_root": "sha256:52caf8dd9eeeb5c22f9dd0ccda29b03edc1895a49f879403035eb7fb6932c8d4",
+      "compiled_at": "2026-11-07T02:25:48Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:398e04e5ba7be851445b6ee84436122587808cc74e5fbf49bdd04f3a9740d46d",
-      "evidence_files": 612,
-      "evidence_root": "sha256:28005a8bbb770eae5aece0faa39f98bce41dde5c25e1d289a116211c76c9e3d3",
-      "files": 970,
-      "generated_at_commit": "8e1d5244e3cc1dd6892aa90b214ef508bde3be0e",
-      "source_tree": "sha256:8c92a6055f34668ee82f7ea132c73a91aba84eeb075ce16d72994a3ae40c8c1f"
+      "digest": "sha256:d441ecf20780dbe3740f8025f641360333499ff1d07e96329f013b68acec6f8d",
+      "evidence_files": 621,
+      "evidence_root": "sha256:8652ffceb7054114f69b4fb186e76ee38489c0aa16752106fd0250cafcd079b8",
+      "files": 979,
+      "generated_at_commit": "9517385b88290cddd8baa176209fa13fe1b9e1c2",
+      "source_tree": "sha256:52d8e5c7c7d0e6276dea453b958bfe76581f8766d712a9098f56ab0824cb3c41"
     }
   },
   "name": "BridgeHostAienX86",
diff --git a/docs/.crumb b/docs/.crumb
index 02289e5..e55311b 100644
--- a/docs/.crumb
+++ b/docs/.crumb
@@ -3,14 +3,14 @@
     "generated": {
       "children": [],
       "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "compiled_at": "2026-11-06T14:10:05Z",
+      "compiled_at": "2026-11-07T02:25:48Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:631aae2f6592ff7c71ce09e8de91d0df86c64bdb31380e8696dba24d48e57f16",
+      "digest": "sha256:627e796ecc2c7c23c61e699a38601cb1d6c44e9c423c20f87bdad0b86b3d88e4",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 18,
-      "generated_at_commit": "8e1d5244e3cc1dd6892aa90b214ef508bde3be0e",
-      "source_tree": "sha256:c07e11105274b150e428e9154ad22157e6066cfc7147879b57209e78730102c1"
+      "generated_at_commit": "9517385b88290cddd8baa176209fa13fe1b9e1c2",
+      "source_tree": "sha256:2fa355a83eebe562671e2328e3263994e3407bcd6e2efb11358443764199e9cf"
     }
   },
   "name": "native-contract",
diff --git a/docs/OMEGA-TORCH.md b/docs/OMEGA-TORCH.md
index e1d54c8..3f25f59 100644
--- a/docs/OMEGA-TORCH.md
+++ b/docs/OMEGA-TORCH.md
@@ -1,8 +1,9 @@
 # Omega under PyTorch: `torch.compile(model, backend="omega")` (milestone 1)
 
 Status: IMPLEMENTED and EXERCISED on CPU only (AArch64, DGX Spark host), oracle = PyTorch eager,
-Omega-native codegen, Python glue. Not qualified, not merged, not a claim that Omega runs PyTorch in
-general: it runs the core-ATen ops listed below, float32, static shapes, inference only.
+Omega-native codegen, Python glue. Merged in #23 (`4f231fa`). Not qualified, not a claim that Omega
+runs PyTorch in general: it runs the core-ATen ops listed below, float32, static shapes, inference only.
+It is about 66x slower than eager PyTorch on the same core (see Speed).
 
 ## What runs where
 
@@ -34,6 +35,17 @@ Numerics: each dot product and softmax sum is accumulated in f64 and rounded onc
 written in Omega (`expd` in `softmax.om`): range reduction by ln 2, degree-13 Taylor polynomial
 (truncation below 5.9e-18 relative), exponent bits for 2^k.
 
+## Speed
+
+About **66x slower than eager PyTorch** on CPU. `evidence/omega-torch-m1/timings-low.json` (load1 at
+most 7.16 for every sample): a 64x256 MLP (5,505,024 multiply-adds), 30 interleaved rounds, both arms
+on one core with one thread (`CUDA_VISIBLE_DEVICES= OMP_NUM_THREADS=1 taskset -c 8 nice -n 19 python3
+pytorch/bench.py --rounds 30`). Eager median 0.199 ms (quartiles 0.142 to 0.230); Omega median 13.09 ms
+(quartiles 13.08 to 13.13), about 2.38 ns per multiply-add; paired per-round ratio median 65.9
+(quartiles 56.7 to 92.3). Under load (load1 38, `timings-m1.json`) the Omega arm is 13.21 ms. The
+kernels are scalar and bounds-checked, with no SIMD or blocking; speeding them up is omega-mv#861
+(PROPOSED), not this attachment.
+
 ## Use
 
 ```sh
diff --git a/evidence/attach-torch-cpu-d8174ed/README.md b/evidence/attach-torch-cpu-d8174ed/README.md
new file mode 100644
index 0000000..09af8ed
--- /dev/null
+++ b/evidence/attach-torch-cpu-d8174ed/README.md
@@ -0,0 +1,29 @@
+# DRA-103 recheck of the framework attachments on main `d8174ed` (2026-11-06)
+
+Host-local CPU runs on the DGX Spark (AArch64), `CUDA_VISIBLE_DEVICES=` empty, cores 16-17, inside
+`bwrap --dev-bind / / --dev /dev --proc /proc`. No run in this directory opened the GB10.
+
+Compilers (sha256): `734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61` (tools/native `PIN`,
+AArch64 OM-1), `2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f` (omega_torch kernels),
+`be8c51301307555254fc59e351d281aae1aa096d91521777e33a41c8b446448a` (tools/native `X86_PIN`),
+`b1d9cff6d765d85159e14d8346ed946704e32e9ca39554fb22a7c3f23fe0cca3` (omega-mv main `fd3751b3` `seed/out/omc`, git blob `bec7cf3e`).
+Toolchains: go1.27.3 linux/arm64, zig 0.17.0, torch 2.14.0+cu130, CPython 3.12.3.
+
+| Check | Command | rc | Last line | Log |
+|---|---|---|---|---|
+| #23 PyTorch backend | `OMEGA_OMC=<2c82…> python -m unittest -v pytorch/tests/test_omega_torch.py` | 0 | `OK` (22 tests, 3 kernel mutants caught) | `../omega-torch-m1/tests-main-d8174ed.log` |
+| #23 negative control | same with `OMEGA_OMC=<734f…>` | 1 | `FAILED (errors=3)`, `omc sha256 … is not the pinned …` | `../omega-torch-m1/tests-main-d8174ed-wrong-omc.log` |
+| native call ABI (C, C++, Python, Rust, Zig, Go callers) | `OMEGA_NATIVE_OMC=<734f…> sh tests/native/run.sh` | 0 | `NATIVE-CALL PASS (not run: none)` (35 PASS; zig and go callers 13 lines each; zig and go type mutants caught) | `native.log` |
+| native kinds | `OMEGA_NATIVE_OMC=<734f…> sh tests/native/kinds.sh` | 0 | `NATIVE-KINDS PASS` | `kinds.log` |
+| bridge suites | `tools/bootstrap.sh` then `tools/test.sh` | 0 | `ALL SUITES RC=0` | `bootstrap.log`, `test-sh.log` |
+| #30 `attach/torch` CPU side | `python -m py_compile attach/torch/cudapp_torch.py attach/torch/test_cudapp_torch.py` | 0 | (no output) | `attach-cpu.log` |
+| #30 negative control | `sh attach/torch/build.sh <archive without omega_gpu_gemm_ex>` | 1 | `FAIL … has no omega_gpu_gemm_ex` | `attach-cpu.log` |
+| #30 GPU row (`attach/torch/test_cudapp_torch.py`) | not run here: it opens the GB10 | — | NOT_RUN in this recheck; the committed chip receipt is `../attach-gb10-20261027T0726Z/` (verdict PASS, mutant caught, EXERCISED on one GB10) | — |
+| #20 named length | `../issue-20-const-length/recheck-main-d8174ed.log` | — | see that log | — |
+
+#20 on main: `const N ulong 4` as an array length is accepted, with code byte-identical to the literal
+form, by `2c824805` and by omega-mv main `b1d9cff6`, and through `tools/native --target x86linux`
+(bindings differ from the literal unit only in the signature comment). The AArch64 OM-1 pin `734f0a39`
+still refuses it (`omc: line 8: error 9`, rc 9), directly and through `tools/native` (default target).
+An undeclared name is refused with error 16 by every compiler. So #20 stays blocked on moving `PIN` past
+omega-mv#806 for AArch64 OM-1 units.
diff --git a/evidence/attach-torch-cpu-d8174ed/attach-cpu.log b/evidence/attach-torch-cpu-d8174ed/attach-cpu.log
new file mode 100644
index 0000000..38bf06b
--- /dev/null
+++ b/evidence/attach-torch-cpu-d8174ed/attach-cpu.log
@@ -0,0 +1,3 @@
+py_compile rc=0
+FAIL /home/drakestapleton/work/hive/BridgeCompiler/W103Attach/empty.a has no omega_gpu_gemm_ex
+build.sh-without-gemm_ex rc=1 (expect 1)
diff --git a/evidence/attach-torch-cpu-d8174ed/bootstrap.log b/evidence/attach-torch-cpu-d8174ed/bootstrap.log
new file mode 100644
index 0000000..72137ee
--- /dev/null
+++ b/evidence/attach-torch-cpu-d8174ed/bootstrap.log
@@ -0,0 +1,5 @@
+om4.bin 14224 bytes
+source=29b12760f4c962606411d6bf25032aedef063301
+8608fa11f6a2cf1c50db22d871eef16b00d5bc719bc1a222cc3e456984ac5ebf  seed/omc/omc.om
+191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9  ../omc
+bootstrap fixpoint RC=0
diff --git a/evidence/attach-torch-cpu-d8174ed/kinds.log b/evidence/attach-torch-cpu-d8174ed/kinds.log
new file mode 100644
index 0000000..2deb21a
--- /dev/null
+++ b/evidence/attach-torch-cpu-d8174ed/kinds.log
@@ -0,0 +1,19 @@
+PASS fsum status 0
+PASS fsum f32 lanes == C oracle
+PASS fsum result bits == C oracle
+PASS halve status 0
+PASS halve ushort edit == C oracle
+PASS f32 view misaligned (2 bytes) refused
+PASS f32 view at 4-byte alignment accepted
+PASS ushort view misaligned refused
+PASS f32 wrong length refused
+PASS f32 edit overlapping f32 view refused
+PASS ushort view overlapping f32 edit refused
+PASS null ushort edit refused
+KINDS PASS
+PASS python binding: f32/ushort calls and refusals (10 checks)
+PASS view uint refused (exit 110), previous output untouched
+PASS mutant fsum (add -> sub) caught (1 failing checks)
+PASS mutant fsum (add -> sub) caught through the python binding (3 failing checks)
+NATIVE-KINDS PASS
+kinds rc=0
diff --git a/evidence/attach-torch-cpu-d8174ed/native.log b/evidence/attach-torch-cpu-d8174ed/native.log
new file mode 100644
index 0000000..c9fe0df
--- /dev/null
+++ b/evidence/attach-torch-cpu-d8174ed/native.log
@@ -0,0 +1,43 @@
+PASS tools/native: library + six bindings (e82da64e1abb81e5)
+PASS tools/native refuses a unit outside the subset by name (exit 110), previous outputs untouched
+PASS no caller declares an Omega function by hand
+PASS generated header agrees with the hand-written reference prototypes
+PASS embedded code == omc output, per unit (85b3add4fe86a894)
+PASS c caller (28 lines)
+PASS c-bti caller (28 lines)
+PASS generator refuses a unit name that is not a C identifier
+PASS generator refuses a parameter name ending in _len
+PASS generator refuses a repeated unit name
+PASS generator accepts the same unit once (control)
+PASS generator refuses a last (bound) function with an unsupported parameter type
+PASS generator binds only the last function; an earlier helper of any type stays private
+PASS generator refuses a missing output word
+PASS generator refuses an unknown output word
+PASS cpp caller (13 lines)
+PASS python caller (19 lines)
+PASS rust caller (14 lines)
+PASS rust-2024 caller (14 lines)
+PASS zig caller (13 lines)
+PASS go caller (13 lines)
+PASS mutant madd (add -> sub) caught (7 failing checks)
+PASS mutant h scalar uint64_t -> uint32_t caught: /home/drakestapleton/work/hive/BridgeCompiler/W103Attach/omega-bridge/build/nati
+PASS mutant python scalar c_uint64 -> c_uint32 caught: FAIL madd wraps = 3
+PASS mutant rust scalar u64 -> u32 caught: error[E0308]: mismatched types
+PASS mutant zig scalar u64 -> u32 caught: caller.zig:17:62: error: type 'u32' cannot represent integer value '184467440737
+PASS mutant go scalar uint64 -> uint32 caught: ./caller.go:29:44: cannot use ^uint64(0) (constant 18446744073709551615 of type 
+PASS freestanding epoch increment/MAX trap, nested trap unwind, signed trap and four-thread isolation; GPU_FS_LINK imports and no TLS
+PASS freestanding refuses arrays, storage, text, host effects including unused helper and an OM-2 frame without its trailer before any output
+PASS pthread-import emitter mutant rejected by freestanding gate, installed object unchanged
+PASS failing/missing symbol inspector and failing import filter refuse; installed object unchanged
+PASS source-swap control refuses original non-pure snapshot; reread mutant admits mismatched source/code and is caught
+PASS pure scalar freestanding transport + import mutant
+PRIVATE-SYMBOLS PASS: distinct bindings, trap recovery and concurrent threads
+PRIVATE-SYMBOLS PASS: nm public ABI unchanged, private locals; .globl mutant rejected
+PASS private linkage and thread isolation
+CAPACITY PASS: current input pool exhaustion exits 106 with no output
+CAPACITY PASS: current output pool exhaustion exits 106 with no output
+CAPACITY PASS: compiler-built frame 10489536 bytes, C 21029704 bytes, both endpoint calls
+CAPACITY PASS: old input/output bound mutants and new input/output overflow controls refuse with no output
+PASS bounded aggregate frame/output capacity + old-limit mutants
+NATIVE-CALL PASS (not run: none)
+native rc=0
diff --git a/evidence/attach-torch-cpu-d8174ed/test-sh.log b/evidence/attach-torch-cpu-d8174ed/test-sh.log
new file mode 100644
index 0000000..9efb16d
--- /dev/null
+++ b/evidence/attach-torch-cpu-d8174ed/test-sh.log
@@ -0,0 +1,188 @@
+test_each_old_label_mutant_is_detected (__main__.ModeLabelTests.test_each_old_label_mutant_is_detected) ... ok
+test_emulated_labels_unchanged (__main__.ModeLabelTests.test_emulated_labels_unchanged) ... ok
+test_guest_selection (__main__.ModeLabelTests.test_guest_selection) ... ok
+test_native_labels (__main__.ModeLabelTests.test_native_labels) ... ok
+
+----------------------------------------------------------------------
+Ran 4 tests in 0.002s
+
+OK
+PASS bytecopy
+PASS echo
+PASS fib
+PASS for_expr_once
+PASS for_varchange
+PASS io_errno
+PASS local_array
+PASS num_bool
+PASS num_byte_add
+PASS num_byte_cast
+PASS num_byte_div
+PASS num_byte_mul
+PASS num_byte_neg
+PASS num_byte_rem
+PASS num_byte_shiftlimit
+PASS num_byte_shl
+PASS num_byte_shr
+PASS num_byte_sub
+PASS num_div_negative
+PASS num_int_add
+PASS num_int_cast
+PASS num_int_div
+PASS num_int_mul
+PASS num_int_neg
+PASS num_int_rem
+PASS num_int_shiftlimit
+PASS num_int_shl
+PASS num_int_shr
+PASS num_int_sub
+PASS num_intmin_literal
+PASS num_long_add
+PASS num_long_cast
+PASS num_long_div
+PASS num_long_mul
+PASS num_long_neg
+PASS num_long_rem
+PASS num_long_shiftlimit
+PASS num_long_shl
+PASS num_long_shr
+PASS num_long_sub
+PASS num_not
+PASS num_rem_negative
+PASS num_short_add
+PASS num_short_cast
+PASS num_short_div
+PASS num_short_mul
+PASS num_short_neg
+PASS num_short_rem
+PASS num_short_shiftlimit
+PASS num_short_shl
+PASS num_short_shr
+PASS num_short_sub
+PASS num_uchar_add
+PASS num_uchar_cast
+PASS num_uchar_div
+PASS num_uchar_mul
+PASS num_uchar_neg
+PASS num_uchar_rem
+PASS num_uchar_shiftlimit
+PASS num_uchar_shl
+PASS num_uchar_shr
+PASS num_uchar_sub
+PASS num_uint_add
+PASS num_uint_cast
+PASS num_uint_div
+PASS num_uint_mul
+PASS num_uint_neg
+PASS num_uint_rem
+PASS num_uint_shiftlimit
+PASS num_uint_shl
+PASS num_uint_shr
+PASS num_uint_sub
+PASS num_ulong_add
+PASS num_ulong_cast
+PASS num_ulong_div
+PASS num_ulong_mul
+PASS num_ulong_neg
+PASS num_ulong_rem
+PASS num_ulong_shiftlimit
+PASS num_ulong_shl
+PASS num_ulong_shr
+PASS num_ulong_sub
+PASS num_ushort_add
+PASS num_ushort_cast
+PASS num_ushort_div
+PASS num_ushort_mul
+PASS num_ushort_neg
+PASS num_ushort_rem
+PASS num_ushort_shiftlimit
+PASS num_ushort_shl
+PASS num_ushort_shr
+PASS num_ushort_sub
+PASS order_calls
+PASS order_put
+PASS order_trap
+PASS r5b_fwd
+PASS r5b_mut
+PASS sort
+PASS t_bounds
+PASS t_cmp_unsigned
+PASS t_conv
+PASS t_conv_sign
+PASS t_div0
+PASS t_exit
+PASS t_loop
+PASS t_ovf
+PASS t_rw
+PASS t_stack
+PASS t_u63
+PASS t_u64max
+PASS t_void
+PASS t_write_wrap
+PASS two_loops
+cases=113 failures=0 RC=0
+PASS seed_1 3
+PASS seed_2 7
+PASS seed_3 7
+PASS seed_4 16
+PASS seed_5 16
+PASS seed_6 19
+PASS seed_7 19
+PASS seed_8 20
+PASS seed_9 20
+PASS seed_10 20
+PASS seed_11 20
+PASS seed_12 21
+PASS seed_13 7
+PASS seed_14 22
+PASS seed_15 22
+PASS seed_16 23
+PASS seed_17 23
+PASS seed_18 17
+PASS seed_19 18
+PASS seed_20 9
+PASS seed_21 9
+PASS seed_22 9
+PASS seed_23 9
+PASS seed_24 20
+PASS seed_25 8
+PASS seed_26 8
+PASS seed_27 8
+PASS seed_28 8
+PASS seed_29 6
+PASS seed_30 23
+PASS seed_31 9
+PASS seed_32 9
+PASS seed_33 10
+PASS seed_34 13
+PASS seed_35 15
+PASS seed_36 16
+PASS seed_37 16
+PASS seed_38 6
+PASS seed_39 7
+PASS seed_40 7
+PASS empty 16
+PASS text_target 24
+PASS five_params 24
+PASS long_name 13
+PASS library_io 24
+PASS library_array_width 24
+PASS local_storage_limit 23
+PASS inherited_text_program 24
+PASS r5b_assign 7
+PASS r5b_cycle 9
+refusal cases=50 failures=0 RC=0
+C caller: values, mutation, traps, invalid lengths and recovery OK
+Python caller: values, mutation, traps, invalid lengths and recovery OK
+attachment cases=2 failures=0 RC=0
+PASS detected c num_ulong_add native_exit 0 mutant_exit 126
+PASS detected python num_ulong_add native_exit 0 mutant_exit 126
+PASS detected c t_bounds native_exit 103 mutant_exit 1
+PASS detected python t_bounds native_exit 103 mutant_exit 1
+PASS detected c order_calls native_exit 1 mutant_exit 105
+PASS detected python order_calls native_exit 1 mutant_exit 105
+PASS deterministic nonempty output
+control cases=7 failures=0 RC=0
+robustness cases=225 target_accepts=6 target_refusals=444 failures=0 RC=0
+ALL SUITES RC=0
+test.sh rc=0
diff --git a/evidence/issue-20-const-length/recheck-main-d8174ed.log b/evidence/issue-20-const-length/recheck-main-d8174ed.log
new file mode 100644
index 0000000..889bf8a
--- /dev/null
+++ b/evidence/issue-20-const-length/recheck-main-d8174ed.log
@@ -0,0 +1,23 @@
+# omega-bridge#20 recheck on main d8174ed, 2026-11-06T20:30:46Z. Compiler files are named by sha256 prefix: omc-734f = tools/native PIN (AArch64 OM-1), omc-2c82 = omega_torch kernels, omc-b1d9 = omega-mv main fd3751b3 seed/out/omc, omc-be8c = tools/native X86_PIN. Units: evidence/issue-20-const-length/{cnst,lit,unk}.om. The first tools/native x86linux line used the host cc (no x86 assembler) and is not a result; the CC=x86_64-linux-gnu-gcc lines are.
+omc-734f cnst.om rc=9 omc: line 8: error 9 bytes=0
+omc-734f lit.om rc=0  bytes=80
+omc-734f unk.om rc=16 omc: line 2: error 16 bytes=0
+omc-2c82 cnst.om rc=0  bytes=80
+omc-2c82 lit.om rc=0  bytes=80
+omc-2c82 unk.om rc=16 omc: line 2: error 16 bytes=0
+2c82 cnst == lit (byte-identical)
+omc-b1d9 cnst.om rc=0  bytes=80
+omc-b1d9 lit.om rc=0  bytes=80
+omc-b1d9 unk.om rc=16 omc: line 2: error 16 bytes=0
+b1d9 cnst == lit (byte-identical)
+tools/native --target aarch64linux cnst.om rc=9 omc: line 8: error 9
+tools/native --target x86linux cnst.om rc=1 /tmp/ccPHgakn.s:86: Error: unknown mnemonic `jmp' -- `jmp ombr_code_f'
+CC=x86_64-linux-gnu-gcc tools/native --target x86linux cnst.om rc=0 tools/native: 1 unit(s) -> /home/drakestapleton/work/hive/BridgeCompiler/W103Attach/tnx-cnst/libomega_native.so + omega_native.{c,h,py,rs,zig,go} (+ work/)
+CC=x86_64-linux-gnu-gcc tools/native --target x86linux lit.om rc=0 tools/native: 1 unit(s) -> /home/drakestapleton/work/hive/BridgeCompiler/W103Attach/tnx-lit/libomega_native.so + omega_native.{c,h,py,rs,zig,go} (+ work/)
+CC=x86_64-linux-gnu-gcc tools/native --target x86linux unk.om rc=16 omc: line 3: error 16
+omega_native.c identical
+omega_native.h differs: 2 lines
+omega_native.py differs: 2 lines
+omega_native.rs differs: 2 lines
+omega_native.zig differs: 2 lines
+omega_native.go differs: 2 lines
diff --git a/evidence/omega-torch-m1/tests-main-d8174ed-wrong-omc.log b/evidence/omega-torch-m1/tests-main-d8174ed-wrong-omc.log
new file mode 100644
index 0000000..f146377
--- /dev/null
+++ b/evidence/omega-torch-m1/tests-main-d8174ed-wrong-omc.log
@@ -0,0 +1,53 @@
+EEE...................
+======================================================================
+ERROR: test_const_f32_bound (pytorch.tests.test_omega_torch.Binding.test_const_f32_bound)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "/home/drakestapleton/work/hive/BridgeCompiler/W103Attach/omega-bridge/pytorch/tests/test_omega_torch.py", line 231, in test_const_f32_bound
+    rc, c = self.gen("const L ulong 6\nfn k a view f32 L o edit f32 L to void\nput o 0 get a 0\nend\n")
+            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "/home/drakestapleton/work/hive/BridgeCompiler/W103Attach/omega-bridge/pytorch/tests/test_omega_torch.py", line 224, in gen
+    ot._compile_om(src.encode(), t.name)
+  File "/home/drakestapleton/work/hive/BridgeCompiler/W103Attach/omega-bridge/pytorch/tests/../omega_torch/__init__.py", line 85, in _compile_om
+    rc = subprocess.run([_omc()], input=src, stdout=o, stderr=err).returncode
+                         ^^^^^^
+  File "/home/drakestapleton/work/hive/BridgeCompiler/W103Attach/omega-bridge/pytorch/tests/../omega_torch/__init__.py", line 79, in _omc
+    raise OmegaRefused("omc sha256 %s is not the pinned %s" % (got, OMC_SHA256))
+omega_torch.OmegaRefused: omc sha256 734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61 is not the pinned 2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f
+
+======================================================================
+ERROR: test_const_not_ulong_refused (pytorch.tests.test_omega_torch.Binding.test_const_not_ulong_refused)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "/home/drakestapleton/work/hive/BridgeCompiler/W103Attach/omega-bridge/pytorch/tests/test_omega_torch.py", line 238, in test_const_not_ulong_refused
+    rc, c = self.gen("const L uint 6\nfn k a view f32 L to void\nret\nend\n")
+            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "/home/drakestapleton/work/hive/BridgeCompiler/W103Attach/omega-bridge/pytorch/tests/test_omega_torch.py", line 224, in gen
+    ot._compile_om(src.encode(), t.name)
+  File "/home/drakestapleton/work/hive/BridgeCompiler/W103Attach/omega-bridge/pytorch/tests/../omega_torch/__init__.py", line 85, in _compile_om
+    rc = subprocess.run([_omc()], input=src, stdout=o, stderr=err).returncode
+                         ^^^^^^
+  File "/home/drakestapleton/work/hive/BridgeCompiler/W103Attach/omega-bridge/pytorch/tests/../omega_torch/__init__.py", line 79, in _omc
+    raise OmegaRefused("omc sha256 %s is not the pinned %s" % (got, OMC_SHA256))
+omega_torch.OmegaRefused: omc sha256 734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61 is not the pinned 2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f
+
+======================================================================
+ERROR: test_f64_array_refused (pytorch.tests.test_omega_torch.Binding.test_f64_array_refused)
+----------------------------------------------------------------------
+Traceback (most recent call last):
+  File "/home/drakestapleton/work/hive/BridgeCompiler/W103Attach/omega-bridge/pytorch/tests/test_omega_torch.py", line 242, in test_f64_array_refused
+    rc, c = self.gen("fn k a view f64 4 to void\nret\nend\n")
+            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+  File "/home/drakestapleton/work/hive/BridgeCompiler/W103Attach/omega-bridge/pytorch/tests/test_omega_torch.py", line 224, in gen
+    ot._compile_om(src.encode(), t.name)
+  File "/home/drakestapleton/work/hive/BridgeCompiler/W103Attach/omega-bridge/pytorch/tests/../omega_torch/__init__.py", line 85, in _compile_om
+    rc = subprocess.run([_omc()], input=src, stdout=o, stderr=err).returncode
+                         ^^^^^^
+  File "/home/drakestapleton/work/hive/BridgeCompiler/W103Attach/omega-bridge/pytorch/tests/../omega_torch/__init__.py", line 79, in _omc
+    raise OmegaRefused("omc sha256 %s is not the pinned %s" % (got, OMC_SHA256))
+omega_torch.OmegaRefused: omc sha256 734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61 is not the pinned 2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f
+
+----------------------------------------------------------------------
+Ran 22 tests in 1.614s
+
+FAILED (errors=3)
diff --git a/evidence/omega-torch-m1/tests-main-d8174ed.log b/evidence/omega-torch-m1/tests-main-d8174ed.log
new file mode 100644
index 0000000..82573ec
--- /dev/null
+++ b/evidence/omega-torch-m1/tests-main-d8174ed.log
@@ -0,0 +1,28 @@
+test_const_f32_bound (pytorch.tests.test_omega_torch.Binding.test_const_f32_bound) ... ok
+test_const_not_ulong_refused (pytorch.tests.test_omega_torch.Binding.test_const_not_ulong_refused) ... ok
+test_f64_array_refused (pytorch.tests.test_omega_torch.Binding.test_f64_array_refused) ... ok
+test_array_limit_refused (pytorch.tests.test_omega_torch.FailClosed.test_array_limit_refused) ... ok
+test_broadcast_add_refused (pytorch.tests.test_omega_torch.FailClosed.test_broadcast_add_refused) ... ok
+test_explicit_fallback_is_counted (pytorch.tests.test_omega_torch.FailClosed.test_explicit_fallback_is_counted) ... ok
+test_unsupported_op_raises_and_runs_nothing (pytorch.tests.test_omega_torch.FailClosed.test_unsupported_op_raises_and_runs_nothing) ... ok
+test_wrong_length_status_32 (pytorch.tests.test_omega_torch.FailClosed.test_wrong_length_status_32) ... ok
+test_mlp_parity_and_all_omega (pytorch.tests.test_omega_torch.Model.test_mlp_parity_and_all_omega) ... ok
+test_mutant_linear_caught (pytorch.tests.test_omega_torch.NegativeControl.test_mutant_linear_caught) ... ok
+test_mutant_relu_caught (pytorch.tests.test_omega_torch.NegativeControl.test_mutant_relu_caught) ... ok
+test_mutant_softmax_caught (pytorch.tests.test_omega_torch.NegativeControl.test_mutant_softmax_caught) ... ok
+test_add (pytorch.tests.test_omega_torch.Ops.test_add) ... ok
+test_addmm (pytorch.tests.test_omega_torch.Ops.test_addmm) ... ok
+test_linear (pytorch.tests.test_omega_torch.Ops.test_linear) ... ok
+test_mm (pytorch.tests.test_omega_torch.Ops.test_mm) ... ok
+test_mm_exact_integers (pytorch.tests.test_omega_torch.Ops.test_mm_exact_integers) ... ok
+test_permute (pytorch.tests.test_omega_torch.Ops.test_permute) ... ok
+test_relu (pytorch.tests.test_omega_torch.Ops.test_relu) ... ok
+test_softmax (pytorch.tests.test_omega_torch.Ops.test_softmax) ... ok
+test_softmax_two_ulp_of_float64 (pytorch.tests.test_omega_torch.Ops.test_softmax_two_ulp_of_float64) ... ok
+test_softmax_wolfram (pytorch.tests.test_omega_torch.Ops.test_softmax_wolfram) ... ok
+
+----------------------------------------------------------------------
+Ran 22 tests in 2.020s
+
+OK
+torch rc=0