interplane.Get Omega
Read in your language

physics-mv

FORGE: request-bound machine realization, providers and verification for AienOS. Host, simulated and GB10 hardware paths have separate evidence.

Brought by drakestapleton

GitHub aien-dev/physics-mv#58 (code only)

closed derived 09bf655d0d54371c #58

Imported from GitHub aien-dev/physics-mv#58 (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 ff2c62e820a64a90fd58be0db031a0d2e53fa308 · Head 597e38709cc719448ed58078cc430c9373abac83

Apply it

git checkout -b patch-09bf655d0d54371c ff2c62e820a64a90fd58be0db031a0d2e53fa308
curl -fsSL https://interplane.io/drakestapleton/physics-mv/patches/09bf655d0d54371c.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/physics-mv
58
597e38709cc719448ed58078cc430c9373abac83
{"kind":"github-import","owner":"aien-dev","repo":"physics-mv","number":58,"url":"https://github.com/aien-dev/physics-mv/pull/58","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:39:27Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index 7e312f1..3827159 100644
--- a/.crumb
+++ b/.crumb
@@ -44,13 +44,13 @@
         },
         {
           "digest": "5f5f2e198d1e2ce291b1a72eeb14936d2029e2529fa1bed11ae0a1ba7cb7f0f2",
-          "last_commit": "57d14f0",
+          "last_commit": "ff2c62e",
           "name": "docs",
           "purpose": "Directory docs. Purpose not yet described by a human."
         },
         {
           "digest": "957aafdcf49b5e013235254017b4c2984ca8e3b0bb2f7877eabff493e765c246",
-          "last_commit": "57d14f0",
+          "last_commit": "ff2c62e",
           "name": "forge",
           "purpose": "Directory forge. Purpose not yet described by a human."
         },
@@ -67,7 +67,7 @@
           "purpose": "Directory m3. Purpose not yet described by a human."
         },
         {
-          "digest": "3320b6b3c3d4ee56c8ca3235c11a1a052c61f83b48c070f1d52c5baf503ae62a",
+          "digest": "5df4d90d339a694ddd9c6a08bcaa556bcddf1d8e76336ebaf113bbaf71dd010b",
           "last_commit": "b0f7308",
           "name": "tests",
           "purpose": "Directory tests. Purpose not yet described by a human."
@@ -85,15 +85,15 @@
           "purpose": "Directory tools. Purpose not yet described by a human."
         }
       ],
-      "children_root": "sha256:92f28154fe7de22305cab722a9b12b2e637f5273ffde71def7746acee4d74c83",
-      "compiled_at": "2026-10-14T01:16:51Z",
+      "children_root": "sha256:23b6bed83496db5dfdb3b8384df4858f606c497e0c43962494514b86e0172463",
+      "compiled_at": "2026-10-14T14:17:04Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:26ea087890ce504e676d72221302ef51b724c6807c2bae411da03b23f54a27b3",
+      "digest": "sha256:b5e37c4a6f4f44288601e3b6344357db14ae115efca2feb99cbaf0024dcab32e",
       "evidence_files": 81,
       "evidence_root": "sha256:0a0459a4517679721bb2817540dd06995500a1c1ede079bc4665d9da5c39183d",
       "files": 283,
-      "generated_at_commit": "57d14f0b66026eb3dda439933eb5dddb8ac4345f",
-      "source_tree": "sha256:4b38a4c65f5fcd2379310d8e5a872a091712e3f45c92c593a4387153892d7f8c"
+      "generated_at_commit": "ff2c62e820a64a90fd58be0db031a0d2e53fa308",
+      "source_tree": "sha256:a9deac84fe266353767a5f21ba861284c0f1bc45ccc98253ea8938437823835b"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/tests/.crumb b/tests/.crumb
index efa5e6a..5f5be13 100644
--- a/tests/.crumb
+++ b/tests/.crumb
@@ -20,14 +20,14 @@
         }
       ],
       "children_root": "sha256:be29e4df8a1e9e426d7723fccf6e09f23eb6fb07a6b21490cd019c75d6fed6cd",
-      "compiled_at": "2026-10-13T02:30:56Z",
+      "compiled_at": "2026-10-14T14:17:04Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:3320b6b3c3d4ee56c8ca3235c11a1a052c61f83b48c070f1d52c5baf503ae62a",
+      "digest": "sha256:5df4d90d339a694ddd9c6a08bcaa556bcddf1d8e76336ebaf113bbaf71dd010b",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 33,
-      "generated_at_commit": "57aafa0d69d5d768e46164ff0963ffd87355ab0d",
-      "source_tree": "sha256:0f67211cbd8f5fe15050c34501efd5d26ed1d49ec5489413460c720da6141f7c"
+      "generated_at_commit": "ff2c62e820a64a90fd58be0db031a0d2e53fa308",
+      "source_tree": "sha256:08c3b002086d385ccecce3aa2d9695ec9c136bcdb299b9a4fec6ec7697cb3a11"
     },
     "owner_lane": "",
     "provenance": {
diff --git a/tests/gates/run.sh b/tests/gates/run.sh
index 11598df..cd88661 100755
--- a/tests/gates/run.sh
+++ b/tests/gates/run.sh
@@ -22,6 +22,24 @@ need_sibling() {
 }
 export OMEGA_DIR="${OMEGA_DIR:-$ROOT/../omega}"
 
+# Gates that regenerate tracked receipts or evidence files (m3, m15, m16-requal)
+# run in a private temporary copy of the repository so concurrent gates never
+# observe a transiently dirty worktree.
+run_in_temp_copy() {
+  local tmp
+  tmp=$(mktemp -d /tmp/physics-gate.XXXXXX)
+  trap "rm -rf \"$tmp\"" EXIT
+  mkdir -p "$tmp/physics"
+  git -C "$ROOT" archive HEAD | tar -C "$tmp/physics" -xf -
+  ln -s "$ROOT/.git" "$tmp/physics/.git"
+  for sib in aien-architecture omega; do
+    if [ -d "$ROOT/../$sib" ]; then
+      ln -s "$(cd "$ROOT/../$sib" && pwd -P)" "$tmp/$sib"
+    fi
+  done
+  (cd "$tmp/physics" && "$@")
+}
+
 case "$step" in
   crumb-verify)
     # Hosted crumb.yml: crumb tool built from the aien-architecture commit in crumb.lock.
@@ -44,21 +62,16 @@ case "$step" in
   m2)              ./run_m2_gates.sh ;;
   m3)
     need_sibling aien-architecture
-    # run_m3_gates.sh rewrites the tracked m3/m3_qualification_receipt.json (new generated_at and
-    # git_commit) on every run. A gate must leave the tree as it found it, and gates run in parallel,
-    # so keep the fresh receipt in the log and put the tracked file back, whatever the exit status.
-    receipt=m3/m3_qualification_receipt.json
-    saved=$(mktemp)
-    trap 'cp "$saved" "$receipt"; rm -f "$saved"' EXIT
-    cp "$receipt" "$saved"
-    rc=0; m3/tests/run_m3_gates.sh || rc=$?
-    echo "run.sh: receipt written by this run (tracked copy restored):"; cat "$receipt"
-    exit "$rc" ;;
+    run_in_temp_copy sh -c '
+      rc=0; m3/tests/run_m3_gates.sh || rc=$?
+      echo "run.sh: receipt written by this run (isolated copy):"; cat m3/m3_qualification_receipt.json
+      exit "$rc"
+    ' ;;
   # The five jobs below are SKIP on GitHub (if: false, never green). Their manifests declare
   # the real requirement (gb10 or nvrm) and the commands are the scripts those jobs name.
   forge-gate34)    tests/run_forge_gates.sh ;;
-  m15)             tests/run_m15_gates.sh ;;
-  m16-requal)      tests/run_m16_requalification.sh ;;
+  m15)             run_in_temp_copy tests/run_m15_gates.sh ;;
+  m16-requal)      run_in_temp_copy tests/run_m16_requalification.sh ;;
   nvrm-lifecycle)  tests/run_nvrm_lifecycle_gates.sh ;;
   submission-visibility) tests/run_submission_visibility_gates.sh ;;
   zero-disk-secrets)