diff --git a/.dev-updater.ron b/.dev-updater.ron index 54f3613..5e24338 100644 --- a/.dev-updater.ron +++ b/.dev-updater.ron @@ -10,12 +10,12 @@ // A built APK wins: it is the authority on what will actually install. label: "AI Sessions", -// Walked in order, and the order is the point: the backend is built and -// delivered first, so a failing APK build leaves the phone the APK it -// already had rather than half of a matched pair. +// The two halves this checkout produces: the server a phone talks to, and +// the app that talks to it. They are built in parallel -- this list is the +// set, not a sequence, so nothing here should be read as an order. components: [ Server( - name: "backend", + name: "server", build: "cargo build --release", cwd: "server", // Dev Updater's own built-in service implementation, generated diff --git a/AGENTS.md b/AGENTS.md index 58f6167..abe524d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -82,8 +82,8 @@ repo is in PLAN.md's "Backend layout" section. event model mirror; `ServerConfig.kt` settings + Keystore-sealed token; screens in `SessionListScreen/SessionScreen/SpawnScreen/SettingsScreen`. - `.dev-updater.ron` — what Dev Updater is asked to do with this checkout: - the backend (built in `server/`, run as `service: Managed(...)`) and then - the APK (built in `app/`), in that order. The project it serves is the + the server (built in `server/`, run as `service: Managed(...)`) and the + APK (built in `app/`), built in parallel. The project it serves is the repository, not either half of it, which is why this sits at the root rather than in `app/`. `Managed` means Dev Updater supervises `ai-server` with its own built-in @@ -92,7 +92,7 @@ repo is in PLAN.md's "Backend layout" section. arguments, no environment — so the two projects were maintaining one behaviour twice, including the OpenRC branch neither can test from a systemd machine. - Worth knowing before pressing it: **Stop** on the backend card stops the + Worth knowing before pressing it: **Stop** on the server card stops the server that a phone reaches through the tunnel, so on that phone it stays down until someone starts it again from Dev Updater. Dev Updater reaches it over its own port and is unaffected, which is what makes the button