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#62 (code only)

closed derived b1a632c79d457829 #62

Imported from GitHub aien-dev/aien-architecture-mv#62 (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 13b4766cd25a0119794db1b49fba551b84cf9fb8 · Head 067c9700659556360ece1712de998d8a6de271ad

Apply it

git checkout -b patch-b1a632c79d457829 13b4766cd25a0119794db1b49fba551b84cf9fb8
curl -fsSL https://interplane.io/drakestapleton/aien-architecture-mv/patches/b1a632c79d457829.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
62
067c9700659556360ece1712de998d8a6de271ad
{"kind":"github-import","owner":"aien-dev","repo":"aien-architecture-mv","number":62,"url":"https://github.com/aien-dev/aien-architecture-mv/pull/62","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:38:07Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.github/workflows/qualification-status.yml b/.github/workflows/qualification-status.yml
new file mode 100644
index 0000000..78dd02e
--- /dev/null
+++ b/.github/workflows/qualification-status.yml
@@ -0,0 +1,17 @@
+name: Qualification status
+on:
+  pull_request:
+  push:
+    branches: [main]
+permissions:
+  contents: read
+jobs:
+  r16:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v4
+      - uses: actions/checkout@v4
+        with:
+          repository: aien-dev/omega
+          path: omega-evidence
+      - run: sh scripts/verify-r16-status.sh omega-evidence
diff --git a/CURRENT_EXECUTION_PLAN.md b/CURRENT_EXECUTION_PLAN.md
index ef6f3a3..e6060c1 100644
--- a/CURRENT_EXECUTION_PLAN.md
+++ b/CURRENT_EXECUTION_PLAN.md
@@ -42,7 +42,7 @@ As of 2026-09-27:
 Addendum, 2026-09-29 (from live evidence):
 
 - ADR 0016 R15 (quantitative performance) PASSED: `aien-dev/omega#67`, merge `bba3bd3`, receipt `evidence/R15/065c6884...json`, 16/16 gates.
-- ADR 0016 R16 (orchestrator retirement) is IN PROGRESS: `aien-dev/omega#68` draft, spec and loop inventory pre-registered, no receipt on `main`.
+- ADR 0016 R16 (orchestrator retirement) is IN PROGRESS: `aien-dev/omega#68` merged, G1/G2 inventory PASS, but the required G3-G8 qualification and final receipt are absent from `main`.
 - Omega effect capabilities now carry 64-bit generations (`aien-dev/omega#71`, `8e7a445`); 32-bit v1 effect payloads are refused.
 - The FORGE v1 realize/verify seam is closed: `aien-dev/physics#13` merged (`5969159`), Gates 3 and 4 pass.
 - AR1 (FORGE substrate-neutral descriptor contract) PASSED: `aien-dev/physics#16` (`1f7c321`) and `aien-dev/physics#13` (`5969159`) merged on main; V1 and V2 combined gates pass.
diff --git a/doctrine/ROADMAP.md b/doctrine/ROADMAP.md
index 93b13f9..18fefa1 100644
--- a/doctrine/ROADMAP.md
+++ b/doctrine/ROADMAP.md
@@ -281,7 +281,7 @@ These are the implementation stages of ADR 0016, not roadmap milestones; they ca
 | R15 quantitative performance | PASS | DGX Spark (per receipt) | #67 (`bba3bd3`, `evidence/R15/065c6884...json`, outcome PASS, 16/16 gates) |
 | R16 orchestrator retirement | IN PROGRESS | DGX Spark | #68 merged (`6fdc4c3`): only R16-G1/G2 loop-inventory gate PASS (0 unclassified, 0 question). Not yet evidenced: G3 authority path (`make test-r16-authpath`), G4 negative test (`rx_r16_negative.c`), G5 API/build surface, G6 protected surfaces, G7 full R1-R15 ladder on candidate, G8 receipt `evidence/R16/<sha256>.json` (`AIEN_RX_R16_ORCHESTRATOR_RETIRED_V1`) |
 
-Status corrected 2026-09-29 from live evidence.
+Status corrected 2026-09-29 against committed acceptance evidence. R16 inventory completion does not close the overall milestone.
 
 ### M22 — `OMEGA_OPTIMIZER`
 Omega-native semantics for SGD, Adam, and AdamW, with verified CPU reference realizations and optional accelerator-fused realizations.
diff --git a/scripts/verify-r16-status.sh b/scripts/verify-r16-status.sh
new file mode 100755
index 0000000..c24254f
--- /dev/null
+++ b/scripts/verify-r16-status.sh
@@ -0,0 +1,50 @@
+#!/bin/sh
+# Refuse an overall R16 PASS without its candidate-bound qualification receipt.
+# Usage: scripts/verify-r16-status.sh <omega-checkout> [roadmap-file]
+# Needs: awk, sha256sum, jq.
+set -u
+
+fail() { echo "$*" >&2; exit 1; }
+
+[ $# -ge 1 ] || fail "usage: $0 <omega-checkout> [roadmap-file]"
+omega=$1
+root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
+roadmap=${2:-$root/doctrine/ROADMAP.md}
+[ -f "$roadmap" ] || fail "roadmap not found: $roadmap"
+
+status=$(awk -F'|' 'index($0, "| R16 orchestrator retirement |") == 1 {
+    s = $3; gsub(/^[ \t]+|[ \t]+$/, "", s); print s; exit }' "$roadmap")
+[ -n "$status" ] || fail "R16 row not found in $roadmap"
+
+if [ "$status" = "IN PROGRESS" ]; then
+    echo "R16 overall qualification is not claimed"
+    exit 0
+fi
+
+command -v jq >/dev/null 2>&1 || fail "jq is required to check R16 receipts"
+
+for path in "$omega"/evidence/R16/*.json; do
+    [ -f "$path" ] || continue
+    name=$(basename "$path" .json)
+    digest=$(sha256sum "$path" | awk '{print $1}')
+    [ "$name" = "$digest" ] || continue
+    if jq -e '
+        type == "object"
+        and .schema == "AIEN_RX_R16_ORCHESTRATOR_RETIRED_V1"
+        and .candidate_bound == true
+        and .tree_dirty == false
+        and .silicon_observed == true
+        and (.candidate_commit | type) == "string"
+        and (.candidate_commit | length) == 40
+        and .candidate_commit == .run_commit
+        and ((.gates // {}) | type) == "object"
+        and ([range(1; 9) as $i | (.gates // {})["R16-G\($i)"] == "PASS"] | all)
+        and ((.production_entry_point // false) | if type == "string" then length > 0 else . == true end)
+        and .remaining_unclassified_semantic_loop_count == 0
+    ' "$path" >/dev/null 2>&1; then
+        echo "R16 qualified receipt: $(basename "$path")"
+        exit 0
+    fi
+done
+
+fail "R16 status '$status' has no valid final G1-G8 candidate-bound silicon receipt; inventory alone is insufficient"