interplane.Get Omega
Read in your language

interplane-forge

INTERPLANE Forge

Brought by drakestapleton

branch main Branches Tags History

interplane-forge / ipl / DESIGN.md

100 lines · 10334 bytes Raw Blame History Source

Interplane without Radicle: what replaces it

Status: step 1 is IMPLEMENTED and EXERCISED on the Spark host in a trial store (see README.md and CONTRACT.md); steps 2 to 6 are PROPOSED. Written 2026-11-13 by the omp session in ~/tmp on the Spark.

Intent (Drake, 2026-11-13, verbatim)

"we are cutting out radicle" "Staying on interplane, it's just being built without radicle now" "I want you to take everything radicle did and replicate it into interplane and leave out all the bullshit and part that no nody likes. Maek this intended and designed around agent workflows and agent coding"

In one line: Interplane itself keeps, proves, copies and reviews our code, with an agent as the normal user, and nothing of Radicle underneath.

What was observed (2026-11-13, Spark)

What Radicle did for us, and what Interplane does instead

JobRadicle's wayInterplane's wayWhy
Keep code and historyGit objects inside a per-node store, one copy of every branch per peerOne plain repository per project in one known folder, one mainNo per-peer copies to reconcile. "Which head is real" has one answer.
Say which head is realEach peer signs its own list of refs; a rule picks the canonical one from delegatesOne signed landing record per change, in an append-only chain per projectThe record already exists in our work as the receipt. It becomes the protocol instead of a side file.
Who may publishIdentity document, delegates, thresholdsOwner key per project. The owner grants an agent key a scope (which project, land or propose only) and an end dateRadicle has no idea of an agent working for a person. This is the centre of the new design.
Proposed changesPatches as collaborative objects with revisionsA proposal is one request: the exact head, its gate output, its review verdict. States READY, REVIEWED, LANDED, REFUSEDThis is the READY, verdict, receipt flow the lanes already follow by hand.
IssuesCollaborative objectsPlain signed records in the same chainOne mechanism, not two.
Copy projects between machinesAlways-on node, gossip, seeding policies, inbound connectionsA mirror pulls the signed chain and the objects over ordinary HTTPS from any other mirror and checks every signatureNothing has to dial into a home network. A mirror cannot alter a project, because the chain is checked. A mirror can still serve an older copy that verifies, so "is this the newest" needs a signed checkpoint the puller can compare; pulling makes an update reachable, it does not by itself prove freshness.
Find a projectNetwork routing tableThe list of mirrors is itself a signed record of the projectNo separate discovery layer.
Private projectsAllow-lists enforced by the nodeA private project is not served and not mirroredSimple, and fails closed.

What is left out on purpose

Designed for agents first

Order of work

  1. Store and chain. A tool that creates a project, records a landing as a signed link in the chain, and verifies a chain from its first record: the record rules in Omega first, the orchestration in shell until it is moved into Omega too. Import the public repositories with their history. Acceptance: every imported head equals the head in Radicle storage; a chain with one altered byte is refused. How many projects a given head imported, and which it refused, is in that head's receipt (READY.json, written by tools/receipt.sh), not here. One exclusion is known and stated: .github, a profile repository left over from GitHub, is refused by the name rule.
  2. forged reads the store. Browse, download and project pages served from the store. Acceptance: the same pages byte-for-byte for a sample of projects, with Radicle storage unmounted in the test.
  3. Agent requests. Propose, review, land, grant, withdraw, with dry run and request IDs. Acceptance: a landing without a second-key verdict is refused; a replayed request does not land twice.
  4. Mirrors. Pull and verify over HTTPS; the hub Pi becomes the first mirror. Acceptance: a mirror that serves an altered chain is refused by the puller.
  5. Our own tools move over: landing tools, hooks, pin following, the rules installer, the site deploy trigger, the SI front door. Acceptance: one real landing end to end with no rad call (checked by running with rad absent from the path).
  6. Issues and events. Then the Radicle nodes can be switched off, which is Drake's call.

Step 1 is built in trial form. Until step 5 passes, work waits as READY under the standing rule.

Owner-key succession

Swapping owner.pub alone would break verify for history, because every earlier signature was made by the key record 1 names. The store records a handover explicitly: ipl handover appends a SUCCESSOR record (canonical bytes from om/landrec.om) naming the new public key and its SHA-256 fingerprint, then a SIG by the then-current owner key, in the same record and signature style as a landing. After that signature, only the successor key is current. Records before the handover still verify against the old key; a later record signed by a retired key does not verify. owner.pub stays the key named in record 1. Sequential handovers are followed in order. A rerun that names a successor already current is a no-op. A successor may not be a key that has already been an owner of the project; verify fails closed on a chain that hands a retired key back. ipl handover --all prechecks every project and writes nothing unless every project can be handed over. ipl verify prints the current owner fingerprint and the chain head (seq and hash of the last line). The current owner is pinned in ${IPL_OWNER_PINS:-$HOME/.config/interplane/owner-pins}, outside the store (mode 0600). verify, land, import, handover and catalog apply it automatically and fail closed if the file is missing, inside ROOT, group- or world-accessible, or mismatched; --expect-owner FP that disagrees with the file also fails. After a signed SUCCESSOR is recorded, handover updates that pin (a single handover rewrites the NAME line and prints ipl: pin: NAME SHA256:...; --all rewrites every rotated NAME line, and * only if it named the old key, and prints ipl: pin: * SHA256:...) for the forge, gates and mirrors, which must be updated by hand from the new key's .pub — never from a store. The pin is checked before mend touches files. ipl handover --all holds every project's lock from preflight through write. The load_current walk used by prove_owner checks each record's prev link (GENESIS for record 1) before mend is allowed to change files. Signing and signature checks stay with ssh-keygen -Y (Omega has no Ed25519 unit yet; the same gap is noted below). The walk that decides which key is current, and the handover orchestration, stay in ipl until those decisions move into Omega with the rest of the tool.

Not yet established