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/patches/3de2346049311266 # 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 ## GitHub aien-dev/aienux#374 (code only) closed derived `3de2346049311266` #374 Imported from GitHub aien-dev/aienux#374 (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 `2bd6905d801a27fe7e92b24d5d7fcb553b2b6134` · Head `a71ca6488c94eb02e3a7470105da5e07858cee3e` ### Apply it ``` git checkout -b patch-3de2346049311266 2bd6905d801a27fe7e92b24d5d7fcb553b2b6134 curl -fsSL https://interplane.io/drakestapleton/aienux/patches/3de2346049311266.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 374 a71ca6488c94eb02e3a7470105da5e07858cee3e ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"aienux","number":374,"url":"https://github.com/aien-dev/aienux/pull/374","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:36:17Z","metadata":"unavailable","state_derived":true} ``` ### Changes ``` diff --git a/.crumb b/.crumb index a8b4bdb7..6bd73706 100644 --- a/.crumb +++ b/.crumb @@ -21,39 +21,39 @@ "generated": { "children": [ { - "digest": "f0423e1cf49107bf21cebbb87dc6e457aab99782ce8de074b67e657b69577354", - "last_commit": "e9d39a9", + "digest": "df4df0910e1e6440d896fa87d0ffbaa9a0dec14ec9015d7087f1d5fe116887ed", + "last_commit": "f78977a", "name": "crates", "purpose": "Directory crates. Purpose not yet described by a human." }, { - "digest": "ca0dd7ea3a0dc128f4d33b7a00146ba4f9bce2ef19f970b188a4e297834ad10f", - "last_commit": "9ffc6b7", + "digest": "ff76e6265945af4c3821b297bdbb0af9fbe44ae8d04ae03cf8d70b42cf92802c", + "last_commit": "f78977a", "name": "docs", "purpose": "Directory docs. Purpose not yet described by a human." }, { - "digest": "dc8479ff588f0d10dbfd65003c236db4cdeb9718a60d4fbf98822da677d908ff", - "last_commit": "e9d39a9", + "digest": "c4788a6bd2633e3ad2933270f03e65212b0003f61e629a09f3b637ec9ff4a481", + "last_commit": "f78977a", "name": "native", "purpose": "Directory native. Purpose not yet described by a human." }, { - "digest": "f573c48fba3478c69f1daac51db9427a959b611059ca020cd5eaa8c94685d883", - "last_commit": "e9d39a9", + "digest": "ffc301dd27d8282fead7987c2f7ac1c8bb3ff262994bf324dc804ef2d36db01e", + "last_commit": "f78977a", "name": "scripts", "purpose": "Directory scripts. Purpose not yet described by a human." } ], - "children_root": "sha256:aa32095175231f54df14cb1ef3b6a63b5148d15fd9bed9ec266f89587affd46c", - "compiled_at": "2026-10-14T01:05:33Z", + "children_root": "sha256:5ab26260ace77fb758d67a3202a1979bca3efec42d41bdccdecb3c1c2aa9262d", + "compiled_at": "2026-10-14T01:16:45Z", "compiler": "crumb-compile/1", - "digest": "sha256:5fa7e374b39936a3e171f0250ae4574f2184dcf9cefe80d37b0f8607509fadde", + "digest": "sha256:6858b2acd9a36d56f36cd08e1549f654a0ebb44046c9d42c37b9e3c43fdb7d20", "evidence_files": 156, "evidence_root": "sha256:cd53ab119be9de6ce28c4f5949b106c9622f1fe105611de3de21c3bce7932694", "files": 3224, - "generated_at_commit": "9ffc6b7d779fbb0568af4af55b13a80c21923552", - "source_tree": "sha256:3c63e40d51e883a2abc8bd5b870eb334737da1118f0aba56a3cba7d6255a4c07" + "generated_at_commit": "f78977a6ce33ea89a5b3b1952c0a0e403d4504fa", + "source_tree": "sha256:ad1a6280cd760e4bc45458ef28f544a40c1f0a0aa96b8c2aba39b150aa0f07e6" }, "owner_lane": "", "provenance": { @@ -444,7 +444,7 @@ }, { "lane": "lane19", - "note": "Part A, aienos resend jitter: PASS (hosted).** PR aien-dev/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change.", + "note": "Part A, aienos resend jitter: PASS (hosted).** PR aien-spark/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change.", "pr": 193, "ref": "2026-10-01-push-lane19-report.md", "sha": "8d511d6", @@ -476,7 +476,7 @@ }, { "lane": "lane16", - "note": "Pull request:** aien-dev/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt.", + "note": "Pull request:** aien-spark/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt.", "pr": 192, "ref": "2026-10-01-push-lane16-report.md", "sha": "08cb905", @@ -612,7 +612,7 @@ }, { "lane": "lane10", - "note": "Verdict: PASS (software primitive). PR aien-dev/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be).", + "note": "Verdict: PASS (software primitive). PR aien-spark/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be).", "pr": 188, "ref": "2026-10-01-push-lane10-report.md", "sha": "913b962", @@ -656,7 +656,7 @@ "git": { "branch": "docs/crumb-seed", "head": "84e2962", - "remote": "git@github.com:aien-dev/aienos.git" + "remote": "git@github.com:aien-spark/aienos.git" }, "purpose_auto": "Repository root cs-aienos. Purpose not yet described by a human." } diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 1b0a4d3f..33efab80 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -1,6 +1,6 @@ # Instructions for coding agents working on AIENOS -Read `docs/PLAN_AUTHORITY.md`, `ROADMAP.md`, `CONTRIBUTING.md`, `CONTEXT.md` (domain language), and the relevant accepted ADRs before starting. `ROADMAP.md` owns the current AIENOS gate order. Historical/reference planning documents do not override it. Whole-system sequencing is owned by `aien-dev/aien-architecture/CURRENT_EXECUTION_PLAN.md`. This file adds what agents most often get wrong here. +Read `docs/PLAN_AUTHORITY.md`, `ROADMAP.md`, `CONTRIBUTING.md`, `CONTEXT.md` (domain language), and the relevant accepted ADRs before starting. `ROADMAP.md` owns the current AIENOS gate order. Historical/reference planning documents do not override it. Whole-system sequencing is owned by `aien-spark/aien-architecture/CURRENT_EXECUTION_PLAN.md`. This file adds what agents most often get wrong here. ## Finish line for every pull request diff --git a/.github/workflows/aien-verification.yml b/.github/workflows/aien-verification.yml index c7741f83..44460340 100644 --- a/.github/workflows/aien-verification.yml +++ b/.github/workflows/aien-verification.yml @@ -83,7 +83,7 @@ jobs: - name: Checkout the pinned crumb tool source (aien-architecture @ d0f0b95d344b4c6628c3d868346932fd247ce168) uses: actions/checkout@v4 with: - repository: aien-dev/aien-architecture + repository: aien-spark/aien-architecture ref: d0f0b95d344b4c6628c3d868346932fd247ce168 path: .crumb-tool-src @@ -107,7 +107,7 @@ jobs: if: steps.anchors.outputs.enrolled == 'true' uses: actions/checkout@v4 with: - repository: aien-dev/aien-sovereign-core + repository: aien-spark/aien-sovereign-core ref: ${{ env.AIEN_TEST_PIN }} path: .aien-test-src diff --git a/.github/workflows/crumb.yml b/.github/workflows/crumb.yml index c5ff151a..b205d69b 100644 --- a/.github/workflows/crumb.yml +++ b/.github/workflows/crumb.yml @@ -32,7 +32,7 @@ jobs: - name: Checkout pinned aien-architecture (crumb tool source) uses: actions/checkout@v4 with: - repository: aien-dev/aien-architecture + repository: aien-spark/aien-architecture ref: ${{ steps.pins.outputs.crumb }} path: .crumb-tool-src - name: Build the crumb tool, then remove its source from this tree diff --git a/AGENTS.md b/AGENTS.md index 5b674141..aa52bccb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -2,7 +2,7 @@ Before using any roadmap or architecture plan, read `docs/PLAN_AUTHORITY.md` and `ROADMAP.md`. -Whole-system execution order is owned by `aien-dev/aien-architecture/CURRENT_EXECUTION_PLAN.md`. This repository does not own a competing AIEN master plan. +Whole-system execution order is owned by `aien-spark/aien-architecture/CURRENT_EXECUTION_PLAN.md`. This repository does not own a competing AIEN master plan. --- @@ -85,7 +85,7 @@ Any validation or recovery flow must strictly separate and independently evaluat ## 6. Engineering & Implementation Standards -- **Zero Interpreter Policy**: Rust is the scaffolding language for new work that is not hardware-bound, and Omega is the destination language. C, assembly and native interfaces are used only where a concrete hardware, boot, firmware, ABI, driver, toolchain or qualification reason exists (the C kernel, continuity and Recovery Core in C inside that kernel, and the loader frozen as temporary scaffolding). There is no external runtime and there are zero Python/Node dependencies, and Rust-side code stays `#![no_std]` where it runs in the kernel. Source of truth: ADR 0024 in aien-dev/aien-architecture (ACCEPTED, arch#91), `docs/adr/0024-rust-scaffolding-omega-destination.md`. +- **Zero Interpreter Policy**: Rust is the scaffolding language for new work that is not hardware-bound, and Omega is the destination language. C, assembly and native interfaces are used only where a concrete hardware, boot, firmware, ABI, driver, toolchain or qualification reason exists (the C kernel, continuity and Recovery Core in C inside that kernel, and the loader frozen as temporary scaffolding). There is no external runtime and there are zero Python/Node dependencies, and Rust-side code stays `#![no_std]` where it runs in the kernel. Source of truth: ADR 0024 in aien-spark/aien-architecture (ACCEPTED, arch#91), `docs/adr/0024-rust-scaffolding-omega-destination.md`. - **Constant-Time Verification**: All cryptographic tag, MAC, and key comparisons must execute in constant time (`subtle::ConstantTimeEq` or constant-time loop). - **Zeroization**: Cryptographic keys, key schedules, derived subkeys, and scratchpads must be securely zeroized on drop. - **Idiomatic Rust 2021**: diff --git a/CONTEXT.md b/CONTEXT.md index ababc4a9..1049dd01 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -11,7 +11,7 @@ The sovereign human user who owns the hardware, sets ultimate policy, and holds _Avoid_: User, admin, root, consumer **AIEN Agent**: -The continuous logical intelligence organism that acts as the primary interface, planner, and coordinator for the machine across reboots and hardware changes. Its durable subject (the same agent identity, standing intents and memory lineage, resolved from the Store after any restart) is named ALLEN ([ARCH-0035](https://github.com/aien-dev/aien-architecture/blob/main/docs/adr/0035-persistent-cognitive-entity-boundary-allen.md), PROPOSED; [ADR 0018](docs/adr/0018-allen-subject-state-object.md)). +The continuous logical intelligence organism that acts as the primary interface, planner, and coordinator for the machine across reboots and hardware changes. Its durable subject (the same agent identity, standing intents and memory lineage, resolved from the Store after any restart) is named ALLEN ([ARCH-0035](https://github.com/aien-spark/aien-architecture/blob/main/docs/adr/0035-persistent-cognitive-entity-boundary-allen.md), PROPOSED; [ADR 0018](docs/adr/0018-allen-subject-state-object.md)). _Avoid_: Assistant, bot, chatbot, process **Logical Agent Identity**: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4dd957b8..44df0cc4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,7 +27,7 @@ pull request is reviewed. For boot work, install QEMU for AArch64 and the AAVMF UEFI firmware (on Ubuntu: `qemu-system-arm` and `qemu-efi-aarch64`). An automated emulator boot is being -added in [#18](https://github.com/aien-dev/aienos/issues/18); once it lands it +added in [#18](https://github.com/aien-spark/aienos/issues/18); once it lands it becomes part of `verify_all.sh`. ## Rules for code @@ -75,5 +75,5 @@ contribution you agree that it is licensed under the same terms. ## Crumbs This repo uses the Crumb Protocol (RFC-0001). Each directory carries a `.crumb` file (what the directory is for, its rules, and a backfilled history). Live coordination between agents goes in `.crumb.local`, which is never committed. -Before editing a directory, read its `.crumb`. Rules and the `crumb` tool: https://github.com/aien-dev/aien-architecture/blob/main/docs/CRUMB_PROTOCOL.md +Before editing a directory, read its `.crumb`. Rules and the `crumb` tool: https://github.com/aien-spark/aien-architecture/blob/main/docs/CRUMB_PROTOCOL.md Backfilled history (marked as such, not live whispers) is in `docs/crumbs/BACKFILL.md`. diff --git a/Cargo.toml b/Cargo.toml index 8c99fe71..a526d1b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ version = "0.1.0" edition = "2021" authors = ["AIENOS Sovereign Contributors"] license = "AGPL-3.0-or-later" -repository = "https://github.com/aien-dev/aienos" +repository = "https://github.com/aien-spark/aienos" [workspace.dependencies] aienos-crypto = { path = "crates/aienos-crypto" } diff --git a/NOTICE b/NOTICE index 0e318d2e..f0fc605e 100644 --- a/NOTICE +++ b/NOTICE @@ -4,7 +4,7 @@ Copyright 2026 Drake Stapleton and AIEN Contributors This product includes software developed by Drake Stapleton in cognitive partnership with AIEN. -Website: https://github.com/aien-dev/aienos +Website: https://github.com/aien-spark/aienos Lead Architect: Drake Stapleton Licensed under the GNU Affero General Public License v3.0 or later diff --git a/README.md b/README.md index bce49ceb..18c62798 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,16 @@ Firmware -> AIEN Boot -> AIEN Kernel -> AIEN Runtime -> AIEN Agent -> You ## Current state -The kernel is being rewritten in C (the `native/` directory) and is IMPLEMENTED / NOT QUALIFIED: all 24 emulator gates pass in the [newest receipt](evidence/ck_gates_29ed03c97454354a18676f768273dd7f7a8e15462c4be1939d9994d277d0d639.json) (run at 7f0de7e on 2026-10-09, QEMU only), and `scripts/ck_gates.sh` now lists 26 gates, so a newer receipt is owed. It has not been booted on the DGX Spark. Its first runs on real hardware were on a Raspberry Pi 5 on 2026-10-13: a bring-up run that reached interrupts, four cores, user-mode tasks, scheduling and message passing and wrote its log to the SD card, then two runs that wrote and re-read a test region on the card's AIENOS partition (pull requests [#345](https://github.com/aien-dev/aienos/pull/345) and [#346](https://github.com/aien-dev/aienos/pull/346); the run logs are not stored in this repository). The earlier Rust kernel in `crates/` is legacy and is being replaced; it is not extended. Trust-chain and encrypted-storage work (TRUST-1 and M5) is NOT_QUALIFIED, with hardware and operator steps outstanding. Do not trust any number in this file over the live documents: +The kernel is being rewritten in C (the `native/` directory) and is IMPLEMENTED / NOT QUALIFIED: all 24 emulator gates pass in the [newest receipt](evidence/ck_gates_29ed03c97454354a18676f768273dd7f7a8e15462c4be1939d9994d277d0d639.json) (run at 7f0de7e on 2026-10-09, QEMU only), and `scripts/ck_gates.sh` now lists 26 gates, so a newer receipt is owed. It has not been booted on the DGX Spark. Its first runs on real hardware were on a Raspberry Pi 5 on 2026-10-13: a bring-up run that reached interrupts, four cores, user-mode tasks, scheduling and message passing and wrote its log to the SD card, then two runs that wrote and re-read a test region on the card's AIENOS partition (pull requests [#345](https://github.com/aien-spark/aienos/pull/345) and [#346](https://github.com/aien-spark/aienos/pull/346); the run logs are not stored in this repository). The earlier Rust kernel in `crates/` is legacy and is being replaced; it is not extended. Trust-chain and encrypted-storage work (TRUST-1 and M5) is NOT_QUALIFIED, with hardware and operator steps outstanding. Do not trust any number in this file over the live documents: - [ROADMAP.md](ROADMAP.md): component status (its newest status block is dated 2026-10-01) - [native/kernel/GATES.md](native/kernel/GATES.md): what each emulator gate checks - [docs/TRUST-1-M5-GATE-MATRIX.md](docs/TRUST-1-M5-GATE-MATRIX.md) and [docs/TRUST-1-OPERATOR-STEPS.md](docs/TRUST-1-OPERATOR-STEPS.md) -- [docs/PLAN_AUTHORITY.md](docs/PLAN_AUTHORITY.md): how this repository's plans relate to the whole-system plan in [aien-architecture](https://github.com/aien-dev/aien-architecture) +- [docs/PLAN_AUTHORITY.md](docs/PLAN_AUTHORITY.md): how this repository's plans relate to the whole-system plan in [aien-architecture](https://github.com/aien-spark/aien-architecture) ## How this fits with the other repositories -AIENOS owns the trusted operating substrate. [omega](https://github.com/aien-dev/omega) (the C reaction runtime and compiler) runs on top of it, [physics](https://github.com/aien-dev/physics) holds machine realization (FORGE), and [aien-architecture](https://github.com/aien-dev/aien-architecture) is the authority for status and sequencing. An optional compatibility island (for example Linux with vendor drivers) may sit beside AIENOS while native support is built; it shrinks over time. +AIENOS owns the trusted operating substrate. [omega](https://github.com/aien-spark/omega) (the C reaction runtime and compiler) runs on top of it, [physics](https://github.com/aien-spark/physics) holds machine realization (FORGE), and [aien-architecture](https://github.com/aien-spark/aien-architecture) is the authority for status and sequencing. An optional compatibility island (for example Linux with vendor drivers) may sit beside AIENOS while native support is built; it shrinks over time. ## Principles @@ -55,7 +55,7 @@ The legacy Rust workspace is still checked by `bash scripts/verify_all.sh` (need ## Contributing -Start with [issues labelled `good first issue`](https://github.com/aien-dev/aienos/labels/good%20first%20issue) or [`emulator-ok`](https://github.com/aien-dev/aienos/labels/emulator-ok): they need no special hardware. Read [CONTRIBUTING.md](CONTRIBUTING.md) first. Open pull requests against `main` (protected; five checks must pass: `Analyze (c-cpp)`, `Analyze (actions)`, `crumb`, `AIEN Verification` and `workflow files accepted`) and lead with the commands you ran and their output. Questions go in [Discussions](https://github.com/aien-dev/aienos/discussions). Report vulnerabilities privately through GitHub security advisories. +Start with [issues labelled `good first issue`](https://github.com/aien-spark/aienos/labels/good%20first%20issue) or [`emulator-ok`](https://github.com/aien-spark/aienos/labels/emulator-ok): they need no special hardware. Read [CONTRIBUTING.md](CONTRIBUTING.md) first. Open pull requests against `main` (protected; five checks must pass: `Analyze (c-cpp)`, `Analyze (actions)`, `crumb`, `AIEN Verification` and `workflow files accepted`) and lead with the commands you ran and their output. Questions go in [Discussions](https://github.com/aien-spark/aienos/discussions). Report vulnerabilities privately through GitHub security advisories. ## License diff --git a/ROADMAP.md b/ROADMAP.md index 4dbb9e67..63970046 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -1,6 +1,6 @@ # AIENOS Roadmap -> **Plan authority:** This is the current AIENOS component roadmap. Whole-system sequencing is owned by `aien-dev/aien-architecture/CURRENT_EXECUTION_PLAN.md`. See [docs/PLAN_AUTHORITY.md](docs/PLAN_AUTHORITY.md). +> **Plan authority:** This is the current AIENOS component roadmap. Whole-system sequencing is owned by `aien-spark/aien-architecture/CURRENT_EXECUTION_PLAN.md`. See [docs/PLAN_AUTHORITY.md](docs/PLAN_AUTHORITY.md). AIENOS is an agent-native operating system built in the open. This file is the public map: where the project is, what is next, and where you can help. @@ -131,7 +131,7 @@ SEED-0A and SEED-0B come from [ADR 0012](docs/adr/0012-self-construction-capabil each machine grows the capabilities it needs as reversible, numbered Generations admitted by deterministic gates. Generated native code reaches the physical machine only after M3 can confine it. SEED-0A experiment #1 is -`input.keyboard.usb` ([#58](https://github.com/aien-dev/aienos/pull/58)). +`input.keyboard.usb` ([#58](https://github.com/aien-spark/aienos/pull/58)). The first public demonstration is M8: power on, AIENOS boots, you talk to the local agent, power off, power on, and it remembers. @@ -140,37 +140,37 @@ local agent, power off, power on, and it remembers. | Gate | Milestone (live progress) | Open work | Done so far | | --- | --- | --- | --- | -| M0 Reference freeze | [M0](https://github.com/aien-dev/aienos/milestone/1) | native boot rollback proven in QEMU (M0_NATIVE_ROLLBACK_QEMU: PASS); physical qualification BLOCKED (M0_NATIVE_ROLLBACK_MACHINE1: BLOCKED, reason = HARDWARE_QUALIFICATION_BLOCKED_BY_TRUST_CHAIN, docs/NATIVE_BOOT_ONE_TIME.md); recovery media is PASS ([procedure](docs/RECOVERY_MEDIA_MACHINE1.md), [evidence](evidence/recovery_boot_machine1.md)) | [#12](https://github.com/aien-dev/aienos/pull/12) Rust evidence tooling and clean snapshot ([9bd233d](https://github.com/aien-dev/aienos/commit/9bd233d)) | -| M1 Emulator boot | [M1](https://github.com/aien-dev/aienos/milestone/2) | [#18](https://github.com/aien-dev/aienos/issues/18) QEMU boot, [#19](https://github.com/aien-dev/aienos/issues/19) CI | QEMU 8.2 and AAVMF chosen as the emulator | -| M2 Spark bring-up | [M2](https://github.com/aien-dev/aienos/milestone/3) | [#20](https://github.com/aien-dev/aienos/issues/20) pre-exit file, [#21](https://github.com/aien-dev/aienos/issues/21) screen evidence, [#22](https://github.com/aien-dev/aienos/issues/22) UART via SPCR, [#23](https://github.com/aien-dev/aienos/issues/23) GB10 discovery, [#24](https://github.com/aien-dev/aienos/issues/24) USB keyboard, [#25](https://github.com/aien-dev/aienos/issues/25) test rig ([design](docs/HARDWARE_TEST_RIG.md)) | Gate passed: [#10](https://github.com/aien-dev/aienos/pull/10) memory handoff, [#11](https://github.com/aien-dev/aienos/pull/11) GB10 identity, [#13](https://github.com/aien-dev/aienos/pull/13) visible report ([a22b1d8](https://github.com/aien-dev/aienos/commit/a22b1d8)), [#14](https://github.com/aien-dev/aienos/pull/14) CPU topology ([44fcba7](https://github.com/aien-dev/aienos/commit/44fcba7)), [#15](https://github.com/aien-dev/aienos/pull/15) first-boot image ([52109bc](https://github.com/aien-dev/aienos/commit/52109bc)), [#16](https://github.com/aien-dev/aienos/pull/16) evidence ([f376589](https://github.com/aien-dev/aienos/commit/f376589)) | -| M3 Kernel isolation | [M3](https://github.com/aien-dev/aienos/milestone/4) | none; #26 vectors, #27 MMU, #28 timer and GIC, #29 scheduler, #30 IPC and capabilities all closed | Frame allocator, bounded UART, fault capture used on the first boot; M3 merged as #103 SMMU, #104 EL0, #105 preemption, #106 IPC, #107 ABI freeze plus ADR 0013, #108 MMU and timer reconcile, #109 ABI unification, #110 fail-closed DMA, #111 and #114 device authority, #112 PCI ECAM, #113 strict verify, #115 ABI conformance; receipts in evidence/m3_canonical_receipt.md; verify_all green at 6ef8dde | -| M4 Storage and recovery | [M4](https://github.com/aien-dev/aienos/milestone/5) | Machine 1 native storage & continuity (SSD is 512-byte LBA: `NATIVE_GB10_STORE_ROOT_ATOMICITY: FAIL`, [evidence](evidence/p3_nvme_atomicity_2026-09-25.md); waits on TRUST-1). `P3_STORE_QEMU` and `P3_STORE_NATIVE` are not claimed | In QEMU: [#129](https://github.com/aien-dev/aienos/pull/129) NVMe read (`QEMU_NVME: PASS`), [#132](https://github.com/aien-dev/aienos/pull/132) write and flush (`QEMU_NVME_RW: PASS`), [#133](https://github.com/aien-dev/aienos/pull/133) 4K atomicity (`QEMU_NVME_ATOMICITY_4K: PASS`), [#134](https://github.com/aien-dev/aienos/pull/134) Store 4K crash/reboot (`STORE_V1_QEMU: PASS`), [#136](https://github.com/aien-dev/aienos/pull/136) 512-byte LBA crash/reboot (`STORE_512B_CRASH_RECOVERY_QEMU: PASS`), [#142](https://github.com/aien-dev/aienos/pull/142)/[#143](https://github.com/aien-dev/aienos/pull/143) continuity objects (`CONTINUITY_QEMU: PASS`, [evidence](evidence/continuity_qemu_2026-09-25.md)), [#144](https://github.com/aien-dev/aienos/pull/144) Recovery Core scenarios (`RECOVERY_CORE_QEMU: PASS`, [evidence](evidence/recovery_core_qemu_2026-09-25.md)), all gated by `verify_all` step 6e ([#137](https://github.com/aien-dev/aienos/pull/137), [#142](https://github.com/aien-dev/aienos/pull/142), [#144](https://github.com/aien-dev/aienos/pull/144)). Host-tested: [#130](https://github.com/aien-dev/aienos/pull/130) Store v1 format frozen in [ADR 0015](docs/adr/0015-system-store-v1-format.md), [#131](https://github.com/aien-dev/aienos/pull/131) mount and transaction engine, [#135](https://github.com/aien-dev/aienos/pull/135) malformed-peer amendment (`STORE_MALFORMED_PEER_RECOVERY: PASS`) | -| M5 Encryption and identity | [M5](https://github.com/aien-dev/aienos/milestone/6) | [#32](https://github.com/aien-dev/aienos/issues/32) | Host-tested agent identity (ADR 0007). Update 2026-10-01: native C crypto, envelope and anchors are merged and host-tested; TRUST-1 and M5 are IMPLEMENTED / NOT QUALIFIED (see [CURRENT_EXECUTION_PLAN.md](https://github.com/aien-dev/aien-architecture/blob/main/CURRENT_EXECUTION_PLAN.md)) | -| M6 Minimal networking | [M6](https://github.com/aien-dev/aienos/milestone/7) | [#33](https://github.com/aien-dev/aienos/issues/33) | Update 2026-10-01: native C M6-A UDP path and virtio-net driver pass in QEMU only; IMPLEMENTED / NOT QUALIFIED, not on hardware (see [CURRENT_EXECUTION_PLAN.md](https://github.com/aien-dev/aien-architecture/blob/main/CURRENT_EXECUTION_PLAN.md)) | -| M7 Native CPU inference | [M7](https://github.com/aien-dev/aienos/milestone/8) | [#34](https://github.com/aien-dev/aienos/issues/34) | Linux baseline recorded in M0 | -| M8 Persistent agent | [M8](https://github.com/aien-dev/aienos/milestone/9) | [#35](https://github.com/aien-dev/aienos/issues/35) | Host-tested Cortex store | +| M0 Reference freeze | [M0](https://github.com/aien-spark/aienos/milestone/1) | native boot rollback proven in QEMU (M0_NATIVE_ROLLBACK_QEMU: PASS); physical qualification BLOCKED (M0_NATIVE_ROLLBACK_MACHINE1: BLOCKED, reason = HARDWARE_QUALIFICATION_BLOCKED_BY_TRUST_CHAIN, docs/NATIVE_BOOT_ONE_TIME.md); recovery media is PASS ([procedure](docs/RECOVERY_MEDIA_MACHINE1.md), [evidence](evidence/recovery_boot_machine1.md)) | [#12](https://github.com/aien-spark/aienos/pull/12) Rust evidence tooling and clean snapshot ([9bd233d](https://github.com/aien-spark/aienos/commit/9bd233d)) | +| M1 Emulator boot | [M1](https://github.com/aien-spark/aienos/milestone/2) | [#18](https://github.com/aien-spark/aienos/issues/18) QEMU boot, [#19](https://github.com/aien-spark/aienos/issues/19) CI | QEMU 8.2 and AAVMF chosen as the emulator | +| M2 Spark bring-up | [M2](https://github.com/aien-spark/aienos/milestone/3) | [#20](https://github.com/aien-spark/aienos/issues/20) pre-exit file, [#21](https://github.com/aien-spark/aienos/issues/21) screen evidence, [#22](https://github.com/aien-spark/aienos/issues/22) UART via SPCR, [#23](https://github.com/aien-spark/aienos/issues/23) GB10 discovery, [#24](https://github.com/aien-spark/aienos/issues/24) USB keyboard, [#25](https://github.com/aien-spark/aienos/issues/25) test rig ([design](docs/HARDWARE_TEST_RIG.md)) | Gate passed: [#10](https://github.com/aien-spark/aienos/pull/10) memory handoff, [#11](https://github.com/aien-spark/aienos/pull/11) GB10 identity, [#13](https://github.com/aien-spark/aienos/pull/13) visible report ([a22b1d8](https://github.com/aien-spark/aienos/commit/a22b1d8)), [#14](https://github.com/aien-spark/aienos/pull/14) CPU topology ([44fcba7](https://github.com/aien-spark/aienos/commit/44fcba7)), [#15](https://github.com/aien-spark/aienos/pull/15) first-boot image ([52109bc](https://github.com/aien-spark/aienos/commit/52109bc)), [#16](https://github.com/aien-spark/aienos/pull/16) evidence ([f376589](https://github.com/aien-spark/aienos/commit/f376589)) | +| M3 Kernel isolation | [M3](https://github.com/aien-spark/aienos/milestone/4) | none; #26 vectors, #27 MMU, #28 timer and GIC, #29 scheduler, #30 IPC and capabilities all closed | Frame allocator, bounded UART, fault capture used on the first boot; M3 merged as #103 SMMU, #104 EL0, #105 preemption, #106 IPC, #107 ABI freeze plus ADR 0013, #108 MMU and timer reconcile, #109 ABI unification, #110 fail-closed DMA, #111 and #114 device authority, #112 PCI ECAM, #113 strict verify, #115 ABI conformance; receipts in evidence/m3_canonical_receipt.md; verify_all green at 6ef8dde | +| M4 Storage and recovery | [M4](https://github.com/aien-spark/aienos/milestone/5) | Machine 1 native storage & continuity (SSD is 512-byte LBA: `NATIVE_GB10_STORE_ROOT_ATOMICITY: FAIL`, [evidence](evidence/p3_nvme_atomicity_2026-09-25.md); waits on TRUST-1). `P3_STORE_QEMU` and `P3_STORE_NATIVE` are not claimed | In QEMU: [#129](https://github.com/aien-spark/aienos/pull/129) NVMe read (`QEMU_NVME: PASS`), [#132](https://github.com/aien-spark/aienos/pull/132) write and flush (`QEMU_NVME_RW: PASS`), [#133](https://github.com/aien-spark/aienos/pull/133) 4K atomicity (`QEMU_NVME_ATOMICITY_4K: PASS`), [#134](https://github.com/aien-spark/aienos/pull/134) Store 4K crash/reboot (`STORE_V1_QEMU: PASS`), [#136](https://github.com/aien-spark/aienos/pull/136) 512-byte LBA crash/reboot (`STORE_512B_CRASH_RECOVERY_QEMU: PASS`), [#142](https://github.com/aien-spark/aienos/pull/142)/[#143](https://github.com/aien-spark/aienos/pull/143) continuity objects (`CONTINUITY_QEMU: PASS`, [evidence](evidence/continuity_qemu_2026-09-25.md)), [#144](https://github.com/aien-spark/aienos/pull/144) Recovery Core scenarios (`RECOVERY_CORE_QEMU: PASS`, [evidence](evidence/recovery_core_qemu_2026-09-25.md)), all gated by `verify_all` step 6e ([#137](https://github.com/aien-spark/aienos/pull/137), [#142](https://github.com/aien-spark/aienos/pull/142), [#144](https://github.com/aien-spark/aienos/pull/144)). Host-tested: [#130](https://github.com/aien-spark/aienos/pull/130) Store v1 format frozen in [ADR 0015](docs/adr/0015-system-store-v1-format.md), [#131](https://github.com/aien-spark/aienos/pull/131) mount and transaction engine, [#135](https://github.com/aien-spark/aienos/pull/135) malformed-peer amendment (`STORE_MALFORMED_PEER_RECOVERY: PASS`) | +| M5 Encryption and identity | [M5](https://github.com/aien-spark/aienos/milestone/6) | [#32](https://github.com/aien-spark/aienos/issues/32) | Host-tested agent identity (ADR 0007). Update 2026-10-01: native C crypto, envelope and anchors are merged and host-tested; TRUST-1 and M5 are IMPLEMENTED / NOT QUALIFIED (see [CURRENT_EXECUTION_PLAN.md](https://github.com/aien-spark/aien-architecture/blob/main/CURRENT_EXECUTION_PLAN.md)) | +| M6 Minimal networking | [M6](https://github.com/aien-spark/aienos/milestone/7) | [#33](https://github.com/aien-spark/aienos/issues/33) | Update 2026-10-01: native C M6-A UDP path and virtio-net driver pass in QEMU only; IMPLEMENTED / NOT QUALIFIED, not on hardware (see [CURRENT_EXECUTION_PLAN.md](https://github.com/aien-spark/aien-architecture/blob/main/CURRENT_EXECUTION_PLAN.md)) | +| M7 Native CPU inference | [M7](https://github.com/aien-spark/aienos/milestone/8) | [#34](https://github.com/aien-spark/aienos/issues/34) | Linux baseline recorded in M0 | +| M8 Persistent agent | [M8](https://github.com/aien-spark/aienos/milestone/9) | [#35](https://github.com/aien-spark/aienos/issues/35) | Host-tested Cortex store | Separate lanes that never block the critical path: -[#36](https://github.com/aien-dev/aienos/issues/36) GB10 characterization (read-only -Linux characterization merged in [#125](https://github.com/aien-dev/aienos/pull/125); -no native GB10 observation and no GPU execution yet) and [#37](https://github.com/aien-dev/aienos/issues/37) Fabric +[#36](https://github.com/aien-spark/aienos/issues/36) GB10 characterization (read-only +Linux characterization merged in [#125](https://github.com/aien-spark/aienos/pull/125); +no native GB10 observation and no GPU execution yet) and [#37](https://github.com/aien-spark/aienos/issues/37) Fabric (after native networking; early design in [ADR 0010](docs/adr/0010-fabric-machine-identity-and-capability-advertisement.md)). -Related repositories: [aien-sovereign-core](https://github.com/aien-dev/aien-sovereign-core) +Related repositories: [aien-sovereign-core](https://github.com/aien-spark/aien-sovereign-core) holds the AIEN runtime, Cortex, AEGIS and `aien-proof`, the shared test board -and hardware-test ledger ([#124](https://github.com/aien-dev/aien-sovereign-core/pull/124), -[#126](https://github.com/aien-dev/aien-sovereign-core/pull/126)). +and hardware-test ledger ([#124](https://github.com/aien-spark/aien-sovereign-core/pull/124), +[#126](https://github.com/aien-spark/aien-sovereign-core/pull/126)). ## Help build it AIENOS is a lot of low-level Rust, and most of it does not need our hardware. -Everything labelled [`emulator-ok`](https://github.com/aien-dev/aienos/labels/emulator-ok) +Everything labelled [`emulator-ok`](https://github.com/aien-spark/aienos/labels/emulator-ok) can be built and tested in QEMU on any machine. Good places to start: -- [`good first issue`](https://github.com/aien-dev/aienos/labels/good%20first%20issue): +- [`good first issue`](https://github.com/aien-spark/aienos/labels/good%20first%20issue): small, self-contained changes. -- [`help wanted`](https://github.com/aien-dev/aienos/labels/help%20wanted): +- [`help wanted`](https://github.com/aien-spark/aienos/labels/help%20wanted): kernel, boot, evidence and tooling work that is ready for a contributor. - Phase 2 executable identity: SEED-0B is qualified in QEMU (`SEED_0B_QEMU: PASS`): Binary Artifact v0, Ed25519 trust, admission @@ -187,15 +187,15 @@ can be built and tested in QEMU on any machine. Good places to start: Recovery Core are qualified in QEMU (see the M4 row above). Next is M5 encryption and identity. -Work labelled [`needs-hardware`](https://github.com/aien-dev/aienos/labels/needs-hardware) +Work labelled [`needs-hardware`](https://github.com/aien-spark/aienos/labels/needs-hardware) runs on Machine 1; maintainers execute it and publish the evidence. Read [CONTRIBUTING.md](CONTRIBUTING.md) before your first pull request. ## Ground rules -- Language rule ([aien-architecture ADR 0024](https://github.com/aien-dev/aien-architecture/blob/main/docs/adr/0024-rust-scaffolding-omega-destination.md), which supersedes the earlier "Rust throughout" and "C is the target" wording): Rust is scaffolding, Omega is the destination, and C or assembly stay only where hardware, boot, ABI or measurement justifies them. No Python, no CUDA, and no CUDA-shaped APIs. +- Language rule ([aien-architecture ADR 0024](https://github.com/aien-spark/aien-architecture/blob/main/docs/adr/0024-rust-scaffolding-omega-destination.md), which supersedes the earlier "Rust throughout" and "C is the target" wording): Rust is scaffolding, Omega is the destination, and C or assembly stay only where hardware, boot, ABI or measurement justifies them. No Python, no CUDA, and no CUDA-shaped APIs. - ~~Rust throughout, with small amounts of AArch64 assembly where the hardware - requires it. No Python, no CUDA, and no CUDA-shaped APIs.~~ SUPERSEDED 2026-10-01 by [ADR 0024](https://github.com/aien-dev/aien-architecture/blob/main/docs/adr/0024-rust-scaffolding-omega-destination.md) for the language part only. No Python, no CUDA, and no CUDA-shaped APIs still hold (kept in the rule above). + requires it. No Python, no CUDA, and no CUDA-shaped APIs.~~ SUPERSEDED 2026-10-01 by [ADR 0024](https://github.com/aien-spark/aien-architecture/blob/main/docs/adr/0024-rust-scaffolding-omega-destination.md) for the language part only. No Python, no CUDA, and no CUDA-shaped APIs still hold (kept in the rule above). - The trusted base builds from inspectable source, offline, with an independently obtainable toolchain. - Evidence earns claims: a boot, benchmark or fix counts when its output is diff --git a/crates/.crumb b/crates/.crumb index 8890da24..f7a216b1 100644 --- a/crates/.crumb +++ b/crates/.crumb @@ -90,7 +90,7 @@ }, { "digest": "ff4260f8fede1182f834d89589eb4d5a6c6160032dfc570003d506411fe93aa4", - "last_commit": "e673bfb", + "last_commit": "e9d39a9", "name": "aienos-artifact-tool", "purpose": "Directory crates/aienos-artifact-tool. Purpose not yet described by a human." }, @@ -137,8 +137,8 @@ "purpose": "Directory crates/aienos-evidence. Purpose not yet described by a human." }, { - "digest": "1f8ba1326707e021f21de9eea6a03533e02e48089471d5561373cca1ed6cea64", - "last_commit": "49ff776", + "digest": "622300849736c15c24036d522c7629061ac688ee94d689ac0c0cf80c7d0e6e48", + "last_commit": "f78977a", "name": "aienos-kernel", "purpose": "Directory crates/aienos-kernel. Purpose not yet described by a human." }, @@ -149,15 +149,15 @@ "purpose": "Directory crates/aienos-store-tool. Purpose not yet described by a human." } ], - "children_root": "sha256:6b6f6e90674aa3c267f448fc5fcacb0b52175dc48736e7a1ada14a9a67560fa6", - "compiled_at": "2026-10-14T00:20:37Z", + "children_root": "sha256:04d062db199d27bde53281e013ec91d9eb06362bd70be8ff50b47c1f7c84adf4", + "compiled_at": "2026-10-14T01:16:45Z", "compiler": "crumb-compile/1", - "digest": "sha256:f0423e1cf49107bf21cebbb87dc6e457aab99782ce8de074b67e657b69577354", + "digest": "sha256:df4df0910e1e6440d896fa87d0ffbaa9a0dec14ec9015d7087f1d5fe116887ed", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 248, - "generated_at_commit": "a3e9c23dfc5b0ed0f9701132904b28edac14b71f", - "source_tree": "sha256:89414eba01b8ce693eb6f1d4c666913e7074863c28bf5c6747b1acc08f9d717a" + "generated_at_commit": "f78977a6ce33ea89a5b3b1952c0a0e403d4504fa", + "source_tree": "sha256:387e2d6fe48f47019f3b895350a85d85e63c4b7b083e77391a22317be7d90420" }, "owner_lane": "", "provenance": { diff --git a/crates/aienos-kernel/.crumb b/crates/aienos-kernel/.crumb index e004730e..8da9fb32 100644 --- a/crates/aienos-kernel/.crumb +++ b/crates/aienos-kernel/.crumb @@ -18,26 +18,26 @@ "children": [ { "digest": "e29df0084abf67fb52332b236e7c2888d702decb0b9cadb78a372fd00f465a90", - "last_commit": "fbbfc9c", + "last_commit": "49ff776", "name": "src", "purpose": "Directory crates/aienos-kernel/src. Purpose not yet described by a human." }, { - "digest": "e092f60723faa08615842e988f91c6bdb4cacce5838a69f8776d3e27a878af9f", - "last_commit": "5ac7cfc", + "digest": "4a5f74d8e889ecb0089082469852f1e4b1c034af70dfeab3df2902cd35662ddb", + "last_commit": "f78977a", "name": "tests", "purpose": "Directory crates/aienos-kernel/tests. Purpose not yet described by a human." } ], - "children_root": "sha256:ec143c4fad7fef691060763f947d9715dbad8da5c6fcaef41d74c94fe7e9e7c6", - "compiled_at": "2026-10-13T02:27:54Z", + "children_root": "sha256:2ce1d83fe153f2870441fab50adb6e7ebb06cbb876b2ee2167c9acaf3f56acc6", + "compiled_at": "2026-10-14T01:16:45Z", "compiler": "crumb-compile/1", - "digest": "sha256:1f8ba1326707e021f21de9eea6a03533e02e48089471d5561373cca1ed6cea64", + "digest": "sha256:622300849736c15c24036d522c7629061ac688ee94d689ac0c0cf80c7d0e6e48", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 85, - "generated_at_commit": "74f638c298bc04543b03d6851a83dac815d36645", - "source_tree": "sha256:e7b689ea85e4c7b6057a19a4996aff03de1f56b44e87a85079eba7f879005241" + "generated_at_commit": "f78977a6ce33ea89a5b3b1952c0a0e403d4504fa", + "source_tree": "sha256:6c09374888ad0c1a95b002f2a84d3251f035f9fe2e2b2b57acd1d23803ad844e" }, "owner_lane": "", "provenance": { diff --git a/crates/aienos-kernel/tests/.crumb b/crates/aienos-kernel/tests/.crumb index 1d335f29..8926caa0 100644 --- a/crates/aienos-kernel/tests/.crumb +++ b/crates/aienos-kernel/tests/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:18Z", + "compiled_at": "2026-10-14T01:16:45Z", "compiler": "crumb-compile/1", - "digest": "sha256:e092f60723faa08615842e988f91c6bdb4cacce5838a69f8776d3e27a878af9f", + "digest": "sha256:4a5f74d8e889ecb0089082469852f1e4b1c034af70dfeab3df2902cd35662ddb", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 9, - "generated_at_commit": "a863d5c1f5bd89c88c5f6671eecfd27b599ee512", - "source_tree": "sha256:ffb3dd318aa198005f5b372f1b73eb2f1a0453e354032ae30b2cea3d33f15dfb" + "generated_at_commit": "f78977a6ce33ea89a5b3b1952c0a0e403d4504fa", + "source_tree": "sha256:a09dde2f26dcf3d7bbc7d2f7e8e511d5ebfff434dcd9a2f010963413d795756a" }, "owner_lane": "", "provenance": { diff --git a/crates/aienos-kernel/tests/nvme_flush.rs b/crates/aienos-kernel/tests/nvme_flush.rs index 6ae37a20..263e2984 100644 --- a/crates/aienos-kernel/tests/nvme_flush.rs +++ b/crates/aienos-kernel/tests/nvme_flush.rs @@ -8,7 +8,7 @@ //! submission-doorbell write, so the tests can prove that `flush()` issues a //! real Flush command that reaches the device instead of being a silent no-op. //! -//! Base: aien-dev/aienos @ ef359ec. +//! Base: aien-spark/aienos @ ef359ec. use std::cell::RefCell; use std::collections::VecDeque; diff --git a/crates/aienos-kernel/tests/nvme_prp.rs b/crates/aienos-kernel/tests/nvme_prp.rs index 064316b5..94e2ed07 100644 --- a/crates/aienos-kernel/tests/nvme_prp.rs +++ b/crates/aienos-kernel/tests/nvme_prp.rs @@ -1,6 +1,6 @@ //! D3 adversarial PRP tests for the AIENOS P3 native NVMe read substrate. //! -//! External integration test crate. Baseline: aien-dev/aienos @ ff5de9c. +//! External integration test crate. Baseline: aien-spark/aienos @ ff5de9c. //! Exercises `aienos_kernel::nvme::build_prps` against the documented PRP //! contract with exact expected values, including boundary, overflow, list //! chaining, and 64 KiB page geometry. diff --git a/crates/aienos-kernel/tests/nvme_write.rs b/crates/aienos-kernel/tests/nvme_write.rs index fe11cd9f..d7b918d2 100644 --- a/crates/aienos-kernel/tests/nvme_write.rs +++ b/crates/aienos-kernel/tests/nvme_write.rs @@ -1,7 +1,7 @@ //! External integration tests for the AIENOS P3 native NVMe write + flush lane. //! //! Target: `crates/aienos-kernel/tests/nvme_write.rs`. -//! Repo mirror (read-only): aien-dev/aienos @ ef359ec. +//! Repo mirror (read-only): aien-spark/aienos @ ef359ec. //! //! Uses only the public `aienos_kernel::nvme` and //! `aienos_kernel::nvme::driver` API plus our own `Registers`, `DmaMemory` diff --git a/crates/aienos-kernel/tests/nvme_write_prp.rs b/crates/aienos-kernel/tests/nvme_write_prp.rs index 30812edb..74cb61a7 100644 --- a/crates/aienos-kernel/tests/nvme_write_prp.rs +++ b/crates/aienos-kernel/tests/nvme_write_prp.rs @@ -1,7 +1,7 @@ //! D3 adversarial tests for the AIENOS P3 native NVMe **write + flush** lane. //! //! Target: `crates/aienos-kernel/tests/nvme_write_prp.rs`. Baseline: -//! aien-dev/aienos @ ef359ec. +//! aien-spark/aienos @ ef359ec. //! //! Pure PRP geometry is asserted against the real //! `aienos_kernel::nvme::build_prps` with exact expected values. Transfer diff --git a/docs/.crumb b/docs/.crumb index a5587785..fda5f779 100644 --- a/docs/.crumb +++ b/docs/.crumb @@ -17,27 +17,27 @@ "generated": { "children": [ { - "digest": "e924f0b65fb4e4c81984c39226ae714352e9b36610353df4ad9dd13106e3ba86", - "last_commit": "cfff5ee", + "digest": "e84f072935b7d6d9f5a7bcaedb3fc366b4f73f8f609abcc2ea450e65665c64fa", + "last_commit": "f78977a", "name": "adr", "purpose": "Directory docs/adr. Purpose not yet described by a human." }, { - "digest": "e9e804e088a0b2316d035b957c09289bf9f6176eece959d43c40c6e66005fe5e", - "last_commit": "7e15a57", + "digest": "5dc4f124f1c023aa4786f45336a671138fce9fa046478364cdc7454307d7b588", + "last_commit": "f78977a", "name": "crumbs", "purpose": "Directory docs/crumbs. Purpose not yet described by a human." } ], - "children_root": "sha256:c5d7ca9ce0145309c90a439711adcb6dd8e8e40ff48b90455f545e63c05f04c8", - "compiled_at": "2026-10-14T01:05:33Z", + "children_root": "sha256:491e93c09b6185b662afda8b29d24bb3ee81bc2aed9009757fdf4674d197be31", + "compiled_at": "2026-10-14T01:16:45Z", "compiler": "crumb-compile/1", - "digest": "sha256:ca0dd7ea3a0dc128f4d33b7a00146ba4f9bce2ef19f970b188a4e297834ad10f", + "digest": "sha256:ff76e6265945af4c3821b297bdbb0af9fbe44ae8d04ae03cf8d70b42cf92802c", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 83, - "generated_at_commit": "9ffc6b7d779fbb0568af4af55b13a80c21923552", - "source_tree": "sha256:3621b6819ea170532fee0d36f0cbc9cba9059e1895fa9c98c1574c254e2bd1f5" + "generated_at_commit": "f78977a6ce33ea89a5b3b1952c0a0e403d4504fa", + "source_tree": "sha256:602540ab7e21ae87b2a97e53c05d577398c6016cb275e4367cca845cac7786b9" }, "owner_lane": "", "provenance": { diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 0ad2a017..ff853d68 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -2,7 +2,7 @@ Status: confirmed by the operator on 2026-09-23. Changes to anything in this document that the operator listed as fundamental (see "Authority and escalation") require the operator's approval. -> **Document precedence (2026-09-27):** this file governs AIENOS component architecture. `../ROADMAP.md` governs current AIENOS execution order. Whole-system sequencing is owned by `aien-dev/aien-architecture/CURRENT_EXECUTION_PLAN.md`. See [PLAN_AUTHORITY.md](PLAN_AUTHORITY.md). +> **Document precedence (2026-09-27):** this file governs AIENOS component architecture. `../ROADMAP.md` governs current AIENOS execution order. Whole-system sequencing is owned by `aien-spark/aien-architecture/CURRENT_EXECUTION_PLAN.md`. See [PLAN_AUTHORITY.md](PLAN_AUTHORITY.md). For supporting architectural references and decision records, see: - [AIENOS Architectural Blueprint](BLUEPRINT.md) (reference design snapshot; not current execution order) @@ -124,6 +124,6 @@ Milestone reports show what was built, what passed, what failed, what changed, t ## 10. The persistent thing -The persistent thing is the AIEN organism, and inside it the durable subject the organism sustains, named ALLEN ([ARCH-0035](https://github.com/aien-dev/aien-architecture/blob/main/docs/adr/0035-persistent-cognitive-entity-boundary-allen.md), PROPOSED; [ADR 0018](adr/0018-allen-subject-state-object.md)). AIEN is continuous: its organism keeps running and its cognitive faculty keeps proposing. ALLEN is durable: the same agent identity, standing intents and memory lineage are resolved from the Store after any restart. Hardware is replaceable beneath both. Models, interfaces, tools, and Machines are replaceable around them. If a company disappears tomorrow, the long-term target is that AIENOS continues to boot and remains the operator's. +The persistent thing is the AIEN organism, and inside it the durable subject the organism sustains, named ALLEN ([ARCH-0035](https://github.com/aien-spark/aien-architecture/blob/main/docs/adr/0035-persistent-cognitive-entity-boundary-allen.md), PROPOSED; [ADR 0018](adr/0018-allen-subject-state-object.md)). AIEN is continuous: its organism keeps running and its cognitive faculty keeps proposing. ALLEN is durable: the same agent identity, standing intents and memory lineage are resolved from the Store after any restart. Hardware is replaceable beneath both. Models, interfaces, tools, and Machines are replaceable around them. If a company disappears tomorrow, the long-term target is that AIENOS continues to boot and remains the operator's. **Strengthened ([Continuous-Existence Amendment §21](CONTINUOUS_EXISTENCE_AMENDMENT.md), [ADR 0007](adr/0007-continuous-existence-provisioning-once.md)):** AIEN is the persistent logical entity. Hardware, kernels, models, runtime processes, inference caches, interfaces, and Machines are replaceable execution substrates. Sleep changes residency. Reboot changes execution substrate. Failure triggers reconstruction. None of these events inherently terminates logical identity. diff --git a/docs/BLUEPRINT.md b/docs/BLUEPRINT.md index 713e11bb..774302c9 100644 --- a/docs/BLUEPRINT.md +++ b/docs/BLUEPRINT.md @@ -1,6 +1,6 @@ # AIENOS — Final Architectural Blueprint -> **REFERENCE DESIGN SNAPSHOT, NOT AN ACTIVE EXECUTION PLAN.** Current AIENOS sequencing is [../ROADMAP.md](../ROADMAP.md). Whole-system sequencing is owned by `aien-dev/aien-architecture/CURRENT_EXECUTION_PLAN.md`. See [PLAN_AUTHORITY.md](PLAN_AUTHORITY.md). +> **REFERENCE DESIGN SNAPSHOT, NOT AN ACTIVE EXECUTION PLAN.** Current AIENOS sequencing is [../ROADMAP.md](../ROADMAP.md). Whole-system sequencing is owned by `aien-spark/aien-architecture/CURRENT_EXECUTION_PLAN.md`. See [PLAN_AUTHORITY.md](PLAN_AUTHORITY.md). ## 1. The final vision diff --git a/docs/GB10_DMA_ROUTE_INVENTORY.md b/docs/GB10_DMA_ROUTE_INVENTORY.md index 300164d1..d626c532 100644 --- a/docs/GB10_DMA_ROUTE_INVENTORY.md +++ b/docs/GB10_DMA_ROUTE_INVENTORY.md @@ -6,7 +6,7 @@ run was made. Base commit of aienos read: `a9b15b9` (main). Tags: [SOURCE file:line] read in the named file. [INFERRED] reasoned from sources, not directly shown. [UNKNOWN] nothing read answers it. Paths without a repo prefix are in aienos. `physics:` is the local checkout of -aien-dev/physics at `e95e3ed` (the dependency map pins `6d7cf0d`; the nvrm.c +aien-spark/physics at `e95e3ed` (the dependency map pins `6d7cf0d`; the nvrm.c lines cited below match the pinned lines in that map). ## 1. Short answer diff --git a/docs/GB10_HARDWARE_PROFILE.md b/docs/GB10_HARDWARE_PROFILE.md index 7b741d7d..94b00254 100644 --- a/docs/GB10_HARDWARE_PROFILE.md +++ b/docs/GB10_HARDWARE_PROFILE.md @@ -5,7 +5,7 @@ read-only Linux collector that fills it. It is characterization only. Nothing here initializes the GPU, talks to GSP, submits a command, allocates GPU memory, executes a kernel, or performs inference. -Governing: issue [#36](https://github.com/aien-dev/aienos/issues/36), +Governing: issue [#36](https://github.com/aien-spark/aienos/issues/36), [GB10_NATIVE_STATUS.md](GB10_NATIVE_STATUS.md), [GB10_PLATFORM_TOPOLOGY.md](GB10_PLATFORM_TOPOLOGY.md), [GB10_NATIVE_ACCELERATOR_BOUNDARY.md](GB10_NATIVE_ACCELERATOR_BOUNDARY.md). diff --git a/docs/GB10_HARDWARE_QUALIFICATION.md b/docs/GB10_HARDWARE_QUALIFICATION.md index c8b95cd4..fd3010b5 100644 --- a/docs/GB10_HARDWARE_QUALIFICATION.md +++ b/docs/GB10_HARDWARE_QUALIFICATION.md @@ -5,7 +5,7 @@ on Machine 1. It is not to be executed as part of this characterization phase. It exists so the operator run, when authorized, collects only approved read-only facts and returns the machine to Linux unchanged. -Governing: issue [#36](https://github.com/aien-dev/aienos/issues/36), +Governing: issue [#36](https://github.com/aien-spark/aienos/issues/36), [NATIVE_BOOT_ONE_TIME.md](NATIVE_BOOT_ONE_TIME.md), [HARDWARE_TEST_RIG.md](HARDWARE_TEST_RIG.md), [GB10_PLATFORM_TOPOLOGY.md](GB10_PLATFORM_TOPOLOGY.md). diff --git a/docs/GB10_NATIVE_ACCELERATOR_BOUNDARY.md b/docs/GB10_NATIVE_ACCELERATOR_BOUNDARY.md index e0538980..40ceb2c3 100644 --- a/docs/GB10_NATIVE_ACCELERATOR_BOUNDARY.md +++ b/docs/GB10_NATIVE_ACCELERATOR_BOUNDARY.md @@ -4,7 +4,7 @@ This document freezes the layering a future native GB10 driver must fit into. It does not design the driver. It defines the boundary so that GPU work can be built against a capability-bound contract instead of ambient hardware access. -Governing: issue [#36](https://github.com/aien-dev/aienos/issues/36), +Governing: issue [#36](https://github.com/aien-spark/aienos/issues/36), [GB10_HARDWARE_PROFILE.md](GB10_HARDWARE_PROFILE.md), [GB10_PLATFORM_TOPOLOGY.md](GB10_PLATFORM_TOPOLOGY.md), [ARCHITECTURE.md](ARCHITECTURE.md). diff --git a/docs/GB10_NATIVE_DEPENDENCY_MAP.md b/docs/GB10_NATIVE_DEPENDENCY_MAP.md index 98bbb14f..6973de82 100644 --- a/docs/GB10_NATIVE_DEPENDENCY_MAP.md +++ b/docs/GB10_NATIVE_DEPENDENCY_MAP.md @@ -23,9 +23,9 @@ The vector engine (`OmegaGpuBackend`) is already a clean seam. The persistent se | Omega `physics.lock` | contains exactly the PHYSICS sha above | OBSERVED, pin confirmed | | AIENOS code | `fa209e454dda90d933076e5fd1f333731fd9a3c1` (docs-only ADR 0019 merge `bf475a08`) | from the issue, not re-read here | -Line numbers below are at those pins. Omega links look like `omega:src/file.c#Lnn`, PHYSICS links look like `physics:path#Lnn`. Full URL form: `https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/#Lnn` and `https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/#Lnn`. Files under Omega `evidence/` are frozen snapshots of older copies of these sources and are excluded from the inventory (OBSERVED: they hold copies of `omega_gpu_session.c`, `*_api.c` and so on). +Line numbers below are at those pins. Omega links look like `omega:src/file.c#Lnn`, PHYSICS links look like `physics:path#Lnn`. Full URL form: `https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/#Lnn` and `https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/#Lnn`. Files under Omega `evidence/` are frozen snapshots of older copies of these sources and are excluded from the inventory (OBSERVED: they hold copies of `omega_gpu_session.c`, `*_api.c` and so on). -Governance note. The issue calls `aien-dev/aien-architecture#163` "an OPEN Drake decision". OBSERVED: #163 itself is a merged pull request (merged 2026-10-08T02:28Z) that recorded the conflict. The decision is still open per `CURRENT_EXECUTION_PLAN.md` line 720 ("Drake resolves which governs; until then neither is revised"). This document treats the decision as open and does not resolve it. +Governance note. The issue calls `aien-spark/aien-architecture#163` "an OPEN Drake decision". OBSERVED: #163 itself is a merged pull request (merged 2026-10-08T02:28Z) that recorded the conflict. The decision is still open per `CURRENT_EXECUTION_PLAN.md` line 720 ("Drake resolves which governs; until then neither is revised"). This document treats the decision as open and does not resolve it. ## 1. The Linux driver layer, as it exists @@ -33,10 +33,10 @@ Two PHYSICS headers define the whole surface. | Layer | What it is | Source | | --- | --- | --- | -| `Nvrm` / `NvrmMem` and `nvrm_*` | Userspace client of the NVIDIA open kernel module (RM and UVM). `NvrmMem` assumes one address is both the CPU and GPU virtual address. | [nvrm.h:23-28](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L23), [nvrm.h:50-86](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L50), [nvrm.h:88-109](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L88), [nvrm.h:119](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L119) | -| `M16NativeContext` and `m16_native_*` | Thin wrapper: embeds one `Nvrm`, one pushbuffer slot, one marker slot, 64 legacy allocation slots. Adds channel creation, method enqueue, doorbell, marker polling. | [m16_native.h:14-19](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/m16/m16_native.h#L14), [m16_native.h:22-52](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/m16/m16_native.h#L22) | +| `Nvrm` / `NvrmMem` and `nvrm_*` | Userspace client of the NVIDIA open kernel module (RM and UVM). `NvrmMem` assumes one address is both the CPU and GPU virtual address. | [nvrm.h:23-28](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L23), [nvrm.h:50-86](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L50), [nvrm.h:88-109](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L88), [nvrm.h:119](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L119) | +| `M16NativeContext` and `m16_native_*` | Thin wrapper: embeds one `Nvrm`, one pushbuffer slot, one marker slot, 64 legacy allocation slots. Adds channel creation, method enqueue, doorbell, marker polling. | [m16_native.h:14-19](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/m16/m16_native.h#L14), [m16_native.h:22-52](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/m16/m16_native.h#L22) | -Both are OBSERVED to need `/dev/nvidiactl`, `/dev/nvidia0` and `/dev/nvidia-uvm` ([nvrm.h:2-7](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L2), [nvrm.c:218-220](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L218)). +Both are OBSERVED to need `/dev/nvidiactl`, `/dev/nvidia0` and `/dev/nvidia-uvm` ([nvrm.h:2-7](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L2), [nvrm.c:218-220](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L218)). ## 2. Callers, grouped by subsystem @@ -46,26 +46,26 @@ Counting rule: one row is one source file (or one tight set of files) that names | # | File | Driver-layer use | Notes | | --- | --- | --- | --- | -| 1 | [omega:src/omega_gpu_engine.h#L200](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.h#L200) and [omega_gpu_engine.c#L299](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.c#L299) | none. 15-function `OmegaGpuBackend` table (open_device, create_channel, alloc, copy_in, fill_poison, build, submit, wait_marker, wait_marker2, wait_release_semaphore, barrier, copy_out, diagnostics, free_buf, close). | OBSERVED: contract is driver-free. It uses `stdatomic` and `clock_gettime` only ([engine.c#L84-86](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.c#L84), [#L140](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.c#L140)). The latch `g_blocked` ([#L85](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.c#L85)) implements "uncertain completion refuses all work". | -| 2 | [omega:src/omega_blackwell_engine.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L39) | `m16_native_open` [L215](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L215), `m16_native_create_channel` [L229](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L229), `nvrm_alloc_gpu_uncached` [L124](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L124), `nvrm_free` [L132](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L132) [L172](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L172) [L617](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L617), `m16_native_submit_methods` [L496](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L496), `m16_native_wait_marker` [L515](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L515), `m16_native_close` [L630](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L630), `nvrm_mthd` (pure header builder) at 12 sites from [L402](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L402) | The Linux implementation of the table. Backend export at [L655](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L655). Clock: `clock_gettime` [L84](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L84). | -| 3 | [omega:src/omega_blackwell_submit.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L7) | `m16_native_open` [L184](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L184) [L435](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L435), `m16_native_create_channel` [L185](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L185) [L436](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L436), `nvrm_alloc_gpu_uncached` at 16 sites [L191-211](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L191) [L440-463](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L440), `m16_native_submit_methods` [L366](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L366) [L608](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L608), `m16_native_wait_marker` [L91](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L91), `m16_native_close` | Older one-shot launch path (per-call open, run, close). Also holds the second copy of the 18-word setup prefix ([L19](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L19)). Tangled. | +| 1 | [omega:src/omega_gpu_engine.h#L200](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.h#L200) and [omega_gpu_engine.c#L299](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.c#L299) | none. 15-function `OmegaGpuBackend` table (open_device, create_channel, alloc, copy_in, fill_poison, build, submit, wait_marker, wait_marker2, wait_release_semaphore, barrier, copy_out, diagnostics, free_buf, close). | OBSERVED: contract is driver-free. It uses `stdatomic` and `clock_gettime` only ([engine.c#L84-86](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.c#L84), [#L140](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.c#L140)). The latch `g_blocked` ([#L85](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.c#L85)) implements "uncertain completion refuses all work". | +| 2 | [omega:src/omega_blackwell_engine.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L39) | `m16_native_open` [L215](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L215), `m16_native_create_channel` [L229](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L229), `nvrm_alloc_gpu_uncached` [L124](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L124), `nvrm_free` [L132](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L132) [L172](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L172) [L617](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L617), `m16_native_submit_methods` [L496](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L496), `m16_native_wait_marker` [L515](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L515), `m16_native_close` [L630](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L630), `nvrm_mthd` (pure header builder) at 12 sites from [L402](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L402) | The Linux implementation of the table. Backend export at [L655](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L655). Clock: `clock_gettime` [L84](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L84). | +| 3 | [omega:src/omega_blackwell_submit.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L7) | `m16_native_open` [L184](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L184) [L435](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L435), `m16_native_create_channel` [L185](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L185) [L436](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L436), `nvrm_alloc_gpu_uncached` at 16 sites [L191-211](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L191) [L440-463](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L440), `m16_native_submit_methods` [L366](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L366) [L608](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L608), `m16_native_wait_marker` [L91](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L91), `m16_native_close` | Older one-shot launch path (per-call open, run, close). Also holds the second copy of the 18-word setup prefix ([L19](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L19)). Tangled. | ### S2. Persistent inference session | # | File | Driver-layer use | Notes | | --- | --- | --- | --- | -| 4 | [omega:src/omega_gpu_session.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L13) and [omega_gpu_session.h](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.h#L43) | `nvrm_open` [L159](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L159), `m16_native_create_channel` [L160](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L160), `nvrm_close` [L159](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L159), `nvrm_alloc_gpu_uncached` [L91](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L91), `nvrm_free` [L110](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L110), `m16_native_submit_methods` [L277](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L277), `m16_native_wait_marker` [L54](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L54), `nvrm_retire` [L286](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L286), `m16_native_close` [L160](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L160) [L167](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L167) [L191](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L191) | Process-wide singleton `g_s` ([L29](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L29)), global mutex ([L28](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L28)), latch `g_blocked` ([L30](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L30)). Public API takes `NvrmMem*` ([L89](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L89), [L108](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L108)), so the Linux type leaks to every caller. Not behind `OmegaGpuBackend`. | -| 5 | [omega:src/omega_gpu_elementwise_api.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_elementwise_api.c#L871), [omega_gpu_matmul_api.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_matmul_api.c#L22), [omega_gpu_attention_api.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_attention_api.c#L495) | No direct `nvrm_*` or `m16_*` calls. Store `NvrmMem` ([elementwise L871](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_elementwise_api.c#L871), [matmul L38,L48](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_matmul_api.c#L38), [attention L495](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_attention_api.c#L495)) and call `omega_gpu_session_*`. | Indirect callers. They also take the session lock macro and use `clock_gettime` ([elementwise L961](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_elementwise_api.c#L961), [matmul L68](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_matmul_api.c#L68), [attention L582](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_attention_api.c#L582)) and `malloc`/`calloc`. Migrate with the session, not alone. | +| 4 | [omega:src/omega_gpu_session.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L13) and [omega_gpu_session.h](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.h#L43) | `nvrm_open` [L159](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L159), `m16_native_create_channel` [L160](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L160), `nvrm_close` [L159](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L159), `nvrm_alloc_gpu_uncached` [L91](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L91), `nvrm_free` [L110](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L110), `m16_native_submit_methods` [L277](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L277), `m16_native_wait_marker` [L54](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L54), `nvrm_retire` [L286](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L286), `m16_native_close` [L160](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L160) [L167](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L167) [L191](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L191) | Process-wide singleton `g_s` ([L29](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L29)), global mutex ([L28](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L28)), latch `g_blocked` ([L30](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L30)). Public API takes `NvrmMem*` ([L89](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L89), [L108](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L108)), so the Linux type leaks to every caller. Not behind `OmegaGpuBackend`. | +| 5 | [omega:src/omega_gpu_elementwise_api.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_elementwise_api.c#L871), [omega_gpu_matmul_api.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_matmul_api.c#L22), [omega_gpu_attention_api.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_attention_api.c#L495) | No direct `nvrm_*` or `m16_*` calls. Store `NvrmMem` ([elementwise L871](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_elementwise_api.c#L871), [matmul L38,L48](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_matmul_api.c#L38), [attention L495](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_attention_api.c#L495)) and call `omega_gpu_session_*`. | Indirect callers. They also take the session lock macro and use `clock_gettime` ([elementwise L961](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_elementwise_api.c#L961), [matmul L68](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_matmul_api.c#L68), [attention L582](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_attention_api.c#L582)) and `malloc`/`calloc`. Migrate with the session, not alone. | ### S3. Numerical launchers (E1 chip paths) | # | File | Driver-layer use | Notes | | --- | --- | --- | --- | -| 6 | [omega:src/omega_numeric_gb10.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_gb10.c#L109) | `m16_native_create_channel` [L109](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_gb10.c#L109), `nvrm_alloc` x8 [L112-126](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_gb10.c#L112), `nvrm_alloc_gpu_uncached` [L125](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_gb10.c#L125), `m16_native_submit_methods` [L291](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_gb10.c#L291) | One-shot launcher. Uses cached `nvrm_alloc` for non-polled buffers. | -| 7 | [omega:src/omega_numeric_reduce_gb10.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_reduce_gb10.c#L331) | create_channel [L331](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_reduce_gb10.c#L331), `nvrm_alloc` [L333-341](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_reduce_gb10.c#L333), uncached [L342](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_reduce_gb10.c#L342), submit [L473](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_reduce_gb10.c#L473) | same shape | -| 8 | [omega:src/omega_numeric_divsqrt_gb10.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_divsqrt_gb10.c#L1523) | create_channel [L1523](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_divsqrt_gb10.c#L1523), `nvrm_alloc` [L1525-1535](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_divsqrt_gb10.c#L1525), uncached [L1534](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_divsqrt_gb10.c#L1534), submit [L1617](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_divsqrt_gb10.c#L1617) | same shape | -| 9 | [omega:src/omega_numeric_ldst_gb10.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_ldst_gb10.c#L270) | create_channel [L270](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_ldst_gb10.c#L270), `nvrm_alloc` [L272-279](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_ldst_gb10.c#L272), uncached [L280](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_ldst_gb10.c#L280), submit [L361](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_ldst_gb10.c#L361) | same shape | -| 10 | [omega:src/omega_numeric_native.h](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_native.h#L5) | `m16_native_open` [L19](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_native.h#L19), `m16_native_close` [L26](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_native.h#L26), `m16_native_wait_marker` [L34](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_native.h#L34) | Shared wrappers used by rows 6-9. | +| 6 | [omega:src/omega_numeric_gb10.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_gb10.c#L109) | `m16_native_create_channel` [L109](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_gb10.c#L109), `nvrm_alloc` x8 [L112-126](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_gb10.c#L112), `nvrm_alloc_gpu_uncached` [L125](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_gb10.c#L125), `m16_native_submit_methods` [L291](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_gb10.c#L291) | One-shot launcher. Uses cached `nvrm_alloc` for non-polled buffers. | +| 7 | [omega:src/omega_numeric_reduce_gb10.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_reduce_gb10.c#L331) | create_channel [L331](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_reduce_gb10.c#L331), `nvrm_alloc` [L333-341](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_reduce_gb10.c#L333), uncached [L342](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_reduce_gb10.c#L342), submit [L473](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_reduce_gb10.c#L473) | same shape | +| 8 | [omega:src/omega_numeric_divsqrt_gb10.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_divsqrt_gb10.c#L1523) | create_channel [L1523](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_divsqrt_gb10.c#L1523), `nvrm_alloc` [L1525-1535](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_divsqrt_gb10.c#L1525), uncached [L1534](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_divsqrt_gb10.c#L1534), submit [L1617](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_divsqrt_gb10.c#L1617) | same shape | +| 9 | [omega:src/omega_numeric_ldst_gb10.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_ldst_gb10.c#L270) | create_channel [L270](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_ldst_gb10.c#L270), `nvrm_alloc` [L272-279](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_ldst_gb10.c#L272), uncached [L280](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_ldst_gb10.c#L280), submit [L361](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_ldst_gb10.c#L361) | same shape | +| 10 | [omega:src/omega_numeric_native.h](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_native.h#L5) | `m16_native_open` [L19](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_native.h#L19), `m16_native_close` [L26](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_native.h#L26), `m16_native_wait_marker` [L34](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_native.h#L34) | Shared wrappers used by rows 6-9. | The `open` for rows 6-9 happens in the tests that call them (see row 21), not in the launcher files. INFERRED (medium): launcher files receive a ready `M16NativeContext*`. @@ -73,35 +73,35 @@ The `open` for rows 6-9 happens in the tests that call them (see row 21), not in | # | File | Driver-layer use | Notes | | --- | --- | --- | --- | -| 11 | [omega:src/runtime/rx_resident_gpu.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L12) | `m16_native_open` + `create_channel` [L1041](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L1041), `nvrm_alloc` [L729-733](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L729), `nvrm_alloc_gpu_uncached` [L732](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L732) [L1055](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L1055), `m16_native_submit_methods` [L854](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L854), `nvrm_channel_destroy` [L971](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L971), `nvrm_channel` [L984](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L984), `m16_native_close` | Resident "seat". Heaviest Linux coupling in Omega: pthreads (`pthread_create` [L941](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L941) [L999](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L999) [L1092](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L1092)), CPU affinity and thread names ([L901-907](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L901)), `getenv("RX_SEAT_LEASE_CPU")` [L902](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L902), `usleep` (5 sites, e.g. [L719](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L719)). Recreates the channel at run time ([L971-984](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L971)). | -| 12 | [omega:src/omega_accelerator_world.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L110) and [.h](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.h#L65) | open/create_channel [L154-157](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L154), `nvrm_alloc_gpu_uncached` [L167](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L167) [L175](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L175) [L184](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L184) [L270](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L270) [L376](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L376), `nvrm_free` [L110](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L110) [L122](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L122), `nvrm_channel` / `nvrm_channel_destroy` [L533](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L533) [L527](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L527), `nvrm_enqueue` [L724](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L724), `nvrm_ring` [L753](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L753), `nvrm_retire` [L883](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L883) [L1067](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L1067) [L1303](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L1303), `m16_native_submit_methods` [L1056](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L1056) [L1292](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L1292) | The only Omega code that drives enqueue, ring and retire by hand (split submit). Public structs hold `NvrmMem` ([.h L65,79,84,92](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.h#L65)) and `M16NativeContext` ([.h L146](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.h#L146)). | -| 13 | [omega:src/omega_world_gates.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_world_gates.c#L740) | `nvrm_enqueue` [L740](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_world_gates.c#L740), `nvrm_retire` [L797](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_world_gates.c#L797), `nvrm_alloc_gpu_uncached` [L934](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_world_gates.c#L934), `m16_native_wait_marker_ge` [L2183](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_world_gates.c#L2183) [L2266](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_world_gates.c#L2266) | Gate code for the world; same split-submit style as row 12. | +| 11 | [omega:src/runtime/rx_resident_gpu.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L12) | `m16_native_open` + `create_channel` [L1041](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L1041), `nvrm_alloc` [L729-733](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L729), `nvrm_alloc_gpu_uncached` [L732](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L732) [L1055](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L1055), `m16_native_submit_methods` [L854](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L854), `nvrm_channel_destroy` [L971](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L971), `nvrm_channel` [L984](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L984), `m16_native_close` | Resident "seat". Heaviest Linux coupling in Omega: pthreads (`pthread_create` [L941](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L941) [L999](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L999) [L1092](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L1092)), CPU affinity and thread names ([L901-907](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L901)), `getenv("RX_SEAT_LEASE_CPU")` [L902](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L902), `usleep` (5 sites, e.g. [L719](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L719)). Recreates the channel at run time ([L971-984](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L971)). | +| 12 | [omega:src/omega_accelerator_world.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L110) and [.h](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.h#L65) | open/create_channel [L154-157](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L154), `nvrm_alloc_gpu_uncached` [L167](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L167) [L175](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L175) [L184](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L184) [L270](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L270) [L376](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L376), `nvrm_free` [L110](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L110) [L122](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L122), `nvrm_channel` / `nvrm_channel_destroy` [L533](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L533) [L527](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L527), `nvrm_enqueue` [L724](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L724), `nvrm_ring` [L753](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L753), `nvrm_retire` [L883](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L883) [L1067](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L1067) [L1303](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L1303), `m16_native_submit_methods` [L1056](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L1056) [L1292](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L1292) | The only Omega code that drives enqueue, ring and retire by hand (split submit). Public structs hold `NvrmMem` ([.h L65,79,84,92](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.h#L65)) and `M16NativeContext` ([.h L146](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.h#L146)). | +| 13 | [omega:src/omega_world_gates.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_world_gates.c#L740) | `nvrm_enqueue` [L740](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_world_gates.c#L740), `nvrm_retire` [L797](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_world_gates.c#L797), `nvrm_alloc_gpu_uncached` [L934](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_world_gates.c#L934), `m16_native_wait_marker_ge` [L2183](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_world_gates.c#L2183) [L2266](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_world_gates.c#L2266) | Gate code for the world; same split-submit style as row 12. | ### S5. FORGE realization and evidence identity | # | File | Driver-layer use | Notes | | --- | --- | --- | --- | -| 14 | [omega:src/forge_realization.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/forge_realization.c#L37) / [.h](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/forge_realization.h#L6) | takes `Nvrm *rm` as a parameter ([L37](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/forge_realization.c#L37)); no direct calls found | Type dependency only. | -| 15 | [omega:src/omega_evidence.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_evidence.c#L153) / [.h](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_evidence.h#L26) | reads `Nvrm` fields `compute_class`, `sm_version`, `gpu_uuid` ([L158-161](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_evidence.c#L158)) | Receipts bind hardware identity from a live `Nvrm`. A native backend must supply the same facts from its own source. | -| 16 | [omega:src/omega_blackwell_gates.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_gates.c#L1114) | observed-hardware identity from live `Nvrm` ([L1114-1127](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_gates.c#L1114)) | Same dependency as row 15. | -| 17 | [physics:forge/forge_realize.c](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_realize.c#L231) | `nvrm_channel` [L231](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_realize.c#L231), `nvrm_alloc` [L235-240](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_realize.c#L235), `m16_native_build_release` [L255](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_realize.c#L255), `nvrm_enqueue` [L269](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_realize.c#L269), `nvrm_ring` [L275](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_realize.c#L275), `m16_native_wait_marker` [L278](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_realize.c#L278), `nvrm_free` | PHYSICS-side FORGE. | -| 18 | [physics:forge/forge_descriptor.c](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_descriptor.c#L199) | `nvrm_open` [L199](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_descriptor.c#L199), `nvrm_close` [L207](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_descriptor.c#L207) [L219](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_descriptor.c#L219) [L272](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_descriptor.c#L272) | Opens the device to read identity. | +| 14 | [omega:src/forge_realization.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/forge_realization.c#L37) / [.h](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/forge_realization.h#L6) | takes `Nvrm *rm` as a parameter ([L37](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/forge_realization.c#L37)); no direct calls found | Type dependency only. | +| 15 | [omega:src/omega_evidence.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_evidence.c#L153) / [.h](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_evidence.h#L26) | reads `Nvrm` fields `compute_class`, `sm_version`, `gpu_uuid` ([L158-161](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_evidence.c#L158)) | Receipts bind hardware identity from a live `Nvrm`. A native backend must supply the same facts from its own source. | +| 16 | [omega:src/omega_blackwell_gates.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_gates.c#L1114) | observed-hardware identity from live `Nvrm` ([L1114-1127](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_gates.c#L1114)) | Same dependency as row 15. | +| 17 | [physics:forge/forge_realize.c](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_realize.c#L231) | `nvrm_channel` [L231](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_realize.c#L231), `nvrm_alloc` [L235-240](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_realize.c#L235), `m16_native_build_release` [L255](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_realize.c#L255), `nvrm_enqueue` [L269](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_realize.c#L269), `nvrm_ring` [L275](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_realize.c#L275), `m16_native_wait_marker` [L278](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_realize.c#L278), `nvrm_free` | PHYSICS-side FORGE. | +| 18 | [physics:forge/forge_descriptor.c](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_descriptor.c#L199) | `nvrm_open` [L199](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_descriptor.c#L199), `nvrm_close` [L207](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_descriptor.c#L207) [L219](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_descriptor.c#L219) [L272](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/forge/forge_descriptor.c#L272) | Opens the device to read identity. | ### S6. PHYSICS qualification programs, gates and tests | # | File | Driver-layer use | Notes | | --- | --- | --- | --- | -| 19 | [physics:m16/m16_concurrent.c](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/m16/m16_concurrent.c#L29), [m16_requalify.c](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/m16/m16_requalify.c#L44) | open, alloc_memory, create_channel, build_release, enqueue, ring_doorbell, wait_marker, `nvrm_retire`, close | Qualification programs. Linux-only by design. | -| 20 | [physics:nvrm/lifecycle_gates.c](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/lifecycle_gates.c#L193), [submission_visibility_gates.c](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/submission_visibility_gates.c#L13), [tests/test_forge_seam.c](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/tests/test_forge_seam.c#L105) | exercise `nvrm_open/alloc/free/channel/submit/close`, fault injection fields ([nvrm.h:80-81](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L80)) | Their value is as the Linux reference behavior to preserve (alloc/free accounting, quarantine, GPFIFO full). | +| 19 | [physics:m16/m16_concurrent.c](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/m16/m16_concurrent.c#L29), [m16_requalify.c](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/m16/m16_requalify.c#L44) | open, alloc_memory, create_channel, build_release, enqueue, ring_doorbell, wait_marker, `nvrm_retire`, close | Qualification programs. Linux-only by design. | +| 20 | [physics:nvrm/lifecycle_gates.c](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/lifecycle_gates.c#L193), [submission_visibility_gates.c](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/submission_visibility_gates.c#L13), [tests/test_forge_seam.c](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/tests/test_forge_seam.c#L105) | exercise `nvrm_open/alloc/free/channel/submit/close`, fault injection fields ([nvrm.h:80-81](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L80)) | Their value is as the Linux reference behavior to preserve (alloc/free accounting, quarantine, GPFIFO full). | ### S7. Omega tests, fakes, benches, build scripts | # | File | Driver-layer use | Notes | | --- | --- | --- | --- | -| 21 | [omega:tests/test_numeric_lifecycle.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/test_numeric_lifecycle.c#L10), [gpu_serving_alloc_count_test.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/gpu_serving_alloc_count_test.c#L43), [numeric_native/other_launcher.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/numeric_native/other_launcher.c), [numeric_native/m16_native.h](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/numeric_native/m16_native.h) | `m16_native_open/close/wait_marker`, `nvrm_open/close/retire` | Host or chip tests. The `numeric_native` pair is a local stub of the header. | -| 22 | [omega:tests/fake_m16_native.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/fake_m16_native.c#L293) / [.h](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/fake_m16_native.h), [test_omega_blackwell_engine.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/test_omega_blackwell_engine.c#L38) | a simulated implementation of the whole `m16_native_*` and needed `nvrm_*` surface ([open L293](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/fake_m16_native.c#L293), [alloc L322,L350](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/fake_m16_native.c#L322), [submit L374](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/fake_m16_native.c#L374), [wait L410](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/fake_m16_native.c#L410)) | The existing host-only seam test. Built without any physics `.c` ([omega-gpu-engine.mk:48](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/mk/omega-gpu-engine.mk#L48)). Reusable for cut A contract tests. | -| 23 | [omega:bench/prime_race/gb10_native.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/bench/prime_race/gb10_native.c#L108), [tests/gb10_launch_cost.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/bench/prime_race/tests/gb10_launch_cost.c#L82) | declare `NvrmMem` (no named call matched in grep) | Bench code. INFERRED (medium): uses the session API. Not read line by line. | -| 24 | [omega:mk/omega-gpu-engine.mk](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/mk/omega-gpu-engine.mk#L30), [src/omega_physics_dir.h](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_physics_dir.h#L14), [tools/chip_run.sh](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tools/chip_run.sh#L195), [tools/e1_manifest.sh](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tools/e1_manifest.sh#L63), [tools/r16_authpath.sh](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tools/r16_authpath.sh#L65) | build wiring: include paths `-I$PHYSICS/nvrm -I$PHYSICS/m16`, physics checkout probe for `m16/m16_native.h`, a rule that physical-seat sources (`m16_native.c`, `nvrm.c`) must not appear in a host build | A freestanding target needs its own build rule; the guard in `r16_authpath.sh` is a useful pattern. | +| 21 | [omega:tests/test_numeric_lifecycle.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/test_numeric_lifecycle.c#L10), [gpu_serving_alloc_count_test.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/gpu_serving_alloc_count_test.c#L43), [numeric_native/other_launcher.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/numeric_native/other_launcher.c), [numeric_native/m16_native.h](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/numeric_native/m16_native.h) | `m16_native_open/close/wait_marker`, `nvrm_open/close/retire` | Host or chip tests. The `numeric_native` pair is a local stub of the header. | +| 22 | [omega:tests/fake_m16_native.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/fake_m16_native.c#L293) / [.h](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/fake_m16_native.h), [test_omega_blackwell_engine.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/test_omega_blackwell_engine.c#L38) | a simulated implementation of the whole `m16_native_*` and needed `nvrm_*` surface ([open L293](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/fake_m16_native.c#L293), [alloc L322,L350](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/fake_m16_native.c#L322), [submit L374](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/fake_m16_native.c#L374), [wait L410](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tests/fake_m16_native.c#L410)) | The existing host-only seam test. Built without any physics `.c` ([omega-gpu-engine.mk:48](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/mk/omega-gpu-engine.mk#L48)). Reusable for cut A contract tests. | +| 23 | [omega:bench/prime_race/gb10_native.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/bench/prime_race/gb10_native.c#L108), [tests/gb10_launch_cost.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/bench/prime_race/tests/gb10_launch_cost.c#L82) | declare `NvrmMem` (no named call matched in grep) | Bench code. INFERRED (medium): uses the session API. Not read line by line. | +| 24 | [omega:mk/omega-gpu-engine.mk](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/mk/omega-gpu-engine.mk#L30), [src/omega_physics_dir.h](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_physics_dir.h#L14), [tools/chip_run.sh](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tools/chip_run.sh#L195), [tools/e1_manifest.sh](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tools/e1_manifest.sh#L63), [tools/r16_authpath.sh](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/tools/r16_authpath.sh#L65) | build wiring: include paths `-I$PHYSICS/nvrm -I$PHYSICS/m16`, physics checkout probe for `m16/m16_native.h`, a rule that physical-seat sources (`m16_native.c`, `nvrm.c`) must not appear in a host build | A freestanding target needs its own build rule; the guard in `r16_authpath.sh` is a useful pattern. | Totals: 24 rows, 7 subsystem groups (S1 to S7). Direct callers with live driver calls: rows 2, 3, 4, 6 to 13, 17 to 21. Type-only or identity-only dependants: rows 5, 14, 15, 16, 23. @@ -109,19 +109,19 @@ Totals: 24 rows, 7 subsystem groups (S1 to S7). Direct callers with live driver | Dependency | Where (OBSERVED) | Why it matters natively | | --- | --- | --- | -| open/ioctl/mmap on `/dev/nvidia*` | `open` [nvrm.c:153,162,218-220](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L153); `ioctl` [nvrm.c:58-59](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L58), [#L145](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L145); `mmap` of RM memory [#L177](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L177); reserve of fixed VA with `MAP_FIXED_NOREPLACE` [#L485](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L485); `munmap` [#L507](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L507), [#L596](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L596) | The whole backend. Replaced, not wrapped. | -| `ioctl` header types | `nv-ioctl.h`, `uvm_ioctl.h` ([nvrm.c:21-25](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L21)) | Linux driver ABI headers from the pinned open-gpu-kernel-modules tree. Cannot be in the freestanding build. | -| pthread mutex | `g_mu` [session.c:28](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L28), lock/unlock [L67-68](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L67) [L187-194](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L187); the three `*_api.c` files take it through `omega_gpu_session_lock()` | Needs a platform lock service. | -| pthread threads, affinity, names | [rx_resident_gpu.c:53,67,901-907,941,952,974,999,1092,1116](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L941) | Needs a platform thread or task service, or a redesign. | -| `clock_gettime(CLOCK_MONOTONIC)` | [session.c:38](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L38), [m16_native.c:90](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/m16/m16_native.c#L90), [engine.c:140](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.c#L140), [blackwell_engine.c:84](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L84), [blackwell_submit.c:27](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L27), `*_api.c` (see row 5) | Timeouts and latency. Needs a monotonic clock service. The engine already has a test clock hook ([engine.h](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.h#L242)); the issue forbids that hook in production. | -| `usleep(50)` polling | [m16_native.c:105](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/m16/m16_native.c#L105), five sites in [rx_resident_gpu.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L719) | Needs a wait service (sleep, yield or interrupt). | -| `malloc`/`calloc`/`free` | [blackwell_submit.c:69,381,619](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L69); matmul and attention APIs (e.g. [matmul L304-504](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_matmul_api.c#L304), [attention L453-918](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_attention_api.c#L453)); numeric launchers ([gb10 L87-89](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_gb10.c#L87)); [rx_resident_gpu.c:80,1021,1039,1072](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L1021) | Needs a host heap service. CPU memory only. | -| `getenv` | `RX_SEAT_LEASE_CPU` [rx_resident_gpu.c:902](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L902); `PHYSICS_DIR` [omega_physics_dir.h:28](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_physics_dir.h#L28) | Configuration source. Native needs an explicit config input. | -| `fopen`, `realpath` | [blackwell_submit.c:711](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L711), [omega_physics_dir.h:14,33,63](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_physics_dir.h#L14) | File access in launch and build helpers. | +| open/ioctl/mmap on `/dev/nvidia*` | `open` [nvrm.c:153,162,218-220](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L153); `ioctl` [nvrm.c:58-59](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L58), [#L145](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L145); `mmap` of RM memory [#L177](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L177); reserve of fixed VA with `MAP_FIXED_NOREPLACE` [#L485](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L485); `munmap` [#L507](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L507), [#L596](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L596) | The whole backend. Replaced, not wrapped. | +| `ioctl` header types | `nv-ioctl.h`, `uvm_ioctl.h` ([nvrm.c:21-25](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L21)) | Linux driver ABI headers from the pinned open-gpu-kernel-modules tree. Cannot be in the freestanding build. | +| pthread mutex | `g_mu` [session.c:28](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L28), lock/unlock [L67-68](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L67) [L187-194](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L187); the three `*_api.c` files take it through `omega_gpu_session_lock()` | Needs a platform lock service. | +| pthread threads, affinity, names | [rx_resident_gpu.c:53,67,901-907,941,952,974,999,1092,1116](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L941) | Needs a platform thread or task service, or a redesign. | +| `clock_gettime(CLOCK_MONOTONIC)` | [session.c:38](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L38), [m16_native.c:90](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/m16/m16_native.c#L90), [engine.c:140](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.c#L140), [blackwell_engine.c:84](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L84), [blackwell_submit.c:27](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L27), `*_api.c` (see row 5) | Timeouts and latency. Needs a monotonic clock service. The engine already has a test clock hook ([engine.h](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.h#L242)); the issue forbids that hook in production. | +| `usleep(50)` polling | [m16_native.c:105](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/m16/m16_native.c#L105), five sites in [rx_resident_gpu.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L719) | Needs a wait service (sleep, yield or interrupt). | +| `malloc`/`calloc`/`free` | [blackwell_submit.c:69,381,619](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L69); matmul and attention APIs (e.g. [matmul L304-504](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_matmul_api.c#L304), [attention L453-918](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_attention_api.c#L453)); numeric launchers ([gb10 L87-89](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_numeric_gb10.c#L87)); [rx_resident_gpu.c:80,1021,1039,1072](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L1021) | Needs a host heap service. CPU memory only. | +| `getenv` | `RX_SEAT_LEASE_CPU` [rx_resident_gpu.c:902](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/runtime/rx_resident_gpu.c#L902); `PHYSICS_DIR` [omega_physics_dir.h:28](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_physics_dir.h#L28) | Configuration source. Native needs an explicit config input. | +| `fopen`, `realpath` | [blackwell_submit.c:711](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L711), [omega_physics_dir.h:14,33,63](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_physics_dir.h#L14) | File access in launch and build helpers. | | signals | none found in these files | OBSERVED absent (grep for `signal(`, `sigaction`). | -| ARM barriers and `yield` | `dsb sy` [session.c:231,284](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L231), [nvrm.c:735,737](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L735); `yield` [session.c:51](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L51) | Inline assembly, portable to bare-metal AArch64. Not Linux-only. | -| `stdatomic` | [engine.c:84-85](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.c#L84), session stats | Portable if the freestanding toolchain provides it. UNKNOWN for the AIENOS C toolchain. | -| libc string/stdio | `snprintf`, `vsnprintf` for error text ([nvrm.c:50-56](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L50), [session.c:59-65](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L59)) | Needs a freestanding formatter or a diagnostics service. | +| ARM barriers and `yield` | `dsb sy` [session.c:231,284](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L231), [nvrm.c:735,737](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L735); `yield` [session.c:51](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L51) | Inline assembly, portable to bare-metal AArch64. Not Linux-only. | +| `stdatomic` | [engine.c:84-85](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.c#L84), session stats | Portable if the freestanding toolchain provides it. UNKNOWN for the AIENOS C toolchain. | +| libc string/stdio | `snprintf`, `vsnprintf` for error text ([nvrm.c:50-56](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L50), [session.c:59-65](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L59)) | Needs a freestanding formatter or a diagnostics service. | ## 4. Driver responsibility map @@ -129,17 +129,17 @@ For each duty listed in issue #286 cut A: where today's code gets it, and what t | Responsibility | Today (RM/UVM call site) | Native replacement must provide | | --- | --- | --- | -| Device and firmware init | `NV01_ROOT_CLIENT` alloc [nvrm.c:223](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L223); card enumeration `NV_ESC_CARD_INFO` [#L235](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L235); `NV01_DEVICE_0` [#L255](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L255); `NV20_SUBDEVICE_0` [#L258](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L258); identity and SM version via `GPU_GET_ID_INFO`, `GR_GET_INFO`, `GPU_GET_GID_INFO` ([#L267-306](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L267)). The driver already initialized the chip and loaded GSP firmware before our process starts. | OBSERVED: our code does no firmware work at all. Native needs the full bring-up: reset and power state, GSP firmware load and handoff, protocol with GSP, readiness waits, identity and capability queries. This is cut C and is the largest UNKNOWN (see section 8). | -| Context creation | Class list query [nvrm.c:267-271](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L267), picks compute, GPFIFO and usermode classes ([#L274-279](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L274)); `KEPLER_CHANNEL_GROUP_A` [#L620](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L620); `FERMI_CONTEXT_SHARE_A` [#L625](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L625); compute object alloc [#L646](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L646) | A context object that owns engine state (graphics/compute context, saved registers) with explicit lifetime. INFERRED (medium): RM sets up compute-engine per-context state (local memory windows, shader memory) inside the compute object alloc, which our code never sees. | -| Address spaces | `NV01_MEMORY_VIRTUAL` [#L262](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L262), `FERMI_VASPACE_A` [#L300](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L300); UVM registration `UVM_INITIALIZE` [#L227](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L227), `UVM_REGISTER_GPU` [#L313](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L313), `UVM_REGISTER_GPU_VASPACE` [#L321](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L321); identical CPU and GPU virtual addresses via a reserved VA slot ([acquire_va_slot #L188](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L188), [va_take #L367](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L367)) | A GPU address space object, separate from the CPU MMU and SMMU services (issue cut D). The same-address design is a Linux/UVM choice ([nvrm.h:25](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L25)); native contracts must carry CPU address and GPU address as distinct values. | -| Allocation | `NV01_MEMORY_SYSTEM` alloc [nvrm.c:506](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L506) with explicit cache attribute ([alloc_with_cacheability #L477](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L477), uncached entry [#L473](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L473)); CPU map [#L161-177](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L161); free and live-table checks [#L543](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L543); fixed table sizes 4096 free and 4096 live ([nvrm.h:15-16](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L15)) | A bounded, reclaiming GPU-visible allocator with explicit cache policy per buffer and CPU mapping. The `ck_dma_alloc` bump pool does not qualify (issue). Must keep the uncached rule for host-polled words (hardware manual, `nvos.h` GPU_CACHEABLE comment; OBSERVED in code at [session.c:91](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L91)). | -| GPU page tables | Created and edited by UVM/RM inside the kernel: `UVM_CREATE_EXTERNAL_RANGE` [nvrm.c:423](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L423), `NV_ESC_RM_MAP_MEMORY_DMA` [#L435](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L435), `UVM_MAP_EXTERNAL_ALLOCATION` [#L450](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L450); teardown `UVM_FREE` [#L112](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L112), `NV_ESC_RM_UNMAP_MEMORY_DMA` [#L124](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L124) | OBSERVED: our code never writes a page-table entry; it only asks UVM to map. Native must own the GPU MMU format, page-table memory, TLB invalidation and fault handling. UNKNOWN: exact GB10 format and invalidation protocol from our sources. Evidence of sensitivity: omega#323 recorded a GPU page fault on a page boundary when code was not padded by 2 KB ([omega_gpu_code_alloc.h:1-12](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_code_alloc.h#L1)). | -| Channel and queue creation | GPFIFO ring plus USERD in one allocation ([nvrm.c:632-645](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L632)); error notifier allocation [#L632](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L632); `BLACKWELL_CHANNEL_GPFIFO_A` object [#L645](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L645); schedule `NVA06C_CTRL_CMD_GPFIFO_SCHEDULE` [#L670](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L670); destroy [#L677](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L677) | Channel creation including runlist insertion, scheduling enable and disable, and destruction. Own the GPFIFO and USERD layout (OBSERVED: Blackwell USERD documents no GPGet, so consumption is tracked by the caller, [nvrm.c:729-731](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L729)). | -| Submit token and doorbell | `GET_WORK_SUBMIT_TOKEN` [nvrm.c:648-649](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L648); usermode object plus 64 KB MMIO map [#L281-285](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L281); GP entry write and GPPut [#L723-737](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L723); doorbell store `*rm->doorbell = rm->token` [#L746](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L746) | A capability-bound doorbell page mapping and the token value for the channel. Native needs to learn the token from the channel it created, not from RM. UNKNOWN how token derivation works without RM. | -| Completion | None from the driver. Our code writes a marker with a method stream and polls it: release methods ([session.c:271-282](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L271)), `m16_native_wait_marker_ge` poll loop with `usleep(50)` ([m16_native.c:98-109](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/m16/m16_native.c#L98)), plus a second marker after an L2 flush. Entries retired by hand with `nvrm_retire` ([nvrm.c:741](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L741)). | OBSERVED: completion is host polling of GPU-uncached memory, no interrupt used. Native keeps the same marker protocol and needs a wait service (timer plus yield). A timeout latches the session (`g_blocked`, [session.c:280](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L280)); that behavior must carry over. | -| Interrupts | None used by our code. | OBSERVED absent. Native may poll only (issue says polling does not count as interrupt support). Needs the GIC/MSI-X/ITS route for any fault or completion interrupt: [gic.c refuses INTIDs >= 1020](https://github.com/aien-dev/aienos/blob/fa209e454dda90d933076e5fd1f333731fd9a3c1/native/kernel/arch/gic.c) per the issue. Not re-read here. | -| Error reporting | RM error notifier allocated and passed to the channel ([nvrm.c:632,638](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L632)); text errors in `rm->err` ([#L50-56](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L50)); sticky `faulted` flag set at many failure sites (e.g. [#L330](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L330), [#L488](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L488), [#L566](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L566)). Faults on the chip surface through the Linux kernel log (Xid), not through our code. | OBSERVED: nothing in Omega reads the error notifier (no use of `notifier` outside nvrm.c allocation and free). Native needs fault capture, channel-error read-back, and a fail-closed quiescence state. Per issue: after a timeout, do not free memory the GPU can still reach. | -| Teardown | Ordered frees in `nvrm_close` ([nvrm.c:755-801](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L755)), channel destroy ([#L677-713](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L677)), `munmap` ([#L596](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L596)); session on-close hooks ([session.c:177-196](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L177)). Process exit closes the file descriptors, so RM reclaims leaks. | Native has no process-exit safety net. It needs explicit revoke and reclaim of channels, mappings, memory and the address space, with known-completion cleanup and uncertain-completion quarantine. | +| Device and firmware init | `NV01_ROOT_CLIENT` alloc [nvrm.c:223](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L223); card enumeration `NV_ESC_CARD_INFO` [#L235](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L235); `NV01_DEVICE_0` [#L255](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L255); `NV20_SUBDEVICE_0` [#L258](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L258); identity and SM version via `GPU_GET_ID_INFO`, `GR_GET_INFO`, `GPU_GET_GID_INFO` ([#L267-306](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L267)). The driver already initialized the chip and loaded GSP firmware before our process starts. | OBSERVED: our code does no firmware work at all. Native needs the full bring-up: reset and power state, GSP firmware load and handoff, protocol with GSP, readiness waits, identity and capability queries. This is cut C and is the largest UNKNOWN (see section 8). | +| Context creation | Class list query [nvrm.c:267-271](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L267), picks compute, GPFIFO and usermode classes ([#L274-279](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L274)); `KEPLER_CHANNEL_GROUP_A` [#L620](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L620); `FERMI_CONTEXT_SHARE_A` [#L625](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L625); compute object alloc [#L646](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L646) | A context object that owns engine state (graphics/compute context, saved registers) with explicit lifetime. INFERRED (medium): RM sets up compute-engine per-context state (local memory windows, shader memory) inside the compute object alloc, which our code never sees. | +| Address spaces | `NV01_MEMORY_VIRTUAL` [#L262](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L262), `FERMI_VASPACE_A` [#L300](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L300); UVM registration `UVM_INITIALIZE` [#L227](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L227), `UVM_REGISTER_GPU` [#L313](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L313), `UVM_REGISTER_GPU_VASPACE` [#L321](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L321); identical CPU and GPU virtual addresses via a reserved VA slot ([acquire_va_slot #L188](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L188), [va_take #L367](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L367)) | A GPU address space object, separate from the CPU MMU and SMMU services (issue cut D). The same-address design is a Linux/UVM choice ([nvrm.h:25](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L25)); native contracts must carry CPU address and GPU address as distinct values. | +| Allocation | `NV01_MEMORY_SYSTEM` alloc [nvrm.c:506](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L506) with explicit cache attribute ([alloc_with_cacheability #L477](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L477), uncached entry [#L473](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L473)); CPU map [#L161-177](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L161); free and live-table checks [#L543](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L543); fixed table sizes 4096 free and 4096 live ([nvrm.h:15-16](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L15)) | A bounded, reclaiming GPU-visible allocator with explicit cache policy per buffer and CPU mapping. The `ck_dma_alloc` bump pool does not qualify (issue). Must keep the uncached rule for host-polled words (hardware manual, `nvos.h` GPU_CACHEABLE comment; OBSERVED in code at [session.c:91](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L91)). | +| GPU page tables | Created and edited by UVM/RM inside the kernel: `UVM_CREATE_EXTERNAL_RANGE` [nvrm.c:423](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L423), `NV_ESC_RM_MAP_MEMORY_DMA` [#L435](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L435), `UVM_MAP_EXTERNAL_ALLOCATION` [#L450](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L450); teardown `UVM_FREE` [#L112](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L112), `NV_ESC_RM_UNMAP_MEMORY_DMA` [#L124](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L124) | OBSERVED: our code never writes a page-table entry; it only asks UVM to map. Native must own the GPU MMU format, page-table memory, TLB invalidation and fault handling. UNKNOWN: exact GB10 format and invalidation protocol from our sources. Evidence of sensitivity: omega#323 recorded a GPU page fault on a page boundary when code was not padded by 2 KB ([omega_gpu_code_alloc.h:1-12](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_code_alloc.h#L1)). | +| Channel and queue creation | GPFIFO ring plus USERD in one allocation ([nvrm.c:632-645](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L632)); error notifier allocation [#L632](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L632); `BLACKWELL_CHANNEL_GPFIFO_A` object [#L645](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L645); schedule `NVA06C_CTRL_CMD_GPFIFO_SCHEDULE` [#L670](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L670); destroy [#L677](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L677) | Channel creation including runlist insertion, scheduling enable and disable, and destruction. Own the GPFIFO and USERD layout (OBSERVED: Blackwell USERD documents no GPGet, so consumption is tracked by the caller, [nvrm.c:729-731](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L729)). | +| Submit token and doorbell | `GET_WORK_SUBMIT_TOKEN` [nvrm.c:648-649](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L648); usermode object plus 64 KB MMIO map [#L281-285](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L281); GP entry write and GPPut [#L723-737](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L723); doorbell store `*rm->doorbell = rm->token` [#L746](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L746) | A capability-bound doorbell page mapping and the token value for the channel. Native needs to learn the token from the channel it created, not from RM. UNKNOWN how token derivation works without RM. | +| Completion | None from the driver. Our code writes a marker with a method stream and polls it: release methods ([session.c:271-282](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L271)), `m16_native_wait_marker_ge` poll loop with `usleep(50)` ([m16_native.c:98-109](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/m16/m16_native.c#L98)), plus a second marker after an L2 flush. Entries retired by hand with `nvrm_retire` ([nvrm.c:741](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L741)). | OBSERVED: completion is host polling of GPU-uncached memory, no interrupt used. Native keeps the same marker protocol and needs a wait service (timer plus yield). A timeout latches the session (`g_blocked`, [session.c:280](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L280)); that behavior must carry over. | +| Interrupts | None used by our code. | OBSERVED absent. Native may poll only (issue says polling does not count as interrupt support). Needs the GIC/MSI-X/ITS route for any fault or completion interrupt: [gic.c refuses INTIDs >= 1020](https://github.com/aien-spark/aienos/blob/fa209e454dda90d933076e5fd1f333731fd9a3c1/native/kernel/arch/gic.c) per the issue. Not re-read here. | +| Error reporting | RM error notifier allocated and passed to the channel ([nvrm.c:632,638](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L632)); text errors in `rm->err` ([#L50-56](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L50)); sticky `faulted` flag set at many failure sites (e.g. [#L330](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L330), [#L488](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L488), [#L566](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L566)). Faults on the chip surface through the Linux kernel log (Xid), not through our code. | OBSERVED: nothing in Omega reads the error notifier (no use of `notifier` outside nvrm.c allocation and free). Native needs fault capture, channel-error read-back, and a fail-closed quiescence state. Per issue: after a timeout, do not free memory the GPU can still reach. | +| Teardown | Ordered frees in `nvrm_close` ([nvrm.c:755-801](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L755)), channel destroy ([#L677-713](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L677)), `munmap` ([#L596](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L596)); session on-close hooks ([session.c:177-196](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L177)). Process exit closes the file descriptors, so RM reclaims leaks. | Native has no process-exit safety net. It needs explicit revoke and reclaim of channels, mappings, memory and the address space, with known-completion cleanup and uncertain-completion quarantine. | ## 5. Reusable pieces versus Linux-only pieces @@ -147,22 +147,22 @@ For each duty listed in issue #286 cut A: where today's code gets it, and what t | Piece | Source | Why reusable (OBSERVED unless tagged) | | --- | --- | --- | -| Blackwell instruction IR, register allocator, encoder | [omega_blackwell_codegen.h](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_codegen.h#L170) (`omega_bw_ir_*`, `omega_bw_regalloc_solve`, `omega_bw_encode_program`), [.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_codegen.c#L8) | Includes only `stdio`, `stdlib`, `string`, `sha256.h` and a submit header ([codegen.c:1-6](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_codegen.c#L1)). No device calls. Heap (`stdlib`) use is CPU-side. INFERRED (medium) that it builds freestanding once a heap and `snprintf` exist. Note it includes `omega_blackwell_submit.h` (the Linux path header), which must be checked for pulling in `m16_native.h`. UNKNOWN. | -| Matmul and attention codegen entry points | [codegen.h:197-232](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_codegen.h#L197) | Pure functions from spec to code bytes. | -| QMD builders and invariant check | [omega_blackwell_qmd.h:44-66](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_qmd.h#L44), [.c:39-237](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_qmd.c#L39) | Only `string.h`. Pure word builders. | -| Constant-bank builders | [qmd.c:153-209](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_qmd.c#L153) | Pure. But see the caveat below. | -| Code buffer sizing (2 KB prefetch tail) | [omega_gpu_code_alloc.h](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_code_alloc.h#L19) | Header only, "no device, no physics headers". | -| Engine state machine, latch, job and result types | [omega_gpu_engine.h/.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.c#L299) | Driver-free. Needs only a clock and atomics. | -| Method header builder `nvrm_mthd` | [nvrm.h:112-114](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L112) | Static inline arithmetic. Lives in a Linux header today. It should move to a shared encoding header (cut A "factor shared hardware encoding"). | -| GP entry encoder `nvrm_gp_entry` | [nvrm.c:715](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L715) | Pure arithmetic; declared in `nvrm.h`. Same move. | -| Pushbuffer assembly (launch method stream) | [session.c:232-270](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L232) | Builds words in a local array. Only the submit and wait calls are driver-tied. Today this logic is duplicated across [session.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L22), [blackwell_submit.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L19), [blackwell_engine.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L301), [accelerator_world.c](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L980) and the numeric launchers. INFERRED (medium): a single shared builder is a precondition for a clean port. | -| AIENOS pure BAR/identity decoding | [crates/aienos-accel/src/lib.rs](https://github.com/aien-dev/aienos/blob/fa209e454dda90d933076e5fd1f333731fd9a3c1/crates/aienos-accel/src/lib.rs) | Per issue; not re-read here. | +| Blackwell instruction IR, register allocator, encoder | [omega_blackwell_codegen.h](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_codegen.h#L170) (`omega_bw_ir_*`, `omega_bw_regalloc_solve`, `omega_bw_encode_program`), [.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_codegen.c#L8) | Includes only `stdio`, `stdlib`, `string`, `sha256.h` and a submit header ([codegen.c:1-6](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_codegen.c#L1)). No device calls. Heap (`stdlib`) use is CPU-side. INFERRED (medium) that it builds freestanding once a heap and `snprintf` exist. Note it includes `omega_blackwell_submit.h` (the Linux path header), which must be checked for pulling in `m16_native.h`. UNKNOWN. | +| Matmul and attention codegen entry points | [codegen.h:197-232](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_codegen.h#L197) | Pure functions from spec to code bytes. | +| QMD builders and invariant check | [omega_blackwell_qmd.h:44-66](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_qmd.h#L44), [.c:39-237](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_qmd.c#L39) | Only `string.h`. Pure word builders. | +| Constant-bank builders | [qmd.c:153-209](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_qmd.c#L153) | Pure. But see the caveat below. | +| Code buffer sizing (2 KB prefetch tail) | [omega_gpu_code_alloc.h](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_code_alloc.h#L19) | Header only, "no device, no physics headers". | +| Engine state machine, latch, job and result types | [omega_gpu_engine.h/.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_engine.c#L299) | Driver-free. Needs only a clock and atomics. | +| Method header builder `nvrm_mthd` | [nvrm.h:112-114](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L112) | Static inline arithmetic. Lives in a Linux header today. It should move to a shared encoding header (cut A "factor shared hardware encoding"). | +| GP entry encoder `nvrm_gp_entry` | [nvrm.c:715](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L715) | Pure arithmetic; declared in `nvrm.h`. Same move. | +| Pushbuffer assembly (launch method stream) | [session.c:232-270](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L232) | Builds words in a local array. Only the submit and wait calls are driver-tied. Today this logic is duplicated across [session.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L22), [blackwell_submit.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L19), [blackwell_engine.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_engine.c#L301), [accelerator_world.c](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_accelerator_world.c#L980) and the numeric launchers. INFERRED (medium): a single shared builder is a precondition for a clean port. | +| AIENOS pure BAR/identity decoding | [crates/aienos-accel/src/lib.rs](https://github.com/aien-spark/aienos/blob/fa209e454dda90d933076e5fd1f333731fd9a3c1/crates/aienos-accel/src/lib.rs) | Per issue; not re-read here. | ### Caveats on "reusable" -- The constant bank 0 template is "empirically captured from physical Blackwell GB10 compute channel bring-up" ([qmd.c:4-7](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_qmd.c#L4), 224 words, [L8](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_qmd.c#L8)). It is patched at four word positions with the bank address ([L155-165](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_qmd.c#L155)); other words may encode values RM chose for this context. The header marks this class of data `EPISTEMIC_REVERSE_ENGINEERED` ([qmd.h:18](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_qmd.h#L18)). Whether the other words are constant across contexts is UNKNOWN. -- The 18-word setup prefix `SETUP_WORDS` ([session.c:22](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L22), [submit.c:19](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L19)) programs compute-class state words. Which of these RM would otherwise have set, and whether a native context needs them, is UNKNOWN. -- The QMD takes a `scratch_va` and a semaphore address placed in session scratch ([session.c:214](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L214)). Per-context local-memory setup that normally precedes such launches is not visible in our source. UNKNOWN. +- The constant bank 0 template is "empirically captured from physical Blackwell GB10 compute channel bring-up" ([qmd.c:4-7](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_qmd.c#L4), 224 words, [L8](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_qmd.c#L8)). It is patched at four word positions with the bank address ([L155-165](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_qmd.c#L155)); other words may encode values RM chose for this context. The header marks this class of data `EPISTEMIC_REVERSE_ENGINEERED` ([qmd.h:18](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_qmd.h#L18)). Whether the other words are constant across contexts is UNKNOWN. +- The 18-word setup prefix `SETUP_WORDS` ([session.c:22](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L22), [submit.c:19](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_submit.c#L19)) programs compute-class state words. Which of these RM would otherwise have set, and whether a native context needs them, is UNKNOWN. +- The QMD takes a `scratch_va` and a semaphore address placed in session scratch ([session.c:214](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_session.c#L214)). Per-context local-memory setup that normally precedes such launches is not visible in our source. UNKNOWN. ### Linux-only @@ -240,19 +240,19 @@ Where it may bite here. A GPU channel is the likely domain-1 kernel channel (INF ## 8. Known unknowns -1. PARTLY RESOLVED 2026-10-12 (docs/GB10_FIRMWARE_INVENTORY.md): the blobs, versions, digests, the SEC2-boots-GSP-FMC path on GB10B and the licence limits are now inventoried from the public driver source at tag 580.173.02; what is public: everything the host hands to the chip. Still UNKNOWN: the COT payload and WPR-meta layouts, SEC2 preconditions at AIENOS entry, and the mandatory RPC subset (inventory section 8). Our source contains none of it (RM does it, [nvrm.c:223](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L223)). Still blocks the machine-side part of cut C. +1. PARTLY RESOLVED 2026-10-12 (docs/GB10_FIRMWARE_INVENTORY.md): the blobs, versions, digests, the SEC2-boots-GSP-FMC path on GB10B and the licence limits are now inventoried from the public driver source at tag 580.173.02; what is public: everything the host hands to the chip. Still UNKNOWN: the COT payload and WPR-meta layouts, SEC2 preconditions at AIENOS entry, and the mandatory RPC subset (inventory section 8). Our source contains none of it (RM does it, [nvrm.c:223](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.c#L223)). Still blocks the machine-side part of cut C. 2. UNKNOWN: GPU MMU page-table format, TLB invalidation and fault-reporting registers on GB10, as implemented by the pinned driver. Our code only requests mappings. 3. UNKNOWN: how the work-submit token is derived and the channel is made runnable without RM (`GET_WORK_SUBMIT_TOKEN`, `GPFIFO_SCHEDULE`). 4. UNKNOWN: which words of the captured constant bank 0 template and the 18-word setup prefix are context-independent versus values RM chose. Needed before a native context can reuse the Omega QMD and cbank builders. 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-dev/aienos/blob/fa209e454dda90d933076e5fd1f333731fd9a3c1/docs/GB10_PLATFORM_TOPOLOGY.md) not re-read here). +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-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_blackwell_codegen.c#L2)); whether that header pulls in Linux types was not checked. +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. 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. -12. UNKNOWN: relationship of Xid 31 fault in omega#323 (padded code fix) to a native page-fault handler. The padding cause is INFERRED in the source comment itself ([omega_gpu_code_alloc.h:8-10](https://github.com/aien-dev/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_code_alloc.h#L8)). -13. UNKNOWN: whether the 4096-entry fixed tables in `Nvrm` ([nvrm.h:15-16](https://github.com/aien-dev/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L15)) are the right bound for a native allocator. +12. UNKNOWN: relationship of Xid 31 fault in omega#323 (padded code fix) to a native page-fault handler. The padding cause is INFERRED in the source comment itself ([omega_gpu_code_alloc.h:8-10](https://github.com/aien-spark/omega/blob/2ae8677c604fb1b9566d27412cff7b0339e5df55/src/omega_gpu_code_alloc.h#L8)). +13. UNKNOWN: whether the 4096-entry fixed tables in `Nvrm` ([nvrm.h:15-16](https://github.com/aien-spark/physics/blob/6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf/nvrm/nvrm.h#L15)) are the right bound for a native allocator. ## 9. Scope and limits of this document diff --git a/docs/GB10_PLATFORM_TOPOLOGY.md b/docs/GB10_PLATFORM_TOPOLOGY.md index 4aafead7..507ac90f 100644 --- a/docs/GB10_PLATFORM_TOPOLOGY.md +++ b/docs/GB10_PLATFORM_TOPOLOGY.md @@ -5,7 +5,7 @@ and compares them against what the existing AIENOS UEFI discovery path already assumes. It is a Linux and firmware observation exercise. It does not initialize the GPU or submit a command. -Governing: issue [#36](https://github.com/aien-dev/aienos/issues/36), +Governing: issue [#36](https://github.com/aien-spark/aienos/issues/36), [GB10_HARDWARE_PROFILE.md](GB10_HARDWARE_PROFILE.md), [GB10_NATIVE_STATUS.md](GB10_NATIVE_STATUS.md). diff --git a/docs/GB10_REGISTER_LEDGER.md b/docs/GB10_REGISTER_LEDGER.md index 087e16d2..e611324a 100644 --- a/docs/GB10_REGISTER_LEDGER.md +++ b/docs/GB10_REGISTER_LEDGER.md @@ -9,7 +9,7 @@ The repository supports exactly two GB10 registers today: PMC `BOOT_0` and PMC `BOOT_42`. There are no others. If a future milestone establishes more, they are added here with their own evidence. -Governing: issue [#36](https://github.com/aien-dev/aienos/issues/36), +Governing: issue [#36](https://github.com/aien-spark/aienos/issues/36), [GB10_HARDWARE_PROFILE.md](GB10_HARDWARE_PROFILE.md), [GB10_NATIVE_ACCELERATOR_BOUNDARY.md](GB10_NATIVE_ACCELERATOR_BOUNDARY.md). diff --git a/docs/HARDWARE_TEST_RIG.md b/docs/HARDWARE_TEST_RIG.md index 64192b29..87b5046e 100644 --- a/docs/HARDWARE_TEST_RIG.md +++ b/docs/HARDWARE_TEST_RIG.md @@ -6,7 +6,7 @@ M2C power, capture and input stay pending and boots stay attended.** Governing: [ADR 0011](adr/0011-machine-1-hardware-test-rig.md), [MILESTONES.md gate M2C](MILESTONES.md), [NATIVE_BOOT_ONE_TIME.md](NATIVE_BOOT_ONE_TIME.md), -issue [#25](https://github.com/aien-dev/aienos/issues/25). +issue [#25](https://github.com/aien-spark/aienos/issues/25). ## Why @@ -47,7 +47,7 @@ part is replaceable with an equivalent. | Power/reset buttons | 2x reed or opto-isolated reed relays (for example Omron G3VM SIP MOSFET relays) | One across the Spark front-panel power-header pins, one across the reset-header pins; momentary closure only | ~4 USD | | Display capture | USB 3 HDMI capture dongle, UVC class, 1080p60 (for example an MS2109 or MS2130 based dongle) | Spark HDMI out to dongle input; appears as a webcam on the Pi; loop-through port passes the desk monitor | ~20 to 40 USD | | Input emulation | The Pi itself, USB OTG port in HID gadget mode (Linux `configfs`, `dwc2` overlay) | Presents a standard USB boot-protocol keyboard to the Spark | included | -| Console capture | Pi GPIO UART (TX/RX) wired to the Spark UART at `0x16A00000` | Bounded serial console once [#22](https://github.com/aien-dev/aienos/issues/22) lands; 3.3 V levels only | jumper wires | +| Console capture | Pi GPIO UART (TX/RX) wired to the Spark UART at `0x16A00000` | Bounded serial console once [#22](https://github.com/aien-spark/aienos/issues/22) lands; 3.3 V levels only | jumper wires | | Enclosure and safety | Fused mains inlet box for the relay, insulated standoffs, labeled header leads | Mains stays in a closed, fused box; low voltage leaves it | ~20 USD | Total new spend is roughly 50 to 70 USD. No part is on the Spark's boot @@ -95,7 +95,7 @@ Two capture paths, both terminating on the Pi: lists as a gap. - **UART**: the kernel already has a bounded 16550-style UART writer at `0x16A00000`, 921600 baud (`crates/aienos-kernel/src/arch/aarch64.rs`), - skipped on the first boot because GB10 discovery failed. Once [#22](https://github.com/aien-dev/aienos/issues/22) + skipped on the first boot because GB10 discovery failed. Once [#22](https://github.com/aien-spark/aienos/issues/22) (SPCR-based discovery) lands, the Pi's GPIO UART records it at 3.3 V levels. Until then, HDMI capture is the only post-exit record and stays mandatory. @@ -109,7 +109,7 @@ The Pi's OTG port runs the Linux HID gadget (`configfs` + `dwc2`) and appears to the Spark as a plain USB keyboard. The gadget implements the HID boot protocol, so it works in the firmware setup screen and boot menu where no OS driver exists, and later against the native xHCI/HID driver from -[#24](https://github.com/aien-dev/aienos/issues/24). +[#24](https://github.com/aien-spark/aienos/issues/24). Boot selection is deterministic: the rig never types blind. Each scripted sequence is a list of (wait for capture frame matching X, send keystrokes Y) @@ -130,7 +130,7 @@ one exact commit, same rule as the staged image. ## Serialization through `aien-proof` `aien-proof` and its `machine-1` resource lock live in the -[aien-sovereign-core](https://github.com/aien-dev/aien-sovereign-core) +[aien-sovereign-core](https://github.com/aien-spark/aien-sovereign-core) repository; this repository holds the rig design and the contract the control surface must meet. The contract is the one already used for staging: @@ -185,7 +185,7 @@ TRUST-1 100-boot campaign without a person in front of the machine. sees a UVC device and a frame. 5. Enable the HID gadget on the Pi OTG port; verify the Spark firmware sees a keyboard (boot-menu navigation by script). -6. Wire the UART (3.3 V only); leave it disconnected until [#22](https://github.com/aien-dev/aienos/issues/22) +6. Wire the UART (3.3 V only); leave it disconnected until [#22](https://github.com/aien-spark/aienos/issues/22) makes the Spark side real. 7. Run the attended procedure once under the rig, end to end, and record the ledger events as the rig's commissioning evidence. diff --git a/docs/MILESTONES.md b/docs/MILESTONES.md index 3c4bc862..d016beac 100644 --- a/docs/MILESTONES.md +++ b/docs/MILESTONES.md @@ -1,6 +1,6 @@ # AIENOS Architectural Milestones Matrix & Execution Plan -> **REFERENCE MILESTONE SPECIFICATION, NOT THE CURRENT EXECUTION ORDER.** Current AIENOS sequencing and status are in [../ROADMAP.md](../ROADMAP.md). Whole-system sequencing is owned by `aien-dev/aien-architecture/CURRENT_EXECUTION_PLAN.md`. See [PLAN_AUTHORITY.md](PLAN_AUTHORITY.md). +> **REFERENCE MILESTONE SPECIFICATION, NOT THE CURRENT EXECUTION ORDER.** Current AIENOS sequencing and status are in [../ROADMAP.md](../ROADMAP.md). Whole-system sequencing is owned by `aien-spark/aien-architecture/CURRENT_EXECUTION_PLAN.md`. See [PLAN_AUTHORITY.md](PLAN_AUTHORITY.md). **Status:** Reference Architectural Specification; execution order superseded by `../ROADMAP.md` **Version:** 1.0.0 diff --git a/docs/NATIVE_PACKAGE.md b/docs/NATIVE_PACKAGE.md index 6ba15247..fd2798f6 100644 --- a/docs/NATIVE_PACKAGE.md +++ b/docs/NATIVE_PACKAGE.md @@ -32,7 +32,7 @@ with the release candidate." | Group | Lines | |---|---| -| Source revision | `format 3`, `repo aien-dev/aienos`, `commit <40 hex>`, `commit_time `, `tree_clean yes` (`no` only for test builds with `--allow-dirty`) | +| Source revision | `format 3`, `repo aien-spark/aienos`, `commit <40 hex>`, `commit_time `, `tree_clean yes` (`no` only for test builds with `--allow-dirty`) | | What was asked for | `variant`, `generation`, `policy_generation`, `min_rollback_generation` | | Toolchain | `toolchain_cross ` (the `CROSS` value the kernel Makefile resolves, asked from make itself), `toolchain_cc`, `toolchain_ld`, `toolchain_objcopy` (first line of `gcc/ld/objcopy --version`), `toolchain_make` (first line of `make --version`), `build_host_arch` (`uname -m`) | | Inputs | `input_make_goal` (`all` for core, `full` otherwise), `input_make_vars` (`none`, or `CK_HARDWARE_STAGING=1 CK_OWNER_PUBKEYS=sha256: CK_MACHINE_ID=sha256:`), `input_env_ck none` (any `CK_*` in the environment or in an outer make's `MAKEFLAGS` is refused, so nothing unrecorded selects the image), `input_makefile_sha256` (`native/kernel/Makefile`), `input_image_ld_sha256` (`native/boot/image.ld`), `pin ` per `--pins` line, `model_bytes`/`model_sha256` from `--model`, `firmware ` per `--firmware`, and for the staging variant `owner_pubkeys_sha256` and `machine_id_sha256` | diff --git a/docs/P3_NVME_CONTROLLER_AUDIT.md b/docs/P3_NVME_CONTROLLER_AUDIT.md index 56d5408f..8ece5f07 100644 --- a/docs/P3_NVME_CONTROLLER_AUDIT.md +++ b/docs/P3_NVME_CONTROLLER_AUDIT.md @@ -1,6 +1,6 @@ # D1 - NVMe Controller-State Audit (AIENOS P3 Native NVMe Read Substrate) -Repo: `aien-dev/aienos` @ baseline `ff5de9c` +Repo: `aien-spark/aienos` @ baseline `ff5de9c` Mirror (read-only): `/Users/drakestapleton/aienos-p3` Scope: `crates/aienos-kernel/src/nvme.rs`, `crates/aienos-kernel/src/nvme/driver.rs`, `crates/aienos-kernel/src/block.rs` Reference model: NVMe Base Specification (CAP / VS / CC / CSTS / AQA / ASQ / ACQ register layout; Identify Controller/Namespace layouts). diff --git a/docs/P3_NVME_FLUSH_REVIEW.md b/docs/P3_NVME_FLUSH_REVIEW.md index 21edf764..ca70f7b6 100644 --- a/docs/P3_NVME_FLUSH_REVIEW.md +++ b/docs/P3_NVME_FLUSH_REVIEW.md @@ -1,6 +1,6 @@ # D2 Flush Review - AIENOS P3 NVMe Flush lane -Base: `aien-dev/aienos` @ `ef359ec` (read-only mirror `/Users/drakestapleton/aienos-nvme-rw`). +Base: `aien-spark/aienos` @ `ef359ec` (read-only mirror `/Users/drakestapleton/aienos-nvme-rw`). Files read in full: `crates/aienos-kernel/src/nvme.rs`, `crates/aienos-kernel/src/nvme/driver.rs`, `crates/aienos-kernel/src/block.rs`. Companion tests: `nvme-rw-subagents/d2/nvme_flush.rs` (target `crates/aienos-kernel/tests/nvme_flush.rs`). diff --git a/docs/P3_NVME_READ_SUBSTRATE.md b/docs/P3_NVME_READ_SUBSTRATE.md index 5d338073..36964b9b 100644 --- a/docs/P3_NVME_READ_SUBSTRATE.md +++ b/docs/P3_NVME_READ_SUBSTRATE.md @@ -1,6 +1,6 @@ # D5 - P3 Native NVMe Read Substrate: adapter and wiring design -Baseline: `aien-dev/aienos` @ `ff5de9c` (mirror `/Users/drakestapleton/aienos-p3`). +Baseline: `aien-spark/aienos` @ `ff5de9c` (mirror `/Users/drakestapleton/aienos-p3`). Lane: P3 Native NVMe Read Substrate. Deliverable: the native adapter/wiring that lets the AIENOS handoff image drive an NVMe controller directly after firmware exit, plus the QEMU harness `scripts/qemu_nvme_test.sh` (this directory's diff --git a/docs/P3_NVME_UNSAFE_ASSUMPTIONS.md b/docs/P3_NVME_UNSAFE_ASSUMPTIONS.md index dcfda46c..049693c6 100644 --- a/docs/P3_NVME_UNSAFE_ASSUMPTIONS.md +++ b/docs/P3_NVME_UNSAFE_ASSUMPTIONS.md @@ -1,6 +1,6 @@ # D1 - Unsupported / Unsafe Assumptions (prioritized) -Repo: `aien-dev/aienos` @ `ff5de9c`. Read-only audit; no repo edits, no cargo, no hardware. +Repo: `aien-spark/aienos` @ `ff5de9c`. Read-only audit; no repo edits, no cargo, no hardware. Only assumptions that are **UNSUPPORTED** or **UNSAFE-IF-DEVIATES** are listed. Each entry gives the minimal change. diff --git a/docs/P3_NVME_WRITE_DMA_REVIEW.md b/docs/P3_NVME_WRITE_DMA_REVIEW.md index d57a9194..adc765cc 100644 --- a/docs/P3_NVME_WRITE_DMA_REVIEW.md +++ b/docs/P3_NVME_WRITE_DMA_REVIEW.md @@ -1,6 +1,6 @@ # D6 - SMMU / DMA review: P3 Native NVMe Write + Flush lane -Repo: `aien-dev/aienos`, base `ef359ec` (mirror `/Users/drakestapleton/aienos-nvme-rw`). +Repo: `aien-spark/aienos`, base `ef359ec` (mirror `/Users/drakestapleton/aienos-nvme-rw`). Scope: read-only review of the DMA/SMMU authority that a future write+flush lane would inherit from the existing read substrate. No edits, no cargo, no hardware. diff --git a/docs/P3_NVME_WRITE_FLUSH_SUBSTRATE.md b/docs/P3_NVME_WRITE_FLUSH_SUBSTRATE.md index da931625..b26f92b8 100644 --- a/docs/P3_NVME_WRITE_FLUSH_SUBSTRATE.md +++ b/docs/P3_NVME_WRITE_FLUSH_SUBSTRATE.md @@ -15,7 +15,7 @@ at `nvme-rw-subagents/d5/qemu_nvme_rw_test.sh`). Companion to the merged read qualification `scripts/qemu_nvme_test.sh` and follows the mode conventions of `scripts/qemu_keyboard_test.sh`. -Base: `aien-dev/aienos` @ `ef359ec`. Read-only against the repo; no repo edits, +Base: `aien-spark/aienos` @ `ef359ec`. Read-only against the repo; no repo edits, no `cargo`, no `qemu`, no hardware, no Python. ## 1. What is being proved diff --git a/docs/P3_NVME_WRITE_REVIEW.md b/docs/P3_NVME_WRITE_REVIEW.md index 525b9d20..356b74d7 100644 --- a/docs/P3_NVME_WRITE_REVIEW.md +++ b/docs/P3_NVME_WRITE_REVIEW.md @@ -1,6 +1,6 @@ # D1 Write-Path Correctness Review - AIENOS P3 Native NVMe Write + Flush -Repo: aien-dev/aienos @ `ef359ec` (mirror `/Users/drakestapleton/aienos-nvme-rw`, read-only). +Repo: aien-spark/aienos @ `ef359ec` (mirror `/Users/drakestapleton/aienos-nvme-rw`, read-only). Scope: `crates/aienos-kernel/src/nvme.rs` (`Submission::write`, `io_command`, `build_prps`, `Completion`) and `crates/aienos-kernel/src/nvme/driver.rs` (`transfer`, `submit_io`, `write_blocks`/`read_blocks`/`flush`). diff --git a/docs/PHASE_3_TO_5_SPECIFICATION.md b/docs/PHASE_3_TO_5_SPECIFICATION.md index 40fd2ee4..f2cc8d2c 100644 --- a/docs/PHASE_3_TO_5_SPECIFICATION.md +++ b/docs/PHASE_3_TO_5_SPECIFICATION.md @@ -1,6 +1,6 @@ # AIENOS: Technical Specification & Contracts (Phases 3 – 5) -> **REFERENCE TECHNICAL SPECIFICATION, NOT AN ACTIVE ROADMAP.** Current AIENOS sequencing is [../ROADMAP.md](../ROADMAP.md). Whole-system sequencing is owned by `aien-dev/aien-architecture/CURRENT_EXECUTION_PLAN.md`. See [PLAN_AUTHORITY.md](PLAN_AUTHORITY.md). +> **REFERENCE TECHNICAL SPECIFICATION, NOT AN ACTIVE ROADMAP.** Current AIENOS sequencing is [../ROADMAP.md](../ROADMAP.md). Whole-system sequencing is owned by `aien-spark/aien-architecture/CURRENT_EXECUTION_PLAN.md`. See [PLAN_AUTHORITY.md](PLAN_AUTHORITY.md). > **Status:** Reference Architecture/Contract Snapshot > **Target:** Native Agent Wakeup, Epistemic Memory, Capability Enforcement, and C1 Branch-Native Compute diff --git a/docs/PLAN_AUTHORITY.md b/docs/PLAN_AUTHORITY.md index d9398fc7..09bc059e 100644 --- a/docs/PLAN_AUTHORITY.md +++ b/docs/PLAN_AUTHORITY.md @@ -9,10 +9,10 @@ AIENOS is one component of the wider AIEN project. Whole-system architecture and cross-project sequencing are owned by: -- https://github.com/aien-dev/aien-architecture/blob/main/PLAN_AUTHORITY.md -- https://github.com/aien-dev/aien-architecture/blob/main/CURRENT_EXECUTION_PLAN.md -- https://github.com/aien-dev/aien-architecture/blob/main/doctrine/ARCHITECTURE.md -- https://github.com/aien-dev/aien-architecture/blob/main/doctrine/ROADMAP.md +- https://github.com/aien-spark/aien-architecture/blob/main/PLAN_AUTHORITY.md +- https://github.com/aien-spark/aien-architecture/blob/main/CURRENT_EXECUTION_PLAN.md +- https://github.com/aien-spark/aien-architecture/blob/main/doctrine/ARCHITECTURE.md +- https://github.com/aien-spark/aien-architecture/blob/main/doctrine/ROADMAP.md AIENOS must not create a competing whole-system master plan. diff --git a/docs/RECOVERY_MEDIA_MACHINE1.md b/docs/RECOVERY_MEDIA_MACHINE1.md index d4412750..2b38bd4d 100644 --- a/docs/RECOVERY_MEDIA_MACHINE1.md +++ b/docs/RECOVERY_MEDIA_MACHINE1.md @@ -12,7 +12,7 @@ > stick: use it only from Ubuntu. This procedure builds and exercises the bootable recovery USB for -[issue #17](https://github.com/aien-dev/aienos/issues/17) and TRUST-1 Gate 1. +[issue #17](https://github.com/aien-spark/aienos/issues/17) and TRUST-1 Gate 1. The physical run on 2026-09-25 booted the USB once, mounted the internal root and ESP read-only, checked the fallback loader and recovery tools, and returned to Ubuntu. It made no filesystem or firmware changes. The evidence diff --git a/docs/SEED0B_MACHINE1_QUALIFICATION.md b/docs/SEED0B_MACHINE1_QUALIFICATION.md index 75c47142..4619a749 100644 --- a/docs/SEED0B_MACHINE1_QUALIFICATION.md +++ b/docs/SEED0B_MACHINE1_QUALIFICATION.md @@ -22,7 +22,7 @@ enrolls no key, and it changes no trust state. ## Blocking prerequisites (all required; stop if any is missing) -1. **TRUST-1 owner-signed boot chain** ([#40](https://github.com/aien-dev/aienos/issues/40)). +1. **TRUST-1 owner-signed boot chain** ([#40](https://github.com/aien-spark/aienos/issues/40)). Native Machine 1 boots are paused by operator decision (2026-09-24): turning Secure Boot off changes TPM PCR 7 and breaks the secrets sealed to it. **Secure Boot was kept on at the time of this decision. Update 2026-10-01: Secure Boot is OFF for development by owner decision; the TPM stores were relocked under PCR 7 with it off (`~/handoffs/secure-boot-off/after-restart.sh`). A release image must still be signed by the TRUST-1 chain.** The qualification image must therefore diff --git a/docs/SYSTEMS_INTEGRATION_SEQUENCE.md b/docs/SYSTEMS_INTEGRATION_SEQUENCE.md index bf0a396b..2d12efff 100644 --- a/docs/SYSTEMS_INTEGRATION_SEQUENCE.md +++ b/docs/SYSTEMS_INTEGRATION_SEQUENCE.md @@ -1,6 +1,6 @@ # AIENOS Systems Integration Sequence & Epistemic Calibration -> **HISTORICAL INTEGRATION SEQUENCE, SUPERSEDED AS EXECUTION ORDER.** Preserve this document for rationale and acceptance-history context. Current AIENOS sequencing is [../ROADMAP.md](../ROADMAP.md). Whole-system sequencing is owned by `aien-dev/aien-architecture/CURRENT_EXECUTION_PLAN.md`. See [PLAN_AUTHORITY.md](PLAN_AUTHORITY.md). +> **HISTORICAL INTEGRATION SEQUENCE, SUPERSEDED AS EXECUTION ORDER.** Preserve this document for rationale and acceptance-history context. Current AIENOS sequencing is [../ROADMAP.md](../ROADMAP.md). Whole-system sequencing is owned by `aien-spark/aien-architecture/CURRENT_EXECUTION_PLAN.md`. See [PLAN_AUTHORITY.md](PLAN_AUTHORITY.md). > **Status:** Historical Integration Framework; execution order superseded by `../ROADMAP.md` > **Authority:** Operator Directive (2026-09-23) diff --git a/docs/TRUST-1-M5-GATE-MATRIX.md b/docs/TRUST-1-M5-GATE-MATRIX.md index 39e79a3a..218e616c 100644 --- a/docs/TRUST-1-M5-GATE-MATRIX.md +++ b/docs/TRUST-1-M5-GATE-MATRIX.md @@ -59,7 +59,7 @@ for 9d41efc; its three C-kernel QEMU rows (`ck_m1_boot_qemu`, `ck_store_kernel_q `ck_argus1_revoke_qemu`) are STALE and are replaced by the same gates in the 640522a `ck_gates` receipt (rows M1, M4_STORE, ARGUS1_REVOKE all PASS there). -GitHub CI on 9d41efc (OBSERVED, `gh run list -R aien-dev/aienos -b main`): Native suites, +GitHub CI on 9d41efc (OBSERVED, `gh run list -R aien-spark/aienos -b main`): Native suites, Crypto boundary, Crumb compiler, Push on main and "C kernel (CK) gates" (run 37257444148) all concluded success (CK gates checked again at 03:29Z on 2026-10-05; it was still in progress at 03:23Z). The CK run is a QEMU-only check. diff --git a/docs/adr/.crumb b/docs/adr/.crumb index 7e32f69a..16b9e5a4 100644 --- a/docs/adr/.crumb +++ b/docs/adr/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-13T14:14:52Z", + "compiled_at": "2026-10-14T01:16:45Z", "compiler": "crumb-compile/1", - "digest": "sha256:e924f0b65fb4e4c81984c39226ae714352e9b36610353df4ad9dd13106e3ba86", + "digest": "sha256:e84f072935b7d6d9f5a7bcaedb3fc366b4f73f8f609abcc2ea450e65665c64fa", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 23, - "generated_at_commit": "dbcc8133ea836912906f685ebe3198e844ee3efd", - "source_tree": "sha256:fec3e141adbfedffd581ee5ba8e9c3e14f58baa2685fa1ec1e42651acecbf236" + "generated_at_commit": "f78977a6ce33ea89a5b3b1952c0a0e403d4504fa", + "source_tree": "sha256:45ba8a61db7b8af23a680740d4ca9545ba9d53c36d42bf59802459d3555051b3" }, "owner_lane": "", "provenance": { diff --git a/docs/adr/0010-fabric-machine-identity-and-capability-advertisement.md b/docs/adr/0010-fabric-machine-identity-and-capability-advertisement.md index 70ed0a4d..de204966 100644 --- a/docs/adr/0010-fabric-machine-identity-and-capability-advertisement.md +++ b/docs/adr/0010-fabric-machine-identity-and-capability-advertisement.md @@ -3,7 +3,7 @@ Status: Proposed. Open for early discussion per -[issue #37](https://github.com/aien-dev/aienos/issues/37). Not yet accepted. +[issue #37](https://github.com/aien-spark/aienos/issues/37). Not yet accepted. Nothing in this record is active before native networking ([M6](../MILESTONES.md)) and the preconditions below are met. No code is mandated by this record. diff --git a/docs/adr/0011-machine-1-hardware-test-rig.md b/docs/adr/0011-machine-1-hardware-test-rig.md index d7d2de9b..5f438080 100644 --- a/docs/adr/0011-machine-1-hardware-test-rig.md +++ b/docs/adr/0011-machine-1-hardware-test-rig.md @@ -5,7 +5,7 @@ before maintainers wire anything. It does not change the boot architecture. Governing: [MILESTONES.md gate M2C](../MILESTONES.md), [HARDWARE_TEST_RIG.md](../HARDWARE_TEST_RIG.md), [NATIVE_BOOT_ONE_TIME.md](../NATIVE_BOOT_ONE_TIME.md), -issue [#25](https://github.com/aien-dev/aienos/issues/25). +issue [#25](https://github.com/aien-spark/aienos/issues/25). ## Context @@ -27,14 +27,14 @@ existing Raspberry Pi controller, with the parts list and wiring in 2. **Display and console capture**: a UVC HDMI capture dongle with loop-through on the Spark's display output, and the Pi GPIO UART for the Spark console once SPCR-based UART discovery - ([#22](https://github.com/aien-dev/aienos/issues/22)) exists. + ([#22](https://github.com/aien-spark/aienos/issues/22)) exists. 3. **Deterministic input and boot selection**: the Pi USB OTG port as an HID boot-protocol keyboard gadget, driven by scripted, capture-verified keystroke sequences. All three functions are serialized through `aien-proof hold --resource machine-1`, whose implementation and ledger live -in the [aien-sovereign-core](https://github.com/aien-dev/aien-sovereign-core) +in the [aien-sovereign-core](https://github.com/aien-spark/aien-sovereign-core) repository. This repository holds the design, the operating contract and the versioned boot sequences. @@ -66,10 +66,10 @@ versioned boot sequences. post-exit drawing gap in the M2 evidence becomes a capture artifact named in the ledger payload. - Recovery-media testing - ([#17](https://github.com/aien-dev/aienos/issues/17)) and the TRUST-1 + ([#17](https://github.com/aien-spark/aienos/issues/17)) and the TRUST-1 100-boot campaign can run without a person at the machine. - The HID gadget becomes the hardware test target for the native xHCI/HID - keyboard driver ([#24](https://github.com/aien-dev/aienos/issues/24)). + keyboard driver ([#24](https://github.com/aien-spark/aienos/issues/24)). - `aien-proof` gains rig commands under the existing `machine-1` resource lock; that work lands in aien-sovereign-core, not here. - The rig is removed piece by piece only if a native path replaces it (for diff --git a/docs/adr/0013-aienos-abi-v1.md b/docs/adr/0013-aienos-abi-v1.md index 13c068cd..120c396f 100644 --- a/docs/adr/0013-aienos-abi-v1.md +++ b/docs/adr/0013-aienos-abi-v1.md @@ -2,7 +2,7 @@ Status: Proposed Date: 2026-09-24 -Governing: [ADR 0012](0012-self-construction-capability-growth-and-generations.md) (rule 5: no native admission without enforcement), [issue #30](https://github.com/aien-dev/aienos/issues/30) (IPC and capability handles), [PR #106](https://github.com/aien-dev/aienos/pull/106) (typed IPC). +Governing: [ADR 0012](0012-self-construction-capability-growth-and-generations.md) (rule 5: no native admission without enforcement), [issue #30](https://github.com/aien-spark/aienos/issues/30) (IPC and capability handles), [PR #106](https://github.com/aien-spark/aienos/pull/106) (typed IPC). Code: [`crates/aienos-kernel/src/abi.rs`](../../crates/aienos-kernel/src/abi.rs). ## Context diff --git a/docs/adr/0014-binary-artifact-v0-and-native-admission.md b/docs/adr/0014-binary-artifact-v0-and-native-admission.md index 9b538fdc..4eacc830 100644 --- a/docs/adr/0014-binary-artifact-v0-and-native-admission.md +++ b/docs/adr/0014-binary-artifact-v0-and-native-admission.md @@ -456,7 +456,7 @@ This note adds to section 6 and does not change the status of this ADR or any ot Section 6 allows a `seed0b-test-anchor` build to add "one known qualification public key". Today that key is the RFC 8032 TEST 1 public key (`d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a`, signer fingerprint `21fe31dfa154a261626bf854046fd2271b7bed4b6abe45aa58877ef47f9721b9`). It verifies Binary Artifact v0. -The OSC unit container ([aien-protocols](https://github.com/aien-dev/aien-protocols) `specs/osc-unit-artifact`, PR #17, v1 draft) is a different format with its own conformance vectors. Those vectors are signed with a different throwaway key, `keys/test1.pub` of that spec, whose signer fingerprint is `7b136f1c9197f8a99a91057f5deced18d5754669e559ee7cc4f7cef64a626abf`. It is not the RFC 8032 TEST 1 key. +The OSC unit container ([aien-protocols](https://github.com/aien-spark/aien-protocols) `specs/osc-unit-artifact`, PR #17, v1 draft) is a different format with its own conformance vectors. Those vectors are signed with a different throwaway key, `keys/test1.pub` of that spec, whose signer fingerprint is `7b136f1c9197f8a99a91057f5deced18d5754669e559ee7cc4f7cef64a626abf`. It is not the RFC 8032 TEST 1 key. Amendment: a `seed0b-test-anchor` qualification build may also hold the OSC unit spec's TEST key (`specs/osc-unit-artifact/keys/test1.pub`, fingerprint `7b136f1c9197f8a99a91057f5deced18d5754669e559ee7cc4f7cef64a626abf`), beside the RFC 8032 TEST 1 key. The OSC unit admission path trusts only the spec key and Binary Artifact v0 admission trusts only the RFC 8032 key; neither key is accepted on the other path. @@ -468,7 +468,7 @@ Observation, no change made here: the `execution_status` mapping text in section ## Amendment, 2026-10-08: the OSC unit is a second container type -This amendment does not change the status of this ADR, the Binary Artifact v0 encoding, its limits, its rejection reasons, its receipt, or its trust anchor. It records how the OSC unit container ([aien-protocols](https://github.com/aien-dev/aien-protocols) `specs/osc-unit-artifact`, PR #17, container version 1) relates to this ADR. It settles conflicts C2 and C3 of that spec's section 15.3 and records the AIENOS position on C1. +This amendment does not change the status of this ADR, the Binary Artifact v0 encoding, its limits, its rejection reasons, its receipt, or its trust anchor. It records how the OSC unit container ([aien-protocols](https://github.com/aien-spark/aien-protocols) `specs/osc-unit-artifact`, PR #17, container version 1) relates to this ADR. It settles conflicts C2 and C3 of that spec's section 15.3 and records the AIENOS position on C1. Decision record: the operator was offered three choices on aienos#277 (record the OSC unit as its own container type; fit it into Binary Artifact v0; or keep it as an unrecorded QEMU-only path) and on 2026-10-08 delegated the choice ("proceed with however you think best"). The orchestrator chose the first, which this amendment writes down. diff --git a/docs/adr/0018-allen-subject-state-object.md b/docs/adr/0018-allen-subject-state-object.md index a5a88752..95d6b96e 100644 --- a/docs/adr/0018-allen-subject-state-object.md +++ b/docs/adr/0018-allen-subject-state-object.md @@ -1,6 +1,6 @@ # ADR 0018: ALLEN Subject State Object (Continuity Kind 24) -Status: **Proposed.** Companion to [ARCH-0035](https://github.com/aien-dev/aien-architecture/blob/main/docs/adr/0035-persistent-cognitive-entity-boundary-allen.md) (Persistent Cognitive Entity Boundary, PROPOSED). Format freeze needs operator approval, as for [ADR 0016](0016-continuity-objects-over-store-v1.md). +Status: **Proposed.** Companion to [ARCH-0035](https://github.com/aien-spark/aien-architecture/blob/main/docs/adr/0035-persistent-cognitive-entity-boundary-allen.md) (Persistent Cognitive Entity Boundary, PROPOSED). Format freeze needs operator approval, as for [ADR 0016](0016-continuity-objects-over-store-v1.md). Related: [ADR 0007](0007-continuous-existence-provisioning-once.md) (Provisioning Once), [ADR 0015](0015-system-store-v1-format.md) (System Store v1), [ADR 0016](0016-continuity-objects-over-store-v1.md) (Continuity Objects), [ADR 0017](0017-m5-key-hierarchy-and-encrypted-store.md) (Sealed Store), omega ARCH-0022 (Cortex), omega R16 (orchestrator retirement). --- diff --git a/docs/adr/0019-per-resource-capability-generation.md b/docs/adr/0019-per-resource-capability-generation.md index 78ea69a7..5dc6c3cb 100644 --- a/docs/adr/0019-per-resource-capability-generation.md +++ b/docs/adr/0019-per-resource-capability-generation.md @@ -3,7 +3,7 @@ Status: Accepted, Option 3 (operator, 2026-10-08). The counter is not built yet; its trigger is tracked in aienos#285. Date: 2026-10-08 Amends: [ADR 0013](0013-aienos-abi-v1.md) (adds a resource generation beside the handle generation), [ADR 0014](0014-binary-artifact-v0-and-native-admission.md) (replaces amendment "the OSC unit is a second container type", point 5). -Governing: [ADR 0012](0012-self-construction-capability-growth-and-generations.md) (rule 5: no native admission without enforcement), [aien-protocols](https://github.com/aien-dev/aien-protocols) `specs/osc-unit-artifact/OSC_UNIT_ARTIFACT.md` (v1 FROZEN, read at `666100969cedb97eded6533906c42307320ea61c`), sections 6.3, 8.2 step 15 and 15.3 C1. +Governing: [ADR 0012](0012-self-construction-capability-growth-and-generations.md) (rule 5: no native admission without enforcement), [aien-protocols](https://github.com/aien-spark/aien-protocols) `specs/osc-unit-artifact/OSC_UNIT_ARTIFACT.md` (v1 FROZEN, read at `666100969cedb97eded6533906c42307320ea61c`), sections 6.3, 8.2 step 15 and 15.3 C1. ## Context diff --git a/docs/adr/README.md b/docs/adr/README.md index 5d5564ae..ff904f80 100644 --- a/docs/adr/README.md +++ b/docs/adr/README.md @@ -15,10 +15,10 @@ This directory documents the key architectural decisions and formal technical sp | [ADR 0007](0007-continuous-existence-provisioning-once.md) | Continuous Existence and Provisioning-Once | Accepted | 2026-09-23 | [`CONTINUOUS_EXISTENCE_AMENDMENT.md`](../CONTINUOUS_EXISTENCE_AMENDMENT.md); [`ARCHITECTURE.md` §1, §10](../ARCHITECTURE.md); [`SYSTEMS_INTEGRATION_SEQUENCE.md` Steps 1–10](../SYSTEMS_INTEGRATION_SEQUENCE.md); [`MILESTONES.md` Phase 3, 6, 8](../MILESTONES.md); [ADR 0005](0005-unified-memory-c1-cow-and-reservation-accounting.md); [ADR 0006](0006-deterministic-recovery-core-and-offline-operator-authority.md) | | [ADR 0008](0008-temporary-bring-up-firmware-report-exception.md) | Temporary bring-up exception: post-handoff firmware report (trigger 11) | Accepted (temporary) | 2026-09-24 | [ADR 0003](0003-bootstrap-firmware-handoff-and-minimal-object-store.md); [`MILESTONES.md` section 0](../MILESTONES.md); [`NATIVE_BOOT_ONE_TIME.md`](../NATIVE_BOOT_ONE_TIME.md) | | [ADR 0009](0009-el2-bootstrap-to-el1h-kernel-transition.md) | Two-Stage Exception Level Architecture (EL2 Bootstrap to EL1h Kernel) | Accepted | 2026-09-24 | [`ARCHITECTURE.md` §3, §6](../ARCHITECTURE.md); [`BLUEPRINT.md` §8, §15](../BLUEPRINT.md); [`MILESTONES.md` Phase 2, 3](../MILESTONES.md) | -| [ADR 0010](0010-fabric-machine-identity-and-capability-advertisement.md) | Fabric Machine Identity and Capability Advertisement | Proposed (post-M6) | 2026-09-24 | [`ARCHITECTURE.md` §2](../ARCHITECTURE.md); [`BLUEPRINT.md` §21, §25, §26](../BLUEPRINT.md); [`MILESTONES.md` Phase 8](../MILESTONES.md); [ADR 0004](0004-reversibility-definition-and-network-effect-boundary.md); [ADR 0007](0007-continuous-existence-provisioning-once.md); [issue #37](https://github.com/aien-dev/aienos/issues/37) | +| [ADR 0010](0010-fabric-machine-identity-and-capability-advertisement.md) | Fabric Machine Identity and Capability Advertisement | Proposed (post-M6) | 2026-09-24 | [`ARCHITECTURE.md` §2](../ARCHITECTURE.md); [`BLUEPRINT.md` §21, §25, §26](../BLUEPRINT.md); [`MILESTONES.md` Phase 8](../MILESTONES.md); [ADR 0004](0004-reversibility-definition-and-network-effect-boundary.md); [ADR 0007](0007-continuous-existence-provisioning-once.md); [issue #37](https://github.com/aien-spark/aienos/issues/37) | | [ADR 0011](0011-machine-1-hardware-test-rig.md) | Machine 1 Hardware Test Rig (Power, Capture, Input) | Proposed | 2026-09-24 | [`MILESTONES.md` section 0, gate M2C](../MILESTONES.md); [`HARDWARE_TEST_RIG.md`](../HARDWARE_TEST_RIG.md); [`NATIVE_BOOT_ONE_TIME.md`](../NATIVE_BOOT_ONE_TIME.md) | | [ADR 0012](0012-self-construction-capability-growth-and-generations.md) | Self-Construction, Capability Growth, and Reversible System Generations | Accepted | 2026-09-24 | [ADR 0002](0002-incumbent-os-as-migration-environment.md); [ADR 0006](0006-deterministic-recovery-core-and-offline-operator-authority.md); [ADR 0007](0007-continuous-existence-provisioning-once.md); [`ROADMAP.md`](../../ROADMAP.md) (SEED-0A, SEED-0B) | -| [ADR 0013](0013-aienos-abi-v1.md) | AIENOS ABI v1 | Proposed | 2026-09-24 | [ADR 0012](0012-self-construction-capability-growth-and-generations.md); [ADR 0004](0004-reversibility-definition-and-network-effect-boundary.md); [issue #30](https://github.com/aien-dev/aienos/issues/30); [PR #106](https://github.com/aien-dev/aienos/pull/106); [`abi.rs`](../../crates/aienos-kernel/src/abi.rs) | +| [ADR 0013](0013-aienos-abi-v1.md) | AIENOS ABI v1 | Proposed | 2026-09-24 | [ADR 0012](0012-self-construction-capability-growth-and-generations.md); [ADR 0004](0004-reversibility-definition-and-network-effect-boundary.md); [issue #30](https://github.com/aien-spark/aienos/issues/30); [PR #106](https://github.com/aien-spark/aienos/pull/106); [`abi.rs`](../../crates/aienos-kernel/src/abi.rs) | | [ADR 0014](0014-binary-artifact-v0-and-native-admission.md) | Binary Artifact v0 and Native Admission | Proposed | 2026-09-25 | [ADR 0012](0012-self-construction-capability-growth-and-generations.md); [ADR 0013](0013-aienos-abi-v1.md); SEED-0B qualification | | [ADR 0015](0015-system-store-v1-format.md) | AIENOS System Store v1 Format | Accepted for P3-1 format freeze | 2026-09-25 | [ADR 0003](0003-bootstrap-firmware-handoff-and-minimal-object-store.md); P3 Native Persistence & Continuity | | [ADR 0016](0016-continuity-objects-over-store-v1.md) | Continuity objects over System Store v1 | Proposed (format freeze needs operator approval) | 2026-09-25 | [ADR 0007](0007-continuous-existence-provisioning-once.md), [ADR 0015](0015-system-store-v1-format.md); M4 continuity | diff --git a/docs/campaigns/B7B-PHYSICAL-BOOT-PREP.md b/docs/campaigns/B7B-PHYSICAL-BOOT-PREP.md index 8e576810..1fdfad37 100644 --- a/docs/campaigns/B7B-PHYSICAL-BOOT-PREP.md +++ b/docs/campaigns/B7B-PHYSICAL-BOOT-PREP.md @@ -4,7 +4,7 @@ Status: PREPARATION DOCUMENT (2026-10-11). **None of this is executed without Dr window.** Writing this page changed nothing on the machine: no reboot, no firmware staging, no boot-entry change, no root command. Every PASS cited for the probe image is QEMU only, not physical. -Owner issue: aien-dev/aienos#286 (native GB10, cut B7b). Authority: Drake's ruling of 2026-10-10 (aien-architecture#190, +Owner issue: aien-spark/aienos#286 (native GB10, cut B7b). Authority: Drake's ruling of 2026-10-10 (aien-architecture#190, item 5) authorizes B7b *preparation*, not a boot; the boot needs "a first operator-confirmed, two-hour attended window after the recovery media, rollback, trust and preflight checks pass" (`docs/GB10_IORT_DECODE.md` section 10). Related, read first: `docs/native/PREFLIGHT-AND-RECOVERY.md`, `docs/NATIVE_BOOT_ONE_TIME.md`, diff --git a/docs/crumbs/.crumb b/docs/crumbs/.crumb index b7368ebb..aca9512e 100644 --- a/docs/crumbs/.crumb +++ b/docs/crumbs/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:18Z", + "compiled_at": "2026-10-14T01:16:45Z", "compiler": "crumb-compile/1", - "digest": "sha256:e9e804e088a0b2316d035b957c09289bf9f6176eece959d43c40c6e66005fe5e", + "digest": "sha256:5dc4f124f1c023aa4786f45336a671138fce9fa046478364cdc7454307d7b588", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 1, - "generated_at_commit": "a863d5c1f5bd89c88c5f6671eecfd27b599ee512", - "source_tree": "sha256:3f82dd647d41a9ac0815971f9e7312106ec7fde41910251a23ebe6d857f95920" + "generated_at_commit": "f78977a6ce33ea89a5b3b1952c0a0e403d4504fa", + "source_tree": "sha256:faea024f49787ed8180a590d705866486b71504ea61a285870ec3b8401eb5786" }, "owner_lane": "", "seed": { diff --git a/docs/crumbs/BACKFILL.md b/docs/crumbs/BACKFILL.md index d7002b80..0178ed5c 100644 --- a/docs/crumbs/BACKFILL.md +++ b/docs/crumbs/BACKFILL.md @@ -54,11 +54,11 @@ History that crumbs would have recorded, reconstructed from git first-parent his - lane18 (2026-10-01-push-lane18-report.md): #194 C kernel core + UEFI entry stub + memory/exceptions + host tests: merge 34c60536da7a95d8b782b13e52495730578c83ba [backfill-lane-report] - lane18 (2026-10-01-next-major-push-orchestrator.md): ~15:50Z Lane 18 report: aienos #194 34c6053, #195 ba7b75d, #196 4d9bdb2 (C kernel core: boot EL2->EL1, MMU, GICv3, timer; PCI/NVMe; capability+ARGUS; sealed C S [backfill-lane-report] - 2026-10-01 8d511d6 #193 aien-dev: Merge pull request #193 from aien-dev/lane19/resend-jitter [backfill-git] - - lane19 (2026-10-01-push-lane19-report.md): Part A, aienos resend jitter: PASS (hosted).** PR aien-dev/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change. [backfill-lane-report] + - lane19 (2026-10-01-push-lane19-report.md): Part A, aienos resend jitter: PASS (hosted).** PR aien-spark/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change. [backfill-lane-report] - lane23 (2026-10-01-push-lane23-report.md): §2 new "later merges" addendum: aienos #189 6bcef8a, #190 811bbc0, #191 697391f, #192 08cb905, #193 8d511d6; omega #128 ee89461, #129 d78fd11, #130 7fb59d3, #1 [backfill-lane-report] - lane19 (2026-10-01-next-major-push-orchestrator.md): ~12:50Z Lane 19 DONE: aienos#193 8d511d6 (resend jitter), omega#137 1299b19 (Fabric sig 64 B, format v2). Gap: omega CI never runs test-fabric for src/fabric-on [backfill-lane-report] - 2026-10-01 08cb905 #192 aien-dev: Merge pull request #192 from aien-dev/lane16/m6b-secure-transport [backfill-git] - - lane16 (2026-10-01-push-lane16-report.md): Pull request:** aien-dev/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt. [backfill-lane-report] + - lane16 (2026-10-01-push-lane16-report.md): Pull request:** aien-spark/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt. [backfill-lane-report] - lane23 (2026-10-01-push-lane23-report.md): §2 new "later merges" addendum: aienos #189 6bcef8a, #190 811bbc0, #191 697391f, #192 08cb905, #193 8d511d6; omega #128 ee89461, #129 d78fd11, #130 7fb59d3, #1 [backfill-lane-report] - lane16 (2026-10-01-next-major-push-orchestrator.md): ~12:05Z Lane 16 DONE: aienos#192 08cb905 M6-B secure transport hosted (X25519 RFC vectors incl 1M-step, 45860 checks, 24/24 mutants, Gemini review). Follow-ups: [backfill-lane-report] - 2026-10-01 697391f #191 aien-dev: Merge pull request #191 from aien-dev/lane11/native-store-engine [backfill-git] @@ -75,7 +75,7 @@ History that crumbs would have recorded, reconstructed from git first-parent his - lane12 (2026-10-01-next-major-push-orchestrator.md): ~09:20Z Lane 12 DONE: aienos#189 6bcef8a (M5 migration sig, TEST keys; receipt f21f2c03… NOT_QUALIFIED pass15 blocked11 missing5 not_run0; QEMU checks ran), o [backfill-lane-report] - lane11 (2026-10-01-next-major-push-orchestrator.md): ~11:20Z Lane 11 DONE: aienos#190 811bbc0 (disk+NVMe), #191 697391f (C Store engine, Rust-compatible bytes, 1097 power-cut checks). Receipt 6fd36c30… not_run=3 [backfill-lane-report] - 2026-09-30 913b962 #188 aien-dev: Merge pull request #188 from aien-dev/lane10/native-sig [backfill-git] - - lane10 (2026-10-01-push-lane10-report.md): Verdict: PASS (software primitive). PR aien-dev/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be). [backfill-lane-report] + - lane10 (2026-10-01-push-lane10-report.md): Verdict: PASS (software primitive). PR aien-spark/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be). [backfill-lane-report] - lane12 (2026-10-01-push-lane12-report.md): native/sig vendored to src/searchtrace/sig/ with PROVENANCE.txt (aienos 913b962, per-file sha256). [backfill-lane-report] - lane10 (2026-10-01-next-major-push-orchestrator.md): ~06:40Z Lane 10 DONE: Ed25519 in C merged aienos#188 913b962, 5917 checks, 14 mutants, AIENOS_SIG_NATIVE: PASS; Gemini reviewed (Codex+Grok out of usage). Not y [backfill-lane-report] - 2026-09-30 929a720 #187 aien-dev: Merge pull request #187 from aien-dev/lane1/trust1-m5-receipt [backfill-git] @@ -90,7 +90,7 @@ History that crumbs would have recorded, reconstructed from git first-parent his - lane1 (2026-10-01-push-lane1-report.md): Gate 5 swTPM sim: simulation PASS, gate verdict BLOCKED_OPERATOR (needs Gate 2 PCR choice, Gate 3 keys, Gate 4). #185 merged 513d653. selftest pass=31 fail=0, T [backfill-lane-report] - lane1 (2026-10-01-next-major-push-orchestrator.md): ~06:05Z Lane 1 DONE. aienos #182 2d9a368 (qualify harness), #183 84de088 (C crypto), #185 513d653 (Gate 5 swTPM sim), #186 4492ca9 (C M5 envelope), #187 929a720 [backfill-lane-report] - 2026-09-30 999b5aa #184 aien-dev: Merge pull request #184 from aien-dev/lane5/m6a-net-c [backfill-git] - - lane5 (2026-10-01-push-lane5-report.md): PR: aien-dev/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69 [backfill-lane-report] + - lane5 (2026-10-01-push-lane5-report.md): PR: aien-spark/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69 [backfill-lane-report] - lane5 (2026-10-01-next-major-push-orchestrator.md): ~04:20Z Lane 5 DONE: aienos #184 999b5aa M6-A hosted C net stack PASS (host only; receipt native/net/receipts/m6a_net_host_30de56f0...). Deferred: native NIC bi [backfill-lane-report] - 2026-09-30 84de088 #183 aien-dev: Merge pull request #183 from aien-dev/lane1/native-crypto [backfill-git] - lane1 (2026-10-01-push-lane1-report.md): WP-C native crypto: #183 merged 84de088. native/crypto test 1820 checks / AIENOS_CRYPTO_NATIVE: PASS, ASan/UBSan PASS, 8/8 mutants. 26 RFC 8452 vectors. [backfill-lane-report] @@ -1106,11 +1106,11 @@ History that crumbs would have recorded, reconstructed from git first-parent his - lane18 (2026-10-01-push-lane18-report.md): #194 C kernel core + UEFI entry stub + memory/exceptions + host tests: merge 34c60536da7a95d8b782b13e52495730578c83ba [backfill-lane-report] - lane18 (2026-10-01-next-major-push-orchestrator.md): ~15:50Z Lane 18 report: aienos #194 34c6053, #195 ba7b75d, #196 4d9bdb2 (C kernel core: boot EL2->EL1, MMU, GICv3, timer; PCI/NVMe; capability+ARGUS; sealed C S [backfill-lane-report] - 2026-10-01 8d511d6 #193 aien-dev: Merge pull request #193 from aien-dev/lane19/resend-jitter [backfill-git] - - lane19 (2026-10-01-push-lane19-report.md): Part A, aienos resend jitter: PASS (hosted).** PR aien-dev/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change. [backfill-lane-report] + - lane19 (2026-10-01-push-lane19-report.md): Part A, aienos resend jitter: PASS (hosted).** PR aien-spark/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change. [backfill-lane-report] - lane23 (2026-10-01-push-lane23-report.md): §2 new "later merges" addendum: aienos #189 6bcef8a, #190 811bbc0, #191 697391f, #192 08cb905, #193 8d511d6; omega #128 ee89461, #129 d78fd11, #130 7fb59d3, #1 [backfill-lane-report] - lane19 (2026-10-01-next-major-push-orchestrator.md): ~12:50Z Lane 19 DONE: aienos#193 8d511d6 (resend jitter), omega#137 1299b19 (Fabric sig 64 B, format v2). Gap: omega CI never runs test-fabric for src/fabric-on [backfill-lane-report] - 2026-10-01 08cb905 #192 aien-dev: Merge pull request #192 from aien-dev/lane16/m6b-secure-transport [backfill-git] - - lane16 (2026-10-01-push-lane16-report.md): Pull request:** aien-dev/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt. [backfill-lane-report] + - lane16 (2026-10-01-push-lane16-report.md): Pull request:** aien-spark/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt. [backfill-lane-report] - lane23 (2026-10-01-push-lane23-report.md): §2 new "later merges" addendum: aienos #189 6bcef8a, #190 811bbc0, #191 697391f, #192 08cb905, #193 8d511d6; omega #128 ee89461, #129 d78fd11, #130 7fb59d3, #1 [backfill-lane-report] - lane16 (2026-10-01-next-major-push-orchestrator.md): ~12:05Z Lane 16 DONE: aienos#192 08cb905 M6-B secure transport hosted (X25519 RFC vectors incl 1M-step, 45860 checks, 24/24 mutants, Gemini review). Follow-ups: [backfill-lane-report] - 2026-10-01 697391f #191 aien-dev: Merge pull request #191 from aien-dev/lane11/native-store-engine [backfill-git] @@ -1127,14 +1127,14 @@ History that crumbs would have recorded, reconstructed from git first-parent his - lane12 (2026-10-01-next-major-push-orchestrator.md): ~09:20Z Lane 12 DONE: aienos#189 6bcef8a (M5 migration sig, TEST keys; receipt f21f2c03… NOT_QUALIFIED pass15 blocked11 missing5 not_run0; QEMU checks ran), o [backfill-lane-report] - lane11 (2026-10-01-next-major-push-orchestrator.md): ~11:20Z Lane 11 DONE: aienos#190 811bbc0 (disk+NVMe), #191 697391f (C Store engine, Rust-compatible bytes, 1097 power-cut checks). Receipt 6fd36c30… not_run=3 [backfill-lane-report] - 2026-09-30 913b962 #188 aien-dev: Merge pull request #188 from aien-dev/lane10/native-sig [backfill-git] - - lane10 (2026-10-01-push-lane10-report.md): Verdict: PASS (software primitive). PR aien-dev/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be). [backfill-lane-report] + - lane10 (2026-10-01-push-lane10-report.md): Verdict: PASS (software primitive). PR aien-spark/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be). [backfill-lane-report] - lane12 (2026-10-01-push-lane12-report.md): native/sig vendored to src/searchtrace/sig/ with PROVENANCE.txt (aienos 913b962, per-file sha256). [backfill-lane-report] - lane10 (2026-10-01-next-major-push-orchestrator.md): ~06:40Z Lane 10 DONE: Ed25519 in C merged aienos#188 913b962, 5917 checks, 14 mutants, AIENOS_SIG_NATIVE: PASS; Gemini reviewed (Codex+Grok out of usage). Not y [backfill-lane-report] - 2026-09-30 4492ca9 #186 aien-dev: Merge pull request #186 from aien-dev/lane1/native-m5 [backfill-git] - lane1 (2026-10-01-push-lane1-report.md): WP-C native M5: #186 merged 4492ca9. native/m5 49 tests / M5_NATIVE: PASS, ASan/UBSan PASS, 36/36 mutants. Corruption matrix (header, first/middle/last chunk, c [backfill-lane-report] - lane1 (2026-10-01-next-major-push-orchestrator.md): ~06:05Z Lane 1 DONE. aienos #182 2d9a368 (qualify harness), #183 84de088 (C crypto), #185 513d653 (Gate 5 swTPM sim), #186 4492ca9 (C M5 envelope), #187 929a720 [backfill-lane-report] - 2026-09-30 999b5aa #184 aien-dev: Merge pull request #184 from aien-dev/lane5/m6a-net-c [backfill-git] - - lane5 (2026-10-01-push-lane5-report.md): PR: aien-dev/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69 [backfill-lane-report] + - lane5 (2026-10-01-push-lane5-report.md): PR: aien-spark/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69 [backfill-lane-report] - lane5 (2026-10-01-next-major-push-orchestrator.md): ~04:20Z Lane 5 DONE: aienos #184 999b5aa M6-A hosted C net stack PASS (host only; receipt native/net/receipts/m6a_net_host_30de56f0...). Deferred: native NIC bi [backfill-lane-report] - 2026-09-30 84de088 #183 aien-dev: Merge pull request #183 from aien-dev/lane1/native-crypto [backfill-git] - lane1 (2026-10-01-push-lane1-report.md): WP-C native crypto: #183 merged 84de088. native/crypto test 1820 checks / AIENOS_CRYPTO_NATIVE: PASS, ASan/UBSan PASS, 8/8 mutants. 26 RFC 8452 vectors. [backfill-lane-report] @@ -1522,15 +1522,15 @@ History that crumbs would have recorded, reconstructed from git first-parent his - lane29 (2026-10-01-push-lane29-report.md): PR #203, squash-merged 9807281 (after #200 merged as d75a266). Receipt evidence/ck_gates_f669110b4f18e37e8318e83efbe544e5eab6214508861aa1523fca084945d710.json: [backfill-lane-report] - lane26 (2026-10-01-next-major-push-orchestrator.md): 10:22Z Lane 26 DONE: aienos #199 470c160 (Store nonce v2), #200 d75a266 (virtio-net attach fix, virtqueue driver, sim only). Codex pass still owed after reset. [backfill-lane-report] - 2026-10-01 8d511d6 #193 aien-dev: Merge pull request #193 from aien-dev/lane19/resend-jitter [backfill-git] - - lane19 (2026-10-01-push-lane19-report.md): Part A, aienos resend jitter: PASS (hosted).** PR aien-dev/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change. [backfill-lane-report] + - lane19 (2026-10-01-push-lane19-report.md): Part A, aienos resend jitter: PASS (hosted).** PR aien-spark/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change. [backfill-lane-report] - lane23 (2026-10-01-push-lane23-report.md): §2 new "later merges" addendum: aienos #189 6bcef8a, #190 811bbc0, #191 697391f, #192 08cb905, #193 8d511d6; omega #128 ee89461, #129 d78fd11, #130 7fb59d3, #1 [backfill-lane-report] - lane19 (2026-10-01-next-major-push-orchestrator.md): ~12:50Z Lane 19 DONE: aienos#193 8d511d6 (resend jitter), omega#137 1299b19 (Fabric sig 64 B, format v2). Gap: omega CI never runs test-fabric for src/fabric-on [backfill-lane-report] - 2026-10-01 08cb905 #192 aien-dev: Merge pull request #192 from aien-dev/lane16/m6b-secure-transport [backfill-git] - - lane16 (2026-10-01-push-lane16-report.md): Pull request:** aien-dev/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt. [backfill-lane-report] + - lane16 (2026-10-01-push-lane16-report.md): Pull request:** aien-spark/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt. [backfill-lane-report] - lane23 (2026-10-01-push-lane23-report.md): §2 new "later merges" addendum: aienos #189 6bcef8a, #190 811bbc0, #191 697391f, #192 08cb905, #193 8d511d6; omega #128 ee89461, #129 d78fd11, #130 7fb59d3, #1 [backfill-lane-report] - lane16 (2026-10-01-next-major-push-orchestrator.md): ~12:05Z Lane 16 DONE: aienos#192 08cb905 M6-B secure transport hosted (X25519 RFC vectors incl 1M-step, 45860 checks, 24/24 mutants, Gemini review). Follow-ups: [backfill-lane-report] - 2026-09-30 999b5aa #184 aien-dev: Merge pull request #184 from aien-dev/lane5/m6a-net-c [backfill-git] - - lane5 (2026-10-01-push-lane5-report.md): PR: aien-dev/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69 [backfill-lane-report] + - lane5 (2026-10-01-push-lane5-report.md): PR: aien-spark/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69 [backfill-lane-report] - lane5 (2026-10-01-next-major-push-orchestrator.md): ~04:20Z Lane 5 DONE: aienos #184 999b5aa M6-A hosted C net stack PASS (host only; receipt native/net/receipts/m6a_net_host_30de56f0...). Deferred: native NIC bi [backfill-lane-report] ## native/net/receipts @@ -1543,15 +1543,15 @@ History that crumbs would have recorded, reconstructed from git first-parent his - lane29 (2026-10-01-push-lane29-report.md): PR #203, squash-merged 9807281 (after #200 merged as d75a266). Receipt evidence/ck_gates_f669110b4f18e37e8318e83efbe544e5eab6214508861aa1523fca084945d710.json: [backfill-lane-report] - lane26 (2026-10-01-next-major-push-orchestrator.md): 10:22Z Lane 26 DONE: aienos #199 470c160 (Store nonce v2), #200 d75a266 (virtio-net attach fix, virtqueue driver, sim only). Codex pass still owed after reset. [backfill-lane-report] - 2026-10-01 8d511d6 #193 aien-dev: Merge pull request #193 from aien-dev/lane19/resend-jitter [backfill-git] - - lane19 (2026-10-01-push-lane19-report.md): Part A, aienos resend jitter: PASS (hosted).** PR aien-dev/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change. [backfill-lane-report] + - lane19 (2026-10-01-push-lane19-report.md): Part A, aienos resend jitter: PASS (hosted).** PR aien-spark/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change. [backfill-lane-report] - lane23 (2026-10-01-push-lane23-report.md): §2 new "later merges" addendum: aienos #189 6bcef8a, #190 811bbc0, #191 697391f, #192 08cb905, #193 8d511d6; omega #128 ee89461, #129 d78fd11, #130 7fb59d3, #1 [backfill-lane-report] - lane19 (2026-10-01-next-major-push-orchestrator.md): ~12:50Z Lane 19 DONE: aienos#193 8d511d6 (resend jitter), omega#137 1299b19 (Fabric sig 64 B, format v2). Gap: omega CI never runs test-fabric for src/fabric-on [backfill-lane-report] - 2026-10-01 08cb905 #192 aien-dev: Merge pull request #192 from aien-dev/lane16/m6b-secure-transport [backfill-git] - - lane16 (2026-10-01-push-lane16-report.md): Pull request:** aien-dev/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt. [backfill-lane-report] + - lane16 (2026-10-01-push-lane16-report.md): Pull request:** aien-spark/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt. [backfill-lane-report] - lane23 (2026-10-01-push-lane23-report.md): §2 new "later merges" addendum: aienos #189 6bcef8a, #190 811bbc0, #191 697391f, #192 08cb905, #193 8d511d6; omega #128 ee89461, #129 d78fd11, #130 7fb59d3, #1 [backfill-lane-report] - lane16 (2026-10-01-next-major-push-orchestrator.md): ~12:05Z Lane 16 DONE: aienos#192 08cb905 M6-B secure transport hosted (X25519 RFC vectors incl 1M-step, 45860 checks, 24/24 mutants, Gemini review). Follow-ups: [backfill-lane-report] - 2026-09-30 999b5aa #184 aien-dev: Merge pull request #184 from aien-dev/lane5/m6a-net-c [backfill-git] - - lane5 (2026-10-01-push-lane5-report.md): PR: aien-dev/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69 [backfill-lane-report] + - lane5 (2026-10-01-push-lane5-report.md): PR: aien-spark/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69 [backfill-lane-report] - lane5 (2026-10-01-next-major-push-orchestrator.md): ~04:20Z Lane 5 DONE: aienos #184 999b5aa M6-A hosted C net stack PASS (host only; receipt native/net/receipts/m6a_net_host_30de56f0...). Deferred: native NIC bi [backfill-lane-report] ## native/net/tests @@ -1564,15 +1564,15 @@ History that crumbs would have recorded, reconstructed from git first-parent his - lane29 (2026-10-01-push-lane29-report.md): PR #203, squash-merged 9807281 (after #200 merged as d75a266). Receipt evidence/ck_gates_f669110b4f18e37e8318e83efbe544e5eab6214508861aa1523fca084945d710.json: [backfill-lane-report] - lane26 (2026-10-01-next-major-push-orchestrator.md): 10:22Z Lane 26 DONE: aienos #199 470c160 (Store nonce v2), #200 d75a266 (virtio-net attach fix, virtqueue driver, sim only). Codex pass still owed after reset. [backfill-lane-report] - 2026-10-01 8d511d6 #193 aien-dev: Merge pull request #193 from aien-dev/lane19/resend-jitter [backfill-git] - - lane19 (2026-10-01-push-lane19-report.md): Part A, aienos resend jitter: PASS (hosted).** PR aien-dev/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change. [backfill-lane-report] + - lane19 (2026-10-01-push-lane19-report.md): Part A, aienos resend jitter: PASS (hosted).** PR aien-spark/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change. [backfill-lane-report] - lane23 (2026-10-01-push-lane23-report.md): §2 new "later merges" addendum: aienos #189 6bcef8a, #190 811bbc0, #191 697391f, #192 08cb905, #193 8d511d6; omega #128 ee89461, #129 d78fd11, #130 7fb59d3, #1 [backfill-lane-report] - lane19 (2026-10-01-next-major-push-orchestrator.md): ~12:50Z Lane 19 DONE: aienos#193 8d511d6 (resend jitter), omega#137 1299b19 (Fabric sig 64 B, format v2). Gap: omega CI never runs test-fabric for src/fabric-on [backfill-lane-report] - 2026-10-01 08cb905 #192 aien-dev: Merge pull request #192 from aien-dev/lane16/m6b-secure-transport [backfill-git] - - lane16 (2026-10-01-push-lane16-report.md): Pull request:** aien-dev/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt. [backfill-lane-report] + - lane16 (2026-10-01-push-lane16-report.md): Pull request:** aien-spark/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt. [backfill-lane-report] - lane23 (2026-10-01-push-lane23-report.md): §2 new "later merges" addendum: aienos #189 6bcef8a, #190 811bbc0, #191 697391f, #192 08cb905, #193 8d511d6; omega #128 ee89461, #129 d78fd11, #130 7fb59d3, #1 [backfill-lane-report] - lane16 (2026-10-01-next-major-push-orchestrator.md): ~12:05Z Lane 16 DONE: aienos#192 08cb905 M6-B secure transport hosted (X25519 RFC vectors incl 1M-step, 45860 checks, 24/24 mutants, Gemini review). Follow-ups: [backfill-lane-report] - 2026-09-30 999b5aa #184 aien-dev: Merge pull request #184 from aien-dev/lane5/m6a-net-c [backfill-git] - - lane5 (2026-10-01-push-lane5-report.md): PR: aien-dev/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69 [backfill-lane-report] + - lane5 (2026-10-01-push-lane5-report.md): PR: aien-spark/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69 [backfill-lane-report] - lane5 (2026-10-01-next-major-push-orchestrator.md): ~04:20Z Lane 5 DONE: aienos #184 999b5aa M6-A hosted C net stack PASS (host only; receipt native/net/receipts/m6a_net_host_30de56f0...). Deferred: native NIC bi [backfill-lane-report] ## native/net/tests/fixtures @@ -1590,7 +1590,7 @@ History that crumbs would have recorded, reconstructed from git first-parent his 1 commit(s) touched this tree - 2026-09-30 913b962 #188 aien-dev: Merge pull request #188 from aien-dev/lane10/native-sig [backfill-git] - - lane10 (2026-10-01-push-lane10-report.md): Verdict: PASS (software primitive). PR aien-dev/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be). [backfill-lane-report] + - lane10 (2026-10-01-push-lane10-report.md): Verdict: PASS (software primitive). PR aien-spark/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be). [backfill-lane-report] - lane12 (2026-10-01-push-lane12-report.md): native/sig vendored to src/searchtrace/sig/ with PROVENANCE.txt (aienos 913b962, per-file sha256). [backfill-lane-report] - lane10 (2026-10-01-next-major-push-orchestrator.md): ~06:40Z Lane 10 DONE: Ed25519 in C merged aienos#188 913b962, 5917 checks, 14 mutants, AIENOS_SIG_NATIVE: PASS; Gemini reviewed (Codex+Grok out of usage). Not y [backfill-lane-report] @@ -1599,7 +1599,7 @@ History that crumbs would have recorded, reconstructed from git first-parent his 1 commit(s) touched this tree - 2026-09-30 913b962 #188 aien-dev: Merge pull request #188 from aien-dev/lane10/native-sig [backfill-git] - - lane10 (2026-10-01-push-lane10-report.md): Verdict: PASS (software primitive). PR aien-dev/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be). [backfill-lane-report] + - lane10 (2026-10-01-push-lane10-report.md): Verdict: PASS (software primitive). PR aien-spark/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be). [backfill-lane-report] - lane12 (2026-10-01-push-lane12-report.md): native/sig vendored to src/searchtrace/sig/ with PROVENANCE.txt (aienos 913b962, per-file sha256). [backfill-lane-report] - lane10 (2026-10-01-next-major-push-orchestrator.md): ~06:40Z Lane 10 DONE: Ed25519 in C merged aienos#188 913b962, 5917 checks, 14 mutants, AIENOS_SIG_NATIVE: PASS; Gemini reviewed (Codex+Grok out of usage). Not y [backfill-lane-report] diff --git a/native/.crumb b/native/.crumb index 9d2e20da..53312f4a 100644 --- a/native/.crumb +++ b/native/.crumb @@ -49,14 +49,14 @@ "generated": { "children": [ { - "digest": "7a5972d5e7135c13af527ba7bc91f6532fcebc206df0686e742e98c1050c6c29", - "last_commit": "130aa20", + "digest": "50aa2fbd6ca356b7703517bc7ecf439f7b6e0a6b935d0ca6ca4c6f7caf23ce34", + "last_commit": "f78977a", "name": "argus", "purpose": "Directory native/argus. Purpose not yet described by a human." }, { "digest": "19d19008ffb4cfcd93c43202081a84ecd1e37d1c60b9d7c355fd8b9db4d3d77e", - "last_commit": "e673bfb", + "last_commit": "e9d39a9", "name": "boot", "purpose": "Directory native/boot. Purpose not yet described by a human." }, @@ -79,8 +79,8 @@ "purpose": "Directory native/disk. Purpose not yet described by a human." }, { - "digest": "7df01cbf05b0e93aa9bbf47b2b862b110b001f9cce2283d181a91be5b3393507", - "last_commit": "e673bfb", + "digest": "1ea30e8921bc8f61835ecaa6e3896b1084c4b0a6034ff00493f21390a98f1b25", + "last_commit": "f78977a", "name": "kernel", "purpose": "Directory native/kernel. Purpose not yet described by a human." }, @@ -109,15 +109,15 @@ "purpose": "Directory native/store. Purpose not yet described by a human." } ], - "children_root": "sha256:c8382b2f14968143480ff5b3dd2859dfb8a1671a60445d47a82204e06e8c5ba2", - "compiled_at": "2026-10-14T00:20:37Z", + "children_root": "sha256:f717850d29ca52ae372b396eee8f4323cb090798258f2b4eea23bbe5ce4f92cb", + "compiled_at": "2026-10-14T01:16:45Z", "compiler": "crumb-compile/1", - "digest": "sha256:dc8479ff588f0d10dbfd65003c236db4cdeb9718a60d4fbf98822da677d908ff", + "digest": "sha256:c4788a6bd2633e3ad2933270f03e65212b0003f61e629a09f3b637ec9ff4a481", "evidence_files": 4, "evidence_root": "sha256:e410b845507e00568e15b51a5797af32a97e0e4b8ab4e8487bb7c98e7e0cf335", "files": 561, - "generated_at_commit": "a3e9c23dfc5b0ed0f9701132904b28edac14b71f", - "source_tree": "sha256:bfee5f6e8f8a64b1b0f1840dacc5dbd6659e62fa6b45b070ac27ddcfc775b666" + "generated_at_commit": "f78977a6ce33ea89a5b3b1952c0a0e403d4504fa", + "source_tree": "sha256:9bbd7b42a9f48a2cbc7b805a8ad5973bce1ef2f1950fc66d4933575f20f54d8c" }, "owner_lane": "", "provenance": { @@ -436,7 +436,7 @@ }, { "lane": "lane19", - "note": "Part A, aienos resend jitter: PASS (hosted).** PR aien-dev/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change.", + "note": "Part A, aienos resend jitter: PASS (hosted).** PR aien-spark/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change.", "pr": 193, "ref": "2026-10-01-push-lane19-report.md", "sha": "8d511d6", @@ -468,7 +468,7 @@ }, { "lane": "lane16", - "note": "Pull request:** aien-dev/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt.", + "note": "Pull request:** aien-spark/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt.", "pr": 192, "ref": "2026-10-01-push-lane16-report.md", "sha": "08cb905", @@ -604,7 +604,7 @@ }, { "lane": "lane10", - "note": "Verdict: PASS (software primitive). PR aien-dev/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be).", + "note": "Verdict: PASS (software primitive). PR aien-spark/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be).", "pr": 188, "ref": "2026-10-01-push-lane10-report.md", "sha": "913b962", @@ -660,7 +660,7 @@ }, { "lane": "lane5", - "note": "PR: aien-dev/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69", + "note": "PR: aien-spark/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69", "pr": 184, "ref": "2026-10-01-push-lane5-report.md", "sha": "999b5aa", diff --git a/native/argus/.crumb b/native/argus/.crumb index 4aa9e603..65bb1785 100644 --- a/native/argus/.crumb +++ b/native/argus/.crumb @@ -27,8 +27,8 @@ "purpose": "Directory native/argus/bridge. Purpose not yet described by a human." }, { - "digest": "0778d413d1596682df475201b2ceaff4a79129c25b3b653d77fae290a19ba6af", - "last_commit": "a047289", + "digest": "c519b9b561e14e4c8017f79c86093d14b250c72e5c17258d77507130dd420a44", + "last_commit": "f78977a", "name": "docs", "purpose": "Directory native/argus/docs. Purpose not yet described by a human." }, @@ -39,15 +39,15 @@ "purpose": "Directory native/argus/tests. Purpose not yet described by a human." } ], - "children_root": "sha256:28a1567c49aba8617588991d7384e2718eb7f339e6129fa5b0e585d6a245923f", - "compiled_at": "2026-10-04T13:47:18Z", + "children_root": "sha256:60f887eb1e514a9e647f622c81848e2accd452e38b157103e8a9f58a32bb1694", + "compiled_at": "2026-10-14T01:16:45Z", "compiler": "crumb-compile/1", - "digest": "sha256:7a5972d5e7135c13af527ba7bc91f6532fcebc206df0686e742e98c1050c6c29", + "digest": "sha256:50aa2fbd6ca356b7703517bc7ecf439f7b6e0a6b935d0ca6ca4c6f7caf23ce34", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 47, - "generated_at_commit": "a863d5c1f5bd89c88c5f6671eecfd27b599ee512", - "source_tree": "sha256:72e4467af37f510ea67b093b8b6c5b713cfd841b3725d1eddcce9ea1c71ad930" + "generated_at_commit": "f78977a6ce33ea89a5b3b1952c0a0e403d4504fa", + "source_tree": "sha256:9511497343ad28d30fb7c58c0d11c87ab936d6e95ff561bf245ea2e5acbbb4f1" }, "owner_lane": "", "provenance": { diff --git a/native/argus/docs/.crumb b/native/argus/docs/.crumb index d0b6d642..04dcec57 100644 --- a/native/argus/docs/.crumb +++ b/native/argus/docs/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-04T13:47:18Z", + "compiled_at": "2026-10-14T01:16:45Z", "compiler": "crumb-compile/1", - "digest": "sha256:0778d413d1596682df475201b2ceaff4a79129c25b3b653d77fae290a19ba6af", + "digest": "sha256:c519b9b561e14e4c8017f79c86093d14b250c72e5c17258d77507130dd420a44", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 5, - "generated_at_commit": "a863d5c1f5bd89c88c5f6671eecfd27b599ee512", - "source_tree": "sha256:153cd48b4862913648ec7681277e0f25e6977054524531869d43c395a99ec5eb" + "generated_at_commit": "f78977a6ce33ea89a5b3b1952c0a0e403d4504fa", + "source_tree": "sha256:e107063b520edc71b65a5716f848d41682145c2f69d9acde5b291834208eea85" }, "owner_lane": "", "provenance": { diff --git a/native/argus/docs/ARGUS0_GATES.md b/native/argus/docs/ARGUS0_GATES.md index 68cd8462..38edbba6 100644 --- a/native/argus/docs/ARGUS0_GATES.md +++ b/native/argus/docs/ARGUS0_GATES.md @@ -1,6 +1,6 @@ # ARGUS-0 exit gates -**ARGUS-0 verdict:** 9 of 10 gates PASS (HOSTILE_REVIEW and PERFORMANCE_GATE = PASS-WITH-DOCUMENTED-LIMITS), RUNTIME_INTEGRATION PASS. ARGUS-0 is complete under the documented limits (performance requires a spare core for the consumer; ADR 0017 2% clock target unmet, amendment pending). ARGUS-1 code started 2026-09-29 per ARGUS1_PLAN.md. Runtime and performance evidence: omega `feat/argus-producer` @ `5d98417` (speed evidence `cf6f45d`), draft PR https://github.com/aien-dev/omega/pull/70. +**ARGUS-0 verdict:** 9 of 10 gates PASS (HOSTILE_REVIEW and PERFORMANCE_GATE = PASS-WITH-DOCUMENTED-LIMITS), RUNTIME_INTEGRATION PASS. ARGUS-0 is complete under the documented limits (performance requires a spare core for the consumer; ADR 0017 2% clock target unmet, amendment pending). ARGUS-1 code started 2026-09-29 per ARGUS1_PLAN.md. Runtime and performance evidence: omega `feat/argus-producer` @ `5d98417` (speed evidence `cf6f45d`), draft PR https://github.com/aien-spark/omega/pull/70. One row per exit gate from the ARGUS-0 brief. Each gate has a definition (what must hold), a measurement (the command), the result, the commit and the environment. A gate @@ -37,7 +37,7 @@ Commands (from the repository root): | ARGUS_CORE_DETERMINISM_PASS | Same event stream => byte-identical finding sequence, state digest and evidence chain, whether events go directly into the core or through the ring, and across fresh cores, chunkings and snapshot copies. | `make test`: integration gate + `test_argus_determinism` | **PASS**. Hostile seed 1, 5000 events: direct vs ring findings 100 vs 100 byte-identical, state digest equal, chain equal, third fresh core identical (state 70e0106d.., chain b0297a7f.., findings-bytes 216396f9..). Lane D: 13/13 (10,000 events, 1,653 findings). | `b375dca` | Spark + Mac | | ARGUS_HARD_INVARIANTS_PASS | Every injected hard-invariant violation in the hostile corpus is found by the real core + real detectors with the exact expected code, and nothing else fires: no unexpected hard finding, no spurious sequence (12) or telemetry-loss (11) finding, no table-full return. | `make test`: integration gate (hostile seed 1) + `test_argus_detect` | **PASS**. 100/100 injected found; per code 1:15 2:8 3:5 4:4 5:9 6:12 7:12 8:8 9:4 10:8 14:8 15:7 (13 and 16: 0/0); unexpected 0; code 12: 0; code 11: 0; FULL 0. Lane E: 377,307 checks, 0 failures (plain, UBSan, ASan). | `b375dca` | Spark + Mac | | ARGUS_FALSE_POSITIVE_BASELINE_PASS | A benign synthetic corpus (9 seeds x 5000 events, all v1.1 kinds incl. USE_SUMMARY, per-store Worlds) produces zero findings through the real core. Synthetic only: the live omega baseline is part of RUNTIME_INTEGRATION. | `make test`: integration gate | **PASS**. 45,000 events, findings per seed [0,0,0,0,0,0,0,0,0], total 0; FULL 0. | `b375dca` | Spark + Mac | -| ARGUS_RUNTIME_INTEGRATION_PASS | ARGUS runs inside the live AIEN runtime: the omega producer emits real events from AEGIS/runtime hooks, the consumer ingests them, the omega regression tests still pass, and a normal run yields no unexplained findings. | omega producer re-pin verification (`evidence/ARGUS/repin/REPIN.md` on omega `feat/argus-producer` @ `5d98417`, draft PR aien-dev/omega#70): omega re-pinned to aienos main `d39dd5b` (native authority observer hook `12add16`, 64-bit boot-floored generations; the `c8ab65e` backport patch is deleted), RX_ARGUS=2 ingest, ARGUS_AUTH=observer, detectors `b375dca` | **PASS**. Default build (RX_ARGUS undefined) against `d39dd5b`: R7, R8 (116 checks, 0 failures), R9 PASS; RX_ARGUS=0/1/2 build with -Werror. RX_ARGUS=2 ingest, 2 runs: R7 329 events, 0 findings (code 13 AUTHORITY_REPLAY 2 -> 0; root cause confirmed: `d39dd5b` seeds start generations from a per-process monotonic counter floored at boot time, so a second instance or a restart never reuses a generation); R8 1,842 / 707 events, 0 findings (204,987 / 202,913 uses -> 1,363 / 532 summaries); R9 37 events, 0 findings. Every run: 0 refused, 0 lost, 0 late, 0 ingest errors, 0 rejected; every stream replays twice to the same digest. Note: R7 live streams are no longer byte-identical run to run because generations are time-seeded; with the generation fields masked the two runs match event for event (replay determinism unaffected). History: at omega `20e84b8` (aienos `c8ab65e` + backported observer) this gate was PASS-WITH-OPEN-FINDINGS, R7 2 x code 13 from a second authority instance restarting at boot generation 2; the re-pin closes it. | omega `5d98417` (aienos.lock -> `d39dd5b`, `argus.lock` -> aienos `b375dca`) | Spark (GB10, gcc 13.3.0, kernel 7.0.0-1019-nvidia) | +| ARGUS_RUNTIME_INTEGRATION_PASS | ARGUS runs inside the live AIEN runtime: the omega producer emits real events from AEGIS/runtime hooks, the consumer ingests them, the omega regression tests still pass, and a normal run yields no unexplained findings. | omega producer re-pin verification (`evidence/ARGUS/repin/REPIN.md` on omega `feat/argus-producer` @ `5d98417`, draft PR aien-spark/omega#70): omega re-pinned to aienos main `d39dd5b` (native authority observer hook `12add16`, 64-bit boot-floored generations; the `c8ab65e` backport patch is deleted), RX_ARGUS=2 ingest, ARGUS_AUTH=observer, detectors `b375dca` | **PASS**. Default build (RX_ARGUS undefined) against `d39dd5b`: R7, R8 (116 checks, 0 failures), R9 PASS; RX_ARGUS=0/1/2 build with -Werror. RX_ARGUS=2 ingest, 2 runs: R7 329 events, 0 findings (code 13 AUTHORITY_REPLAY 2 -> 0; root cause confirmed: `d39dd5b` seeds start generations from a per-process monotonic counter floored at boot time, so a second instance or a restart never reuses a generation); R8 1,842 / 707 events, 0 findings (204,987 / 202,913 uses -> 1,363 / 532 summaries); R9 37 events, 0 findings. Every run: 0 refused, 0 lost, 0 late, 0 ingest errors, 0 rejected; every stream replays twice to the same digest. Note: R7 live streams are no longer byte-identical run to run because generations are time-seeded; with the generation fields masked the two runs match event for event (replay determinism unaffected). History: at omega `20e84b8` (aienos `c8ab65e` + backported observer) this gate was PASS-WITH-OPEN-FINDINGS, R7 2 x code 13 from a second authority instance restarting at boot generation 2; the re-pin closes it. | omega `5d98417` (aienos.lock -> `d39dd5b`, `argus.lock` -> aienos `b375dca`) | Spark (GB10, gcc 13.3.0, kernel 7.0.0-1019-nvidia) | | ARGUS_PERFORMANCE_GATE_PASS | ARGUS adds acceptable overhead to the runtime hot path (micro-op and R8 wall clock) against the brief's budget. Isolated ARGUS micro-numbers below are context, not this gate. | omega producer speed round 2 (`evidence/ARGUS/speed2/SPEED2.md` on omega `feat/argus-producer` @ `cf6f45d`; `tools/argus/bench_micro.sh`, `r8_wall.sh`, paired interleaved rounds vs RX_ARGUS=0, under `flock ~/workspace/.argus-bench.lock`). Criterion pre-registered and unchanged: RX_ARGUS=2 micro-op median throughput loss <= 5% AND RX_ARGUS=2 R8 mean wall clock <= +5% vs RX_ARGUS=0 | **PASS-WITH-DOCUMENTED-LIMITS**. Micro-op (`rx_aegis_evaluate` + `rx_world_validate_cap`, X925 core 7, 30 rounds, 20M ops/run, median ops/s): off 41.47M, emit-only 44.07M, discard 43.83M, ingest 44.64M: no loss (every ARGUS build is 4-6% faster than off, attributed to code layout, so this bench cannot resolve a few percent); op p50/p99 48/64 ns unchanged; emit 2.25 ns. R8 wall clock (build `265b1c5`, off mean 35.06 ms): shipped default (consumer thread pinned via `RX_ARGUS_CONSUMER_CPU=auto` = a core outside the process affinity mask) run 1 **+4.06%** [+3.22, +4.91], pre-declared replicate **+3.68%** [+2.83, +4.54], pooled 400 rounds **+3.87%** [+3.27, +4.47]; unpinned (`RX_ARGUS_CONSUMER_CPU=none`) +5.31% [+4.74, +5.89] = FAIL; emit-only +2.09%; pre-fix +4.93%. About 1.1 points of the delta is the harness's own receipt step hashing an executable 70 KB larger with ARGUS linked (not subtracted); the in-process SHA-256 chain is ~0.5-0.8%. Profile (perf): worker CPU flat; the consumer disturbs scheduling on shared cores (migrations 14 -> 21-25, longer waits on the world lock). Fixes: `ec87160` (consumer CPU placement, the fix that passes) and `110faaf` (park-time flush moved out of the world lock, no measurable gain). Caveat: another session's compile ran during the final rounds; interleaving spreads it evenly. Limits: passes only when the consumer has a core the workload does not use; `auto` reaches outside the operator's CPU mask to find one and degrades to unpinned (FAIL) when none exists; ADR 0017's 2% target is met on the metric the ADR defines (instrumented-workload throughput: no loss) but not on the R8 clock reading (+3.87%); ADR amendment pending Drake. History: at omega `20e84b8` this gate was FAIL (R8 +6.2%). | omega `cf6f45d` (measured build `265b1c5`; fixes `ec87160`, `110faaf`) | Spark (GB10, X925 cores, no `.spark-quiet`) | | ARGUS_HOSTILE_REVIEW_PASS | See the definition below the table. | `make test` (and `make sanitize`): `test_argus_hostile` + `docs/HOSTILE_REVIEW.md` | **PASS-WITH-DOCUMENTED-LIMITS** (not a bare PASS). 63 tests: 58 defended, 3 expected-fail, 2 N/A-v1, 0 xpass, 0 unexpected; sections DEFENDED 20, WEAK 4, OPEN 1, N/A-v1 1 (OPEN: G-5; WEAK: G-9, G-12, G-17, G-21; N/A-v1: G-6; counted from the section verdicts in `HOSTILE_REVIEW.md`, the test prints per-test verdicts only). Limits listed below. | `b375dca` | Spark (+ASan/UBSan) + Mac | diff --git a/native/argus/sha256.h b/native/argus/sha256.h index ce65f952..b3f5d61a 100644 --- a/native/argus/sha256.h +++ b/native/argus/sha256.h @@ -1,4 +1,4 @@ -/* Copied from aien-dev/omega src/sha256.{c,h} at ceb68d6 (in-house lineage), unchanged except this note */ +/* Copied from aien-spark/omega src/sha256.{c,h} at ceb68d6 (in-house lineage), unchanged except this note */ #ifndef OMEGA_SHA256_H #define OMEGA_SHA256_H diff --git a/native/kernel/.crumb b/native/kernel/.crumb index f317f3a8..42d74ef3 100644 --- a/native/kernel/.crumb +++ b/native/kernel/.crumb @@ -51,14 +51,14 @@ "purpose": "Directory native/kernel/arch. Purpose not yet described by a human." }, { - "digest": "90a737e620d9c654ae347aae26b4635b55477d4ef45c68ac10e983019f6af11c", - "last_commit": "827e20f", + "digest": "f3973e5baeb129ef1f92cbf9719c69062a24c3f901be911951b31491a0cabc82", + "last_commit": "f78977a", "name": "artifact", "purpose": "Directory native/kernel/artifact. Purpose not yet described by a human." }, { "digest": "cb321e8501900b217910e4f33f40364fda20d2fbd9e88db637ee2d1e63da7e58", - "last_commit": "e673bfb", + "last_commit": "e9d39a9", "name": "core", "purpose": "Directory native/kernel/core. Purpose not yet described by a human." }, @@ -88,7 +88,7 @@ }, { "digest": "8e39b06bf4949cf9db10b8499b7cef56c9759b9692efc859575ce502df0a0c0a", - "last_commit": "e673bfb", + "last_commit": "e9d39a9", "name": "tests", "purpose": "Directory native/kernel/tests. Purpose not yet described by a human." }, @@ -99,15 +99,15 @@ "purpose": "Hosted (Linux-built) checkers for the native kernel, run by `make -C native/kernel test`; nothin" } ], - "children_root": "sha256:23334b23583f5a82d687244697b1a5209d255715ae916f28919240d056b0dcde", - "compiled_at": "2026-10-14T00:20:37Z", + "children_root": "sha256:1b7a80fcf6c87bcc51d8301826e8733a27dd1e2d604296931c105ccb9d21ac2f", + "compiled_at": "2026-10-14T01:16:45Z", "compiler": "crumb-compile/1", - "digest": "sha256:7df01cbf05b0e93aa9bbf47b2b862b110b001f9cce2283d181a91be5b3393507", + "digest": "sha256:1ea30e8921bc8f61835ecaa6e3896b1084c4b0a6034ff00493f21390a98f1b25", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 380, - "generated_at_commit": "a3e9c23dfc5b0ed0f9701132904b28edac14b71f", - "source_tree": "sha256:0d465662b8f38d82c5e9ffa1a9c01212302da583b30b970986accb5f03004e13" + "generated_at_commit": "f78977a6ce33ea89a5b3b1952c0a0e403d4504fa", + "source_tree": "sha256:f9c6f1e2520c0c18b24e243f9b6150c62a45da232f7d2d6c405affc81e2d4aca" }, "owner_lane": "", "provenance": { diff --git a/native/kernel/GATES.md b/native/kernel/GATES.md index 5cb847b1..3e33a3cd 100644 --- a/native/kernel/GATES.md +++ b/native/kernel/GATES.md @@ -705,7 +705,7 @@ Evidence: red on main a93e27b (`AIENOS_CK_SCREEN: FAIL`, gate script and branch- ## OSC_UNIT: OSC unit admission (C-only, Campaign 3, arch#158/#162) -> CK `OSC_UNIT` (scripts/qemu_ck_osc_unit_test.sh) -Contract: aien-dev/aien-protocols PR #17, `specs/osc-unit-artifact/OSC_UNIT_ARTIFACT.md` (container v1, +Contract: aien-spark/aien-protocols PR #17, `specs/osc-unit-artifact/OSC_UNIT_ARTIFACT.md` (container v1, frozen). Code: `native/kernel/artifact/osc_unit.{h,c}` (pure admission function, section 8.2 check order, section 8.4 code scan with the decoder round trip), `native/kernel/core/osc_admit.{h,c}` (kernel policy and the `osc_unit:` report lines). It reuses `argus/sha256.c` and `sig/ed25519.c` (strict verify, `S < L`); no new crypto. @@ -810,7 +810,7 @@ the units do not use them. (4) Nothing executes: no environment, files or exec. ## OSH_OP: a real capability-authorized operation through the shared OSH interface (OSH-AIENOS-OP) -> CK `OSH_OP` (scripts/qemu_ck_osh_op_test.sh) -Label: **QEMU (aarch64 virt), TEST signer, not physical.** Part of aien-dev/aien-architecture#158. The OSH_CORE gate above (fixture traces, +Label: **QEMU (aarch64 virt), TEST signer, not physical.** Part of aien-spark/aien-architecture#158. The OSH_CORE gate above (fixture traces, nothing executes) is unchanged and separate. This gate runs the same three shell units as admitted EL0 tasks (build flags `CK_SEED0B_TEST_ANCHOR=1 CK_OSH_TEST=1 CK_OSH_OP_TEST=1`; the fixtures are not run in that image). On a ready pipeline the driver hands the request record (OSH_PLATFORM_ABI section 7, aien-protocols#16 DRAFT) to the adapter layer `core/osh_op.c`, which does diff --git a/native/kernel/artifact/.crumb b/native/kernel/artifact/.crumb index 33073bfb..774875c0 100644 --- a/native/kernel/artifact/.crumb +++ b/native/kernel/artifact/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-08T11:41:36Z", + "compiled_at": "2026-10-14T01:16:45Z", "compiler": "crumb-compile/1", - "digest": "sha256:90a737e620d9c654ae347aae26b4635b55477d4ef45c68ac10e983019f6af11c", + "digest": "sha256:f3973e5baeb129ef1f92cbf9719c69062a24c3f901be911951b31491a0cabc82", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 9, - "generated_at_commit": "f4c8d8dc15d73c80929fd3128caaa01d96ce3fb5", - "source_tree": "sha256:5aa3eb22f426eb9a99897468c10bfa95c06bc083f920fd3d2376dfe5888dced5" + "generated_at_commit": "f78977a6ce33ea89a5b3b1952c0a0e403d4504fa", + "source_tree": "sha256:e8af6c3da56a9bae598a7c119d713642e0f505d8435d6222d7a6450dd634aa53" }, "owner_lane": "", "provenance": { diff --git a/native/kernel/artifact/osc_unit.h b/native/kernel/artifact/osc_unit.h index bb87b201..92ee4db6 100644 --- a/native/kernel/artifact/osc_unit.h +++ b/native/kernel/artifact/osc_unit.h @@ -1,6 +1,6 @@ /* osc_unit.h -- admission of OSC unit containers (OSCUNIT, container v1). * - * Contract: aien-dev/aien-protocols PR #17, specs/osc-unit-artifact/ + * Contract: aien-spark/aien-protocols PR #17, specs/osc-unit-artifact/ * OSC_UNIT_ARTIFACT.md (section numbers below refer to it). This is a * different format from Binary Artifact v0 (ck_artifact.h, ADR 0014); it * reuses the in-tree SHA-256 (argus/sha256.c) and Ed25519 verify diff --git a/native/kernel/third_party/omega/README.md b/native/kernel/third_party/omega/README.md index 39f40643..ff8927a0 100644 --- a/native/kernel/third_party/omega/README.md +++ b/native/kernel/third_party/omega/README.md @@ -1,7 +1,7 @@ # Vendored Omega sources `rx_cortex.c` and `rx_cortex.h` are the canonical Omega Cortex store -(`src/runtime/` of https://github.com/aien-dev/omega), copied byte for byte +(`src/runtime/` of https://github.com/aien-spark/omega), copied byte for byte from the commit named on line 1 of `omega.lock` at the repository root. Both repositories are AGPL-3.0; the copyright stays with the Omega authors. diff --git a/native/net/.crumb b/native/net/.crumb index f4e93b92..4c22cfbf 100644 --- a/native/net/.crumb +++ b/native/net/.crumb @@ -124,7 +124,7 @@ }, { "lane": "lane19", - "note": "Part A, aienos resend jitter: PASS (hosted).** PR aien-dev/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change.", + "note": "Part A, aienos resend jitter: PASS (hosted).** PR aien-spark/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change.", "pr": 193, "ref": "2026-10-01-push-lane19-report.md", "sha": "8d511d6", @@ -156,7 +156,7 @@ }, { "lane": "lane16", - "note": "Pull request:** aien-dev/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt.", + "note": "Pull request:** aien-spark/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt.", "pr": 192, "ref": "2026-10-01-push-lane16-report.md", "sha": "08cb905", @@ -188,7 +188,7 @@ }, { "lane": "lane5", - "note": "PR: aien-dev/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69", + "note": "PR: aien-spark/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69", "pr": 184, "ref": "2026-10-01-push-lane5-report.md", "sha": "999b5aa", diff --git a/native/net/tests/.crumb b/native/net/tests/.crumb index 18ff34ce..b467f111 100644 --- a/native/net/tests/.crumb +++ b/native/net/tests/.crumb @@ -82,7 +82,7 @@ }, { "lane": "lane19", - "note": "Part A, aienos resend jitter: PASS (hosted).** PR aien-dev/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change.", + "note": "Part A, aienos resend jitter: PASS (hosted).** PR aien-spark/aienos #193, merged 8d511d6. native/net only; no public signature, struct field or wire change.", "pr": 193, "ref": "2026-10-01-push-lane19-report.md", "sha": "8d511d6", @@ -114,7 +114,7 @@ }, { "lane": "lane16", - "note": "Pull request:** aien-dev/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt.", + "note": "Pull request:** aien-spark/aienos #192, merged as 08cb905. Clean-tree receipt: native/net/receipts/m6a_net_host_83748f32...txt.", "pr": 192, "ref": "2026-10-01-push-lane16-report.md", "sha": "08cb905", @@ -146,7 +146,7 @@ }, { "lane": "lane5", - "note": "PR: aien-dev/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69", + "note": "PR: aien-spark/aienos #184, MERGED, merge sha 999b5aac1e5ad4ebee969fbce9ddbe2b71308b69", "pr": 184, "ref": "2026-10-01-push-lane5-report.md", "sha": "999b5aa", diff --git a/native/sig/.crumb b/native/sig/.crumb index afdbf530..559877a2 100644 --- a/native/sig/.crumb +++ b/native/sig/.crumb @@ -42,7 +42,7 @@ }, { "lane": "lane10", - "note": "Verdict: PASS (software primitive). PR aien-dev/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be).", + "note": "Verdict: PASS (software primitive). PR aien-spark/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be).", "pr": 188, "ref": "2026-10-01-push-lane10-report.md", "sha": "913b962", diff --git a/native/sig/tests/.crumb b/native/sig/tests/.crumb index d5ef280c..05ddc644 100644 --- a/native/sig/tests/.crumb +++ b/native/sig/tests/.crumb @@ -29,7 +29,7 @@ }, { "lane": "lane10", - "note": "Verdict: PASS (software primitive). PR aien-dev/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be).", + "note": "Verdict: PASS (software primitive). PR aien-spark/aienos #188 MERGED, merge commit 913b962 (main tree identical to the tested branch cea54be).", "pr": 188, "ref": "2026-10-01-push-lane10-report.md", "sha": "913b962", diff --git a/scripts/.crumb b/scripts/.crumb index 566e92d5..8ae15a77 100644 --- a/scripts/.crumb +++ b/scripts/.crumb @@ -7,14 +7,14 @@ "generated": { "children": [], "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", - "compiled_at": "2026-10-14T00:20:37Z", + "compiled_at": "2026-10-14T01:16:45Z", "compiler": "crumb-compile/1", - "digest": "sha256:f573c48fba3478c69f1daac51db9427a959b611059ca020cd5eaa8c94685d883", + "digest": "sha256:ffc301dd27d8282fead7987c2f7ac1c8bb3ff262994bf324dc804ef2d36db01e", "evidence_files": 0, "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", "files": 98, - "generated_at_commit": "a3e9c23dfc5b0ed0f9701132904b28edac14b71f", - "source_tree": "sha256:84d3e36a84eac5bead0c5753a89a09d07e27a38dc2ea79ab5e9e91c8de1ec878" + "generated_at_commit": "f78977a6ce33ea89a5b3b1952c0a0e403d4504fa", + "source_tree": "sha256:a3e582cf4995d987847b39d8b1c1a12d742abfa71f699a01d289a161002cea52" }, "owner_lane": "", "provenance": { diff --git a/scripts/workflow_files_check.sh b/scripts/workflow_files_check.sh index dde7e1b1..57823156 100755 --- a/scripts/workflow_files_check.sh +++ b/scripts/workflow_files_check.sh @@ -10,7 +10,7 @@ # # scripts/workflow_files_check.sh # Needs: gh with a token that can read Actions (GITHUB_TOKEN in CI), and -# GITHUB_REPOSITORY (owner/name; defaults to aien-dev/aienos). POSIX sh, no +# GITHUB_REPOSITORY (owner/name; defaults to aien-spark/aienos). POSIX sh, no # Python. Exit 0 when every workflow run on the commit has at least one job, # 1 when one does not, 2 on usage or API error. set -eu ```