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 / text-native

81488ae evidence: L551 seeded_next PASS with draft-1049 compiler rebuilt to its pinned d89bdc08 Drake Stapleton committed 2026-11-09
..
README.md3729
compiler.sha256156
pins.sha256373
readonly-view-green.json74
regression-vs-main.json63298
regression-vs-main.py3070
replay-bootstrap.log247
replay-cabi.log2236
replay-freest.log549
replay-freest_views.log2334
replay-seeded.log103
replay-seeded_float.log219
replay-seeded_next.log302
replay-seeded_runtime_views.log973
replay-seeded_views.log771
replay-test.log4120
replay-text.log98
text-receipts.json350940

README.md

L551 text conversion receipts (with the L555 correction)

Host spark-b87b, 2026-11-09, CPU pool 12-13 (flock -o ~/handoffs/hive/queen/pool-12-13.lock taskset -c 12-13 nice -n 19). All replay logs come from a fresh git clone of commit 402d641 (no working-tree changes), with the seed rebuilt by tools/bootstrap.sh from Omega source 29b12760 (OMEGA_SOURCE=~/workspace/omega).

Pins (pins.sha256, compiler.sha256):

  • seed build/bootstrap/omc 191b776e... (bootstrap fixpoint RC=0, replay-bootstrap.log)
  • seeded omc 2c824805... (OMEGA_SEEDED_OMC, seeded suites and cabi gate)
  • src/toc.om 43feb9e9..., private emitter build/bridge ca6c697b... (same digest in the working clone and the replay)
  • main f6b7cc40 src/toc.om 218214ab..., its emitter 509fb1e2... (comparison baseline only)

Results:

  • replay-text.log: tests/text.py 380 sources, 760 target checks passed, 20 of 20 direct converter runs (seed bypassed), 16 of 16 controls caught, RC=0. text-receipts.json holds every row (source, native status/stdout, C and Python status/stdout digests), every direct row and every control row.
  • replay-test.log: tools/test.sh differential 114/0, refusals 48/0, attachments 2/0, controls 7/0, robustness 225/0, text (as above), ALL SUITES RC=0.
  • seeded, seeded_float, seeded_views, seeded_runtime_views, freest_views, freest and the cabi gate: PASS (one log each).
  • readonly-view-green.json: the L555 reviewer reproduction (omega_pick(b'abc',3)) now returns (0, 99), the same as bytearray; before the fix it returned (8, None) (evidence/text-parent-verification/readonly-view-red.json).
  • regression-vs-main.json (regression-vs-main.py MAIN_EMITTER MAIN_TOC): 184 committed sources x 14 emitter modes = 2576 runs against main's emitter. 2297 byte-identical; 265 differ only by the two intended non-text changes (readonly C views gain const; the Python o_buf line accepts bytes for readonly views); 14 differ in status, all expected:
    • tests/fixtures/text_program.om C/P: 24 -> 0 (the feature).
    • refusal rows seed_9/seed_10 (write/read into a text) C/P: 24 -> 20; seed_14/seed_15 (bad escape, unterminated text) C/P: 24 -> 22. The bridge now names the seed's own error; the seed refuses all four first.
    • tests/cabi/gate.om 16 -> 14 and tests/cabi/proc.om 13 -> 14 in C/P: both are seeded-only programs the baseline seed already refuses (error 16), so the baseline tool never reaches the converter for them. Seeded modes for these files are byte-identical.

Review: an independent read-only reviewer (fresh context) approved d2c71dd with two low notes, both fixed in 402d641: the C text length is now static const uint64_t (a linked caller could otherwise raise it and widen the o_get bound; immutable-length-mutant control), and build/bridge alone now refuses a trailing token after a text value (error 16; the emitter 4e2c528b... of d2c71dd accepted text t "ab" junk with rc 0, while the seed refuses it with 5 first, so tools/bridge behavior was already a refusal). Verdicts: ~/handoffs/hive-breathe/L551.md.

  • replay-seeded_next.log: tests/seeded_next.py "SEEDED-NEXT PASS" with OMEGA_SEEDED_NEXT_OMC built here from omega-mv 7e93ca8e seed/omc/omc.om (source sha256 0a0f4bbc..., as pinned): both the seeded omc 2c824805... and the bootstrap seed compile it to d89bdc08ca21ea9726f1117adc791f683287d3698ea112a9db5519df2e79aeec, the pinned candidate. Run in the work clone at toc 43feb9e9... / bridge ca6c697b....

Not run: tests/native/* (the tools/native profile reads neither src/toc.om nor build/bridge), GPU and device paths. No runtime retirement is claimed (the retirement count stays 0).