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.cimplementspipe2,fork,execve, process-group and wait/cancel behavior for concurrent Linux-host pipelines, with journaled effects.tests/osh/e2e/test_osh_e2e.calready 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.ccurrently 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.