From ceb441a132e736ec81b9c6384e35e2750761e48e Mon Sep 17 00:00:00 2001 From: Ian Gulliver Date: Sat, 17 Oct 2026 08:41:26 -0700 Subject: [PATCH] Deploy recipe restarts mac app --- AGENTS.md | 1 + 1 file changed, 1 insertion(+) diff --git a/AGENTS.md b/AGENTS.md index c4e6f5c..88d218f 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -15,6 +15,7 @@ When asked to deploy, do exactly this, from the worktree root: 1. `go generate ./web`, if anything under `web/src/` or `api/openapi.yaml` changed. 2. `go install ./cmd/byre && launchctl kickstart -k gui/$(id -u)/run.fc.byre`, always as that one command, never `go install` on its own, and always the last action of the turn. 3. When you resume, confirm it came up: read the tail of `~/Library/Logs/byre.log`, and `GET /api/admin/status` through the `tailscale serve` URL (`tailscale serve status` shows it). Report what you deployed and what you checked. +4. Once the service is confirmed healthy, rebuild and relaunch the macOS app: run `mac/bundle.sh`, then `pkill -x Byre` to quit every running byre app, whichever worktree it was built from (it exits 1 when none is running, which is fine), then `open mac/.build/byre.app`. The app reads its server address from the shared `run.fc.byre.mac` defaults, so the new build reconnects to prod with no setup. Report that the app was rebuilt and relaunched. What to expect: