interplane.Get Omega
Read in your language

interplane-forge

INTERPLANE Forge

Brought by drakestapleton

branch main Branches Tags History

interplane-forge / galaxy / README.md

154 lines · 9285 bytes Raw Blame History Source

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

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