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/aienux/issues/9933e36b0f838f11 # aienux Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # [OSH][P1] Native pipeline crash consistency, effect receipts and safe restart Open · #431 · open 2026-10-18 21:56 UTC Imported from GitHub aien-dev/aienux#431, by drakestapleton drakestapleton wrote on 2026-10-18 21:56 UTC ## Goal Qualify durable pipeline effect identity and safe restart for native OSH. NOT A MASTER PLAN; follow OSH umbrella #158 and existing architectural sequencing. ### Verified baseline - `native/kernel/core/osh_op.h` explicitly calls current intent records RAM-only, with a `struct osh_intent` seam and `osh_op_recover()` that reports open intents as `OUTCOME_UNKNOWN`, not replayed. - `native/kernel/core/osh_op.c` uses this seam in the QEMU test adapter. - OSH ABI §10 and §13 requires durable intent before write/spawn and outcome after, with conservative unknown results. ### Implementation - Audit the existing native Artifact Store/Cortex and evidence paths for a suitable durable record sink; do not invent a second ledger where an existing verified writer suffices. - Bind each pipeline/stage effect to request digest, operator/agent principal, capability domain/index/generation, stage identity and input/target hashes as available; separate provisional result, finished result and immutable receipt. - Journal intent durably before any effect; write/finalize outcome only after observed completion. If durability is unavailable, refuse effectful stages by name, not silently downgrade. - Recover unfinished effects as `OUTCOME_UNKNOWN`; never auto-repeat a possibly executed mutation. Allow explicit operator reconciliation through existing authority. - Fault-inject crash before intent, after intent, after spawn/write, after finish, during cancellation and during receipt writing; verify exact counts and no duplicate effects. - Keep read-only recovery/inspection available even when OSH itself fails. ### Definition of done - Deterministic host + QEMU tests demonstrate fail-closed journal unavailability and precise recovery categories, with pinned signed Spark judge evidence. - No claim of exactly-once or undo/reversibility unless separately proven. - Native image enablement depends on passing this gate; do not count RAM-only test success as durable acceptance. Dependency: native streams and multi-command task/OSH issues; protocols #43 . No comments. Sign in to comment