interplane.Get Omega
Read in your language

spark-connector

aien-dev/spark-connector

Brought by drakestapleton

branch main Branches Tags History

spark-connector / README.md

133 lines · 7124 bytes Raw Blame History Source

Interplane runner: lend your computer to Interplane

Interplane (https://interplane.io) keeps small public programs that people share, and checks that each one does what it says. With the runner, your own computer can do those checks too. It asks Interplane for a small public program, builds it, runs its example in a sealed box, and sends back what it got. When several computers get exactly the same result, everyone can see it on the program's page.

You need an NVIDIA DGX Spark, or another computer with 64-bit ARM (aarch64) running Linux.

Join with one line

Open a terminal on that computer and paste:

curl -fsSL https://interplane.io/community/join | sh

Nothing has to be installed first. The line:

  1. downloads two files into a folder called .interplane-runner in your home folder: the runner and the compiler it uses;
  2. checks their SHA-256 fingerprints and prints them, so you can compare them with the list at https://interplane.io/community/ and with dist/SHA256SUMS in this repository;
  3. tells you exactly what the runner will do and asks you to type yes. If you type anything else, it deletes the folder and nothing is registered.

What it does to your computer

Stop, look, leave

~/.interplane-runner/bin/interplane-runner status   # joined? running? your setting
~/.interplane-runner/bin/interplane-runner stop     # pause it
~/.interplane-runner/bin/interplane-runner leave    # stop, tell Interplane, delete the folder

leave removes everything the runner put on your computer. If the runner itself is gone, rm -rf ~/.interplane-runner does the same.

What it can never do

A program it checks runs in a sealed box built by the Linux kernel (Landlock, seccomp and resource limits, through Omega's execpure). Inside the box the program cannot use the network, open any of your files, see your environment variables, reach the GPU, or start other programs. It can read its example input and write its output, nothing else. The runner runs nothing from Interplane outside that box, and the only programs it checks are public ones whose source anyone can read on Interplane.

How results are counted on Interplane

Each computer is a key. A key counts once for each revision of a program, however often it sends a result. Results agree when the built program, its output and its exit status are the same, byte for byte. The program's page then says, for example, "Ran again by 3 community runners: 3 agree". If any result differs, the page says how many disagree and does not present the program as reproduced. Keys are free to make, so agreement is never called "verified", and it never changes what Interplane's own check says.


For developers

Status (2026-11-11): version 1 implemented and gated on Linux aarch64; see evidence/ for what was run, and the report linked from the hub page. Everything here is first-party seeded Omega.

What runs where

PieceWhereSource
interplane-runnerthe volunteer's computerrunner/*.om (order in runner/UNITS), built by build.sh
join scriptthe volunteer's computer, as shwritten by runner/joingen.om (dist.sh), served at /community/join
job compiler omcthe volunteer's computer, run only inside the cellomega-mv f4df8239 seed/out/omc, sha256 3ad9f10f…, the salvage pin
hubinterplane.io (forged)interplane-forge community/ (rad:z3KFmLGeYdvDAgwpCgdBd1ENW7nU5)

Pins: the runner is built with omega-mv b2ad967e seed/out/omc (sha256 f4fa7951816bbd09c5eaaae6692852a70c3c305164b365027c5b683dec7d63e9); build.sh refuses any other compiler. Jobs are compiled with the salvage pin 3ad9f10f64309e7acf8a725082b28e23a2a4aeb07e98322fb4dc0fcd8fc93194, the compiler the hub's own check uses, so community results compare byte for byte with the hub's receipt. The runner hashes bin/omc before every job and refuses a job that names any other compiler.

Protocol and trust

Build, gate, dist

OMEGA_SRC=/path/to/omega-mv ./build.sh                     # build/interplane-runner
FORGE_SRC=/path/to/interplane-forge OMEGA_SRC=/path/to/omega-mv sh gates/run.sh
OMEGA_SRC=... JOB_OMC=/path/to/omc ./dist.sh https://interplane.io OUTDIR   # files the hub serves

gates/run.sh checks the compiler pins first, then builds the runner, a test copy of the hub on a private port with scratch data, test tools (gates/signer.om, gates/celldrv.om) and mutants (gates/mutant-*.sed), publishes parts in a scratch salvage store, and runs every case with a negative control: join/leave leaves no file or process, the literal one line in a terminal, a job and its signed result (also verified by OpenSSL), refusals (signature, revision, compiler, job, expiry, replay, unregistered, deny list, size, clock; volume is alarmed, never refused), hostile programs contained by the cell with a mutant cell that lets them out, honest and lying runners on the page, and the socket table of the runner. Its output is kept in evidence/.

Platforms

PlatformStateWhy
Linux aarch64 (DGX Spark)RUNgates and live run, see evidence/
Linux aarch64 in a containerRUNubuntu:24.04 under Docker on the Spark (same host, its own network namespace and key)
Linux x86-64NOT_RUNomc refuses the cell word execpure under target x86linux (error 25), so no x86 runner can be built that keeps brought code in the cell
macOS on Apple siliconNOT_RUNthe runner and its cell use Linux kernel features (Landlock, seccomp, prlimit); ng's Mach-O mode has no cell and no socket, process or file words

License: AGPL-3.0 (LICENSE).