FORGE: request-bound machine realization, providers and verification for AienOS. Host, simulated and GB10 hardware paths have separate evidence.
Brought by drakestapleton
About Files History Releases Proposed changes Issues For developers
Phase 3: the Spark is the only test judge; remove hosted test workflows
merged e9597a3cc4413baf #69 · opened 2026-10-18 21:09 UTC · closed 2026-10-18 21:19 UTC · merged 2026-10-18 21:19 UTC
Imported from GitHub aien-dev/physics-mv#69, by drakestapleton
Labels: ready-to-merge
Base 5bf9d9a7d19eb47e5685b1d8294fdeed078f66ba · Head fc57f213c979f4e131e92261720f71c9c65f1b29
Merged on GitHub as 01ec3e331e2a92830c7fa1176ff0dd17b612fc3e ; reachable from main d8c1d68e74ff00f136dc45cccf20f7d4ca4132dc (observed 2026-11-18T16:39:22Z)
drakestapleton wrote on 2026-10-18 21:09 UTC
Why
Drake, 2026-10-18: all testing runs on the local network; nothing is tested on GitHub. The only required check on main is now AIEN Verification , the thin gate that verifies the signed bundle the Spark publishes to aien-dev/aien-receipts (ADR 0033 Decision 11, Phase 3). Branch protection was switched to that single context today.
What changes
Hosted workflows that built or tested this repository's own code are deleted. The Spark runs those gates (tests/gates/).
aien-verification.yml (sc and aienos only): the Phase 2 draft is replaced by the same Phase 3 text the other nine enrolled repos already run: a missing bundle is NOT_RUN (the Spark pipeline reruns the check after it publishes), not-enrolled is a failure, and a trust-surface change passes only on a signed PASS bundle from an operator run.
Release, pages and policy guards that do not test code stay. Manual triggers stay.
How this was judged
Pipeline configuration change (rule A4): operator run on the Spark, aien-local-ci once <repo> <sha> --operator, which publishes the PASS bundle this check verifies. No hosted test ran, by design.
Desk: Hermes (Drake's MacBook, driving the Spark). Also fixed today on the Spark: pipeline.sh crashed under set -o pipefail in the rerun backoff code, so no stuck check had been rerun automatically since about 11:45Z; reruns flow again.
Apply it
git checkout -b patch-e9597a3cc4413baf 5bf9d9a7d19eb47e5685b1d8294fdeed078f66ba
curl -fsSL https://interplane.io/drakestapleton/physics-mv/patches/e9597a3cc4413baf .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
69
fc57f213c979f4e131e92261720f71c9c65f1b29
{"kind":"github-import","owner":"aien-dev","repo":"physics-mv","number":69,"url":"https://github.com/aien-dev/physics-mv/pull/69","export_sha256":"b22ba1213a114700b8a2b15a36ea4829507568f613ea4b1af83b6ba903ab27a0 ","imported_utc":"2026-11-18T16:39:22Z"}
Changes
diff --git a/.crumb b/.crumb
index 14551fc ..f3e69de 100644
--- a/.crumb
+++ b/.crumb
@@ -86,14 +86,14 @@
}
],
"children_root": "sha256:95b8a876467dd97ba4a5da8e52e0af3c24a57bfabc5ea1ed7287f0d7d59016a5 ",
- "compiled_at": "2026-10-18T04:43:22Z",
+ "compiled_at": "2026-10-18T21:09:49Z",
"compiler": "crumb-compile/1",
- "digest": "sha256:aa2c372b86300a8d3b9c6966e7017b7d31494578e1fb63fcc1e713b895ba8e7d ",
+ "digest": "sha256:3d91c94657317bdf89f15066c553b652d21b972e43dc7a2d9c71da677e90766a ",
"evidence_files": 81,
"evidence_root": "sha256:0a0459a4517679721bb2817540dd06995500a1c1ede079bc4665d9da5c39183d ",
- "files": 284,
- "generated_at_commit": "2043924224b9ecffd79de2c37b2fe7a3a5396e0c ",
- "source_tree": "sha256:e7e88bad48eb6c9da461c8fbc79440d15b3c331cfdef961e15281bf7d5b3b956 "
+ "files": 282,
+ "generated_at_commit": "5bf9d9a7d19eb47e5685b1d8294fdeed078f66ba ",
+ "source_tree": "sha256:7735d1452eadafcfac7dfe28cfe119ac93efdb16c73c791b0199338a11bb7781 "
},
"owner_lane": "",
"provenance": {
diff --git a/.github/workflows/crumb.yml b/.github/workflows/crumb.yml
deleted file mode 100644
index b205d69 ..0000000
--- a/.github/workflows/crumb.yml
+++ /dev/null
@@ -1,44 +0,0 @@
-name: Crumb compiler
-
-# RFC-0003 (aien-architecture, docs/CRUMB_PROTOCOL_RFC_0003.md): the repository compiles the
-# structural part of its own .crumb files (files, children, evidence, one digest per directory).
-# This check refuses a change whose committed crumbs are not exactly what the compiler produces.
-# The hand-written fields (purpose, invariants, ...) are never touched by the compiler and a
-# missing purpose is not an error here.
-# To fix a failure: build the tool from the aien-architecture commit pinned in crumb.lock,
-# run `crumb compile .` at the repository root and commit the .crumb files it rewrote.
-# Directories listed in .crumbignore (one per line) are left alone with their whole subtree.
-
-on:
- pull_request:
- push:
- branches: [main]
-
-permissions:
- contents: read
-
-jobs:
- crumb:
- runs-on: ubuntu-latest
- timeout-minutes: 10
- steps:
- - uses: actions/checkout@v4
- - name: Read pinned crumb tool commit
- id: pins
- run: |
- sha=$(tr -d '[:space:]' < crumb.lock)
- test -n "$sha"
- echo "crumb=$sha" >> "$GITHUB_OUTPUT"
- - name: Checkout pinned aien-architecture (crumb tool source)
- uses: actions/checkout@v4
- with:
- repository: aien-spark/aien-architecture
- ref: ${{ steps.pins.outputs.crumb }}
- path: .crumb-tool-src
- - name: Build the crumb tool, then remove its source from this tree
- run: |
- make -C .crumb-tool-src/tools/crumb crumb
- cp .crumb-tool-src/tools/crumb/crumb "$RUNNER_TEMP/crumb"
- rm -rf .crumb-tool-src
- - name: Crumbs must be exactly what the compiler produces now
- run: ${RUNNER_TEMP}/crumb verify .
diff --git a/.github/workflows/host-gates.yml b/.github/workflows/host-gates.yml
deleted file mode 100644
index 914aad9 ..0000000
--- a/.github/workflows/host-gates.yml
+++ /dev/null
@@ -1,116 +0,0 @@
-name: Host gates
-
-# Host-runnable physics gates on a GitHub AArch64 hosted runner (same instruction
-# set as the DGX Spark, but NOT the Spark). Nothing here is a chip or hardware
-# qualification; every PASS below is a host/QEMU/simulation result only.
-#
-# Layout: physics is checked out at $GITHUB_WORKSPACE/physics with sibling
-# checkouts of omega (main) and aien-architecture (main), because several gate
-# scripts look for ../omega or ../aien-architecture next to this repo.
-#
-# Coverage map (Lane 34, 2026-10-01):
-# forge-v2 tests/run_forge_v2_gates.sh FORGE V2 KAT + golden doc
-# analog-sim tests/run_forge_analog_sim_gates.sh AR2 simulated analog provider,
-# form0 tests/run_forge_form_gates.sh FORM0 realization-form IR (ADR 0034),
-# receipt reproduced byte for byte; oracle gate compares against omega main
-# gate34-writer tests/test_forge_gates_receipt.sh Gate 3/4 receipt writer (no GPU),
-# digests cross-checked with omega tools/json_canon.c
-# forge-aegis tests/run_forge_aegis_host_gates.sh AEGIS verifier binds a result to its
-# request; submit-side refusals before any NVRM call (no GPU)
-# m2 run_m2_gates.sh M2 PHYSICS_BOOT, 15 gates (QEMU)
-# m3 m3/tests/run_m3_gates.sh M3 PHYSICS_EFFECTS, 19 gates (QEMU)
-# SKIP jobs (shown grey, never green): GB10-only runners
-# tests/run_forge_gates.sh (Gate 3/4 on the GB10), tests/run_m15_gates.sh
-# (reads the real GPU's sysfs), tests/run_m16_requalification.sh (native
-# GB10 submission), tests/run_nvrm_lifecycle_gates.sh (NVRM on the GB10),
-# tests/run_submission_visibility_gates.sh (GB10 queue/pushbuffer visibility).
-
-on:
- # Retired from pull requests and pushes on 2026-10-16 (ADR 0033 Decision 11, phase 3): the Spark
- # runs these gates (tests/gates/) and the required AIEN Verification check verifies its signed
- # bundle. Kept as a manual trigger so a hosted run is still possible when needed.
- workflow_dispatch:
-
-permissions:
- contents: read
-
-jobs:
- host:
- name: ${{ matrix.gate }}
- runs-on: ubuntu-24.04-arm
- timeout-minutes: 30
- strategy:
- fail-fast: false
- matrix:
- include:
- - gate: forge-v2
- cmd: tests/run_forge_v2_gates.sh
- - gate: analog-sim
- cmd: tests/run_forge_analog_sim_gates.sh
- - gate: form0
- cmd: tests/run_forge_form_gates.sh
- - gate: gate34-writer
- cmd: tests/test_forge_gates_receipt.sh "$GITHUB_WORKSPACE/omega"
- - gate: forge-aegis
- cmd: tests/run_forge_aegis_host_gates.sh
- - gate: m2
- cmd: ./run_m2_gates.sh
- - gate: m3
- cmd: m3/tests/run_m3_gates.sh
- steps:
- # pull_request: default ref is refs/pull/N/merge, so the merged result is tested.
- - uses: actions/checkout@v4
- with:
- path: physics
- - uses: actions/checkout@v4
- with:
- repository: aien-spark/omega
- ref: main
- path: omega
- - uses: actions/checkout@v4
- with:
- repository: aien-spark/aien-architecture
- ref: main
- path: aien-architecture
- - name: Install toolchain
- run: |
- sudo apt-get update -qq
- sudo apt-get install -y -qq gcc binutils jq socat qemu-system-arm
- aarch64-linux-gnu-gcc --version | head -1
- qemu-system-aarch64 --version | head -1
- - name: Run ${{ matrix.gate }}
- working-directory: physics
- env:
- OMEGA_DIR: ${{ github.workspace }}/omega
- run: ${{ matrix.cmd }}
-
- gb10-forge-gates:
- name: "forge Gate 3/4 (SKIP: needs GB10 chip)"
- if: ${{ false }}
- runs-on: ubuntu-24.04-arm
- steps:
- - run: exit 1
- gb10-m15:
- name: "m15 gates (SKIP: reads real GB10 GPU sysfs)"
- if: ${{ false }}
- runs-on: ubuntu-24.04-arm
- steps:
- - run: exit 1
- gb10-m16:
- name: "m16 requalification (SKIP: needs GB10 native submission)"
- if: ${{ false }}
- runs-on: ubuntu-24.04-arm
- steps:
- - run: exit 1
- gb10-nvrm:
- name: "nvrm lifecycle gates (SKIP: needs GB10 + NVRM)"
- if: ${{ false }}
- runs-on: ubuntu-24.04-arm
- steps:
- - run: exit 1
- gb10-submission-visibility:
- name: "submission visibility gates (SKIP: needs GB10 + NVRM)"
- if: ${{ false }}
- runs-on: ubuntu-24.04-arm
- steps:
- - run: exit 1