interplane.Get Omega
Read in your language

interplane-forge

INTERPLANE Forge

Brought by drakestapleton

branch main Branches Tags History

interplane-forge / galaxy

5b9dc87 forge: serve no Radicle wording, links, rad: ids or rad commands (WIP, tests pending) Drake Stapleton committed 2026-11-14
..
tests/
OutputBound.lean415
README.md9285
cli.om562
live.om10458
page.om18581
stars.om8798
tokens.css7973

README.md

galaxy: the INTERPLANE front page, live, in seeded Omega

INTERPLANE is the home for space junk: builds that almost worked, abandoned repos, AI slop. Each piece is checked against evidence on its exact revision; what passes is kept with its proof so the next builder can reuse it. The front page shows that as a galaxy: the hive at the centre as a honeycomb of factory stations, unverified work in review as dots on the inner ring, work that passed review on the second ring, every public project as a star, and the latest merged heads on Radicle beside it. The page carries no script element and no inline style.

Status: IMPLEMENTED and EXERCISED on the Spark host (gates below; the daemon also ran against the live stream). Not installed as a service and not served by the live forged until this is merged.

On the integrated line (integrate/one, 2026-11-09) the galaxy is its own page, the map, at /galaxy and /galaxy/. The forge root stays the explore page and the interplane.io root stays the static page of the site repository, so the nginx file has no location = / block. page.om, live.om, stars.om and cli.om are as mac-main wrote them (forge/galaxy-live 8f81e8fc).

Units

UnitWhat it is
page.omthe page and its stylesheet: reads a feed from the buffer ib, writes HTML to ob
cli.omcomposed after page.om: a filter, feed on stdin (or css), page on stdout
live.omcomposed after page.om: the daemon that keeps index.html current
stars.omits own program: stars.tsv (stars and merges) from the Radicle registry
server/route.omforged streams the three files; it does not build them
tokens.cssthe Sovereign Intelligence design tokens, copied byte for byte
OMC=$HOME/work/flux/omega-mv/seed/out/omc      # sha256 3ad9f10f…93194, checked by every gate
cat galaxy/page.om galaxy/cli.om  | $OMC > galaxy-filter
cat galaxy/page.om galaxy/live.om | $OMC > galaxy-live
$OMC < galaxy/stars.om > stars

How the page stays current

  • galaxy-live connects to the factory's public Now stream (127.0.0.1:4748, server-sent events). Each event replaces the top-level keys it carries (generated, totals, machine, stations). After an event it rewrites index.html in its working directory, at most once per 30 s of stream time: it compares the event's own generated second with the one it last published at and reads no clock, so a recorded stream paces exactly as a live one. The stream sends an event about every 2 s, so while the factory is up the page is rewritten every 30 s. There is no timer: without events nothing is written. A lost connection is retried after 5 s.
  • A cell shows moving (jobs in work), the figure the factory floor shows, then done24. Delivered is totals.done; verdicts, the review queue and approved come from the aegis station.
  • stars runs when the registry folder changes (through aien-onchange) and rewrites stars.tsv. It lists exactly the rows forged's allow-list accepts: the first table of RIDS.md, a well-formed name and RID, an existing storage folder, never the crypto repositories. So every star links to a page that exists, and the star count equals the forge's public repository count.
  • Every file is written to a .tmp name, synced and renamed, so a reader never sees half a page.
  • forged serves <data>galaxy/index.html at /galaxy and /galaxy/ on the interplane.io base, and the two stylesheets at /assets/galaxy.css and /assets/tokens.css. Without the page file /galaxy is 404. The root is the explore page either way. The /forge/ base never serves the galaxy.

Install (after merge)

mkdir -p ~/.local/share/interplane-galaxy ~/forge-data/galaxy
cat galaxy/page.om galaxy/live.om | $OMC > ~/.local/share/interplane-galaxy/galaxy-live
$OMC < galaxy/stars.om > ~/.local/share/interplane-galaxy/stars
chmod 755 ~/.local/share/interplane-galaxy/galaxy-live ~/.local/share/interplane-galaxy/stars
cp galaxy/tokens.css ~/forge-data/galaxy/tokens.css
cp infra/spark/interplane-galaxy.service infra/spark/interplane-stars.service ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable --now interplane-stars.service interplane-galaxy.service
./run.sh deploy            # forged with the galaxy routes
# the first galaxy preview was copied into the static root; nginx serves a static folder before
# forged, so /galaxy reaches forged only after that folder moves out of the root (/var/www is
# root-owned, so the move needs sudo; the folder keeps its owner)
sudo mv /var/www/interplane.io/galaxy /var/www/interplane.io.galaxy-preview.$(date -u +%Y%m%dT%H%M%SZ)
curl -s https://interplane.io/galaxy | cmp - ~/forge-data/galaxy/index.html   # the page is now at /galaxy

No nginx change is needed: the existing location / already sends a path with no static file to forged, and the root keeps its static page.

Undo: systemctl --user disable --now interplane-galaxy.service interplane-stars.service; remove ~/forge-data/galaxy/index.html; deploy the previous forged; sudo mv the preview folder back to /var/www/interplane.io/galaxy if wanted.

Feed (the filter's input, and what the daemon builds)

Tab-separated public facts, one per line. Unknown lines are ignored. Every field is HTML-escaped.

LineFieldsMeaning
Kkey, valuea headline figure: delivered, verdicts, approved, waiting, gpuw, asof
Sname, in work, done24a hive cell; the first 10 are drawn, rows of 3, 4 and 3
Rname, tiera project star; tier core, rest or tail sets its ring
Mrepo, head, notea merged head on Radicle

A missing K value prints "not read".

Limits

No input makes the page go blank. Feed input past 65,535 bytes is not read. A name prints at most 64 of its bytes and a merge note 160, never cut inside a UTF-8 character. At most 400 stars, 12 merges, 10 cells and 400 dots per ring are drawn; the legend still counts every R line.

With those caps the largest page is 679,686 bytes, under the 1,048,576-byte output buffer:

2555 + 1920 + 63 + 160*101 + 800*81 + 400*1392 + 10*1124 + 12*2179 = 679686

The terms are the fixed text, 5 headline values, 3 legend numbers, 160 dust points, 800 ring dots, 400 stars, 10 cells and 12 merges, each at its longest (every byte escaped to 6, every number 21 characters). OutputBound.lean proves the inequality in Lean 4 with no axioms (lean galaxy/OutputBound.lean); Wolfram gives the same sum and 679686 < 2^20 true.

The daemon drops a stream line longer than 1,048,575 bytes, keeps the last good figures when an event is cut off or is not JSON, and publishes nothing until it has seen the stations. It reads at most 32,768 bytes of stars.tsv. stars reads at most 262,144 bytes of RIDS.md, lists at most 400 rows (the page draws at most 400 stars, so the legend then says 400) and picks the merges from the first 128 listed rows. Its file is therefore at most 8 merge lines of 281 bytes and 400 star lines of 72 bytes, 31,048 bytes, under what the daemon reads; tests/stars.sh writes that largest file from a 500-row registry.

Geometry and dates

Stars, dust and ring dots are placed by repeated rotation through the golden angle, pi(3 - sqrt 5). The two constants are its cosine and sine to 17 digits from Wolfram (N[Cos[Pi (3 - Sqrt[5])], 17], N[Sin[...], 17]). No trigonometric host call is used. The page time is the stream's generated second, turned into a UTC date with integer arithmetic; tests/live.sh checks ten dates (epoch, leap days, year ends, year 2100) against date -u.

Gates

sh   galaxy/tests/run.sh      # the filter:  RESULT pass=36 fail=0
sh   galaxy/tests/live.sh     # the daemon:  RESULT pass=26 fail=0
sh   galaxy/tests/stars.sh    # the stars:   RESULT pass=17 fail=0
bash galaxy/tests/route.sh    # the routes:  RESULT pass=28 fail=0   (trial forged on port 18489)
bash server/tests/check.sh    # the server:  44 passed, 0 failed

Each refuses any compiler but the pin (exit 2) and has a negative control: the < escape removed, the old 4,096-line loop limit and the UTF-8 back-off removed (filter; an apostrophe prints as &#39; and a 64-byte cut never splits a character); reading open where the floor shows moving and the 30 s pacing rule removed (daemon; an event 10 s after a publish is held, one 30 s after is published); the deny rule removed and the 400-row cap removed (stars); the base commit's route.om, which has no /galaxy, and a route.om whose root serves the galaxy file (routes; set GALAXY_BASE to a commit before the galaxy routes, e3c2839 on the integrated line). The daemon gate requires the page it writes from recorded stream bytes to equal, byte for byte, the page the filter prints for the same figures written by hand.

Not done

  • The page is not the interplane.io home: it is the map at /galaxy. Its wordmark links to /, the static page of the site repository.
  • The hardware line is scoped on the page to the DGX Spark GB10, the only target CUDApp's targets doctor lists as supported.
  • The public proof chain and the owner's analytics are separate units, not in this change.