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

GitHub aien-dev/aienux#401 (code only)

closed derived 33b0293cc029f795 #401

Imported from GitHub aien-dev/aienux#401 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base b7ebf7cde234e1ddcc91eb8fcaf378d060cfb3a2 · Head 0e7b1ccba3d35a6738056f0bd1c36a1f583da78e

Apply it

git checkout -b patch-33b0293cc029f795 b7ebf7cde234e1ddcc91eb8fcaf378d060cfb3a2
curl -fsSL https://interplane.io/drakestapleton/aienux/patches/33b0293cc029f795.patch | git am

Raw patch (mbox) · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/aienux
401
0e7b1ccba3d35a6738056f0bd1c36a1f583da78e
{"kind":"github-import","owner":"aien-dev","repo":"aienux","number":401,"url":"https://github.com/aien-dev/aienux/pull/401","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:36:21Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index 0b880e8f..11ba0f92 100644
--- a/.crumb
+++ b/.crumb
@@ -27,8 +27,8 @@
           "purpose": "Directory crates. Purpose not yet described by a human."
         },
         {
-          "digest": "77f7f9b8c8c75ae74c5168f97766f9caab8d6300723c88bd05d38e8394bea5d3",
-          "last_commit": "384745b",
+          "digest": "2f740ef54106c2b6419bfd2df1266762cd444f439c7e12ae2a7c5c3877de926c",
+          "last_commit": "4637b04",
           "name": "docs",
           "purpose": "Directory docs. Purpose not yet described by a human."
         },
@@ -40,20 +40,20 @@
         },
         {
           "digest": "2d6dcb75ee19ee77f7412674c5749eb28423cc11f045a8f699b0a04df29c693b",
-          "last_commit": "384745b",
+          "last_commit": "f635add",
           "name": "scripts",
           "purpose": "Directory scripts. Purpose not yet described by a human."
         }
       ],
-      "children_root": "sha256:8b8e2f7d51f530d7046a6710a8a2208148f67a296040c945e436b5075b0a0d7f",
-      "compiled_at": "2026-10-16T05:36:10Z",
+      "children_root": "sha256:d1ef5cf31dbe07062934a093572982dfc64b21b67c999f61babe14ac4d458c2e",
+      "compiled_at": "2026-10-16T10:58:02Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:c0b4b7c47662264fa002a7e062852d7f5aacec81bcd22e71e8c7a7e08da2a1f0",
+      "digest": "sha256:ac6527a8a520738f729fec0ab5052597ac3d89e41bbd27f3abc313fb1317c84e",
       "evidence_files": 183,
       "evidence_root": "sha256:9ac286aca0d673f856463c2a1541854df773bfe792792e6b82b7cb7a47cd17cc",
       "files": 3453,
-      "generated_at_commit": "2de1431996fb46db1b96e1e3575e3a07de9c75eb",
-      "source_tree": "sha256:b8640a2d57b4b474e18da4bb9dbca57bfcb70d1e59c9bba608145f31822c81a7"
+      "generated_at_commit": "4637b04d06f4e3cec4c79920bbed0efb46b93995",
+      "source_tree": "sha256:dbad459e009d58b1fb5dd71a7160191d1bed495ce7b0650a313c3103ec504b36"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/.crumb b/docs/.crumb
index 0add0d98..51b2754a 100644
--- a/docs/.crumb
+++ b/docs/.crumb
@@ -30,14 +30,14 @@
         }
       ],
       "children_root": "sha256:491e93c09b6185b662afda8b29d24bb3ee81bc2aed9009757fdf4674d197be31",
-      "compiled_at": "2026-10-16T02:08:11Z",
+      "compiled_at": "2026-10-16T10:58:02Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:77f7f9b8c8c75ae74c5168f97766f9caab8d6300723c88bd05d38e8394bea5d3",
+      "digest": "sha256:2f740ef54106c2b6419bfd2df1266762cd444f439c7e12ae2a7c5c3877de926c",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 216,
-      "generated_at_commit": "db5f4401e35de22cdd9c05913320d1534694600e",
-      "source_tree": "sha256:01a55835794d3e6546b2ec71669989b96466d6af5335d8010249c0b26c575922"
+      "generated_at_commit": "4637b04d06f4e3cec4c79920bbed0efb46b93995",
+      "source_tree": "sha256:1abaa75a2a66a6ce77842c9439ad7a5cbb7dee680ef47a6c33d9b865e8f70417"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/docs/GB10_NATIVE_DEPENDENCY_MAP.md b/docs/GB10_NATIVE_DEPENDENCY_MAP.md
index 6973de82..f43abc0a 100644
--- a/docs/GB10_NATIVE_DEPENDENCY_MAP.md
+++ b/docs/GB10_NATIVE_DEPENDENCY_MAP.md
@@ -247,7 +247,7 @@ Where it may bite here. A GPU channel is the likely domain-1 kernel channel (INF
 5. UNKNOWN: the per-context compute engine state RM initializes during compute-object allocation (local memory, shader memory windows).
 6. UNKNOWN: whether GPU memory traffic on GB10 passes through the AIENOS-confinable SMMU window or uses another path (the issue flags this; [GB10_PLATFORM_TOPOLOGY.md](https://github.com/aien-spark/aienos/blob/fa209e454dda90d933076e5fd1f333731fd9a3c1/docs/GB10_PLATFORM_TOPOLOGY.md) not re-read here).
 7. UNKNOWN: whether the GPU interrupt route (MSI-X/ITS/LPI) is required for correctness or only for efficiency, given the current code is polling only.
-8. UNKNOWN: whether the codegen files link freestanding. `omega_blackwell_codegen.c` includes `omega_blackwell_submit.h` ([L2](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_codegen.c#L2)); whether that header pulls in Linux types was not checked.
+8. RESOLVED for the host build, 2026-10-16 (omega [`docs/numeric/OMEGA_GPU_NATIVE_BOUNDARY.md`](https://github.com/aien-spark/omega/blob/278b6c3c5840e5f13472a2f60f50542d81c3821e/docs/numeric/OMEGA_GPU_NATIVE_BOUNDARY.md), cut A.2, omega#419): `omega_blackwell_codegen.c` and `omega_blackwell_matmul.c` are in the `-ffreestanding -fno-builtin` closure, and `make test-codegen-freestanding` finds the instruction streams of 14 fixture kernels byte-identical between the hosted and the freestanding build. That is host evidence only: a link inside the AIENOS kernel image and any device run remain NOT_RUN. Original entry: UNKNOWN whether the codegen files link freestanding; `omega_blackwell_codegen.c` includes `omega_blackwell_submit.h` ([L2](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_codegen.c#L2)).
 9. UNKNOWN: the AIENOS C toolchain's support for `stdatomic.h`, 64-bit atomics and inline AArch64 assembly in the freestanding target.
 10. UNKNOWN: contents and Linux dependence of the bench files (row 23) and of every tool script beyond the lines cited. Not read in full.
 11. UNKNOWN: the AIENOS-side current state. The AIENOS rows in this document repeat the issue's findings at `fa209e45`; they were not re-read here.
diff --git a/docs/GB10_NATIVE_STATUS.md b/docs/GB10_NATIVE_STATUS.md
index b103d4f0..466d576d 100644
--- a/docs/GB10_NATIVE_STATUS.md
+++ b/docs/GB10_NATIVE_STATUS.md
@@ -40,3 +40,34 @@ The image has not been installed, selected as the host boot target, or allowed
 to modify the existing Linux server. Host verification is `bash
 scripts/verify_all.sh`; a passing result proves build and unit-test readiness,
 not a successful native boot or model execution.
+
+## KV memory ownership on the native path
+
+Added 2026-10-16 for aien-spark/aien-architecture#233 (lane P1). The full
+source map for KV ownership, write rules, GPU visibility, queue bounds,
+cancellation, reuse and restart recovery lives with the code that owns the
+pool, in sovereign-core
+[`crates/aien-kv-cache/OWNERSHIP.md`](https://github.com/aien-spark/aien-sovereign-core/blob/a78ee68ab9a1285a7d4e8a983a7738ff2e1b7d4a/crates/aien-kv-cache/OWNERSHIP.md)
+(aien-spark/aien-sovereign-core#588). What it says about AIENOS, at aienos
+`b7ebf7c`:
+
+- Native GB10 GPU: no KV code exists. Nothing above allocates GPU memory,
+  so there is no native KV buffer, no visibility rule and no evidence.
+  NOT_RUN; the native GB10 model is aienos#327.
+- Native Pi 5 CPU: `aienos-infer` keeps one dense f32 cache per session,
+  `[layer][pos][kv_dim]`, allocated once
+  (`crates/aienos-infer/src/decode.rs` L21, L56-L62). `reset` only sets
+  `pos = 0` and keeps the buffers (L93-L96). No paging, no sharing, no
+  persistence. Native-hardware-tested for inference only:
+  `docs/native/PI5-6-INFER-RUNS.md` (1.20 tok/s, KV capacity 64 in that
+  probe).
+- Native storage: the NVMe driver allows one outstanding command, and
+  "Every request goes through the bounce buffer"
+  (`native/disk/disk_nvme.h` L17-L19). The planned KV slab, its step-budgeted
+  pump and the export/import calls are design only (sovereign-core ADR 0003
+  section 9); no code, NOT_RUN, tracked in aienos#367.
+- Emulator / QEMU: the native KV slab tests are PLANNED (ADR 0003 section
+  11); nothing runs yet.
+
+The Linux-hosted Spark results in that page (GB10 through the NVIDIA Linux
+driver) are not native evidence and are not claimed here.