Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/issues/d24ca7aa9f932258 # omega-mv Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance. Brought by drakestapleton Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers # [OSH][P1] Cross-adapter pipeline differential tests: Omega Linux vs AIENOS native Open · #568 · open 2026-10-18 21:56 UTC Imported from GitHub aien-dev/omega-mv#568, by drakestapleton drakestapleton wrote on 2026-10-18 21:56 UTC ## Purpose Reuse Omega's existing shell implementation as the behavioral reference for supported native AIENOS pipeline forms, without assuming a Linux executable can run on AIENOS. Subordinate to architecture OSH #158 ; NOT A MASTER PLAN. ## Existing code - `src/osh/host/osh_exec.c` implements `pipe2`, `fork`, `execve`, process-group and wait/cancel behavior for concurrent Linux-host pipelines, with journaled effects. - `tests/osh/e2e/test_osh_e2e.c` already tests two/three-stage pipelines, redirections, statuses, and intentional unsupported syntax in interpreter/native modes. - `tests/osh/trace/` and OSH spec vectors exist. - AIENOS's `osh_op.c` currently refuses multi-command requests and is test-only. ## Tasks - Extract implementation-agnostic stream/stage fixtures: direct argv boundary, binary bytes, large output, short reads/writes, producer shutdown, consumer early exit, exit statuses, SIGPIPE/BROKEN_PIPE, revocation, cancellation, redirection order, partial launch and cleanup. - Compare byte-exact request records, supported output/status and receipt categories for equivalent Omega-native toy operations on each adapter. Linux-only syscalls/process-group behavior are platform-specific and must not be conflated. - Add a runner producing side-by-side per-vector PASS/FAIL/NOT_RUN with pinned compiler, Omega, AIENOS, ABI and test harness SHAs; missing native execution should be NOT_RUN, never green. - Preserve bash-differential tests and existing Omega #344 follow-ups; do not broaden unsupported shell grammar merely to hide mismatches. - Include deterministic injected faults and memory/resource limits. Differential testing must use the actual compiled Omega shell core, not substitute a hand-written parser. ## Acceptance A native 2-stage and 3-stage OSH fixture matches shared observable semantics and proves native execution separately, while any unsupported target reports explicit NOT_RUN. Spark judge produces evidence with immutable identity. Depends: protocols #43 , aienos #428 , native task/OSH integration issues. No comments. Sign in to comment