INTERPLANE Forge edge: deploy, verify, roll back
Path
client ─TLS─▶ hub :443 stream sni-router (PROXY protocol on)
interplane.io, www.interplane.io ─▶ 127.0.0.1:4448 (NEW: ssl proxy_protocol listener, was 4454 shim → 4444)
www.aienos.com ─▶ 127.0.0.1:4446 (unchanged; gains `location /forge/`, a redirect since 2026-11-10)
nginx http ─▶ hub 127.0.0.1:18480 ─ssh -R (spark tmux forged-tunnel)─▶ spark 127.0.0.1:18480 forged (tmux forged)
- interplane.io: static files in
/var/www/interplane.iowin (try_files $uri $uri/ @forged); every other path goes to forged withX-Forge-Base: /./stays the static homepage; the forge home is/exploreand the profile/drakestapleton. - www.aienos.com: since 2026-11-10
/forgeand/forge/…only redirect to interplane.io (section "www.aienos.com/forge/ redirect" below); nothing there reaches forged. No other aienos path changes. Until then:/forge→ 301/forge/;/forge/…went to forged with the prefix stripped andX-Forge-Base: /forge/. - The edge overwrites X-Forge-Base, Host, X-Real-IP and X-Forwarded-For (the PROXY address) and strips
Authorization. forged's Content-Security-Policy passes through (pages:
script-src 'none',form-action 'self'; raw files:sandbox; default-src 'none', security review P2-3). The edge adds its own policy only when forged sends none, or one that is neither a baresandboxnor has bothscript-src 'none'andform-action 'self'/'none'. Browsers enforce both headers then. The edge's fallback is a sandbox policy on downloads and its page policy elsewhere. - Limits:
client_max_body_size 64k; POSTs are limited per IP (zoneforge_post, 429), GETs are not; only GET, HEAD and POST are allowed (others 403). - forged serves one connection at a time, so nginx buffers every forged response and spools what a slow
client has not taken yet to /var/lib/nginx/proxy (
proxy_max_temp_file_size 600m,send_timeout 60s; security review P2-1). Downloads (archive/,raw/,releases/download/) have a 300 s read timeout and are capped at 2 concurrent per client and 6 in total (429), which bounds the spool at 6 × 512 MiB (forged's cap) = 3 GiB of the hub's 6.5 GiB free. - Port 18091 is not used, proxied or probed anywhere.
Files
| file | goes to (hub) |
|---|---|
| nginx/conf.d/forge.conf | /etc/nginx/conf.d/forge.conf (upstream, POST limit zone) |
| nginx/snippets/forge-proxy.conf, forge-headers.conf, forge-archive.conf (downloads) | /etc/nginx/snippets/ |
| nginx/snippets/aienos-forge.conf | /etc/nginx/snippets/, included after aienos-replicate.conf in sites-enabled/aienos.com |
| nginx/sites-enabled/interplane.io | replaces /etc/nginx/sites-enabled/interplane.io (based on sha256 949a0a38…; apply refuses if the live file differs) |
| stream.d/sni-router.conf | edited in place: interplane_web 127.0.0.1:4454 → 127.0.0.1:4448 |
| spark/interplane-forged.service | spark: ~/.config/systemd/user/ (systemd user unit, enabled): runs forged-service.sh _loop, the supervisor, from the build in FORGED_DIR |
| spark/interplane-forged-tunnel.service | spark: ~/.config/systemd/user/ (enabled): ssh -R 127.0.0.1:18480:127.0.0.1:18480 hub |
| spark/forged-service.sh | spark: the supervisor, taskset -c ${FORGED_CPUS:-4-5} nice -n 10; start/stop/restart/status act on the unit when it runs this data directory, else tmux forged |
| spark/forged-tunnel.sh | spark: start/stop/status act on the tunnel unit when it is loaded, else tmux forged-tunnel |
Apply (in this order)
On spark:
cd ~/work/forge/web
# the service units: see "Service (systemd user units)" below
bash infra/spark/forged-service.sh status # names the unit, the supervisor and forged
bash infra/smoke.sh local # forged answers directly
bash infra/spark/forged-tunnel.sh start # starts the tunnel unit; verifies hub 127.0.0.1:18480 is listening
ssh hub 'mkdir -p /tmp/forge-infra' && rsync -a --delete infra/ hub:/tmp/forge-infra/infra/
ssh hub 'sudo bash /tmp/forge-infra/infra/hub/forge-edge-apply.sh /tmp/forge-infra/infra'
bash infra/smoke.sh # both public URLs
forge-edge-apply.sh does, and stops at the first failure:
- Preconditions: all files are present; the live interplane.io site file has the pinned sha256; the
router line is exactly
127.0.0.1:4454once; the aienos-replicate include occurs once and no forge include or/forgelocation exists; port 4448 is free; hubcurl 127.0.0.1:18480/drakestapleton= 200;nginx -tpasses before any change. - Backup to
/etc/nginx/forge-backups/<UTC>/(sites-enabled_interplane.io,sites-enabled_aienos.com,stream.d_sni-router.conf,NEW_FILES,README). - Install the files, edit the router and the aienos include.
- Gate:
nginx -t. On failure it rolls back automatically and nothing is reloaded. systemctl reload nginx(a reload, never a restart).- Live checks (
hub/forge-edge-checks.sh) through--resolve <host>:443:127.0.0.1: interplane.io/,/quick-start/,/drakestapletonand a cuda-crack tar.gz = 200,/rad:<a withdrawn RID>= 404; www.aienos.com/,/forge/,/forge/drakestapletonand a cuda-crack zip = 200,/forge/rad:<a withdrawn RID>= 404; hs.aienos.com/health= 200. Any failure rolls back automatically.
Update (edge already applied)
forge-edge-apply.sh refuses to run twice. To change the forge-owned files (conf.d/forge.conf, the four
forge snippets, sites-enabled/interplane.io), stage the new tree next to the deployed one and run:
ssh hub 'sudo bash /tmp/forge-infra-<tag>/infra/hub/forge-edge-update.sh /tmp/forge-infra-<tag>/infra /tmp/forge-infra/infra'
It aborts with nothing changed unless every live file equals the deployed tree, the edge is applied,
forged answers, nginx -t passes and at least 6 GiB is free under /var/lib/nginx. It then backs up in
the rollback layout, installs, gates on nginx -t, reloads and runs the live checks; any failure runs
forge-edge-rollback.sh on its backup.
Roll back
ssh hub 'sudo bash /tmp/forge-infra/infra/hub/forge-edge-rollback.sh /etc/nginx/forge-backups/<UTC>'
With no argument it uses the newest backup. It restores the three files, deletes the files in
NEW_FILES, runs nginx -t and reloads, then checks interplane.io, www.aienos.com and hs.aienos.com.
After it: bash infra/spark/forged-tunnel.sh stop (forged may keep running; it is bound to loopback).
Backups on the hub: 20261107T110404Z is the first apply (rolling back to it removes the whole
forge edge); 20261107T113222Z is the P2-1 update (rolling back to it restores the first deployed
edge with unbuffered downloads); 20261107T114153Z is the P2-3 update (rolling back to it restores
the P2-1 edge, which hides forged's CSP, and is what the no-argument form now picks):
ssh hub 'sudo bash /tmp/forge-infra-p23/infra/hub/forge-edge-rollback.sh /etc/nginx/forge-backups/20261107T114153Z'
Smoke failure policy: infra/smoke.sh exits 2 when an existing page ([site]) fails, which means roll
back at once; it exits 1 when only forge routes ([forge]) fail, which means the forge slices need
fixing and the edge stays. infra/smoke.sh reach exits 3 when a public name does not answer the way
an outside visitor needs (DNS, https, certificate days, http to https, check-host.net nodes): the path
needs fixing, nothing to roll back. The Spark front door, its plain-http redirect and the hub sshd
keepalive are documented in spark/README-edge.md.
Service (systemd user units, spark)
Since 2026-11-10 forged and the tunnel are systemd user units (linger is on, so they run without a login and start at boot). A deploy installs a reviewed build as a directory and points the unit at it:
B=~/.local/lib/interplane-forge/<commit> # out/{forged,forged-listen,public-read,forged-seccomp.bpf}, infra/spark/
mkdir -p ~/.config/systemd/user/interplane-forged.service.d
printf '[Service]\nEnvironment=FORGED_DIR=%s\n' "$B" > ~/.config/systemd/user/interplane-forged.service.d/build.conf
cp infra/spark/interplane-forged.service infra/spark/interplane-forged-tunnel.service ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable --now interplane-forged.service interplane-forged-tunnel.service
A new build: back up build.conf, point it at the new directory, daemon-reload, then
forged-service.sh restart (one stop and start of the port). Roll back: put the previous
build.conf back, daemon-reload, restart. The previous build directory stays beside the new one.
forged-service.sh start|stop|restart|status and forged-tunnel.sh start|stop|status act on the
units. Do not stop the service with a forged-service.sh older than this change: it kills the
supervisor and systemd starts it again.
Restart policy. forged: the supervisor restarts forged itself and holds the port; systemd restarts
a supervisor that died after 1 s (RestartSec=1s, never giving up), and every process of the unit
dies with it first, so the port is free at once. The delay only bounds a start that fails at once
(the port held by another process: one attempt a second). No RestartSteps: on systemd 255 its
backoff counts every restart in the unit's life (measured: runs of 3 s still stepped to the
maximum), so after a few deaths over weeks every restart would wait the maximum. Tunnel: 5 s.
Since the 2026-11-08 front door (spark/README-edge.md) the public names reach forged through the
Spark's own nginx; the tunnel only carries the hub's 127.0.0.1:18480 for the Pi's nginx.
Stop order (spark)
forged-tunnel.sh stop (forge paths on the Pi's nginx then answer 502), then `forged-service.sh
stop. Reload the allow-list without restarting: forged-service.sh reload` (touches
~/forge-data/reload; the supervisor also turns SIGHUP into that flag).
Evidence
| check | label | result |
|---|---|---|
test/edge-local.sh: the edge config on Mac nginx 1.29.0 with a stand-in forged (P2-1 version: buffered downloads, page during a slow download, per-client 429) | HOST_TESTED | 49 passed, 0 failed; mutants each fail: buffering 3 (page stalled 6.02 s / 5.98 s, 3rd download got 200), base 3, csp 2 |
the same config with EDGE_SYNTAX_ONLY=1 on the hub's nginx 1.28.3 (temp dir, removed) | HOST_TESTED | syntax ok |
test/hub-rehearsal.sh: apply/rollback on a copy of hub /etc/nginx in an ubuntu:26.04 container (nginx 1.28.3); since the edge is live, the copy is first rebuilt to its pre-apply state from backup 20261107T110404Z | HOST_TESTED | 17 passed, 0 failed: baseline; N1 broken config auto-rolled back byte-identical; N2 forged down → apply aborted, nothing changed; P1 apply, base and client IP reach forged, statics and headscale unaffected, :4444 leak fixed; N3 re-apply refused; P2 rollback byte-identical to pristine |
test/slow-client.sh (P2-1): real server/forged (sha256 27068beb…) and storage behind a copy of hub /etc/nginx in ubuntu:26.04, reference archive omega-mv main.tar.gz 96568781 bytes | HOST_TESTED | 18 passed, 0 failed. A (deployed config, negative control): /explore during a 1 KiB/s archive download 200 in 12.03 s (idle 0.016 s). U1 broken config: update refused, auto-rollback, identical; U2 drifted live file: aborted, nothing changed. B (forge-edge-update.sh): /explore 0.019 s, /forge/explore 0.014 s, raw 0.029 s during the slow download; slow client still served; 3rd per-client and 7th site-wide download 429; /explore 0.015 s with 6 slow downloads; full downloads byte-identical via both hosts |
spark/forged-service.sh with a bounded stand-in: start, restart after exit, reload flag, SIGHUP, forbidden cores, failed start leaves nothing running, stop | HOST_TESTED | all as expected |
smoke.sh local against the real forged (before slices integrated) | HOST_TESTED | 30 passed; the forge-route failures were unintegrated slices |
live hub apply 2026-11-07, backup /etc/nginx/forge-backups/20261107T110404Z | DEPLOYED | nginx -t ok, reload, all 9 live checks ok |
smoke.sh public, both URLs, 2026-11-07 ~11:05Z | DEPLOYED, exercised | 53 passed, 0 site failures, 10 forge failures (tree/commits/blob 501, login 404, star POST 501: slices not yet wired into forged) |
live hub update (P2-1) 2026-11-07 11:32Z, backup /etc/nginx/forge-backups/20261107T113222Z; disk 6.4 G free before and after | DEPLOYED | nginx -t ok, reload, 11 live checks ok (incl. both archives) |
smoke.sh public, both URLs, 2026-11-07 ~11:33Z | DEPLOYED, exercised | 63 passed, 0 site failures, 0 forge failures |
| live slow client (Mac, 1 KiB/s) after the update | DEPLOYED, exercised | cuda-crack tar.gz slow: /explore 0.029 s, /forge/explore 0.025 s, repo page 0.057 s. omega-mv 96 MB slow: first /explore 9.36 s (forged busy pushing the 96 MB through the tunnel into the nginx spool), later ones 0.024–0.039 s while the slow client was still open; two slow omega-mv downloads open: a 3rd → 429, /explore 0.38 s |
test/edge-local.sh (P2-3 CSP pass-through): stand-in forged sends a page CSP, a raw sandbox CSP, none (csp=none) or a weak one (csp=weak) | HOST_TESTED | 53 passed, 0 failed: exactly one CSP (forged's) on pages and raw under both bases; none → the edge page policy or, on raw, the edge sandbox; weak → both. Mutants each fail: csp (hide again) 6, cspfallback (no edge CSP) 5, buffering 3, base 3 |
test/hub-rehearsal.sh with the P2-3 tree | HOST_TESTED | 17 passed, 0 failed (the update's live checks now include a page CSP check on both hosts) |
test/raw-csp.sh (P2-3): real server/forged (sha256 3a97bf67…) and storage behind a copy of hub /etc/nginx in ubuntu:26.04 (nginx 1.28.3); old = the P2-1 tree (hub /tmp/forge-infra-p21/infra), new = this tree via forge-edge-update.sh | HOST_TESTED | 14 passed, 0 failed. forged direct: raw sandbox; default-src 'none'; …. Old (negative control), both hosts: raw rows.txt carries the edge's default-src 'self'; … instead. New, both hosts: rows.txt and svg have exactly one CSP, forged's sandbox; svg Content-Disposition: attachment; /drakestapleton and /explore have exactly one CSP with script-src 'none' and form-action 'self'. The container starts cold, so it warms forged's cache first (forged allows 2 cold builds per 60 s, else 503) |
smoke.sh public before the P2-3 update (negative control) | DEPLOYED, exercised | 67 passed, 2 forge failures: raw CSP was the edge's default-src 'self'…, not forged's sandbox |
live hub update (P2-3) 2026-11-07 11:41Z, backup /etc/nginx/forge-backups/20261107T114153Z; disk 6.4 G free | DEPLOYED | nginx -t ok, reload, 13 live checks ok |
curl -sD- on omega-mv raw/main/…/x925/rows.txt at both URLs; pages and archive zip | DEPLOYED, exercised | raw: exactly one header, sandbox; default-src 'none'; …; form-action 'none'; pages and zip: exactly one, forged's default-src 'none'; … script-src 'none'; form-action 'self'; … |
live raw svg (benchmarks-mv raw/main/assets/chart_multi_model.svg) at both URLs | DEPLOYED, exercised | exactly one CSP, forged's sandbox; content-disposition: attachment; filename="chart_multi_model.svg"; image/svg+xml, nosniff. rows.txt (text/plain) is sandboxed but inline: forged sends attachment only for the svg |
smoke.sh public after the P2-3 update | DEPLOYED, exercised | 69 passed, 0 site failures, 0 forge failures |
Residual (forged, not the edge): forged answers one connection at a time, so any archive holds it
for as long as the response takes to cross the tunnel into the hub spool (about 9 s for 96 MB),
whatever the client speed. Small archives (cuda-crack) cross in well under a second. send_timeout
60 s is configured but has no dedicated test (NOT_RUN).
Spark front door (since 2026-11-08)
The Path above is the hub Pi's front door. Since 2026-11-08 the public :443 goes to the Spark instead;
infra/spark/README-edge.md is the full record (shape, switch, undo). In short:
client ─TLS─▶ Calix router TCP 443 ─▶ spark nginx 1.24 stream SNI router on 192.168.1.108:443
www.aienos.com, aienos.com, interplane.io, www.interplane.io ─▶ the Pi's nginx config, copied whole
hs.aienos.com ─▶ raw TCP passthrough to the Pi 192.168.1.192:443 (Headscale keeps its own TLS)
nginx http ─▶ spark 127.0.0.1:18480 forged (no ssh -R tunnel on this path)
/rad/ ─▶ 127.0.0.1:8780 ─ssh -L (user unit edge-rad-tunnel.service)─▶ the Pi's radicle-httpd
- Parts on the Spark: nginx with libnginx-mod-stream (config copies in
infra/spark/nginx/); user unitsedge-mirror.timer(site folders pulled from the Pi every 5 minutes),edge-certs.timer(certificates copied daily from the Pi, nginx reloaded only on a change) andedge-rad-tunnel.service; one firewall rule in/etc/atlas/ingress.nft(iifname "enP7s7" ip daddr 192.168.1.108 tcp dport 443 accept). - Verified before the router change (2026-11-08, from the LAN with
curl --resolve): 32 paths answered the same on the Spark and the Pi (status, body sha256, security headers); hs.aienos.com /health 200; an unknown name refused; a Radiclegit clonethrough the Spark gave the same head as through the Pi. - Router switch: reported done on the BOARD (2026-11-08T12:39Z, night-fable: "Drake moved the router 443 forward to 192.168.1.108", an outside fetch landed in the Spark's access log). Not re-checked for this section: the Calix rule itself was not inspected.
- Not done: the publishers still write to the Pi (the Spark mirrors them), and radicle-httpd does not
run on the Spark, so
/rad/and the copied certificates still depend on the Pi. Headscale stays on the Pi. - Undo: point the router's TCP 443 back to 192.168.1.192 (README-edge.md "Undo"). The forged binary rule and log below are unchanged by this path.
www.aienos.com/forge/ redirect (one-site, 2026-11-10)
Drake, 2026-11-10: one Interplane. nginx/snippets/aienos-forge.conf no longer proxies to forged; it
answers every /forge address with a permanent redirect to the same page on interplane.io:
| request | answer |
|---|---|
/forge, /forge/ (and either with ?q) | https://interplane.io/explore[?q]: forged's home under /forge/ was the explore list, and / on interplane.io is the static site |
/forge/<path>[?q] | https://interplane.io/<path>[?q]: every forged route (profiles, repos, tree/blob/raw, archive and release downloads, explore, search, stars, login, rad:<RID>) |
| GET, HEAD | 301 |
| any other method (POST, PUT, ...) | 308, so a POST stays a POST |
<path> is copied from $request_uri through a named capture, so the client's percent-encoding is
kept as sent (a numbered capture would escape %20 again to %2520) and nothing nginx decoded can
reach Location. The redirect carries the site's headers (HSTS with includeSubDomains, nosniff,
X-Frame-Options DENY, Referrer-Policy strict-origin-when-cross-origin, CSP frame-ancestors 'none').
conf.d/forge.conf, the other forge snippets and sites-enabled/interplane.io are unchanged.
/rad/ (the read-only Radicle clones) stays on www.aienos.com.
Before the change (Spark /var/log/nginx/aienos.access.log.1, 2026-11-08T11:48Z to 11-10T06:00Z, and
aienos.access.log to 11-10T22:33Z): 3,873,088 /forge requests, all but 402 from crawlers (user
agent matching bot, crawl, spider, slurp or GoogleOther). Git over /forge/: 6 requests (info/refs,
answered 404 or 301; forged never served git, clones use /rad/). Archive downloads: 6,035 (2,798
answered 200); 10 of them from curl (curl/8.5.0 and curl/8.7.1, the paths the smoke and cutover checks
use, such as no-such-branch.zip; that they were those checks is an inference), none from wget, git or
another tool. Release downloads: 0. The hub's logs from before the Spark front door hold 356 /forge
lines (2026-11-07 to 11-08, not broken down). So no client is known to fetch git or archives through
/forge/; one that does now gets a 301 it must follow (curl needs -L).
Apply (after the READY has VERDICT MERGE and is landed on main; post a 10-minute notice on the BOARD to one-interplane and ForgeDeployTake first; nginx is reloaded, never restarted, and forged is not touched):
Spark (the public front door; its nginx config is a copy, see "Spark front door"):
cd <clone at the landed commit>
TS=$(date -u +%Y%m%dT%H%M%SZ)-forge-redirect; BK=/etc/nginx/forge-backups/$TS
sudo mkdir -p $BK && sudo cp -a /etc/nginx/snippets/aienos-forge.conf $BK/ \
&& sudo install -m 0644 infra/nginx/snippets/aienos-forge.conf /etc/nginx/snippets/aienos-forge.conf \
&& sudo nginx -t && sudo systemctl reload nginx \
|| { sudo cp -a $BK/aienos-forge.conf /etc/nginx/snippets/aienos-forge.conf; sudo nginx -t; echo "NOT APPLIED, restored"; }
bash infra/smoke.sh # exit 2 = an aienos or interplane.io page failed: roll back at once
Roll back (Spark): `sudo cp -a /etc/nginx/forge-backups/<TS>-forge-redirect/aienos-forge.conf /etc/nginx/snippets/aienos-forge.conf && sudo nginx -t && sudo systemctl reload nginx`.
Hub (the Pi; serves only if the router goes back to .192): the "Update" route above, with the deployed
tree /tmp/forge-infra-p23/infra (every live forge file equals it, checked 2026-11-10T22:4xZ):
ssh hub 'mkdir -p /tmp/forge-infra-redirect' && rsync -a --delete infra/ hub:/tmp/forge-infra-redirect/infra/
ssh hub 'sudo bash /tmp/forge-infra-redirect/infra/hub/forge-edge-update.sh /tmp/forge-infra-redirect/infra /tmp/forge-infra-p23/infra'
It prints the backup and the rollback line (forge-edge-rollback.sh /etc/nginx/forge-backups/<UTC>).
Its live checks (hub/forge-edge-checks.sh) now expect the redirects. It refuses with nothing changed
while the hub has less than 6 GiB free under /var/lib/nginx: on 2026-11-10T22:45Z it had 5,155,868 KiB
(4.9 GiB), so the hub update waits until someone frees space there.
Evidence:
| check | label | result |
|---|---|---|
test/edge-local.sh in ubuntu:26.04 (nginx 1.28.3, curl 8.18.0), run as a non-root user, stand-in forged | HOST_TESTED | base b55b3389: 53 passed, 0 failed. This change: 85 passed, 0 failed. Mutants each fail: method (POST gets 301) 3, query (query dropped) 5, headers (no security headers) 20, base 1, buffering 2, csp 3, cspfallback 3 |
first draft with a numbered capture ($1) | HOST_TESTED, rejected | %20 came back as %2520 and %0d%0a as %250d%250a: fixed with the named capture |
test/forge-redirect.sh: hub/forge-edge-update.sh with this tree over a copy of hub /etc/nginx (sha256 b3f2cbc37d7765db) in ubuntu:26.04, old tree hub /tmp/forge-infra-p23/infra, the real forged (sha256 858eb9d1…, the b55b3389 build) on the real storage | HOST_TESTED | 33 passed, 0 failed: the hub copy equals the old tree; negative control (old edge) /forge/drakestapleton 200; UPDATE OK with its live checks; only aienos-forge.conf changed; 14 redirect rows (301 for GET and HEAD, 308 for POST, query and %20 kept); the 308 carries all five headers; www.aienos.com/ and 7 interplane.io answers (pages, archive, css) byte-identical before and after; forge-edge-rollback.sh restores every file and /forge/drakestapleton 200. Two earlier runs differed only in forged's counts line on the repo page, which reads /var/log/nginx/aienos.access.log and changes from "not measured" once that log has a line; the test now writes one line before capturing |
| the Spark config itself (sudo tar of the Spark's /etc/nginx, certs replaced) on ubuntu:24.04 nginx 1.24.0 with this snippet, router moved to 127.0.0.1:443 (bay 5 F2) | HOST_TESTED | 13 passed, 0 failed: nginx -t before and after; 9 redirect rows incl. POST 308 and %20; HSTS on the 301; www.aienos.com/ unchanged (~/handoffs/hive/one-site/ready/spark-config-probe-522b29a.log) |
Spark apply 2026-11-11T00:07:52Z of main 522b29ab (bay 5 VERDICT MERGE, landed 23:56:50Z, BOARD notice 23:57:27Z), backup /etc/nginx/forge-backups/20261111T000752Z-forge-redirect/ (old file sha256 53b2c76d…, new 20c3c76e…) | DEPLOYED | nginx -t ok, systemctl reload nginx. Live from the Mac (00:08Z): /forge/, /forge, /forge/explore, /forge/search?q=omega, /forge/drakestapleton/CUDApp, /forge/drakestapleton/hop/releases, /forge/login each 301 to the matching interplane.io address with HSTS, and each target 200; POST /forge/login 308 to https://interplane.io/login. www.aienos.com/ (sha256 feb4243b…), /zh-CN/ (a304cf70…) and /rad/<RID>.git/info/refs for aienos.com (e933cb4a…) and interplane-forge (5a1b5830…) byte-identical before (00:07:38Z) and after. Spark sites-enabled/interplane.io (cbcd2a89…), forge-proxy/headers/archive unchanged. smoke.sh public: 62 passed, 0 site failures, 2 forge failures (Accept: application/json answered text/html on interplane.io, present before the apply; one-interplane's page cache) |
hub forge-edge-update.sh /tmp/forge-infra-redirect/infra /tmp/forge-infra-p23/infra, 2026-11-11T00:09Z | NOT_RUN (refused) | "UPDATE ABORTED (nothing changed): only 5146244 KiB free under /var/lib/nginx, need 6291456 KiB". The hub keeps the proxy; it serves only if the router goes back to .192. Rerun the same command once 6 GiB are free there |
Roll back (Spark), as applied: sudo cp -a /etc/nginx/forge-backups/20261111T000752Z-forge-redirect/aienos-forge.conf /etc/nginx/snippets/aienos-forge.conf && sudo nginx -t && sudo systemctl reload nginx.
A rollback does not reach browsers that cached the 301 (bay 5 F1).
forged binary: deploy rule and log (spark)
Rule (correctness review forge-web-13102b54, P1): the live binary is always built from a commit, never from the working tree.
- Commit the change on
main. ./run.sh deploy [commit](default HEAD):git worktree add --detachinto a temp dir, refuse if that checkout is dirty, compile with the pinned omc (sha256 checked), installserver/forgedatomically, remove the worktree, append<UTC> <commit> <binary sha256>below.pkill -x forged; the supervisor (spark/forged-service.sh) restarts it. Checksha256sum /proc/$(pgrep -x forged)/exeequals the logged sha. Since 2026-11-10 the live service runs a build directory under~/.local/lib/interplane-forge/through the systemd unit (see "Service"); a deploy there installs the build, editsbuild.confand restarts the unit.- Commit this file and put the same line on the BOARD.
./run.sh build / restart refuse to install the live path server/forged while git status --porcelain is non-empty; trial builds use FORGED_OUT=/tmp/x.try.
Host dependencies in the production path (outside the seeded Omega build):
| binary | exact version | what it does for forged | Omega replacement plan |
|---|---|---|---|
/usr/bin/git | git 2.43.0 (Ubuntu deb 1:2.43.0-1ubuntu7.3) | every repository read: refs, trees, blobs, log, blame, archive, grep (argv exec, allow-listed storage only) | an Omega object-store reader (loose + pack objects with zlib inflate, ref and namespace walk) in seed, then tree/log/blame/archive on top; git stays as the read-only verification oracle |
/usr/bin/ssh-keygen | OpenSSH_9.6p1 Ubuntu-3ubuntu13.19 (deb 1:9.6p1-3ubuntu13.19) | -Y verify of the Radicle-key sign-in signature (SSHSIG, Ed25519) | Ed25519 verify in Omega (omega-mv f4df8239 has sha2.om and x25519.om under om/tls but no Ed25519; add edwards25519 point ops + SHA-512 and the SSHSIG framing), ssh-keygen then kept only as a test oracle |
Log (<UTC> <commit> <binary sha256>):
- 2026-11-07 historical, NOT compliant: binary ebfb5abd… was built from 86ba7e2 (pre-review)
- 2026-11-07 historical, NOT compliant: binary 27068beb… was built from a dirty working tree on top of 687e03a
- 2026-11-07T11:35Z b058226d85d02cad390daee83c8cf798af378f47 44a93793705610949d66b719faebde1dfb1d8684a553ae9e468efa742806dc31
- 2026-11-07T11:37Z 200bfc15ee2505996360fdc20232c5a9cf66b912 e8d33e19541e54b87cb1c8a6c7c5375f58e4ca80e741e1a14b6d134907f7fa8d
- 2026-11-07T11:42Z adb25e0aab946062526b1ed7fee355079096e29b 3a97bf672d73e3182555712d528eaa68431cd2769466aca61ddfbe7d0a26dc08
- 2026-11-09T04:48Z a42737923e6bde52a98765d0556391faafba9cc1 c55fa3b3decfcc5684949f51237ae279d6394c3ca208987d721439f4b68e01a9
- 2026-11-09T09:31Z 49347e4f860af6a1d33c82a240f24bd20b9cafb0 4398687442ec831d8aec634b5c262f70cfb2c3010800640bcdeb64cbfe9e9f35 nodes-snap 5c14bcbdd7551848d2097661cb6fe760fd69926f55f7a1b6ac48c183a10f39fd
- 2026-11-09T23:20Z 5129fbffe206ea6cfa23f97b62b032e92ae5b293 60764fc51a0704c1c661b8a97c1a45260b5106d513b3b77af59becc5ff510e28 nodes-snap 5c14bcbdd7551848d2097661cb6fe760fd69926f55f7a1b6ac48c183a10f39fd
- 2026-11-09T23:23Z 408091d10949998bcab55e0d039c15fad079a473 b072f54fcd9b0a8d6ac9b77c20289d63bfe434c9db6ed6dabe5ab048331ab59b nodes-snap 5c14bcbdd7551848d2097661cb6fe760fd69926f55f7a1b6ac48c183a10f39fd
- 2026-11-18 historical, NOT compliant: binary 3b1027001737fa69b725bbfca164fdbc644cf74f8520d64bb8365b1176d2b57b (store-reading build, build folder store-93a9faf19775, site c6c3d3b3d2a846bb60c67b224e18d22e408fa2be) was live from 2026-11-18 to 2026-11-22 from source that was in no repository. e2d7a25 re-creates that source: built alone on 539217d with the same site commit it gives the same bytes.
- 2026-11-22T18:34Z e8ae0f2ce0e12ca87b06a1be46e8cbf5d9012aac a0ddd6dfae54c558160a3ee0bc01458339b1c810b52d3145e24a66e1a7bab1e2 store-reading build (FORGE_STORE, FORGE_CLONE_BASE=https://interplane.io/) public-read a1a1ffb98605b88bc1bf2be1b710ce9347c1f2bc961b51bdd9c2b58a60b3bc5f forged-listen 6bb35bbde7561015a05dbb852411e27d73b4ead17ac7a8bb32dbd503f82a4ae5 forged-seccomp.bpf 3cb9ff770e1507c680e12c5b0f47599753cec7594960556e09c41ebdeb85d2d0 site 4d5a52b7478e9e83f0763263d836af631dfc4380; build folder store-e8ae0f2ce0e1; previous build folder store-93a9faf19775 kept for rollback (build.conf.bak-20261122T183416Z)