From fc57f213c979f4e131e92261720f71c9c65f1b29 Mon Sep 17 00:00:00 2001 From: "Hermes (desk)" Date: Sun, 18 Oct 2026 16:09:49 -0500 Subject: [PATCH] Phase 3: the Spark is the only test judge; remove hosted test workflows Drake, 2026-10-18: all testing runs on the local network. GitHub keeps one required check, AIEN Verification, which only verifies the signed bundle the Spark publishes to aien-dev/aien-receipts (ADR 0033 Decision 11). Hosted workflows that built or tested this repository's own code are removed. Release, pages and policy guards that do not test code are kept. Manual (workflow_dispatch) triggers on the remaining non-test workflows are kept. Pipeline configuration change (rule A4): judged by an operator run on the Spark (aien-local-ci once --operator), which publishes the PASS bundle this check needs. --- .crumb | 10 +-- .github/workflows/crumb.yml | 44 ------------ .github/workflows/host-gates.yml | 116 ------------------------------- 3 files changed, 5 insertions(+), 165 deletions(-) delete mode 100644 .github/workflows/crumb.yml delete mode 100644 .github/workflows/host-gates.yml 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