interplane.Get Omega
Read in your language

aien-protocols-mv

Canonical specifications, wire protocols, and schemas for the AIEN sovereign ecosystem

Brought by drakestapleton

[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)

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.
  • 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