Goal
Connect the existing Omega OSH parser/request records to a capability-checked native AIENOS multi-stage executor. This is the OSH integration issue, not permission to add a new parser or duplicate a scheduler.
Scope: subordinate to architecture OSH #158; NOT A MASTER PLAN.
Code evidence
native/kernel/core/osh_op.clines 249–259 acceptsklogonly, and rejectsncmds != 1, assignments, redirections and builtins before side effects.osh_op.his test-only (CK_OSH_OP_TEST), unavailable in a production/hardware-staging image and uses RAM-only intent records.native/kernel/core/osh_test.cruns the existing compiled lexer, parser and expander as QEMU EL0 tasks and can passPIPELINE_READYrecords to this adapter in test mode.- Omega
src/osh/host/osh_exec.calready implements concurrent host process pipes; preserve shared language semantics, not Linux syscall dependencies.
Tasks
- In test/QEMU mode first, consume the validated OSH ABI v1 request layout (
ncmds,argv, redirects, builtins, connector status) for multiple commands, notklog-only. - Resolve commands to admitted Omega-native ops/services. Reject non-existent or unavailable classes by name, without fallback to arbitrary host shell or unintended machine forwarding.
- Wire pipeline command stages to the native stream and task interfaces; apply ordered redirections and correct last-stage status.
- Check authority at every effect boundary, including spawn, redirection and stream access. No shell variable or command name ever mints authority.
- Maintain test-only guards until genuine kernel integration, validated persistent intent/outcome handling and the production qualification gate exist. Do not simply delete
CK_OSH_OP_TESTchecks. - Preserve QEMU negative controls (non-admitted unit, malicious request, revocation, partial launch, crash after effect) and audit capability generations.
- Compare supported behavior against Omega hosted OSH vectors; unsupported constructs must refuse explicitly.
Done when
-
producer | transform | consumergenuinely streams data with concurrent native tasks in QEMU and uses no temporary file. - Conforming interactive/script/direct-argv routes reach the same executor and the same effect gate.
- Malformed/unauthorized requests have no effects; all success/partial/unknown outcomes produce evidence.
- Tests prove exact stage statuses, bounded memory, EOF and cleanup; hardware claims only after physical validation.
Depends: Protocols #43, AIENOS #428, native task lifecycle issue (link after creation).
Additional dependency: AIENOS native task lifecycle #429.