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/aien-protocols-mv/issues/cfe885b3a2796803 # aien-protocols-mv Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # [OSH][P0] Freeze native stream/task ABI acceptance vectors for pipeline execution Closed · #43 · open 2026-10-18 21:54 UTC · closed 2026-10-19 02:16 UTC (reason completed) Imported from GitHub aien-dev/aien-protocols-mv#43, by drakestapleton drakestapleton wrote on 2026-10-18 21:54 UTC ## Scope Finite OSH platform-contract issue under architecture OSH workstream #158 . NOT A MASTER PLAN. This proposes P0 inside the OSH implementation workstream, without amending the authoritative cross-project execution sequence. ## Code-grounded baseline (2026-10-18) - `specs/osh-platform/OSH_PLATFORM_ABI.md` already specifies `PIPE_CREATE`, `STREAM_READ/WRITE/CLOSE/DUP`, `TASK_SPAWN/WAIT/CANCEL/STATE`, caps, 64-KiB minimum pipe capacity, 8 concurrent tasks per pipeline, errors `WOULD_BLOCK`, `BROKEN_PIPE`, `PARTIAL_LAUNCH`, and effect recording. ABI v1 is explicitly draft/unfrozen. - `specs/osh-platform/vectors/` has existing vectors; do not replace their format/semantics. - Omega's Linux host adapter `src/osh/host/osh_exec.c` implements concurrent pipelines; AIENOS `native/kernel/core/osh_op.c` is a one-operation test-only adapter. ## Deliverables - Audit existing OSH ABI v1 fields and current Linux/Omega implementation against prospective native behavior. Record contradictions/open freeze items; don't claim an ABI freeze until independently qualified. - Specify precise byte-stream semantics (partial read/write; zero-length operation; EOF only when all writers close; no readers -> BROKEN_PIPE; bounded backpressure/WOULD_BLOCK; close/wake; ownership and epoch validation). - Specify task/stream binding, lifetime, cancellation, partial-launch cleanup, refusal-before-effects, and `OUTCOME_UNKNOWN` handling. Preserve separate domain-1 32-bit and domain-2 64-bit generation rules. - Add machine-checkable host/native shared positive and negative fixtures to `specs/osh-platform/vectors/`; include malformed headers, cap revocation during blocked read/write, capacity limits, reader/writer close races, stage nonzero exit, cancellation, and partial launch. - Document contract changes and versions. Any incompatible frozen-layout changes require a version bump, not an implicit reinterpretation. - Identify which vectors require real native QEMU execution versus host unit logic; require exact pinned code/toolchain/contract revision for receipts. ## Acceptance criteria - One agreed test corpus runnable independently by Omega host adapter and AIENOS native harness, reporting explicit NOT_RUN for unsupported targets. - Every unsupported operation yields a defined refusal/error before side effects, never a guessed success. - No new shell parser or separate authority root is introduced. ## Dependencies / links - Parent: aien-dev/aien-architecture-mv#158 - Implementers: `aien-dev/aienos-mv` (streams/tasks), `aien-dev/omega-mv` (host conformance). - Read PLAN_AUTHORITY.md and applicable repository AGENTS.md/.crumb before modifying files. Implementation guidance is grounded in source inspection, not a claim of passing QEMU/physical tests. No comments. Sign in to comment