spark-connector
aien-dev/spark-connector
Brought by drakestapleton
spark-connector / AGENTS.md
| 1 | # spark-connector (the Interplane community runner) |
| 2 | |
| 3 | > The runner a volunteer installs with one line to rerun Interplane's published Omega parts in a |
| 4 | > sealed cell and post signed results; the hub side lives in interplane-forge `community/`. |
| 5 | |
| 6 | Shared rules: read https://www.aienos.com/agents/RULES.md first. This file adds what is specific to |
| 7 | this repository; where the two differ, this file wins here. |
| 8 | |
| 9 | ## Scope and layout |
| 10 | |
| 11 | - `runner/*.om`: the runner, seeded Omega, composed in `runner/UNITS` order after om/tls, |
| 12 | `seed/net/http.om` and `seed/net/https.om` (`build.sh`). `runner/joingen.om` writes the join script. |
| 13 | - `gates/`: the gate (`gates/run.sh`), its test tools and mutants. Never ship them. |
| 14 | - `docs/PROTOCOL.md`: the wire contract. A change to it changes interplane-forge `community/` in |
| 15 | the same piece of work. |
| 16 | - `trust/`: what a record proves, and the Lean model of the counting rule. |
| 17 | - `evidence/`: gate output and live records, additions only; never edit a recorded result. |
| 18 | - `dist/SHA256SUMS`: the hashes of the files interplane.io serves for the join line. |
| 19 | |
| 20 | ## Rules |
| 21 | |
| 22 | - Interplane (Radicle) only: never push to GitHub, open GitHub pull requests or issues. Land |
| 23 | through the desk's receipt flow on the canonical default branch (`main`). |
| 24 | - First-party code is seeded Omega. No new C, Rust, Python or shell logic; `build.sh`, `dist.sh` |
| 25 | and `gates/run.sh` only compose, compile, run programs and compare bytes. |
| 26 | - No systemd unit, no cron: the runner is its own supervisor, started by `join` or `start`. |
| 27 | - Pins: the runner is built with omega-mv b2ad967e `seed/out/omc` (sha256 `f4fa7951…`); jobs use |
| 28 | the salvage pin `3ad9f10f…`. `build.sh` and the runner refuse anything else. |
| 29 | - Brought code runs only through `execpure` (runner/30cell.om). A change there must keep the |
| 30 | gate's hostile probes contained and its mutant cell caught. |
| 31 | - The limits promised to a volunteer (CPU, memory, output, clock, folder size) and the hub's |
| 32 | containment limits stay as stated in README.md and docs/PROTOCOL.md until Drake rules otherwise |
| 33 | (standing rule 2026-11-11, point 5); the volunteer's rate is their own setting. |
| 34 | - Plain direct English in docs. Every claim of a working feature links its evidence under |
| 35 | `evidence/`. |
| 36 | |
| 37 | ## Check before committing |
| 38 | |
| 39 | ```sh |
| 40 | FORGE_SRC=... OMEGA_SRC=... sh gates/run.sh # must end "N passed, 0 failed" |
| 41 | grep -rnP '[\x{2013}\x{2014}]' --include='*.md' . # no en or em dashes |
| 42 | ``` |