interplane.Get Omega
Read in your language

interplane.io

Source of interplane.io: a Rust generator that renders the page from the protocol repository's public record, deployed hourly from the Spark.

Brought by drakestapleton

branch main Branches Tags History

interplane.io

b89cce3 The four strands move: a light pulse runs along each one into the compiler Drake Stapleton committed 2026-11-22
.github/
.gitlab/
content/
docs/
evidence/
native/
public/
scripts/
tests/
.crumb1238
.gitignore53
.gitlab-ci.yml2935
AGENTS.md5060
AUDIT_SCOPE.md2364
LICENSE34523
README.md28464
SECURITY.md2768

README.md

interplane.io

Source of interplane.io and of the one-page site for Hop (hopbot.org). Both are static HTML and CSS. One program assembles and checks them: native/site.om with native/translate.om, written in seeded Omega and compiled by the pinned Omega compiler. There is no Rust, Python, C or JavaScript in the build or its checks; the shell scripts only start the compiler and the builder.

Part of Sovereign Intelligence(TM). Canonical home: Interplane, backed by plain Git on the Spark. Native owner-signed Interplane landing records the reviewed commit. GitHub and Radicle are not publishing routes.

Build

OMC=/path/to/omega-mv/seed/out/omc sh scripts/build-native.sh target/site
target/site build dist dist-hopbot      # release mode; both directories must be new
target/site verify dist dist-hopbot     # the output must be exactly what this source builds
target/site contrast                    # prints the button colour arithmetic

build is release mode. It refuses made-up data: the word "fixture" in the Hop release file, a commit or fingerprint with fewer than six different digits, a download address outside interplane.io and hopbot.org, and the fixture ledger. The fixtures under tests/fixtures/ build only with site build --test-data OUT HOPOUT (and site verify --test-data). That mode stamps a TEST DATA banner on every page and writes a TEST-DATA file into each output root, listed in the manifest. The publisher refuses any output that carries one of those marks.

verify runs from the source tree. It re-reads every file the manifest names (digest, policy, links, fragments), lists every output directory and refuses an entry the manifest does not explain (an extra file, a link, a stray second site), walks the receipts chain again from the bytes in the output, and then rebuilds the expected manifest from the source without writing and requires the two to be equal byte for byte. So a file that was removed together with its manifest row, or changed with its digest recomputed, is refused.

build-native.sh refuses any compiler whose SHA-256 is not the first word of native/omc.sha256 (written only by sh scripts/pin-omc.sh, which copies omega-mv main:seed/out/omc.sha256 and names the commit that last changed it) and any native/lib/sha2.om other than the pinned copy (5cf0f981...fdb33, Apache-2.0, copied unchanged from omega-mv om/tls/sha2.om; units concatenate, so the copy is how a library is reused). AArch64 Linux only.

Exit 0 pass, 1 refused, 2 usage; a trap (101 to 114) is also a refusal. Never publish after a non-zero exit: rules that need the written files (local links and fragments) run last and can leave an incomplete directory behind.

What goes in

PathWhat it is
content/routes.txtevery page and file of both sites, one per line, with its kind (below)
content/_layout.html, content/_layout-hopbot.htmlthe page frame of each site
content/<route>/index.htmla page: key: value lines, a line of three dashes, then HTML
content/llms.txtthe agent guide, a text template; {{pages}} is the generated page list
content/agents/prompts.txt and content/agents/prompts/*.txtthe task index and individually fetchable prompts; pages embed a prompt by its route, for example {{agents/prompts/find-project.txt}}
content/yard.snapshot.tsvdated copy of the public project registry; the yard is generated from it
content/papers.snapshotdated copy of the Zenodo records for the ORCID iD; /papers/, papers.json and papers.bib are generated from it
content/papers.sourceswhich papers have their source in an Interplane project, with the checksum that ties them
content/facts.jsondated snapshot of the protocol repository's status (not refreshed by the build)
content/robots.txtthe crawl rules, pinned by SHA-256 inside the builder
content/live.txtone line, map yes or map no: whether the forge map answers on the live site
public/the one stylesheet, the SVG artwork, the retained historical Hop screenshot (hop-screen.png), the background render (hop-background.png), the scaled crop shown in link previews (hop-card.png, made as described below), and Latin Modern Roman (public/fonts/, with the GUST Font License)
tests/fixtures/made-up Hop data, installer and ledger, for controls and screenshots only; they build only with --test-data. tests/fixtures/zenodo/ is the saved Zenodo response the committed snapshot was written from
docs/CLAIMS.mdevery labelled sentence on the site with its register and evidence; cross-checked by the tests

Placeholders: {{name}}, {{#flag}}...{{/flag}} (kept when the flag is set) and {{^flag}}...{{/flag}} (kept when it is not). An unknown placeholder refuses the build.

Route kinds: page (front matter and HTML in the layout), tpl (llms.txt), data (a generated text file such as papers.json: placeholders expanded, then checked like raw), css, svg, raw (copied as it is), font (an OpenType file under /public/fonts/, name ending .otf, copied as it is; it must start with the bytes OTTO), png (an image under /public/, name ending .png, copied as it is and not scanned as text; it must start with the eight PNG signature bytes), gzip (a .tar.gz under /omega/downloads/ on interplane.io, copied after a gzip header check) and forge (a page the Interplane forge serves, /explore or /drakestapleton/NAME, with source -: nothing is built for it and it is listed in sitemap.xml only; interplane.io only). The sitemap lists pages, data files and forge routes, and llms.txt must name every page and data file.

Colour scheme

The site and hopbot.org use the strand palette: a near-black navy page, pale text, sky-blue accents and blue buttons with white text. Colour roles live in the first :root line of public/style.css. That line also holds the four strand colours (cyan, amber, blue and green), a violet for the Arboris page, and the translucent glow and veil tokens, written as eight-digit hex values. The legacy orange and lime class names select the blue buttons; --lime is a soft panel surface and --lime-text is sky-blue text. No rule needs color-mix. The strand artwork (public/strand-*.svg and public/arboris-tree.svg) is static SVG that carries the four strand colours itself. It was drawn once by a throwaway script that is not part of the source; the committed files are the artwork. A rope band is a wide helix image inside a clipped box: unless reduced motion is asked for, the stylesheet slides the image by exactly one period, so the loop has no seam. The four-strands diagram on the home page and the Omega page is inline SVG without colours of its own: the stylesheet strokes it with the strand tokens and, in the same motion block, runs a light pulse along each strand by moving a dash pattern one period. That block also draws the strike lines on the home page list and lets the Arboris tree breathe. The header is sticky above 760 px and, like the stat cards, blurs what is behind it. Headings are set in the system sans; Latin Modern Roman is used by the papers page only. The arcade page (/omega/play/) keeps score with a CSS counter over radio inputs and labels; there is no script. Print turns the page white with dark text through two print tokens in :root and hides the strand artwork. The older SVG artwork keeps the blue of the earlier palette; Hop captures stay unchanged.

The papers page

scripts/fetch-papers.sh content/papers.snapshot asks the public Zenodo API for every record whose creator carries ORCID iD 0009-0002-6890-7111 (shell, curl and jq; no token, no email, a generic User-Agent) and writes the snapshot: the fetch date, the SHA-256 of each raw response, then per record the latest version DOI, the concept DOI (its version history), title, date, type, version, licence, creator, whether the ORCID iD is attached, each file with its size and checksum as Zenodo reports it (MD5), and the related identifiers. Records run newest first. Non-ASCII is written as \uXXXX. The same responses and date give the same bytes: --save DIR keeps the responses, --replay DIR rewrites the snapshot from them without the network, and the controls replay tests/fixtures/zenodo/ to the committed snapshot. The builder never contacts Zenodo.

The builder refuses a DOI that is not 10.5281/zenodo. and digits, a record without a title, an escape it cannot write (it writes \u03a9 as &Omega; and $\Omega$), markup or braces in a value, records out of date order or not as many as the records line says, a record or concept DOI that appears twice, a malformed checksum or date, an orcid_attached that contradicts the creator line, an unknown key, and the word fixture in a release build. Each line of content/papers.sources is source CONCEPT-DOI URL md5:CHECKSUM: the concept must be a record of the snapshot, the URL must start with https://interplane.io/, and the checksum must be one of that record's files. Add a line only after comparing the forge file with the Zenodo file; the builder does not fetch either.

The stylesheet may use url() only as url(/public/fonts/NAME.otf) naming a font route of the same site. A site that builds no font route (hopbot.org, which has no page in the paper look) gets the stylesheet without its @font-face rules: the builder drops each @font-face{...} block and the line feed after it, copies every other byte, and refuses a block left open. Any other url() on that site is still refused. The live server's Content-Security-Policy has no font-src, so fonts fall under default-src 'self': self-hosted fonts load and outside ones do not.

Optional: Hop

content/hop.release.txt, one key value per line. When the file is absent the /hop/ page and the whole hopbot.org output are left out and the build says so.

KeyRule
versionletters, digits, dot, dash
commit40 lowercase hex digits
ridLegacy schema field, rad:z...; required by the existing parser but neither displayed nor contacted. Retained for file compatibility, not used as a publishing route.
zip_namefile name of the download
zip_sha256, exe_sha25664 lowercase hex digits each
built, macosshort plain text
download_urlhttps:// address of the download
source_urlhttps:// address of the project page on the forge, no trailing slash; /releases is appended for the releases link
reproducibleyes or no; only yes prints that the build was repeated byte for byte
checked_utcYYYY-MM-DDTHH:MM:SSZ
receipt_seqs (optional)one to four record numbers, space separated: source, download, build, check time. Each must exist in the ledger
hop_verify (optional)yes or no; anything but yes prints "Coming next"
install_sha256 (with content/hop.install.sh)64 lowercase hex digits: the SHA-256 of the installer file
install_base (with content/hop.install.sh)https:// address of the folder the installer downloads Hop-VERSION.zip from

The Verified by Interplane badge is shown only when the three fingerprint rows (commit, zip, program) each name a receipt in receipt_seqs whose evidence file contains the same value. A row without one says "No receipt" and the page says "Not verified yet". The builder checks that the value is in the evidence file. It does not download the app or build it.

The Hop page is pinned to one Hop commit

content/hop.copy.txt holds one line, describes <40 hex digits>: the Hop commit the wording of content/hop/index.html was written against. A release build refuses a content/hop.release.txt whose commit is another one, so the page cannot ship with a release it does not describe. The version and commit printed on the page come from the release file. docs/CLAIMS.md, section "Hop page", lists the Hop source file and line behind each sentence. When the Hop commit moves: recheck those rows, then change the one line. The image public/hop-background.png is an offscreen frame from the actual Hop SpiritPaint renderer, not a screenshot of the full application. Its source and image fingerprints are recorded in the release evidence. The page labels it as a background render. The page source names no version (a control refuses one). public/hop-card.png is a scaled crop of that rendered frame, 1200 by 630 pixels. The original offscreen harness is published at /public/hop-background-render.swift and stored at public/hop-background-render.swift. Its SHA-256 is the render_harness_sha256 in the provenance file. The historical docs/hop-card.html and hop-screen.png remain for older references; neither supplies the current card. The --test-data build does not compare the pin, because its release commit is made up; it says so in its output.

Optional: the Hop installer

content/hop.install.sh and the keys install_sha256 and install_base come together or not at all. install_base is the folder the installer downloads the zip from (its HOP_DOWNLOAD_BASE). The installer fetches Hop-VERSION.zip from it, so zip_name must be exactly that. The builder refuses a mismatch, copies the file byte for byte to the hopbot.org output as /install.sh, and prints one line on the page that fetches the installer from https://hopbot.org/install.sh, checks its SHA-256, and runs it with that base, the version and the zip's SHA-256. Without the file there is no terminal install section and no /install.sh.

That one file is the only thing the builder writes without scanning its content. A released installer names file:// addresses and a temporary folder, which the scan refuses everywhere else. The exemption holds only for the route `raw hopbot /install.sh content/hop.install.sh install, and only while the bytes hash to install_sha256: at build time, and again when verify` reads the output. The same bytes on any other route, any other file, and a changed installer are scanned and refused.

Optional: the map switch

content/live.txt, one line: map yes or map no (lines starting with # are skipped). The forge map at https://interplane.io/galaxy/ is served by the forge, not by this site. Unless the file says map yes, the footer link, the home fact and the two forge-page links to the map are left out, the forge page says "Two facts", and the build says so. A missing file means map no. Any other line, or more than one, refuses the build. llms.txt and sitemap.xml never list the map.

Optional: receipts

content/receipts/ledger.tsv and content/receipts/payload/<sha256>.txt, in the forge's chain format (seven tab-separated fields: seq, utc, kind, actor, subject, payload, prev). The builder applies the chain tool's rules, requires every payload file and compares its SHA-256 with its name, copies ledger and payloads unchanged, and generates /receipts/. When the ledger is absent the page and every link to it are left out and the build says so. Payload files are public site content: an email address or a private path in one refuses the build.

content/receipts/head.txt must hold the head of the ledger (the SHA-256 of its last line, 64 hex digits and a line feed). The build refuses a ledger without it or with another value. It is not published: its job is to put the head into this repository's Git history on Interplane, which is a copy a reader can compare against that the website cannot rewrite. Append a record, update head.txt, commit both.

content/receipts-page/verify.sh is the reader's verifier, served as /receipts/verify.sh and printed on the page. It walks the whole list from record 1: number, link to the record before, and the SHA-256 of each evidence file. It fails when the list does not end with a line feed, as the builder does, so a cut-off last record is not skipped. The controls run it against a list whose first row was changed while the last row was kept, and against one without its final line feed; it must fail on both.

No translated copies

The site keeps no translated pages. Readers translate with their own browser or tool (see the next section and /translate/), so nothing translated has to be kept true by hand. The builder refuses a route under /zh-, /zh/ or /zh ("translated copies are retired"), writes no hreflang alternates or language switch, and refuses a page that does not declare <html lang="en"> or holds a non-ASCII byte. The Simplified Chinese pages that were here until this change, their layouts and scripts/zh-place.sh stay in the history of the repository.

Reading in another language (no script)

Translation happens in the reader's own browser or tool. The site runs no translation script, stores no setting or translated copy and offers no translation endpoint, so script-src 'none' stays as it is. The builder (native/translate.om) prepares each page instead:

  • after assembly it adds translate="no" to code, pre, kbd, samp and to elements with the class brand, mono, digest or files, and wraps hashes (seven or more hex digits with a digit), rad:/did: IDs and words with a dot or slash (file names, paths, addresses, versions) in <span translate="no">. Text inside a protected element is left as it is;
  • it adds the "Read in your language" link to /translate/ in the footer, and alternate links to the page's plain text and JSON source;
  • next to each index.html it writes index.txt (the text of <main>) and index.json (source_url, lang, text, html: the whole page). Both are made from the same bytes as the page, listed in the manifest and compared by verify. Names under the page directory do not meet data routes such as /papers/papers.json.

The page check refuses a built page with a translatable hash, ID, file name, code element or brand, and a translate attribute that would let protected text be translated. `site translation-check FILE runs it on one HTML file (tests/fixtures/translate/bare-hash.html` must fail). site headers-check FILE reads a saved response header block and refuses a Content-Security-Policy whose script-src is not exactly 'none':

curl -sSI https://interplane.io/translate/index.json > h && target/site headers-check h

What the builder refuses

Script, style block, inline style, event handlers, frames, objects, forms and SVG animation; any resource that is not a local file (images, fonts, CSS imports, and url() other than a font route of the same site); plain http links; a link element that points off the site; local links or #fragments without a target; email addresses; private host names and paths; non-ASCII bytes, dash entities and numeric character references; a colour outside the root tokens of the stylesheet; a button whose text contrast is below 4.5 to 1 (WCAG 2.1 relative luminance, integer arithmetic, printed in full); crawl rules that differ from the pinned ones; an llms.txt that names an interplane.io path that is neither built nor on the short list of forge routes, or that misses a page or data file; a contribute page without "Publishing is permanent"; a registered-mark sign after Sovereign Intelligence, any use of that name without the trade mark sign (in the title, the description, the body or the footer; (TM) in llms.txt), and "super intelligence" outside the one sentence that says SI does not mean it; an HTML element that is closed by the wrong end tag or not closed; made-up data outside --test-data; an installer that does not match install_sha256; a ledger whose recorded head is missing or wrong; a papers snapshot or source line that breaks the rules above; a font route that is not an OpenType file under /public/fonts/; a png route that is not a PNG file under /public/; a forge route that is not /explore or /drakestapleton/NAME (NAME not starting with a dot) on interplane.io with source -; a route listed twice for the same site; a route under /zh-, /zh/ or /zh, a page without <html lang="en">; a translatable hash, ID, file name, code element or brand (section above).

This is a bounded checker for reviewed sources. It is not an HTML sanitizer, and it does not judge whether a sentence is true.

Checks

OMC=/path/to/omc sh scripts/tests/check-site.sh [path/to/forge/chain-binary]   # prints RESULT pass=N fail=0
sh scripts/tests/check-sync.sh                                                 # prints RESULT pass=N fail=0
sh scripts/tests/check-render.sh OUT [HOPOUT]                                  # needs Chrome; NOT_RUN without it
sh scripts/tests/check-claims.sh OUT [--hop FILE OUT...]                       # docs/CLAIMS.md against built pages

The counts are whatever the suites print; this file does not repeat them, so it cannot go stale.

The suites pass whether or not the commit carries real release data. check-site.sh strips the Hop release file, the installer and the receipts from each copy before a control, and the fixtures replace them. When the commit does carry release data, more controls build the tree as it is in release mode and check the badge, the receipts, the installer and the claims table against it.

check-site.sh copies the tree, changes one thing per control, and compares the builder's exit status and refusal text. Its oracles are sha256sum, the published verifier run through file://, and, when given, the forge's own chain tool. It also runs check-claims.sh.

check-sync.sh runs the publisher against a local signed-store layout with ipl verify, the compiler, the builder, rsync and sudo stubbed. Nothing in it contacts a server.

check-render.sh opens every built page in frames 1280, 390 and 360 px wide (WIDTHS) in a real browser and fails when a page is wider than the frame shows, when a header nav link is narrower than its label (squeezed labels run into each other without widening the page), when a page in the paper look did not load the three Latin Modern faces, when a page fetched anything from outside the output, or when a CJK character (a reader's tool may leave one in a copy of a page) is drawn as a missing glyph: each one is drawn on a canvas in the font its element computes and compared with three codepoints no installed font covers (U+A980, U+1C00, U+A000; it says NOT_RUN when one of them has a font). With SHOTS=DIR it also writes full-page screenshots of /papers/ (or SHOT=/route/) at 360 and 1440 px, or with SHOT=all of every page at every width. It is the one check that needs a browser, and the one place a line of script is used: property reads in a temporary wrapper page, never part of the site.

docs/CLAIMS.md lists every sentence on the site that carries a register label (the rule here, what you can check today, being built) with its evidence, every sentence about the Hop app with the Hop source line behind it, and every allowed use of a universal word. check-claims.sh fails when the pages and the table differ. It cannot tell whether an unlabelled sentence states a fact; a person reads for that.

Current publishing

Use the reviewed commit in the native owner-signed Interplane store and the plain Git repository on the Spark. Build and verify that exact source, copy its output to the intended web roots, and read back the served files before recording a deployment receipt. Do not run scripts/sync-to-hub.sh; its Radicle gate belongs to the retired route.

Retired publishing script (historical reference)

The following describes the old script and its tests, not the current publishing route.

scripts/sync-to-hub.sh [--log-dir DIR] [COMMIT] publishes the signed main of this project in the Interplane store (STORE, default ~/interplane-store-owner). It first runs ipl verify STORE interplane.io --expect-owner IPL_EXPECT_OWNER; with no owner fingerprint in IPL_EXPECT_OWNER, a project that does not verify, or an owner that is not the pinned one, it refuses. A named COMMIT (full 40 digits) must equal the main that verify reports; with none, that main is the commit. It then exports exactly that commit from the store's own repository (read in place, never written), compiles with the pinned compiler, builds in release mode, verifies, and refuses test-data output.

There is no schedule. On the Spark the user service aien-run-interplane-sync watches the project's refs/heads folder in the store and starts the script with no commit when that folder changes, so each ipl land on main is published once it verifies.

Destinations, each with its own receipt (state, destination, digest, source commit, time) under LOGDIR:

  • interplane.io: rsync to HUB:WEBDIR (default hub:/var/www/interplane.io). The forge's infra/spark/edge-mirror.sh then mirrors that folder to the Spark.
  • hopbot.org: HOPWEBDIR on the Spark (default /var/www/hopbot.org, root-owned), written by one root command, `sudo -n /usr/bin/rsync -rt --delete --chmod=D755,F644 --chown=root:root --exclude=.well-known LOGDIR/hopbot.stage/ HOPWEBDIR/`. A Hop release is refused when that folder is missing. A newly named or changed destination is transferred even when the content is unchanged. When a commit no longer carries a Hop release, the same command runs with an empty stage, the folder is emptied and the receipt becomes a withdrawal record.

The log: a run that names its folder (--log-dir DIR or LOGDIR) logs there, refusals included. A run that names none uses the default folder, ~/.local/share/interplane-site, and writes to it only when a transfer starts. A refused or unchanged run then prints its answer and leaves that folder untouched, so a trial run cannot add a line to the live log. The service should name its folder if its refusals are to be on record.

Fonts: the papers page uses three self-hosted .otf files. The stock nginx mime.types has no entry for .otf, so they are served as application/octet-stream. Chromium was measured to load them that way; the right label is font/otf. The one-line change, inside the types { } block of /etc/nginx/mime.types on the serving host, then reload nginx:

font/otf                                         otf;

FONTBASE=https://interplane.io sh scripts/tests/check-render.sh OUT asks the server how it labels each font file and passes on either of the two types.

Settings: REPO, HUB, WEBDIR, HOPWEBDIR, LOGDIR, OMC, OMEGA_SRC. Exit codes: 2 usage, 3 compile, 4 build or verify, 5 canonical head or source, 6 test data, 7 destination, 8 digest or transfer. The script header has the sudoers line that allows exactly the root command.

Not here

The old Rust generator (crates/site-builder) and its timed fetch of live figures are gone. The protocol pages now show a dated snapshot. evidence/ keeps the receipts of the retired generator as history; they do not describe this builder.

On an Apple silicon Mac with Apple Command Line Tools, from this website checkout:

set -e
mkdir -p build target
swiftc -O -swift-version 5 -framework AppKit public/hop-background-render.swift -o target/hop-background-render
target/hop-background-render
cmp build/black-holes-0.png public/hop-background.png
cp public/hop-background.png target/hop-card.png
sips -z 761 1200 target/hop-card.png
sips -c 630 1200 target/hop-card.png
cmp target/hop-card.png public/hop-card.png

The Swift file is a published provenance artifact copied from Hop's painter, not website build or test logic. The website builder remains seeded Omega. The harness draws offscreen and does not open a window or use input or audio. It also checks the paused clock and frame CPU cost. Its 16 ms CPU threshold can refuse reproduction on a slower or busy Mac; the command must pass before a byte-match claim is made. A Command Line Tools installation with duplicate SwiftBridging module maps needs the same overlay flags used by Hop's build.sh. Renderer and PNG encoder differences across SDK versions can change bytes; the published fingerprints identify the measured frame and do not claim independent reproducibility.

Licence

AGPL-3.0-or-later (see LICENSE). native/lib/sha2.om is Apache-2.0.