interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

[OSH][P1] Native pipeline acceptance gate: QEMU to hardware readiness matrix

Open · #432 · open 2026-10-18 21:56 UTC

Imported from GitHub aien-dev/aienux#432, by drakestapleton

drakestapleton wrote on 2026-10-18 21:56 UTC

Goal

Make native pipelines an independently judged, evidence-backed AIENOS qualification capability—not a shell README assertion. Subordinate to OSH architecture #158; NOT A MASTER PLAN.

Code baseline

  • native/kernel/core/osh_test.c is a QEMU-only test harness: its OSH core run uses fake pipeline statuses except for the CK_OSH_OP_TEST console operation; the latter is still not production-native pipeline execution.
  • native/kernel/tests/test_osh_op.c asserts the old multi-command refusal; adjust gates only after true native pipe behavior is implemented.
  • native/kernel/core/osc_task.h describes QEMU-only admitted artifact calls; never claim physical proof from QEMU.
  • Protocols ABI already sets stream/task semantics and resource minimums.

Work

  • Inventory all existing host/QEMU gates, native path requirements and Spark judge receipt format. Reuse them without adding a parallel CI authority.
  • Add immutable host unit, QEMU integration and (when ready) Pi 5, iMac and GB10 physical test categories, each with PASS/FAIL/NOT_RUN. Never infer physical acceptance from host tests.
  • Baselines: 2-stage and 3-stage throughput/latency; binary correctness; 64KiB pipe capacity; wakeup/backpressure; cancellation responsiveness; bounded memory; task/handle leaks; blocked reader/writer revoke; effect receipt durability; restart unknown outcomes.
  • Include negative mutation tests that each demonstrably fail if capability validation, stage teardown, byte ordering, or intent journaling is disabled.
  • Compare native AIENOS to equivalent Linux/Omega baseline on matched hardware, workload, and resources. Report actual throughput/latency/energy/CPU time, not unmeasured claims AIENOS is faster.
  • Pin git SHA/compiler/firmware/hardware/QEMU/toolchain and retain run logs + signed Spark judge artifact; expose qualification per platform and path.

Acceptance

Native-QEMU pipeline gate passes using real concurrently scheduled admitted work with no fake statuses; reviewable receipt links exact revisions. Physical platform columns remain NOT_RUN until independent on-device evidence exists.

Depends: protocols vectors #43, native pipes #428, task lifecycle, OSH integration, journal recovery and Omega differential fixture issues.

Universal-adapter application acceptance extension

Parent: https://github.com/aien-dev/aien-architecture-mv/issues/295

Reuse: existing native pipeline qualification already owns the same-app hosted/native comparison, error/recovery and hardware matrix. Apply these acceptance requirements to its first real application, preserving #428-431 and current native implementation owners. No second kernel/executor.

Dependencies / consumed contracts

Problem

A boot message does not establish that a useful application can survive replacement of its hosted OS services.

Work

  • Map https://github.com/aien-dev/aienux/issues/446 operations onto existing native memory, handle, I/O and clock facilities.
  • First run on an isolated emulator/VM with explicit machine profile. Prepare separate physical-hardware qualification with the existing operator process.
  • Preserve authority, cancellation and error behavior across both service implementations.
  • Retain a rollback/recovery boot path; do not modify the live serving machine or firmware as part of routine development.

Acceptance

  • One nontrivial application fixture runs on hosted and native substrates with matching declared outputs/status and exercised failure paths.
  • A runtime-dependency inventory and execution evidence demonstrate that the native run does not call Linux underneath.
  • Emulator evidence and physical-device evidence are separate; unavailable hardware remains NOT_RUN.
  • Full reboot/recovery and resource cleanup are demonstrated for the chosen platform before a physical deployment claim.

Scope

one bounded application and machine profile, not universal Linux compatibility.

Existing issue acceptance is retained. Seeded Omega first-party computation, exact source/tool/binary pins, command/exit receipts, compiled negative controls and independent final-source review are required. Hosted, emulated, hardware, runtime-required and unsupported states stay distinct. Preserve live services and existing owners. No closure from a branch, partial demonstration or unrun physical gate. Programme L707; sole PR desk Renda/L708.

No comments.

Sign in to comment