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 / freest-fixed-view-regression

d90433a fix(freest): preserve fixed-count view admission Drake Stapleton committed 2026-11-06
..
README.md4247
compat-commands.tsv4496
consumers.log4572
freest-host.log549
freest-x86.log549
green-build.log0
green-commands.tsv1268
green-views.log698
green2-baseline.log3605
green2-build.log0
green2-commands.tsv1905
green2-views.log2334
red-commands.tsv693
red-exact-commands.tsv694
red-exact-views.log699
red-views.log701
seeded-float.log219
seeded-runtime-views.log973
seeded-views.log771
seeded.log103

README.md

Fixed-count admission regression in draft #77

Host-only repair of the Integrator6B report against #77 head bb3a8ae10d940d82f14c41cd8f0f1c32021545f0. Stack base remains #76 at 741c1ebb2b0fbae311a77ad2118b13d5ec7a17ee. No hosted ABI, compiler pin or trust-path change.

Test-first failure and cause

The copied CUDApp attn_args.om fixture reproduces omega_av_pack(&result,p,31,a,32,0,0): status 0 instead of hosted default status 32. red-exact-views.log records the new assertion failing before the emitter repair (runner rc1). red-views.log records an earlier boundary case in the same new test: invalid fixed counts produced status 3 rather than admission status 32. Both failures predate the repair.

Private modes W/Y incorrectly enabled dynview unconditionally. That widened non-OM2 fixed signatures into runtime capacities. They now start with the default exact-count policy; the signature scan enables runtime extents only after recognizing the seed-validated om2 header. No driver flag or exported-symbol change. The non-OM2 launch-record/layout units match default hosted C; OM2 runtime units match hosted --runtime-views. Hosted emitter bytes are unchanged.

The previous evidence/freest-runtime-views/ receipts remain untouched. Their consumer byte comparisons selected hosted runtime views for every unit, so they did not prove the fixed default profile. This directory corrects that coverage gap with both profiles explicitly exercised.

Exercised checks

Every command ran serially under:

bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 <command>

Compiler environment:

export OMEGA_SEED="$HOME/work/cudastack/omega-bridge/build/bootstrap/omc"
export OMEGA_SEEDED_OMC="$HOME/work/cudastack/omega-mv/seed/out/omc"

green2-commands.tsv and compat-commands.tsv contain exact clean environments, commands, rc and final lines. green-views.log preserves a test-harness mutation-selector collision with the existing hosted helper; the selector was narrowed to text fsrun, then the final sequence passed.

CommandrcFinal evidence
sh tools/build.sh0silent success
python3 tests/freest_views.py0FREEST-VIEWS PASS
sh tools/test.sh0ALL SUITES RC=0
python3 tests/freest.py (host and x86 QEMU)0 eachdirect structural converter refusals PASS
python3 tests/seeded.py0seeded differential and pin/arithmetic/ABI controls PASS; device NOT_RUN
python3 tests/seeded_float.py0byte differential PASS; one-ulp mutant detected
python3 tests/seeded_views.py0SEEDED-VIEWS PASS
python3 tests/seeded_runtime_views.py0SEEDED-RUNTIME-VIEWS PASS
python3 /tmp/integ/BridgeFreestViews-fixed-consumers.py0CONSUMER-VIEWS PASS

Fixed-profile coverage includes caller counts 0/1/31/32/33, writable/result aliases, status32 before any buffer/result changes, and default-hosted differential at O0/O2. The runtime-copy fixture covers NULL/zero, adjacent versus overlapping windows, result overlap, address wrapping and bounds status3 with identical partial writes and unchanged result. Existing randomized arithmetic, typed/floating runtime-view, nested unwind and unsupported-capability controls remain exercised. Seven emitter mutants are killed, including removal of the fixed n == want check. The unsupported seeded-valid part unit still refuses c/h without output.

Import gate: allowed undefined-symbol set is empty. Every test object at O0/O2, all listed attention consumer objects at O2, and their combined -r -nostdlib object have empty nm -u; no TLS/int128 imports. consumers.log lists all actual exported symbols and generated hashes, and proves freest C/header byte stability plus hosted matching-profile C/header identity with #76.

Fixtures are copies of IntegStage3 CUDApp 0d38145a697290f2cd00578fbaa168b824a38015. Source/header/object checks run on host and x86 EMULATED only. GPU execution, physical-x86 qualification, CUDApp target integration, MERGED and DEPLOYED: NOT_RUN by this lane. No service, GPU device, lock, module or PID 68451 touched. Home paths in logs are normalized to ~; no other normalization.