Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/spark-connector/blob/main/README.md # spark-connector aien-dev/spark-connector Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `spark-connector / README.md` 133 lines · 7124 bytes Raw Blame History Rendered 1 # Interplane runner: lend your computer to Interplane 2 3 Interplane (https://interplane.io) keeps small public programs that people share, and checks that 4 each one does what it says. With the runner, your own computer can do those checks too. It asks 5 Interplane for a small public program, builds it, runs its example in a sealed box, and sends back 6 what it got. When several computers get exactly the same result, everyone can see it on the 7 program's page. 8 9 You need an NVIDIA DGX Spark, or another computer with 64-bit ARM (aarch64) running Linux. 10 11 ## Join with one line 12 13 Open a terminal on that computer and paste: 14 15 ```sh 16 curl -fsSL https://interplane.io/community/join | sh 17 ``` 18 19 Nothing has to be installed first. The line: 20 21 1. downloads two files into a folder called `.interplane-runner` in your home folder: the runner 22 and the compiler it uses; 23 2. checks their SHA-256 fingerprints and prints them, so you can compare them with the list at 24 https://interplane.io/community/ and with `dist/SHA256SUMS` in this repository; 25 3. tells you exactly what the runner will do and asks you to type `yes`. If you type anything else, 26 it deletes the folder and nothing is registered. 27 28 ## What it does to your computer 29 30 - It only makes outgoing requests to interplane.io. It never opens a port: nothing from outside 31 can connect to your computer through it. 32 - Each check builds one small public program and runs its example. Each of those two steps gets at 33 most 2 seconds of one CPU core, 128 MiB of address space (the most memory it can reserve), 1 MiB of output and 3 seconds of clock time. 34 - You choose how many checks an hour. It starts at 30 (at most 120 CPU-seconds an hour). Change it 35 whenever you like; 0 pauses: 36 37 ```sh 38 ~/.interplane-runner/bin/interplane-runner set rate 10 39 ``` 40 41 - Everything it keeps is in `~/.interplane-runner`, under 10 MiB. 42 - It makes a key on your computer. The secret part of the key never leaves it; Interplane only 43 sees the public part, which is how your computer's results are told apart from others'. 44 - It does not start again by itself after your computer restarts (there is no service or timer). 45 To go on, run `~/.interplane-runner/bin/interplane-runner start`. 46 47 ## Stop, look, leave 48 49 ```sh 50 ~/.interplane-runner/bin/interplane-runner status # joined? running? your setting 51 ~/.interplane-runner/bin/interplane-runner stop # pause it 52 ~/.interplane-runner/bin/interplane-runner leave # stop, tell Interplane, delete the folder 53 ``` 54 55 `leave` removes everything the runner put on your computer. If the runner itself is gone, 56 `rm -rf ~/.interplane-runner` does the same. 57 58 ## What it can never do 59 60 A program it checks runs in a sealed box built by the Linux kernel (Landlock, seccomp and resource 61 limits, through Omega's `execpure`). Inside the box the program cannot use the network, open any of 62 your files, see your environment variables, reach the GPU, or start other programs. It can read its 63 example input and write its output, nothing else. The runner runs nothing from Interplane outside 64 that box, and the only programs it checks are public ones whose source anyone can read on 65 Interplane. 66 67 ## How results are counted on Interplane 68 69 Each computer is a key. A key counts once for each revision of a program, however often it sends 70 a result. Results agree when the built program, its output and its exit status are the same, byte 71 for byte. The program's page then says, for example, "Ran again by 3 community runners: 3 agree". 72 If any result differs, the page says how many disagree and does not present the program as 73 reproduced. Keys are free to make, so agreement is never called "verified", and it never changes 74 what Interplane's own check says. 75 76 --- 77 78 # For developers 79 80 Status (2026-11-11): version 1 implemented and gated on Linux aarch64; see `evidence/` for what was 81 run, and the report linked from the hub page. Everything here is first-party seeded Omega. 82 83 ## What runs where 84 85 | Piece | Where | Source | 86 |---|---|---| 87 | `interplane-runner` | the volunteer's computer | `runner/*.om` (order in `runner/UNITS`), built by `build.sh` | 88 | join script | the volunteer's computer, as `sh` | written by `runner/joingen.om` (`dist.sh`), served at `/community/join` | 89 | job compiler `omc` | the volunteer's computer, run only inside the cell | omega-mv `f4df8239` `seed/out/omc`, sha256 ``3ad9f10f`…`, the salvage pin | 90 | hub | interplane.io (forged) | interplane-forge `community/` (rad:`z3KFmLGeYdvDAgwpCgdBd1ENW7nU5`) | 91 92 Pins: the runner is built with omega-mv `b2ad967e` `seed/out/omc` (sha256 93 ``f4fa7951816bbd09c5eaaae6692852a70c3c305164b365027c5b683dec7d63e9``); `build.sh` refuses any other 94 compiler. Jobs are compiled with the salvage pin 95 ``3ad9f10f64309e7acf8a725082b28e23a2a4aeb07e98322fb4dc0fcd8fc93194``, the compiler the hub's own check 96 uses, so community results compare byte for byte with the hub's receipt. The runner hashes 97 `bin/omc` before every job and refuses a job that names any other compiler. 98 99 ## Protocol and trust 100 101 - `docs/PROTOCOL.md`: the wire contract (ipcc1): signed plain-text messages, P-256 ECDSA keys, 102 the job class, refusal reasons, the counting rule. 103 - `trust/README.md`: what a community record proves, under which assumption, and what it does not. 104 - `trust/Counting.lean`: the counting rule's properties in Lean 4 (see the file for what is proved). 105 - `SECURITY.md`, `AUDIT_SCOPE.md`: reporting, threat model, scope of the security review. 106 107 ## Build, gate, dist 108 109 ```sh 110 OMEGA_SRC=/path/to/omega-mv ./build.sh # build/interplane-runner 111 FORGE_SRC=/path/to/interplane-forge OMEGA_SRC=/path/to/omega-mv sh gates/run.sh 112 OMEGA_SRC=... JOB_OMC=/path/to/omc ./dist.sh https://interplane.io OUTDIR # files the hub serves 113 ``` 114 115 `gates/run.sh` checks the compiler pins first, then builds the runner, a test copy of the hub on a 116 private port with scratch data, test tools (`gates/signer.om`, `gates/celldrv.om`) and mutants 117 (`gates/mutant-*.sed`), publishes parts in a scratch salvage store, and runs every case with a 118 negative control: join/leave leaves no file or process, the literal one line in a terminal, a job 119 and its signed result (also verified by OpenSSL), refusals (signature, revision, compiler, job, 120 expiry, replay, unregistered, deny list, size, clock; volume is alarmed, never refused), hostile programs 121 contained by the cell with a mutant cell that lets them out, honest and lying runners on the 122 page, and the socket table of the runner. Its output is kept in `evidence/`. 123 124 ## Platforms 125 126 | Platform | State | Why | 127 |---|---|---| 128 | Linux aarch64 (DGX Spark) | RUN | gates and live run, see `evidence/` | 129 | Linux aarch64 in a container | RUN | ubuntu:24.04 under Docker on the Spark (same host, its own network namespace and key) | 130 | Linux x86-64 | NOT_RUN | omc refuses the cell word `execpure` under `target x86linux` (error 25), so no x86 runner can be built that keeps brought code in the cell | 131 | macOS on Apple silicon | NOT_RUN | the 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 | 132 133 License: AGPL-3.0 (`LICENSE`).