interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

GitHub aien-dev/omega-mv#160 (code only)

closed derived 3687618e4979ae68 #160

Imported from GitHub aien-dev/omega-mv#160 (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 3f1d9faacf9cc99464fa3d4f271f7a985d7b6e8e · Head d0e89f886916273f5242d94a2e460a80d85089b0

Apply it

git checkout -b patch-3687618e4979ae68 3f1d9faacf9cc99464fa3d4f271f7a985d7b6e8e
curl -fsSL https://interplane.io/drakestapleton/omega-mv/patches/3687618e4979ae68.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/omega-mv
160
d0e89f886916273f5242d94a2e460a80d85089b0
{"kind":"github-import","owner":"aien-dev","repo":"omega-mv","number":160,"url":"https://github.com/aien-dev/omega-mv/pull/160","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:36:34Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.github/workflows/host-suites-2.yml b/.github/workflows/host-suites-2.yml
index bbb6f2496..f45ebab02 100644
--- a/.github/workflows/host-suites-2.yml
+++ b/.github/workflows/host-suites-2.yml
@@ -9,7 +9,8 @@ name: Host suites 2
 # Per-job triggering: the workflow-level `paths` is the union of every job's
 # inputs; the `changes` job then diffs the PR against its base and turns on
 # only the jobs whose own files changed. Makefile and this workflow file turn on
-# every job. A push to main is diffed against the previous tip the same way;
+# every job. A push to main is diffed against the previous tip the same way,
+# except that runtime and argus always run on a push to main (Lane 32);
 # workflow_dispatch (or a push with no known previous tip) runs everything.
 #
 # Jobs and the make targets they run (Spark -j1 time, 2026-10-01):
@@ -44,7 +45,9 @@ name: Host suites 2
 #   They run R13 living episodes that "need both core classes" (Spark X925 +
 #   A725); the runner has one class (g7: 7/18 checks fail; parity: no episode
 #   completes, SEQ_SEMANTIC_PARITY=FAIL; authpath: r13 exits 1). Same reason
-#   rx-host.yml only builds the R13/R14 hosts. Spark -j1: all three PASS;
+#   rx-host.yml only builds the R13/R14 hosts. Spark -j1: all three PASS.
+#   rx-host.yml runs R16-G3 checks 1-3 (sources, link map, embedded names) on
+#   the host and silicon builds and declares every Spark/chip-only run SKIP;
 #   test-polyglot: environment. mk/polyglot.mk builds its -O3 flavor with
 #   -mcpu=native next to -march=armv8.6-a+...; on the runner (Neoverse N2) gcc
 #   resolves native to a CPU that conflicts with that -march and -Werror stops
@@ -56,29 +59,10 @@ name: Host suites 2
 
 on:
   workflow_dispatch:
+  # Push to main is not path-filtered: the runtime and argus jobs re-test every
+  # merge result; the other jobs still run only when their own files changed.
   push:
     branches: [main]
-    paths:
-      - 'Makefile'
-      - '.github/workflows/host-suites-2.yml'
-      - 'physics.lock'
-      - 'aienos.lock'
-      - 'argus.lock'
-      - 'src/**'
-      - 'tests/**'
-      - 'tools/**'
-      - 'mk/**'
-      - 'spec/polyglot-0.md'
-      - 'spec/r16-*'
-      - 'docs/r16-*'
-      - 'docs/turing/**'
-      - 'calibration/**'
-      - 'data/crumbline/**'
-      - 'data/turing-cal/**'
-      - 'evidence/TURING_YIELD/**'
-      - 'evidence/POLYGLOT/**'
-      - 'evidence/MIXED_ALGEBRA/**'
-      - 'evidence/R15/**'
   pull_request:
     paths:
       - 'Makefile'
@@ -145,6 +129,8 @@ jobs:
           core='^src/(omega_|aarch64_|sha256\.)'
           sel() {
             if grep -Eq "$all|$2" changed.txt; then v=true; else v=false; fi
+            # every push to main re-tests the runtime and ARGUS on the merge result
+            if [ "$EVENT" = push ] && { [ "$1" = runtime ] || [ "$1" = argus ]; }; then v=true; fi
             echo "$1=$v" >> "$GITHUB_OUTPUT"; echo "$1=$v"
           }
           sel visor     "$core|^src/(visor|language)/|^tests/(visor|language)/|^mk/(00-visor-core|visor-[^/]*)\.mk$|^tools/omega\.c$|^src/runtime/rx_(aegis|caproot|coherent|generation|world)\.|^aienos\.lock$"
diff --git a/.github/workflows/host-suites.yml b/.github/workflows/host-suites.yml
index c29c346da..5e6a5111e 100644
--- a/.github/workflows/host-suites.yml
+++ b/.github/workflows/host-suites.yml
@@ -13,7 +13,9 @@ name: Host suites
 #       machine-identity effect-cap64 workflow-fusion typed-results costmodel
 #   rx-host.yml omega-faculty-arm : program-id program-realize r10 r11
 #       empirical (EMPIRICAL_ALLOW_NO_WIN=1: single-core runner) plan-reuse
-#       (+ builds only of the R13/R14 living hosts)
+#       (+ builds only of the R13/R14 living hosts; R16-G3 checks 1-3 on the
+#       host and silicon builds: test-r16-authpath-linkmap{,-silicon})
+#   rx-host.yml chip-only-declared : prints SKIP for every Spark/chip-only run
 #   turing-yield.yml : turing-yield turing-energy
 #   host-suites-3.yml : numeric-transc numeric-transc-digest language test-m6..m15
 #       (test-numeric-transc-full and test-m17 are listed there as skipped jobs;
diff --git a/.github/workflows/rx-host.yml b/.github/workflows/rx-host.yml
index a11f0f2ac..139c601dc 100644
--- a/.github/workflows/rx-host.yml
+++ b/.github/workflows/rx-host.yml
@@ -34,42 +34,14 @@ on:
       - '.github/workflows/rx-host.yml'
       - 'aienos.lock'
       - 'argus.lock'
+      - 'tools/r16_authpath.sh'
+      - 'tools/ci_declare_skip.sh'
+  # Every push to main re-tests the merge result, whatever it touched (no path
+  # filter): a merge can break the runtime through files outside the PR filter.
   push:
     branches:
       - main
       - 'feat/rx-*'
-    paths:
-      - 'src/runtime/**'
-      - 'tests/runtime/**'
-      - 'Makefile'
-      - 'src/omega_matvec_quad.*'
-      - 'src/omega_types.h'
-      - 'src/omega_core.*'
-      - 'src/omega_canonical.*'
-      - 'src/omega_codec.*'
-      - 'src/omega_validate.*'
-      - 'src/visor/visor_effect_request.*'
-      - 'tests/effect/**'
-      - 'src/omega_program.*'
-      - 'src/omega_library.*'
-      - 'src/omega_discovery.*'
-      - 'src/language/**'
-      - 'tests/program/**'
-      - 'mk/program-id.mk'
-      - 'src/omega_realize_synth.*'
-      - 'src/aarch64_decoder.*'
-      - 'src/visor/visor_realization.*'
-      - 'tests/realize/**'
-      - 'mk/program-realize.mk'
-      - 'mk/machine-identity.mk'
-      - 'src/fabric/**'
-      - 'tests/fabric/**'
-      - 'mk/fabric.mk'
-      - 'src/omega_evidence.*'
-      - 'src/sha256.*'
-      - '.github/workflows/rx-host.yml'
-      - 'aienos.lock'
-      - 'argus.lock'
 
 jobs:
   host-reference:
@@ -320,6 +292,27 @@ jobs:
           PHYSICS_DIR: ${{ github.workspace }}/physics-src
           AIENOS_R7_DIR: ${{ github.workspace }}/aienos-src
         run: make build/rx_r14_recovery_host
+      - name: R16-G3 host build link map (checks 1-3 of 5 on the current R13/R14 host binaries; not the gate)
+        # Sources, link map, shared libraries and embedded names of the living
+        # system as built from this commit. Checks 4-5 (exec trace + living run)
+        # need the Spark core classes and are declared SKIP below.
+        env:
+          PHYSICS_DIR: ${{ github.workspace }}/physics-src
+          AIENOS_R7_DIR: ${{ github.workspace }}/aienos-src
+        run: |
+          make test-r16-authpath-linkmap | tee build/r16-g3-linkmap-host.log
+          grep -qx 'R16-G3 static: R16_G3_LINKMAP=STATIC_PASS mode=host (checks 1-3 of 5 on this build; not the gate)' build/r16-g3-linkmap-host.log
+          grep -qx 'R16 gate: R16_G3_AUTHPATH=NOT_RUN (checks 4-5, exec trace and living run, not run in static-only mode)' build/r16-g3-linkmap-host.log
+          echo "- R16-G3 host build link map: checks 1-3 STATIC_PASS; gate NOT_RUN (checks 4-5 need the Spark)" >> "$GITHUB_STEP_SUMMARY"
+      - name: R16-G3 silicon build link map (silicon R13/R14 binaries built here and never run; checks 1-3 of 5; not the gate)
+        env:
+          PHYSICS_DIR: ${{ github.workspace }}/physics-src
+          AIENOS_R7_DIR: ${{ github.workspace }}/aienos-src
+        run: |
+          make test-r16-authpath-linkmap-silicon | tee build/r16-g3-linkmap-silicon.log
+          grep -qx 'R16-G3 static: R16_G3_LINKMAP=STATIC_PASS mode=silicon (checks 1-3 of 5 on this build; not the gate)' build/r16-g3-linkmap-silicon.log
+          grep -qx 'R16 gate: R16_G3_AUTHPATH=NOT_RUN (checks 4-5, exec trace and living run, not run in static-only mode)' build/r16-g3-linkmap-silicon.log
+          echo "- R16-G3 silicon build link map (runner build, not run): checks 1-3 STATIC_PASS; gate NOT_RUN (needs the GB10 seat)" >> "$GITHUB_STEP_SUMMARY"
       - name: Empirical optimizer (OMEGA_EMPIRICAL_OPTIMIZER; the gate is claimed only on the DGX Spark)
         env:
           OMEGA_CANDIDATE_COMMIT: ${{ github.sha }}
@@ -356,3 +349,45 @@ jobs:
           grep -q '"G5_identity": "PASS"' "$receipt"
           sha256sum "$receipt"
           cat "$receipt"
+
+  chip-only-declared:
+    # Checks that cannot run on a GitHub runner, declared explicitly so their
+    # absence is visible on every run. Each step prints one SKIP line (never a
+    # pass) and writes it to the job summary. chip-only: needs the GB10
+    # resident seat. spark-only: needs the DGX Spark itself (the R13/R14
+    # harnesses stop with "needs both core classes" unless the X925 and A725
+    # cores are present; hosted runners have neither). These are qualified only
+    # by candidate-bound receipts produced on the Spark.
+    runs-on: ubuntu-latest
+    timeout-minutes: 5
+    steps:
+      - uses: actions/checkout@v4
+      - name: Summary header
+        run: echo "### Declared SKIP (not run on GitHub runners; never a pass)" >> "$GITHUB_STEP_SUMMARY"
+      - name: R12 silicon seat (SKIP chip-only)
+        run: tools/ci_declare_skip.sh test-r12-silicon chip-only "needs the GB10 resident seat; qualified only by a candidate-bound Spark receipt"
+      - name: R13 living system host run (SKIP spark-only)
+        run: tools/ci_declare_skip.sh test-r13-host spark-only "needs both Spark core classes (X925 + A725); the build is checked in omega-faculty-arm"
+      - name: R14 living recovery host run (SKIP spark-only)
+        run: tools/ci_declare_skip.sh test-r14-host spark-only "needs both Spark core classes (X925 + A725); the build is checked in omega-faculty-arm"
+      - name: R13 living system silicon (SKIP chip-only)
+        run: tools/ci_declare_skip.sh test-r13-silicon chip-only "needs the GB10 resident seat and both Spark core classes; qualified only by a candidate-bound Spark receipt"
+      - name: R14 living recovery silicon (SKIP chip-only)
+        run: tools/ci_declare_skip.sh test-r14-silicon chip-only "needs the GB10 resident seat and both Spark core classes; qualified only by a candidate-bound Spark receipt"
+      - name: R15 G7 and parity host runs (SKIP spark-only)
+        run: |
+          tools/ci_declare_skip.sh test-r15-g7-host spark-only "runs R13 living episodes; needs both Spark core classes (X925 + A725)"
+          tools/ci_declare_skip.sh test-r15-parity-host spark-only "runs R13 living episodes; needs both Spark core classes (X925 + A725)"
+      - name: R15 parity silicon (SKIP chip-only)
+        run: tools/ci_declare_skip.sh test-r15-parity-silicon chip-only "needs the GB10 resident seat; qualified only by a candidate-bound Spark receipt"
+      - name: R16-G3 host checks 4-5, exec trace and living run (SKIP spark-only)
+        run: tools/ci_declare_skip.sh test-r16-authpath spark-only "checks 4-5 run the R13/R14 living systems, which need both Spark core classes; checks 1-3 run in omega-faculty-arm"
+      - name: R16-G3 silicon gate (SKIP chip-only)
+        run: tools/ci_declare_skip.sh test-r16-authpath-silicon chip-only "needs the GB10 resident seat; qualified only by a candidate-bound Spark receipt; checks 1-3 on the silicon build run in omega-faculty-arm"
+      - name: Composition gate on the GPU (SKIP chip-only)
+        run: tools/ci_declare_skip.sh test-composition-gate-gpu chip-only "needs the GB10 resident seat"
+      - name: Chip milestones M5, M19, M19R, gate 14 (SKIP chip-only; M6-M15 run and M17 is declared in host-suites-3.yml)
+        run: |
+          for t in test-m5 test-m19 test-m19r-qualify test-gate14-combine; do
+            tools/ci_declare_skip.sh "$t" chip-only "chip milestone gate; needs the GB10 (declared not-on-GitHub in host-suites.yml)"
+          done
diff --git a/Makefile b/Makefile
index 07fbb07a1..6633a9f41 100644
--- a/Makefile
+++ b/Makefile
@@ -743,6 +743,24 @@ test-r16-authpath-silicon: $(RX_R13_SILICON) $(RX_R14_SILICON)
 		src/omega_blackwell_matmul.c $(PHYSICS_DIR)/m16/m16_native.c \
 		$(PHYSICS_DIR)/nvrm/nvrm.c $(AIENOS_CAP_LIB)
 
+# R16-G3 checks 1-3 only (sources, link map, shared libraries, embedded names)
+# on the current living-system build, for CI runners. Nothing is executed, so
+# neither the GB10 seat nor the Spark core classes are needed; the gate line
+# stays NOT_RUN. The -silicon variant builds the silicon binaries and never
+# runs them. The gate itself is still test-r16-authpath(-silicon).
+.PHONY: test-r16-authpath-linkmap test-r16-authpath-linkmap-silicon
+test-r16-authpath-linkmap: $(RX_R13_HOST) $(RX_R14_HOST)
+	R16_G3_STATIC_ONLY=1 sh tools/r16_authpath.sh host $(RX_R13_HOST) $(RX_R14_HOST) \
+		$(OUT_DIR)/r16/authpath/linkmap-host-$(R16_STAMP) $(RX_R13_SRCS) $(AIENOS_CAP_LIB)
+
+test-r16-authpath-linkmap-silicon: $(RX_R13_SILICON) $(RX_R14_SILICON)
+	R16_G3_STATIC_ONLY=1 sh tools/r16_authpath.sh silicon $(RX_R13_SILICON) $(RX_R14_SILICON) \
+		$(OUT_DIR)/r16/authpath/linkmap-silicon-$(R16_STAMP) $(RX_R13_SRCS) \
+		src/runtime/rx_resident_gpu.c src/omega_blackwell_codegen.c \
+		src/omega_blackwell_encoder.c src/omega_blackwell_qmd.c \
+		src/omega_blackwell_matmul.c $(PHYSICS_DIR)/m16/m16_native.c \
+		$(PHYSICS_DIR)/nvrm/nvrm.c $(AIENOS_CAP_LIB)
+
 # R16-G4: legacy paths cannot bypass authority. The R13 body (R15 rig, RES-4,
 # host seat) is started; a legacy context tries six acts and each must be
 # refused with no change to authoritative state. Host only; no chip.
diff --git a/tools/ci_declare_skip.sh b/tools/ci_declare_skip.sh
new file mode 100755
index 000000000..553b7f957
--- /dev/null
+++ b/tools/ci_declare_skip.sh
@@ -0,0 +1,27 @@
+#!/bin/sh
+# Declare, in CI, a check that cannot run on a GitHub runner.
+#
+# Usage: tools/ci_declare_skip.sh <make-target> <class> <reason>
+#   class: chip-only  (needs the GB10 resident seat / graphics processor)
+#          spark-only (needs the DGX Spark itself, e.g. its X925 + A725 cores)
+#
+# Prints one SKIP line and appends it to $GITHUB_STEP_SUMMARY when set. A
+# declared SKIP is never a pass: the script refuses any text containing PASS,
+# so a SKIP line can never be read (or grepped) as a pass. Exit 0 = declared.
+set -eu
+if [ $# -ne 3 ]; then
+    echo "usage: $0 <make-target> chip-only|spark-only <reason>" >&2
+    exit 2
+fi
+target=$1; class=$2; reason=$3
+case "$class" in chip-only|spark-only) ;; *) echo "bad class: $class" >&2; exit 2 ;; esac
+case "$target $reason" in
+    *PASS*) echo "refused: a SKIP declaration must not say pass: $target $reason" >&2; exit 2 ;;
+esac
+grep -Eq "^$target:" Makefile mk/*.mk 2>/dev/null || {
+    echo "refused: no make target named $target" >&2; exit 2; }
+line="SKIP $class: $target: $reason"
+echo "$line"
+if [ -n "${GITHUB_STEP_SUMMARY:-}" ]; then
+    echo "- \`$line\`" >> "$GITHUB_STEP_SUMMARY"
+fi
diff --git a/tools/r16_authpath.sh b/tools/r16_authpath.sh
index 54912f00c..4432d4b0b 100755
--- a/tools/r16_authpath.sh
+++ b/tools/r16_authpath.sh
@@ -4,6 +4,7 @@
 #
 # Usage: tools/r16_authpath.sh <mode> <r13-binary> <r14-binary> <outdir> <r13-sources...>
 #   mode: host | silicon
+#   R16_G3_STATIC_ONLY=1: run checks 1-3 only and report the gate NOT_RUN (CI).
 #
 # Checks, in order, and stops at the first failure:
 #   1. sources: the living-system build lists only omega sources and the
@@ -87,6 +88,19 @@ for b in "$r13" "$r14"; do
 done
 note "strings: no legacy program name embedded"
 
+# Static-only mode (R16_G3_STATIC_ONLY=1): stop after checks 1-3. These read
+# only the build (source list, link map, shared libraries, embedded strings)
+# and run nothing, so they can run where the binaries cannot (a CI runner has
+# neither the GB10 seat nor the Spark's two core classes). This is NOT the
+# gate: checks 4-5 (exec trace and the living runs) are not run, and the gate
+# line says NOT_RUN.
+if [ "${R16_G3_STATIC_ONLY:-0}" = 1 ]; then
+    echo "R16-G3 static: R16_G3_LINKMAP=STATIC_PASS mode=$mode (checks 1-3 of 5 on this build; not the gate)"
+    echo "R16 gate: R16_G3_AUTHPATH=NOT_RUN (checks 4-5, exec trace and living run, not run in static-only mode)"
+    echo "R16-G3 evidence: $out"
+    exit 0
+fi
+
 # 4 + 5. run under exec tracing, legacy programs stubbed ------------------------
 stubs="$out/legacy-stubs"
 mkdir -p "$stubs"