interplane-forge
INTERPLANE Forge
Brought by drakestapleton
interplane-forge / ipl / README.md
| 1 | # interplane-native |
| 2 | |
| 3 | Interplane's own project store: the code in ordinary Git, and a signed record chain that says which |
| 4 | head is real. Step 1 of the design in `DESIGN.md`. What consumers may rely on is `CONTRACT.md`. |
| 5 | |
| 6 | Status: IMPLEMENTED, EXERCISED on the Spark host (the gate, and a trial import of the public projects |
| 7 | from the old store). Not installed, not serving, not the publishing route. |
| 8 | |
| 9 | | File | What it is | |
| 10 | |---|---| |
| 11 | | `om/landrec.om` | seeded Omega: every record field rule and the canonical record bytes, including `SUCCESSOR` | |
| 12 | | `ipl` | shell around `landrec`, the forge's `chain/chain.om`, git and ssh-keygen (`init`, `import`, `land`, `handover`, `verify`, `catalog`). The current owner is pinned in `$IPL_OWNER_PINS` or `~/.config/interplane/owner-pins` (outside the store, mode 0600). Unfinished migration: its decisions move into Omega | |
| 13 | | `build.sh` | builds `bin/landrec` and `bin/chain` from the pinned compiler and sources | |
| 14 | | `tests/run.sh` | the gate: record rules, one project's life, crafted arguments, tamper and forged-signature controls, and a real landing stopped at five chosen points and a real init at four (not at every write, and not by cutting power). It prints the versions of git, ssh, bash, coreutils and util-linux it ran with | |
| 15 | | `tools/import-radicle.sh` | one-time migration instrument: old store to a store root | |
| 16 | | `tools/receipt.sh` | from a clean clone: build, gate, wrong-compiler control, import, full verification, head comparison, and a `READY.json` written from what was measured, never over an earlier one | |
| 17 | | `PIN` | the compiler, `sha2.om`, `chain.om` and snapshot tool this was built and run with | |
| 18 | | `reviews/` | review verdicts for exact heads, with the author's reply to each finding | |
| 19 | |
| 20 | Build and gate (Linux AArch64): take `seed/out/omc` and `om/tls/sha2.om` from omega-mv at PIN's commit and |
| 21 | `chain/chain.om` from the forge at PIN's commit, then |
| 22 | |
| 23 | ``` |
| 24 | ./build.sh OMC SHA2_OM CHAIN_OM [SNAPSHOT_OM] # writes bin/landrec, bin/chain (and bin/snapshot for the import) and bin/BUILD.sha256 |
| 25 | tests/run.sh OMC SHA2_OM CHAIN_OM # builds its own copies in scratch; ends GATE PASS cases=N |
| 26 | ``` |
| 27 | |
| 28 | Both refuse any other compiler or source file. |
| 29 | |
| 30 | Host programs on the path of this version: bash, git, ssh-keygen, awk, sed, cmp (diffutils), getconf |
| 31 | (libc), flock (util-linux), and from coreutils sha256sum, sync, realpath, od, env, mktemp, cut, tr, |
| 32 | head, tail, wc, cp, mv, rm, mkdir, chmod, cat, basename, dirname. |
| 33 | Their versions are whatever the host has; the gate prints the ones it ran with, so the number is in |
| 34 | the gate's output and not typed here. ssh-keygen does the Ed25519 signing and checking because Omega |
| 35 | has no Ed25519 yet (the forge's sign-in uses the same `-Y verify`). Omega replacement, in order: the |
| 36 | decisions in `ipl`, then an Ed25519 unit beside `om/tls`. Git stays: storage on Git is the operator's |
| 37 | decision. |