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

branch main Branches Tags History

physics-mv / AUDIT_SCOPE.md

123 lines · 6295 bytes Raw Blame History Source

Audit scope

Written for an outside, independent security audit. Revision described: 8e92aa629c945d9574952b49ac4a2b04ef52ab06 on main, 2026-10-26. Everything below is taken from the repository's own files at that revision; items marked NOT_RUN were not executed while writing this document.

What this repository is

Two things live here. FORGE (C, forge/) turns a verified Omega meaning into a realization on the CPU, the NVIDIA GB10 GPU, or a simulated analog provider. nvrm/ is a small C client that drives the GB10 directly through the open NVIDIA kernel interface, with no CUDA. The root *.s files, physics.bin, atlas*.bin and m3/ are the historical Atlas and PHYSICS boot artifacts (AArch64 assembly), qualified in QEMU only. Status (README, 2026-10-19): research grade, pre-alpha. FORGE is realization (its lowering is a labelled IR-copy simulation today, DRA-176), not a security gatekeeper; AEGIS verifies.

What to review, in priority order

  1. nvrm/nvrm.c, nvrm/nvrm.h: ioctl construction and result handling, memory mapping, channel creation (nvrm_channel_n), the bounded allocation retry (NVRM_CHANNEL_NO_MEMORY_RETRIES, NVRM_CHANNEL_NO_MEMORY_RETRY_MS). Runs with access to the GPU device nodes.
  2. m15/, m16/: sysfs access, native submission, the GPU wait primitive.
  3. forge/ and forge/v2/: descriptor parsing and serialization; the AEGIS check that refuses a result realized for a different request (tests/run_forge_aegis_host_gates.sh).
  4. m3/: effect broker and receipt ledger.
  5. Boot artifacts: physics.s, vector_table.s, capability.s, memory_alloc.s, atlas_m2.s, physics.ld, build.sh, m2_build.sh, and the committed physics.bin and atlas.bin against physics.sha256 and atlas.sha256.
  6. tests/gates/run.sh, tests/gb10_lock.sh, run_m2_gates.sh (--write-receipt rewrites the committed receipt), tools/.
  7. .github/workflows/aien-verification.yml: pull request and push, contents: read, advisory; on alpha/* tags verifies the Spark's signed bundle. Builds nothing from this repository.
  8. .aien/always, .aien/unmapped-ok, .aien/verify.pub.

AGENTS.md: a head that changes .aien/, tests/gates/, .github/workflows/, .forgejo/ or tools/aien-test/ is BLOCKED_OPERATOR and needs an operator run on the Spark.

Trust boundaries

Threat model summary

Build from source at a pin

Host gcc and make, aarch64-linux-gnu-gcc, -ld, -objcopy, qemu-system-aarch64, socat, jq. Sibling checkouts: ../omega for analog-sim, form0, gate34-writer; ../aien-architecture for m3.

git clone https://github.com/aien-dev/physics-mv physics
git clone https://github.com/aien-dev/omega-mv omega
git clone https://github.com/aien-dev/aien-architecture-mv aien-architecture
cd physics
git checkout 8e92aa629c945d9574952b49ac4a2b04ef52ab06

Run every test

tests/gates/run.sh forge-v2
tests/gates/run.sh forge-aegis
tests/gates/run.sh analog-sim
tests/gates/run.sh form0
tests/gates/run.sh gate34-writer
tests/gates/run.sh gb10-lock
tests/gates/run.sh zero-disk-secrets
tests/gates/run.sh m2
tests/gates/run.sh m3
make host-tests-m16

Known limitations and NOT_RUN

Dependencies and provenance

Evidence