interplane.Get Omega
Read in your language

interplane-forge

INTERPLANE Forge

Brought by drakestapleton

branch main Branches Tags History

interplane-forge

06d00b1 infra/DEPLOY.md: forged e8ae0f2 deployed (new site header, footer and palette; recovered pinned clone source) Drake Stapleton committed 2026-11-22
browse/
chain/
collab/
community/
contrib/
dl/
docs/
door/
galaxy/
growth/
infra/
ipl/
nodes/
open/
patch/
quiet/
research/
salvage/
server/
social/
store/
tools/
visits/
.gitignore120
README.md10190
SANDBOX-NEEDS.md33888
run.sh30148

README.md

INTERPLANE Forge web (forged)

Agents express intent. The forge retains authority.

forged is the web layer of INTERPLANE Forge: one seeded-Omega HTTP server that shows the public Radicle repositories of this node the way a code forge does: explore, repository home, tree / blob / raw, source archives (zip, tar.gz), releases, Radicle patches and issues, stars, favorites, follows and Radicle-key sign-in. Pages are server-rendered HTML and CSS; there is no JavaScript. Every page wears the interplane.io header and footer (one site): ./run.sh units generates them at every build from the site's own source with server/chromegen.om, and server/tests/sitechrome.sh checks the result. Projects (the link to /explore) is marked current; forge controls remain a separate row. The three-column footer keeps its site structure around forge-specific fine print. The decorative rope band outside the site's footer is not copied. Header/footer rules include responsive and Strand-system overrides, including the sticky header and primary button. The dark navy palette comes from the generated site :root; forge aliases refer to its tokens, not a second palette (only the favicon and the two diff-row tints keep their own values). The galaxy tokens asset is only routed on the root base, not under /forge/, so forge.css stays self-contained for both bases. visits/visits.css already reads galaxy/tokens.css and needs no separate palette.

The same server is reached at https://interplane.io/ and https://www.aienos.com/forge/. The edge (nginx on the hub, through the spark→hub tunnel) sends X-Forge-Base: / or X-Forge-Base: /forge/, and every link, form action and redirect is built from it.

What works and what does not: docs/FEATURES.md (one row per feature, honest status). How the pieces fit together: docs/CONTRACT.md. What replaces the GitHub annoyances: docs/ANNOYANCES.md. Edge deploy: infra/DEPLOY.md.

Layout

DirOwnerContent
server/ForgeServerrequest parsing, routing, layout, explore / profile / search, allow-list, seams
browse/ForgeBrowserepo home README, tree, blob, raw
dl/ForgeDownloadsarchives, releases, clone panel
collab/ForgePatchesRadicle patches and issues (read-only)
social/ForgeSocialsign-in, sessions, stars, favorites, watch, follows
infra/ForgeInfraservice supervisor, tunnel, nginx, smoke tests
quiet/simplify (L1008 D)one digest per subscriber, patch evidence receipt
door/AgentDoorthe public event stream (events.json) and the feed page; agents.json is server/agents.om
docs/sharedCONTRACT.md, FEATURES.md, ANNOYANCES.md

Build and run (on spark)

./run.sh units      # list the units in compose order
./run.sh seams      # tests only: the same list with every slice as its seam server/no<slice>.om
./run.sh build      # compose and compile with the pinned omc -> server/forged (clean tree only)
./run.sh deploy     # build HEAD in a fresh git worktree, install server/forged, log it in infra/DEPLOY.md
./run.sh start | stop | status | reload
  • Live deploys only from a commit: ./run.sh deploy [commit], then pkill -x forged (the supervisor restarts it), then commit the <UTC> <commit> <sha256> line it appended to infra/DEPLOY.md. ./run.sh build refuses to write server/forged while git status --porcelain is non-empty; trial builds write elsewhere with FORGED_OUT.
  • Compiler: omega-mv seed/out/omc at spark ~/work/flux/omega-mv; run.sh refuses any omc whose sha256 differs from the pin in run.sh.

  • A slice dir is composed only when it holds a READY file; otherwise its seam server/no<slice>.om is used and its routes answer 501 "Coming soon". Trial-compose an unready slice with FORGE_TRY="<dir> ..." FORGED_OUT=/tmp/x.try ./run.sh build.
  • The service runs as the systemd user unit interplane-forged.service (infra/spark/), whose supervisor is infra/spark/forged-service.sh on cores 4-5 at nice 10, listening on 127.0.0.1:18480 only. The supervisor restarts forged if it exits; systemd restarts the supervisor.
  • ./run.sh reload (or SIGHUP to the supervisor) touches ~/forge-data/reload; forged then re-reads the allow-list and the social log without a restart.
  • Store-reading build (interplane-native DESIGN.md step 2, not deployed): FORGE_STORE=<store root> FORGED_OUT=<path> ./run.sh build (optionally FORGE_CLONE_BASE=https://<host>/<path>/) reads the project list from the store's catalog.tsv and Git from projects/NAME/repo.git (store/, docs/CONTRACT.md section 1); deploy and restart refuse it. Acceptance: bash store/tests/compare.sh STORE KEY IPL_DIR. On the repository home, the store clone panel names the displayed commit: git clone --no-checkout <url> <name> && git -C <name> checkout --detach <40-hex>. Its ZIP and tar.gz links use /<owner>/<repo>/archive/commits/<40-hex>.zip|.tar.gz. That address is answered by the public Git edge (infra/bazinga/omega-read), not forged's dl/dl.om: only full lower-case commit IDs reachable from a public head or tag are accepted. The old /archive/refs/heads/<branch> addresses remain branch archives; forged's /archive/<sha> still redirects only when a canonical head or tag points exactly at that commit. Checks: bash store/tests/pinned-clone.sh and bash dl/tests/pinned-archives.sh (private fixtures).

Data

  • Repositories: Radicle storage ~/.radicle/storage/<RID>, read with git (argv exec, no shell). Only the 28 rows of the public table in ~/handoffs/radicle/RIDS.md exist; everything else is 404. server/repos.om fdeny refuses the withdrawn private projects and their RIDs even if a table row lists them (in the store-reading build, by name and by the old id in record 1).
  • Forge data dir ~/forge-data/: the social append-only log and key, archives/ (archive cache, 512 MiB cap per file), logs/forged.log (access log and supervisor log), counts.log (append-only journal of the counted clone and download events and the log positions, server/counts.om), growth/seeds.log (one line when a routing-table read gives a repo a new seeding count, growth/).

Machine form

<base>explore.json and <base><owner>/<repo>.json (or Accept: application/json) answer the same data as the HTML pages as JSON: schemas forge/explore/1 and forge/repo/1 in docs/API.md. <base>trending and <base>explore?order=trending|new order the public list. <base><owner>/<repo>/insights is the per-repo numbers page. Schemas and sources: docs/GROWTH.md. <base>agents.json lists every machine-readable address (from server/agents.tsv); <base>events.json is the public activity stream and <base>feed its page: docs/AGENT-DOOR.md.

Host dependencies (production path)

binaryversion on sparkwhat forged uses it forOmega replacement
/usr/bin/git2.43.0 (Ubuntu 1:2.43.0-1ubuntu7.3)read-only object, ref and archive reads on allow-listed storage (argv exec, empty environment). Code search stops each git grep once the page has the lines it can still show (nodes/srch.om). The default branch (HEAD) is read by nodes/head.om; git symbolic-ref is no longer startedgit is kept as a read-only oracle; a seeded-Omega loose/pack object reader (zlib inflate, pack index, tree walk) would remove it from the request path. Done so far: HEAD (nodes/head.om, byte-equal pages for every public repository, nodes/tests/ab.sh check). Next: loose and packed refs (for-each-ref, rev-parse of a branch name)
/usr/bin/ssh-keygenOpenSSH 9.6p1 (Ubuntu 1:9.6p1-3ubuntu13.19)ssh-keygen -Y verify of the Radicle-key sign-in signature (social)Ed25519 verify in Omega (edwards25519 on the field code of omega-mv om/tls/x25519.om, SHA-512 from om/tls/sha2.om) plus an SSHSIG blob parser; omega-mv f4df8239 has no Ed25519 yet
/usr/bin/sqlite33.45.1 (Ubuntu 3.45.1-1ubuntu2.8)not forged: server/nodes-snap (nodes/snap.om) reads the Radicle node's node.db and policies.db with -readonly for the /status snapshota seeded-Omega reader of the SQLite file format (b-tree pages, WAL frames) for the two tables; until then sqlite3 is the node database's own reader
rad1.10.3 (7e1cb406)not forged: nodes-snap runs rad node status (connected peers) and follows rad node events (its change signal) through /usr/bin/env HOME=...speak the node's control socket (~/.radicle/node/control.sock) from Omega; its protocol is not yet read from the heartwood source
~/.radicle/bin/rad (via /usr/bin/env HOME=...)rad 1.10.3 (7e1cb406)rad node routing --rid <RID> --json: the number of nodes seeding a repo, for the repo home counts (server/counts.om); read-only, run only when the node database changeda seeded-Omega reader of the node's routing table, or the node announcing seed counts to a file forged reads
/usr/bin/getentglibc 2.39 (Ubuntu GLIBC 2.39-0ubuntu8.9)getent hosts www.aienos.com: the home address, so our own requests are left out of the visitor countsan Omega DNS lookup, or the edge marking our own requests itself

Logs forged reads for the counts (read-only, docs/API.md): /var/log/nginx/aienos-dl.log and /var/log/nginx/aienos.access.log (the front-door nginx on spark; after a daily rotation the rest of <log>.1 is read first; forged's group adm can read the rotated 0640 www-data adm files) and ~/forge-data/logs/forged.log.

Checks

bash infra/smoke.sh local            # both bases against 127.0.0.1:18480
bash infra/smoke.sh                  # the public domains
bash dl/tests/http-check.sh 18480    # archives and releases
bash collab/tests/check.sh http://127.0.0.1:18480
SOCIAL_TEST_CORES=4,5 SOCIAL_TEST_PORT=18483 bash social/tests/run.sh   # isolated test build
bash server/tests/counts.sh          # JSON form and counts: isolated build, fixture logs, HTML equal to the base build
bash server/tests/trial-real.sh      # the same build on the real logs (read-only), smoke against it