~ knotless Search/
↑↓ move↵ open⇧↵ all results

socialweb.computer/socialweb-computer-kcp

socialweb.computer: a compute market on atproto (kcp)

1 collaborator
0
0
121 lines · 19.4 KB Raw History

Infra inventory: the old org-root and its hosts

What runs where, who deployed it, and which infra/ script owns it now. Read on 2026-10-25 (UTC). How to deploy: infra/README.md.

Sources:

  • Read-only ssh (systemctl show, ss -ltnp, the caddy site lines, git log -1 of each checkout, the NAMES of env files and of Environment= variables) on fedproxy.com, mini-cloud-0001.chadig.com, mini-cloud-0002.chadig.com and qr.fedfork.com. Nothing was changed. No env file was read.
  • Not reached by ssh: socialweb.computer (the gateway), hat-7, hat-9 and this host (hat-8). The task rules forbid ssh to the hats and the gateway. Their rows come from scripts/deploy.sh, CONTRIBUTING.md, docs/deploy.md, ~/.tmp/deploy/README.md and public HTTPS probes. tray.fedfork.com is not in the known host list and was probed over HTTPS only.
  • The old org-root: ~/src/publicdomainrelay-kcp (origin github.com/publicdomainrelay/socialweb-computer, HEAD 6ed8c72). Its deploy scripts: atproto-reverse-proxy/scripts/deploy.sh and deploy-fluent-bit.sh, social-web-computer/scripts/deploy.sh, compute-spa/scripts/deploy.sh, deno-macos-runner-desktop/scripts/deploy.sh, did-key-associator/scripts/deploy.sh, socialweb-computer-kcp/scripts/deploy.sh and deploy-pds2.sh, socialweb-computer-ssh/scripts/deploy.sh, deno-kcp/deploy/install-provider.sh (a kubectl install into a kcp workspace, not a host deploy), gitlab-autoscale-socialweb-computer/systemd/gitlab-runner.service, the Caddyfiles, CI.md.

Summary

State: go replaced by Go and live, wired deployed by an infra/ script that works today, in progress a Go replacement is being built, legacy live but not managed, dead nothing serves it.

HostComponentUnitListenPublic nameSourceDeployed by (old)infra/ ownerState
fedproxy.comingress-relayxrpc-relay-server.service + drop-in 30-go.confunix /opt/caddy/xrpc-relay-server.sockxrpc.fedproxy.com, *.xrpc.fedproxy.com/opt/xrpc-relay-go/current -> 39d519ea1747 (previous 544ec6c514ca; read 2026-11-10); also custom domains (mush.at) and the on_demand ask 127.0.0.1:5556scripts/deploy-xrpc-relay.shinfra/ingress-relay (wraps that script)go, wired
fedproxy.comdeno did-key ingress (fallback)drop-in 20-socialweb-computer-kcp.conf (overridden by 30-go)same socketsame/opt/xrpc-relay-kcp/src 0b7b0af, deno /opt/xrpc-relay-kcp/deno-2.9.3by handinfra/ingress-relay --rollback falls back to itgo (fallback kept)
fedproxy.comcaddy (xcaddy, cloudflare dns)caddy.service (/usr/lib/systemd/system)80, 443, admin unix /opt/caddy/caddy-admin.sockfedproxy.com (/var/www/html), rp, xrpc, *.xrpc, xrpc-test, *.xrpc-test, irc.fedfork.com; dynamic: tunnels and the catch-all (atprp-ssh-relay), custom domains (the Go relay); map: FEDPROXY.md/etc/caddy/Caddyfileatproto-reverse-proxy/scripts/deploy.sh (prints CF_API_TOKEN; never run)infra/fedproxy-legacylegacy
fedproxy.comatprp-ssh-relayatprp-ssh-relay.service2222, 127.0.0.1:6060ssh relay of fedproxy/usr/bin/atprp-ssh-relay (Go, atproto-reverse-proxy)sameinfra/fedproxy-legacylegacy
fedproxy.comoauth-client-webappoauth-client-webapp.serviceunix /opt/caddy/web-ui.sockrp.fedproxy.com/usr/bin/oauth-client-webappsameinfra/fedproxy-legacylegacy
fedproxy.comcaddy-check-dns-from-configcaddy-check-dns-from-config.service127.0.0.1:5555none (the on-demand TLS ask of the deno relay era; the Go relay's 127.0.0.1:5556 answers it now)/usr/bin/caddy-check-dns-from-configsame; scripts/deploy-xrpc-relay.sh --rollback starts itinfra/fedproxy-legacylegacy, installed but disabled
fedproxy.comatircatirc.service (socket-activated: atirc-irc.socket 127.0.0.1:6667, atirc-xrpc.socket 127.0.0.1:8080, atirc-ops.socket 127.0.0.1:6670) + atirc-iroh.service127.0.0.1:6667, 8080, 6670irc.fedfork.com/usr/local/bin/atirc (atirc 0.1.0), state /root/.local/state/atirc/servethe atirc repo's CONTRIBUTING (atirc server --install / --upgrade)nonelegacy (not in infra/)
fedproxy.comxrpc-test relaynone/opt/caddy/xrpc-relay-server-test.sock missingxrpc-test.fedproxy.com (502)nonenonenonedead (caddy block left)
fedproxy.compre-iroh relay checkoutnonenonenone/opt/xrpc-relay ee6e4a8 (branch pre-iroh)old deploy.sh git clonenonedead (files left)
mini-cloud-0002.chadig.comatproto-relay (deno)atproto-relay.service (User johnandersen777)127.0.0.1:2584relay.mini-cloud-0002.chadig.com~/prod-org-root/atproto-relay 9c26e76by hand from the prod-org-root checkoutinfra/atproto-relay (stub until scripts/deploy-atproto-relay.sh lands)in progress (Go internal atproto-relay)
mini-cloud-0002.chadig.comhono-jsrhono-jsr.service (User johnandersen777)0.0.0.0:8888, no caddy sitenone here (jsr.publicdomainrelay.com points at mini-cloud-0001)~/prod-org-root/hono-jsr 0de4055by handinfra/hono-jsrlegacy
mini-cloud-0002.chadig.comorg-root git pullgit-pull.timer (every 5 min) -> git-pull.service (~/bin/git-pull-and-rebuild.sh)nonenone~/prod-org-root ea522d1by handinfra/org-root-git-pulllegacy, failing
mini-cloud-0002.chadig.comhono-bidder (deno)bidder.service (enabled, inactive)nonenone~/prod-org-root/atproto-market/hono-bidderby handnonedead
mini-cloud-0002.chadig.comspindle (deno poc)spindle.service (disabled, inactive)nonenone~/prod-compute-contract-reference-implementation-pocby handnonedead
mini-cloud-0002.chadig.comoidc-issuernone127.0.0.1:9000: nothing listensmini-cloud-0002.fedfork.com (NXDOMAIN)nonedeno-macos-runner-desktop / digitalocean-bidder erainfra/oidc-issuerdead (caddy block left)
mini-cloud-0001.chadig.com (ssh port 1997)spindle (deno poc)spindle.service0.0.0.0:7777*.gha.spindle.tangled.fedcicd.com~/prod-compute-contract-reference-implementation-poc ef299b8by handinfra/legacy-poclegacy
mini-cloud-0001.chadig.commarket-registry (deno poc)market-registry.service, market-registry-tunnel.service (ssh -R)0.0.0.0:4031via the tunnelsameby handinfra/legacy-poclegacy
mini-cloud-0001.chadig.combidder tunnelbidder-tunnel.service (ssh -R); bidder.service inactivenonenonesameby handinfra/legacy-poclegacy
mini-cloud-0001.chadig.comclaude-rcclaude-rc.service (enabled, inactive)nonenone~/compute-contract-reference-implementation-pocby handinfra/legacy-pocdead
mini-cloud-0001.chadig.comfluent-bitfluent-bit.servicenonenone (ships to OpenSearch)/opt/fluent-bitatproto-reverse-proxy/scripts/deploy-fluent-bit.shinfra/fluent-bitlegacy
mini-cloud-0001.chadig.comcaddycaddy.service + override.conf80, 443, 127.0.0.1:2019ui, test.ui (static), dev.ui :5177, docs.ui :3030, git.ui :9876, knot1 :5555, tangled.fedcicd.com :3000, gha.spindle (static), jsr.publicdomainrelay.com :8888, mini-cloud-0001.fedfork.com :9000/etc/caddy/Caddyfileby handinfra/legacy-poc (status)legacy; only ui.fedfork.com answers 200, the proxied names answer 502
qr.fedfork.comdid-key-associator (QR session transfer)qr-fedfork-backend.service (root) + caddy.service0.0.0.0:5557, 80, 443qr.fedfork.com (/var/www/qr.fedfork.com, /xrpc/* -> :5557)/opt/qr-fedfork/qr-fedfork-backend from ~/src/kcp/did-key-associatorits scripts/deploy.sh (backups /root/qr-backup/<ts>, restore.sh)infra/did-key-associatorwired
socialweb.computer (ssh port 1997)gatewaysocialweb-computer-gateway.service in socialweb's user managerweb app 127.0.0.1:8788, kcp front 6443, TLS front 8443, cert front 8444k8s.socialweb.computer, kcp.socialweb.computerrelease binary at /var/lib/socialweb-computer/socialweb/bin/currentscripts/deploy.sh with ~/.tmp/deploy (orphan branch swc-deploy)infra/gatewaygo, wired (not ssh-verified)
socialweb.computerold static site, digitalocean-bidderdigitalocean-bidder.service (old)127.0.0.1:8000socialweb.computer (200), digitalocean.socialweb.computer (502)/opt/org-rootsocial-web-computer/scripts/deploy.shnonereplaced by the gateway; the bidder is dead
socialweb.computerssh doorsocialweb-computer-ssh.service (old deno) or the Go SshGateway22 (host sshd on 1997)ssh.socialweb.computer (200)/opt/org-root/socialweb-computer-ssh (old)socialweb-computer-ssh/scripts/deploy.shnone yetreplaced by Go (run gateway ssh); which one serves now is not verified
socialweb.computerpds2pds2.service127.0.0.1:8794pds2.socialweb.computer (no answer)ts/hono-pds of a socialweb-computer-kcp checkoutscripts/deploy-pds2.shnonedead (the TypeScript it runs is gone from this tree)
socialweb.computeratlibs-web-editor-ui (static)caddy.service: /etc/caddy/sites/atlibs.socialweb.computer.caddy (file_server; the gateway deploy writes only its own k8s and kcp sites)443 (caddy)atlibs.socialweb.computer (200; the *.socialweb.computer record)/var/www/atlibs.socialweb.computer from atlibs-web-editor-ui d28e5f2its scripts/deploy.sh (builds dist/, tar over ssh port 1997, caddy validate, reload); first deploy 2026-11-10, /etc/caddy backed up to /var/lib/socialweb-computer/caddy-editor-20261110T115631Z.tgznone (its own repo)live
socialweb.computerrequester page (static)caddy.service: /etc/caddy/sites/shell.socialweb.computer.caddy (file_server, no-cache)443 (caddy)shell.socialweb.computer (200)/var/www/shell.socialweb.computer from atlibs-socialweb-computer-requester 5a49bd6 web/webrtc + the published requester record and atlibs/atlibs-webrtc from npmits scripts/deploy-page.sh (atlibs add + atlibs stage, tar over ssh port 1997, caddy validate, reload); 2026-11-10 replaced the kcp-wasm page (backup /var/backups/shell.socialweb.computer-20261110T150953Z.{tgz,caddy})none (its own repo)live
socialweb.computeratlibs-agent-reference-spa (static)caddy.service: /etc/caddy/sites/atlibs-agent.socialweb.computer.caddy (file_server)443 (caddy)atlibs-agent.socialweb.computer (200; the *.socialweb.computer record)/var/www/atlibs-agent.socialweb.computer from atlibs-agent-reference-spa scripts/stage.sh --origin (OAuth clients under /oauth/<session>/)its scripts/deploy.sh (stage, back up the live dir to /var/lib/socialweb-computer/<site>-<ts>.tgz, tar over ssh port 1997, caddy validate, reload); first deploy 2026-11-10, /etc/caddy backed up to /var/lib/socialweb-computer/etc-caddy-atlibs-subsites-20261110T201830Z.tgznone (its own repo)live
socialweb.computeratlibs-examples-spa-networking marque-fedproxy-ingress (static)caddy.service: /etc/caddy/sites/atlibs-networking.socialweb.computer.caddy (file_server)443 (caddy)atlibs-networking.socialweb.computer (200; the *.socialweb.computer record)/var/www/atlibs-networking.socialweb.computer from atlibs-examples-spa-networking examples/marque-fedproxy-ingressits scripts/deploy.sh (same steps); first deploy 2026-11-10, same /etc/caddy backupnone (its own repo)live
hat-7biddersocialweb-computer-bidder@<handle>.service in swc-bidder's user managerport 0none/var/lib/socialweb-computer/swc-bidder/bin/currentinstall bidder / upgrade over ssh (CONTRIBUTING)infra/biddergo, wired (not ssh-verified)
hat-7 configconfig.jsoncompute-kinds vm,deno; no bidder-options (its market-https=true was removed 2026-11-10, backup config.json.bak-p2pb-<ts>): the offering lists iroh and webrtc onlyupgrade keeps config.json; do not add --market-https=true again
hat-9biddersameport 0nonesamesameinfra/biddergo, wired (not ssh-verified)
hat-8 (local)biddersame (account swc-bidder, uid 947, home /var/lib/socialweb-computer-bidder/host, adopted); install records also for test-0002 and test-0003port 0nonesame; staged releases in /var/tmp/swc-release; rc159 until 2026-11-10, then the hats' release (rollout 7 c770a887, rollout 8 5e6c4e3d) (offering iroh and webrtc, firewall 1025-65535/udp open; backup /var/lib/socialweb-computer/swc-bidder{,-units}-endgame-20261110T175722Z.tgz)same, run locally; from the lead host SSH_TARGET=hat-8 infra/bidder/deploy.sh (infra/hosts/local.sh pins SSH_TARGET=local)infra/biddergo, wired
hat-8temporary oauthQr bidder for acceptance 0001account swc-qr0001 (2026-11-10 18:06-18:45Z, bob by QR)port 0noneremoved: uninstall bidder --purge, userdel, its offering, heartbeat and ingress.listen records deleted from bob's repo0001 "Hosts for this pass"noneremoved
tray.fedfork.comtray static sitecaddy.service80, 443tray.fedfork.com (404)/var/www/tray.fedfork.comdeno-macos-runner-desktop/scripts/deploy.shinfra/traylegacy (not ssh-verified)
compute.fedfork.comcompute-spacaddy-NXDOMAIN/var/www/compute-spacompute-spa/scripts/deploy.shnonedead
plc, jsr, reg.market .fedfork.comold CI deploy targets--NXDOMAINhono-plc, hono-package-registry, hono-atproto-relayold .github/workflows/deploy.yml (opkssh, user deploy)nonedead

Secret and env file paths (names only, never read)

HostPath or unitVariable names
fedproxy.comcaddy.service (/usr/lib/systemd/system) Environment=CF_API_TOKEN
fedproxy.comatprp-ssh-relay.service Environment=CF_API_TOKEN, THIS_ENDPOINT, CADDY_SOCK, GOMEMLIMIT
fedproxy.comoauth-client-webapp.service Environment=THIS_ENDPOINT, LISTEN_SOCKET, DATABASE_URI (sqlite /opt/caddy/oauth-client-webapp.db), GOMEMLIMIT
fedproxy.comxrpc-relay-server.service and its drop-insUNIX_SOCKET, HOSTNAME, DENO_DIR
mini-cloud-0002.chadig.com~/prod-org-root/atproto-relay/hono-atproto-relay/atproto-relay.env, .env.secretsnot read
mini-cloud-0002.chadig.com~/prod-org-root/atproto-market/hono-bidder/bidder.env, .env.secretsnot read
mini-cloud-0001.chadig.com~/prod-compute-contract-reference-implementation-poc/src/typescript/{spindle,market-registry,bidder}/*.env, *.env.secrets, *-tunnel.envnot read
mini-cloud-0001.chadig.comcaddy.service and /etc/systemd/system/caddy.service.d/override.confCF_API_TOKEN
mini-cloud-0001.chadig.com/etc/default/fluent-bit, /etc/sysconfig/fluent-bit (optional)not read
socialweb.computer/var/lib/socialweb-computer/socialweb/gateway.env (from ~/.tmp/deploy/gateway.env)SOCIALWEB_GATEWAY_AUDIENCES, SOCIALWEB_GATEWAY_KCP_PUBLIC_HOST, SOCIALWEB_CLUSTERPROVIDER_JOIN, SOCIALWEB_CLUSTERPROVIDER_MARKET_DENY_BIDDER_DIDS, SOCIALWEB_CLUSTERPROVIDER_SCALE_MAX_NODES, SOCIALWEB_CLUSTERPROVIDER_SCALE_PODS_PER_NODE, SOCIALWEB_CLUSTERPROVIDER_ESO_NAMESPACE
deploy host~/.aliceoa_bsky_social_source, ~/.bobvmbuilder_bsky_social_source (mode 0600)ALICE_ATPROTO_HANDLE, ALICE_ATPROTO_PASSWORD, BOB_ATPROTO_HANDLE, BOB_ATPROTO_PASSWORD

CF_API_TOKEN sits inline in unit files on fedproxy.com and mini-cloud-0001. When those units are ported, it moves to OpenBao behind a SecretRef; infra/ never carries it.

Deploy mechanisms, old and new

MechanismWhereTargetsNow
atproto-reverse-proxy/scripts/deploy.sh (scp to /tmp/stage, bash -xe over ssh, writes caddy and four units, git clone of the pre-iroh relay)old org-rootfedproxy.comnever run: it echoes CF_API_TOKEN. infra/fedproxy-legacy is the stub that will replace it
atproto-reverse-proxy/scripts/deploy-fluent-bit.sh (doctl lookups, OpenSearch)old org-rootany droplet (mini-cloud-0001 has it)infra/fluent-bit stub
social-web-computer/scripts/deploy.sh (static site, tar of the org-root to /opt/org-root, digitalocean-bidder unit)old org-rootsocialweb.computerreplaced by the gateway (scripts/deploy.sh)
socialweb-computer-ssh/scripts/deploy.sh (deno ssh door, moves host sshd to 1997)old org-rootsocialweb.computerreplaced by the Go SshGateway
compute-spa/scripts/deploy.shold org-rootcompute.fedfork.comdead (NXDOMAIN)
deno-macos-runner-desktop/scripts/deploy.shold org-roottray.fedfork.cominfra/tray stub
did-key-associator/scripts/deploy.sh~/src/kcp/did-key-associator (the old org-root copy is older)qr.fedfork.comwrapped by infra/did-key-associator
socialweb-computer-kcp/scripts/deploy.sh (old copy)old org-rootsocialweb.computersuperseded by scripts/deploy.sh here
scripts/deploy-pds2.shold org-root and this treesocialweb.computerdead: runs ts/hono-pds/main.ts, which this tree no longer has
.github/workflows/deploy.yml (opkssh, user deploy, six hosts)old org-root, atproto-reverse-proxyfedproxy, compute, qr, tray, plc, reg.market, jsrremoved ("ci: remove the Deploy workflow"); CI never deploys
git-pull.timer (pull every 5 min, reset --hard, submodules, compute-spa rebuild)mini-cloud-0002itselffailing on the atproto-relay submodule checkout; infra/org-root-git-pull stub
gitlab-runner.service (user unit, ~/bin/gitlab-runner)old org-root gitlab-autoscale-socialweb-computerthe gitlab host (ssh alias gitlab)not a deploy target here
scripts/deploy-xrpc-relay.shthis treefedproxy.comthe one deploy of the ingress relay; infra/ingress-relay wraps it
scripts/deploy.sh + ~/.tmp/deploy (gateway.env, gateway-spec.yaml)this tree, orphan branch swc-deploysocialweb.computerwrapped by infra/gateway
install bidder / upgrade --binary --sha256 / rollback over sshthis tree (CONTRIBUTING, docs/deploy.md)hat-7, hat-9, localinfra/bidder
scripts/deploy-atproto-relay.sh (being written)this treemini-cloud-0002infra/atproto-relay delegates to it once it lands

Findings

  • mini-cloud-0002 git-pull.service fails every 5 minutes (Unable to checkout ... in submodule path 'atproto-relay'), and it runs git reset --hard on the checkout the live atproto relay runs from.
  • hono-jsr listens on 0.0.0.0:8888 on mini-cloud-0002 with no caddy in front.
  • Caddy blocks with no upstream: xrpc-test.fedproxy.com, mini-cloud-0002.fedfork.com (also NXDOMAIN), mini-cloud-0001.fedfork.com, jsr.publicdomainrelay.com, knot1.fedfork.com, tangled.fedcicd.com.
  • fedproxy.com keeps the deno relay drop-in 20-socialweb-computer-kcp.conf under 30-go.conf; that is the rollback target of scripts/deploy-xrpc-relay.sh --rollback. /opt/xrpc-relay (pre-iroh) is unused.
  • /opt/xrpc-relay-go keeps every shipped version (39d519ea1747 current, 544ec6c514ca previous on 2026-11-10); nothing prunes them.
  • The prod-org-root checkouts on mini-cloud-0002 point at org-root-dispatcher-typescript, the org-root's older repository name.