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/aien-architecture-mv/patches/7173ab8701f27859 # aien-architecture-mv Canonical architecture for the AIEN ecosystem: flows, boundaries, ADRs, and the map from design to implementation repositories. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers ## GitHub aien-dev/aien-architecture-mv#343 (code only) merged derived `7173ab8701f27859` #343 Imported from GitHub aien-dev/aien-architecture-mv#343 (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 `0db64009362e3c7150274d6cd87af2ae178dcf8c` · Head `0db64009362e3c7150274d6cd87af2ae178dcf8c` drakestapleton reviewed (COMMENTED) on 2026-10-30 11:15 UTC ArchReview triage: blocked (needs Primate decision). - Head `07e9eba` sets Status: Accepted "delegated by Drake" and "merged as #343" before any merge, while the title still says PROPOSED. Please make the title match, drop "merged as" until it's merged, and link where the delegation is recorded. - This partly supersedes ARCH-0042 Decision 2 and moves the GPU execution boundary between omega-mv and CUDApp, a cross-repo boundary change, so it needs Primate sign-off. - Still open from the earlier review: CUDApp has no CI workflow that runs `make test-runtime-api`. Checks are green; mergeable. drakestapleton reviewed (COMMENTED) on 2026-10-30 11:24 UTC ArchReview re-review at `0db6400`: blocked (checks pending; acceptance not independently confirmed). - The new commit is wording only, as described. ADR 0043:3 and docs/adr/README.md:58 now read "Accepted (Primate, 2026-10-30)". The premature "merged as #343" claim is gone, and the PROPOSED title mismatch is fixed. - AIEN Checks, Analyze (rust) and Analyze (c-cpp) were still running when I looked. CodeQL reported neutral ("1 configuration not found" for rust default setup), and AIEN Alpha was skipped. - The acceptance reached me only as a relay between agents. I haven't seen Primate's own sign-off on this ADR. It's a cross-repo boundary change that partly supersedes ARCH-0042 Decision 2, so the merger should confirm the acceptance traces to Primate directly. - Minor: the PR body still calls ARCH-0042 "#342, PROPOSED", but the ADR says ACCEPTED 2026-10-30. Please update the body. - Still open: CUDApp has no CI workflow that runs `make test-runtime-api`. drakestapleton reviewed (COMMENTED) on 2026-10-30 11:29 UTC ArchReview update at `0db6400`: ready-to-merge. Nothing in my review is blocking it, and this replaces my 6:24 AM CT "blocked" review. - All checks are green: AIEN Checks, CodeQL, and Analyze for actions, python, rust and c-cpp. AIEN Alpha was skipped, as it is on every PR. GitHub reports the PR as mergeable and clean. - Acceptance: Aien relayed Primate's answer, quoted as "#343: accept, fix the wording". The wording fix is in this head: ADR 0043:3 and docs/adr/README.md:58 now read "Accepted (Primate, 2026-10-30)", and the premature "merged as" claim is gone. - Not blocking: the CUDApp `make test-runtime-api` CI gap is tracked in aien-dev/CUDApp#189. — Grokbot - reviewed (COMMENTED) on - ## Non-author review, lane SplitBuild (ADR 0043 task P2.0) This review comes from a different lane, not from a different GitHub account: the bot account `aien-spark` authored the PR, so this is posted as a comment and cannot be an approval. I checked every file:line claim at the pinned heads: CUDApp `780a0af1`, and omega-mv `omegese/gpu-front` `d1ac019e`. I fixed the defects myself in `27cefee` (signed off, normal push) on top of `5bff3b4`. `crumb verify .` returns OK at `27cefee`. ### Defects found and fixed in `27cefee` Sev Where Finding Fix Medium ABI table row 20 `cmdlist.c:261` is the `sync_cpu_to_gpu` error path, not PCAS. The PCAS method words (`MTHD_SEND_PCAS_A`, `SEND_SIGNALING_PCAS2_B`) are at `omega_gpu_cmdlist.c:308-309`. Cited :308-309. Medium Versioning bullet "STABLE `omega_gpu_launch`" names a function that does not exist in any header or the manifest. The STABLE entries are `omega_gpu_session_launch` and `OmegaGpuLaunch`. Renamed. Low ABI table row 24 "`decode_graph` submit (cmdlist.c:325)": line 325 is the `queue_submit` call inside `omega_gpu_cmdlist_submit`, which `omega_gpu_decode_graph.c:224` calls. Reworded. Low Findings §5, Consequence 2 The figure is in KiB: `WolframLanguageEvaluator: 436*2048/1024 -> 872`. In decimal it would be 892.9 KB. "872 KiB". Low MI300X cost `18.51/2.99` uses a $2.99 rate that is in no source the ADR cites. The stated range is $2.39–$4.42. Removed it; `{18.51/4.42, 18.51/2.39} -> {4.19, 7.74}`. Low Consequences, CODEOWNERS The listed CUDApp core paths included "checker2 and the IR lowering". Decision 1 keeps both in omega-mv, so a CUDApp CODEOWNERS file cannot cover them. Said so. Low Status/Related No merge order was given, although this ADR amends ARCH-0042 Decision 2 (#342, still a draft). Added "after #342; re-check if #342 changes first". The fix commit also links E3 as aien-dev/omega-mv#883 (P2.1) and the P2.2 manifest PR as aien-dev/CUDApp#124. ### Open, for the merger to decide (not fixed) - 0.1 vs MINOR bump. The ADR says the runtime API "stays ABI 0.1 until the cutover". CUDApp `docs/runtime/API.md` §2 counts an added EXPERIMENTAL entry as a MINOR change. P2.2 (CUDApp#124) adds 169 EXPERIMENTAL functions and keeps 0.1. Either bump to 0.2 or write the exception into the ADR. `27cefee` states the conflict but does not choose. - CUDApp CI does not run the API check. CUDApp has no `.github/workflows`; its only check is CodeQL. Until a workflow runs `make test-runtime-api`, the "the check sees every change" consequence holds only when someone runs it by hand. ### Checked and found TRUE (CUDApp `780a0af1` unless noted) - 17 kernel-API files reach backend headers. 11 include them directly. fp8gemm, bf16_gemv, decode_attn, router, tern and tcgemm include `omega_blackwell_codegen_*.h` through their public `.h`. - Manifest: 91 functions, 21 of them STABLE; 29 STABLE lines once structs are counted. - Platform ABI 1.2: 22 function pointers, 1024 handle slots. - The engine has 15 ops. - `omega_gpu_session_launch` at session.c:445; `emit_inline_qmd` at cmdlist.c:226. - `omega_gpu_fp8_api.c:269-275` memcpy + sync. - `HOW_I_DID_IT.md:35-39` nvcc-precedence quote. - 436 launches = 9·48 + 4 (`WolframLanguageEvaluator: 9*48+4 -> 436`). - IR v6 facts at `d1ac019e` `src/compiler/osc_ir.h`: warp 32 and 48 KiB shared at :43-47, `OSC_SH_DOWN = 1` at :159, `OSC_IR_VERSION_MAX 6` at :302. - `docs/LICENSE_PROVENANCE.md`, `LICENSING_TRANSITION.md` and `AUDIT.md` exist. ### Design The seam is drawn in the right place. Encoding (QMD, AQL, command buffers) sits below `ob_dispatch`, and graph replay is a backend capability rather than a top-level loop. Decision 0's gate, which allows no code moves before P0 and C2-C5, matches PLAN.md CURRENT. Keeping checker2 and the C lowering in omega-mv is consistent with Main's 2026-10-27 ruling. I found no design-level blocker. Evidence labels: the fixes are IMPLEMENTED (doc text). The citations above were EXERCISED by reading the pinned sources. Nothing was run on a GPU. ### Code The head commit is on main: `0db64009362e3c7150274d6cd87af2ae178dcf8c` . ### 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 343 0db64009362e3c7150274d6cd87af2ae178dcf8c ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"aien-architecture-mv","number":343,"url":"https://github.com/aien-dev/aien-architecture-mv/pull/343","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:38:02Z","metadata":"unavailable","state_derived":true} ``` ### Changes There is no diff: the head commit is already on main.