omega-bridge
Omega-first language interoperability: checked conversion backends and native language bindings
Brought by drakestapleton
omega-bridge / evidence / text-parent-baseline / README.md
| 1 | # Parent-frozen text baseline |
| 2 | |
| 3 | This is a native reference and pre-change converter baseline, **not** proof that |
| 4 | the new C/Python text implementation works. Base0fc7d86, native compiler SHA256 |
| 5 | 191b776ef98821597c3e30655da6d680a9b66edbc9ceaca3c39c61ea6df098e9. |
| 6 | The parent executed both scripts on LinuxAArch64; no GPU/model/service access. |
| 7 | |
| 8 | `baseline.json`: nine actual cases. Six source units accepted by the pinned native |
| 9 | compiler were executed and matched independent expected byte strings; all six |
| 10 | are refused by each old target with no output. Unknown escape, unterminated text |
| 11 | and inline string expression are refused by the seed. Inline quoted expressions |
| 12 | are therefore not a language feature promised by the follow-on. |
| 13 | |
| 14 | `extended-native-oracle.json`: eight additional unique source units, encoded as |
| 15 | hex so arbitrary control/high bytes are preserved without committing binary |
| 16 | source fixtures. Actual native output covers all256 byte values in order/reverse, |
| 17 | a repeated alphabet and read-only view calls; attempts to put/read/edit text are |
| 18 | native refusals. Empty text indexed through a runtime variable compiles then |
| 19 | traps, with its actual status recorded. Each accepted artifact was required to be |
| 20 | a nonempty static AArch64 ELF before execution; compiler failures were never run. |
| 21 | |
| 22 | `summary.json` aggregates both files by source SHA256:17 unique source units, |
| 23 | 11native accepts and6native refusals. The old emitter was exercised in12 target |
| 24 | refusal pairs for the initial six accepted native cases; the additional eight are |
| 25 | frozen native references, not claimed old-emitter execution tests. |
| 26 | |
| 27 | Reproduce with the supplied scripts from the tested base's own build output. |
| 28 | The helpers use the already qualified seed binary, verify its identity and record |
| 29 | actual stdout bytes/status. They do not reconstruct the same compiler separately |
| 30 | for every case. Generated `.elf` artifacts remain in owned handoff scratch and |
| 31 | are deliberately not committed. |
| 32 | |
| 33 | The first probe incorrectly assumed every old text refusal was24. Raw NUL instead |
| 34 | reaches the old non-string-aware lexer and returns16 (src/toc.om tok rejects |
| 35 | control bytes). The parent inspected that code and corrected the *baseline's* |
| 36 | expected refusal class to16/24 while preserving actual status in each row. No |
| 37 | production code or acceptance gate was weakened. Native quoted text accepts raw |
| 38 | NUL; the new target implementation must preserve it, not continue the old refusal. |
| 39 | |
| 40 | The current worker is L551, isolated branchfeat/native-text-conversion; its |
| 41 | immutable final source will be independently compared against these references |
| 42 | only after its own gates pass. Parent acceptance/core review is L555. Whole-system |
| 43 | retirement and automatic runtime attachment remain unqualified. |