omega-bridge
Omega-first language interoperability: checked conversion backends and native language bindings
Brought by drakestapleton
omega-bridge / evidence / cabi-1 / REPORT.md
| 1 | # cabi-1 evidence (omega-bridge#83) |
| 2 | |
| 3 | Status: HOST_TESTED on a fresh clone of `hive/bridge-83-abi` holding the emitter, the gate and the docs of |
| 4 | this commit without this `evidence/cabi-1/` directory (aarch64 DGX Spark host, CPU only, core 2, no device |
| 5 | access). `env.txt` names the tested `src`, `tools`, `tests`, `docs`, `.github` and `README.md` git objects; |
| 6 | the commit that carries this report holds the same objects (check with `git rev-parse HEAD:src` and so on), |
| 7 | and the `src/toc.om` and `tools/bridge-seeded` SHA-256 digests. `commands.sh` is the exact scratch runner |
| 8 | (its argument was the tested commit); `env.txt` also records the seeded compiler digests and the ORACLE |
| 9 | tool versions. |
| 10 | |
| 11 | | Log | Command | Expected | Observed | |
| 12 | | --- | --- | --- | --- | |
| 13 | | `build.log` | `sh tools/build.sh` | rc 0 | rc=0 | |
| 14 | | `test-sh.log` | `sh tools/test.sh` | `ALL SUITES RC=0` | `ALL SUITES RC=0`, rc=0 | |
| 15 | | `seeded.log`, `seeded_float.log`, `seeded_views.log`, `seeded_runtime_views.log` | `python3 tests/<suite>.py` | PASS | PASS, rc=0 each | |
| 16 | | `freest.log`, `freest_views.log` | `python3 tests/freest*.py` (`FREEST_CUDAPP_ROOT` = CUDApp dbb1b500) | PASS | PASS, rc=0 each | |
| 17 | | `cabi-gate.log` | `cat tests/cabi/proc.om tests/cabi/gate.om \| $OMEGA_SEEDED_OMC > build/cabi-gate; build/cabi-gate` | 35 PASS lines, `OMEGA-BRIDGE CABI GATE PASS` | as expected, rc=0 | |
| 18 | | `cabi-gate-unconfigured.log` | `env -u OMEGA_SEEDED_OMC build/cabi-gate` | NOT_RUN, rc 77 | rc=77 | |
| 19 | |
| 20 | Negative controls (each a modified copy of the fresh clone; the gate must not pass): |
| 21 | |
| 22 | | Log | Mutation | Observed | |
| 23 | | --- | --- | --- | |
| 24 | | `neg-golden-byte.log` | one space added to golden `tests/cabi/golden/nvmlDeviceGetName.c` | `CABI GATE FAIL: exported wrapper equals its golden`, rc=1 | |
| 25 | | `neg-no-provsum.log` (`neg-no-provsum.diff`) | `ab_provsum` call removed from `ab_lib_main` in `src/toc.om`, rebuilt | all-zero digest input no longer refused: `expected=52 ... argv0=build/bridge`, `cabi gate refused`, rc=90 | |
| 26 | | `neg-base-d8174ed.log` | base `src/toc.om` and `tools/bridge-seeded` from d8174ed, rebuilt | base wrapper has no `lib-c` mode (usage, exit 64), `cabi gate refused`, rc=90 | |
| 27 | |
| 28 | An earlier run of the same runner reported `neg-no-provsum rc=0`: its sed range ended at the first `end` |
| 29 | in `ab_lib_main`, so nothing was deleted. The runner now refuses to continue unless the mutation produces |
| 30 | a diff; the logs here are from the corrected run (wall time 85 s). |
| 31 | |
| 32 | ORACLE tools (test-only, never shipped): `cc` (GCC 13.3.0), `nm`/`readelf` (GNU Binutils 2.42), |
| 33 | `tests/cabi/caller.c`, `sha256sum`. Python 3.12.3 runs the pre-existing regression harnesses. |
| 34 | |
| 35 | NOT_RUN: GitHub Actions (`portable.yml` step added; aien-dev Actions blocked) and any device or |
| 36 | hardware run (`seeded.log`: `device NOT_RUN`). |