interplane.Get Omega
Read in your language

aien-architecture-mv

Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories.

Brought by drakestapleton

GitHub aien-dev/aien-architecture-mv#28 (code only)

closed derived c39739984b846039 #28

Imported from GitHub aien-dev/aien-architecture-mv#28 (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 f1f3857d593835b8d9e1c45c33370c6ce9307e62 · Head fc7244a819a5dee4602731296ee37fe919a33c84

Apply it

git checkout -b patch-c39739984b846039 f1f3857d593835b8d9e1c45c33370c6ce9307e62
curl -fsSL https://interplane.io/drakestapleton/aien-architecture-mv/patches/c39739984b846039.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/aien-architecture-mv
28
fc7244a819a5dee4602731296ee37fe919a33c84
{"kind":"github-import","owner":"aien-dev","repo":"aien-architecture-mv","number":28,"url":"https://github.com/aien-dev/aien-architecture-mv/pull/28","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:59Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/docs/milestone-16-spec.md b/docs/milestone-16-spec.md
index edf2c73..3a59f29 100644
--- a/docs/milestone-16-spec.md
+++ b/docs/milestone-16-spec.md
@@ -133,16 +133,41 @@ Milestone 16 provides the empirical foundation upon which **Milestone 17 (`OMEGA
 
 Milestone 16 was qualified on NVIDIA DGX Spark (`spark-b87b`) on 2026-09-26.
 
-- **Authoritative Evidence Collection**: `physics/research/m16/run-20260926-10/`
-- **Raw Evidence Digest**: `sha256: 5068e2274fa1dc9401365a2f085bc2187f63230b4909d0ac1bceee804ea230a6`
-- **Physics Qualification Receipt**: `evidence/m16-blackwell-native-path-receipt.json` (`physics@f72e297`)
-- **Qualification Scope**:
-  1. Complete critical path verified with zero `UNKNOWN` or `INFERRED` links (all links `[OBSERVED]` or `[DOCUMENTED]`).
-  2. Usermode doorbell aperture identified at BAR0 offset `0xbb0000` (class `0xC661` `HOPPER_USERMODE_A`), with register offset `+0x90` (`NVC361_NOTIFY_CHANNEL_PENDING`).
-  3. GPFIFO 8-byte entry structure and `NVC06F` pushbuffer method headers decoded.
-  4. Device completion attributed to pushbuffer method `0x5c` (`SEM_ADDR_LO`) writing coherent memory marker with `RELEASE` (`0x1`) flanked by `MEM_OP_D` flushes.
-  5. Hardware causality verified via controlled negative perturbation test (`causality_test.c`: withheld doorbell halts execution; released doorbell immediately updates marker).
-  6. Minimum sovereign transaction verified directly in pure C (`sovereign_submit.c`) without proprietary userspace runtimes (`libcuda`).
-
-**Milestone 16 is RATIFIED and CLOSED.** Milestone 17 (`OMEGA_BLACKWELL_VECTOR`) is **IN PROGRESS**.
+### 6.1 Historical Qualification Audit (Superseded)
+
+- **Original Commit**: `physics@f72e2974793a288c5dd910180f4685deffa31bb7`
+- **Original Receipt**: `evidence/m16-blackwell-native-path-receipt.json`
+- **Audit Status**: **SUPERSEDED / FAILED INDEPENDENT RUNTIME AUDIT**
+- **Audit Findings**:
+  1. `sovereign_submit` linked and loaded `libcuda.so.1`.
+  2. CUDA APIs performed context/stream/memory initialization (`cuInit`, `cuDevicePrimaryCtxRetain`, `cuStreamCreate`, `cuMemHostAlloc`).
+  3. Session-specific queue, USERD, and work-submit token state was reused (`ring = 0x200202000`, `userd_gpput = 0x20080108c`, `token = 0x40000003`).
+  4. Concurrent invocation failed due to colliding static virtual memory allocations.
+  5. Referenced raw evidence was not committed to Git.
+  6. Original flush interpretation contained an unsupported claim regarding method execution semantics.
+  7. GPGet interpretation was insufficiently established on physical Blackwell USERD.
+  8. Copy/compute object classes were mislabeled as GPFIFO channel classes where applicable.
+  9. Physical-address claims lacked independent qualification (userspace virtual mappings were treated as verified physical addresses).
+
+The historical commit `physics@f72e297` is preserved in git history as an immutable audit record.
+
+### 6.2 Corrective Requalification (Ratified)
+
+- **Implementation Commit**: `physics@a2c0d7fbc03f7ce91fcb6389312a0ee8630322cd`
+- **Evidence Commit**: `physics@92038f7`
+- **Canonical Main Commit**: `physics@b64753d95bacb1114ba48decde48239f0c542e12` (PR #11)
+- **Authoritative Evidence Collection**: `physics/evidence/m16-requalification/` (sealed with `SHA256SUMS`)
+- **Physics Qualification Receipt**: `evidence/m16-blackwell-native-path-requalification-receipt.json`
+- **Audit Dossier**: `evidence/m16-requalification/M16_REQUALIFICATION_AUDIT.md`
+- **Requalification Scope**:
+  1. Complete critical path verified with zero `UNKNOWN` or `INFERRED` links.
+  2. Native RM client (`nvrm/nvrm.c`, `nvrm/nvrm.h`): Direct ioctls on `/dev/nvidiactl`, `/dev/nvidia0`, and `/dev/nvidia-uvm` dynamically allocate client, device, subdevice, memory, and channel resources.
+  3. Zero foreign userspace runtime: `ldd`, `nm -u`, and `/proc/$PID/maps` verified zero `libcuda`, `libcudart`, or `libnvidia` dependencies. Linked strictly against standard C library (`libc.so.6`).
+  4. Usermode doorbell aperture identified at BAR0 offset `0xbb0000` (class `0xC661` `HOPPER_USERMODE_A`), with register offset `+0x90` (`NVC361_NOTIFY_CHANNEL_PENDING`).
+  5. GPFIFO 8-byte entry structure and `NVC06F` pushbuffer method headers decoded with bit 41 (`LEVEL_SUBROUTINE`) dispatch.
+  6. Device completion attributed to pushbuffer method `0x5c` (`SEM_ADDR_LO`) writing coherent memory marker with `RELEASE` (`0x1`) flanked by `MEM_OP_D` flushes.
+  7. Hardware causality verified via controlled negative perturbation test: 5/5 trials demonstrate that withholding the doorbell store strictly prevents execution (marker remains 0x0), while issuing the store immediately triggers completion (marker transitions to 0x16c0ffee).
+  8. Concurrency verified: Independent contexts execute concurrently without memory collision or crosstalk.
+
+**Milestone 16 is CORRECTIVELY REQUALIFIED and RATIFIED.** Milestone 17 (`OMEGA_BLACKWELL_VECTOR`) is **IN PROGRESS**.
 
diff --git a/doctrine/ROADMAP.md b/doctrine/ROADMAP.md
index 160b027..4046736 100644
--- a/doctrine/ROADMAP.md
+++ b/doctrine/ROADMAP.md
@@ -48,7 +48,7 @@ Status vocabulary:
 | **M13** | Program Synthesis & Library Learning | `OMEGA_MACHINE_GRAPH` | Formal machine hardware graph ($G_M$) describing execution pipelines and memory hierarchies, as reported by Physics. Qualified 2026-09-26 under `aien-dev/omega` (commit `9413558...`, receipt commit `db066d9...`). | COMPLETE |
 | **M14** | Program Synthesis & Library Learning | `OMEGA_REALIZATION_SYNTHESIS` | Automated $G_S \times G_M \to G_R$ synthesis targeting declared hardware capabilities. Qualified 2026-09-26 under `aien-dev/omega` (commit `c0c8102...`, receipt commit `03fbcb9...`). | COMPLETE |
 | **M15** | Accelerator Cognition Substrate | `PHYSICS_ACCELERATOR_LINK` | Bounded accelerator authority model grounded in observed DGX Spark device, coherent-memory, SMMUv3, IOMMU, and BAR topology. Native Blackwell submission protocol intentionally deferred to M16. Qualified 2026-09-26 under `aien-dev/physics` and `aien-dev/omega`. | COMPLETE / HARDWARE BOUNDARY QUALIFIED |
-| **M16** | Accelerator Cognition Substrate | `BLACKWELL_NATIVE_PATH_KNOWN` | Empirical execution characterization of native Blackwell GB10 submission architecture (MMIO, GPFIFO queues, doorbells, completions). Qualified 2026-09-26 under `aien-dev/physics`. | COMPLETE / BLACKWELL_NATIVE_PATH_KNOWN |
+| **M16** | Accelerator Cognition Substrate | `BLACKWELL_NATIVE_PATH_KNOWN` | Empirical execution characterization of native Blackwell GB10 submission architecture (MMIO, GPFIFO queues, doorbells, completions). Correctively requalified 2026-09-26 under `aien-dev/physics` without libcuda (implementation `a2c0d7f...`, receipt `evidence/m16-blackwell-native-path-requalification-receipt.json`, canonical `b64753d...`). | COMPLETE / CORRECTIVELY REQUALIFIED |
 | **M17** | Accelerator Cognition Substrate | `OMEGA_BLACKWELL_VECTOR` | Verified Blackwell vector compute realization generated directly from $G_S$. | IN PROGRESS |
 | **M18** | Accelerator Cognition Substrate | `OMEGA_BLACKWELL_MATMUL` | Verified native Blackwell tensor matrix multiplication with tensor core acceleration. | PLANNED |
 | **M19** | Accelerator Cognition Substrate | `OMEGA_ACCELERATOR_RESIDENT` | Persistent Omega execution substrate residing in accelerator-accessible coherent memory. | PLANNED |
@@ -165,19 +165,30 @@ One nontrivial abstraction not present in the initial library that:
 - Specification: [`docs/milestone-15-spec.md`](../docs/milestone-15-spec.md).
 - Hardware Audit: [`docs/research/dgx-spark-hardware-audit-m15.md`](../docs/research/dgx-spark-hardware-audit-m15.md).
 
-### M16 — `BLACKWELL_NATIVE_PATH_KNOWN`
-- Status: **COMPLETE / BLACKWELL_NATIVE_PATH_KNOWN**.
-- Qualified 2026-09-26 under `aien-dev/physics` (receipt `f72e2978a3a7...`).
-- Grounded on live DGX Spark (`spark-b87b`) hardware:
-  - Critical submission path empirically verified with 0 `UNKNOWN` or `INFERRED` links.
+### M16 - `BLACKWELL_NATIVE_PATH_KNOWN`
+- Status: **COMPLETE / CORRECTIVELY REQUALIFIED**.
+- Requalified 2026-09-26 under `aien-dev/physics`:
+  - Implementation Commit: `physics@a2c0d7fbc03f7ce91fcb6389312a0ee8630322cd`
+  - Requalification Receipt Commit: `physics@92038f7`
+  - Canonical Main Commit: `physics@b64753d95bacb1114ba48decde48239f0c542e12` (PR #11)
+  - Requalification Receipt: `physics/evidence/m16-blackwell-native-path-requalification-receipt.json`
+  - Audit Dossier: `physics/evidence/m16-requalification/M16_REQUALIFICATION_AUDIT.md`
+- Historical Original Qualification:
+  - Original Commit: `physics@f72e2974793a288c5dd910180f4685deffa31bb7`
+  - Original Receipt: `physics/evidence/m16-blackwell-native-path-receipt.json`
+  - Status: **SUPERSEDED / FAILED INDEPENDENT RUNTIME AUDIT**
+  - Historical Record: Retained in git history as an immutable audit record. The original harness linked and loaded `libcuda.so.1`, called CUDA initialization APIs (`cuInit`, `cuStreamCreate`), and reused session-specific queue addresses.
+- Grounded on live DGX Spark (`spark-b87b`) hardware without libcuda:
+  - Hardware: NVIDIA GB10 (Grace Blackwell, sm_121 / 0xa04), GPU ID `0xf0100`, bus `0000000f:01:00.0`.
+  - Zero Foreign Userspace Runtime: `ldd`, `nm -u`, and `/proc/$PID/maps` verified zero `libcuda`, `libcudart`, or `libnvidia` dependencies. Linked strictly against standard C library (`libc.so.6`).
+  - Native Resource Allocation: Raw ioctls on `/dev/nvidiactl`, `/dev/nvidia0`, and `/dev/nvidia-uvm` dynamically allocate client, device, subdevice, memory, and channel resources.
   - Usermode doorbell aperture: class `0xC661` (`HOPPER_USERMODE_A`) at BAR0 offset `0xbb0000` (`0x24bb0000`), register offset `+0x90` (`NVC361_NOTIFY_CHANNEL_PENDING`).
-  - GPFIFO format: 1,024 8-byte entries per channel at `0x200200000` base, step `0x2000`.
-  - Pushbuffer command stream: `NVC06F_DMA_SEC_OP_INC_METHOD` packets (`SET_OBJECT` method `0x000`, `MEM_OP_A` method `0x28`, `SEM_ADDR_LO` method `0x5c`).
+  - GPFIFO format: 1,024 8-byte entries per channel; bit 41 (`LEVEL_SUBROUTINE`) pushbuffer dispatch.
+  - Pushbuffer command stream: `NVC06F_DMA_SEC_OP_INC_METHOD` packets (`SET_OBJECT` method `0x000` to `BLACKWELL_COMPUTE_B` `0xcec0`, `SEM_ADDR_LO` method `0x5c`).
   - Completion attribution: pushbuffer method `0x5c` (`SEM_ADDR_LO`) writing coherent memory marker with `RELEASE` (`0x1`) flanked by `MEM_OP_D` flushes, polled directly by CPU across NVLink-C2C.
-  - Causality proven: controlled negative perturbation test demonstrates that withholding the doorbell store strictly prevents execution, while issuing the store immediately triggers completion.
-  - Minimum sovereign transaction: direct C submission executed without proprietary userspace runtimes (`libcuda`).
-- Raw evidence bundle sealed under `physics/research/m16/run-20260926-10/` (SHA-256 `5068e2274fa1dc9401365a2f085bc2187f63230b4909d0ac1bceee804ea230a6`).
-- Qualification Receipt: `physics/evidence/m16-blackwell-native-path-receipt.json`.
+  - Causality proven: 5/5 consecutive trials demonstrate that withholding the doorbell store strictly prevents execution (marker remains 0x0), while issuing the store immediately triggers completion (marker transitions to target value).
+  - Concurrency verified: Independent contexts execute concurrently without memory collision or crosstalk.
+- Raw evidence bundle sealed under `physics/evidence/m16-requalification/` (with `SHA256SUMS`).
 - Specification: [`docs/milestone-16-spec.md`](../docs/milestone-16-spec.md).
 
 ### M17 — `OMEGA_BLACKWELL_VECTOR`