interplane.Get Omega
Read in your language

interplane-forge

INTERPLANE Forge

Brought by drakestapleton

branch main Branches Tags History

interplane-forge / README.md

126 lines · 10190 bytes Raw Blame History Source

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

Data

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