authoravatarclover caruso<git@paperclover.net>2026-11-22 00:12:20-08:00
committeravatarclover caruso<git@paperclover.net>2026-11-22 03:33:00-08:00
log91df6befa2b0bd5a5d0ea7da1ee70e708950dd61
tree3d51e58709a0703d859c28700d8ae595a858a70e
parent7f860aab053035563df54ed0b49ff69fe611286f
signature Signed by SSH key SHA256:52mNGHRsVFBDED9IAX5pe+LRWUefqTbxEReunq21QvU

Point the Mac VM bridge at the Mac's real address and revive the Phoenix box

hostAddress was 10.0.0.189, which nothing answers; the Mac is 10.0.0.222, so the dashboard reported both Mac VMs offline. gui-agent drops to 20 GiB. m3-phoenix-box gets a revive LaunchAgent like gui-agent's, and a dashboard stop leaves a marker so revive keeps it down. Assisted-by: claude-sonnet-5.5

4 files changed, 11 insertions(+), 5 deletions(-)

config/mac-studio-sandbox.json+1-1
......@@ -1,6 +1,6 @@
11{
22 "dataset": "globe/clover/mac-studio-sandbox",
33 "mountPoint": "/srv/mac-studio-vm/sandbox",
4 "hostAddress": "10.0.0.189",
4 "hostAddress": "10.0.0.222",
55 "guestAddress": "10.0.0.124"
66}
tools/mac-agent-vm.md+4-4
......@@ -79,13 +79,13 @@ Hub with **+ → Pair Nearby Device…** and Settings → Privacy & Security →
7979Developer Mode on the phone. Older iOS needs a cable, which the guest cannot
8080have.
8181
82The guest has 28 vCPUs, 48 GiB RAM, and a 1440×900 display. vCPUs do not reserve
82The guest has 28 vCPUs, 20 GiB RAM, and a 1440×900 display. vCPUs do not reserve
8383physical cores. CPU count and RAM changes require a cold boot. No automatic
84lock/unlock controller or CPU affinity is installed. The guest's 48 GiB budget
84lock/unlock controller or CPU affinity is installed. The guest's 20 GiB budget
8585is fixed for a run. Apple [allocates physical memory on demand](https://developer.apple.com/documentation/virtualization/vzvirtualmachineconfiguration/memorysize),
86so it need not occupy 48 GiB immediately. Stock Tart has no verified balloon or
86so it need not occupy 20 GiB immediately. Stock Tart has no verified balloon or
8787guest-aware reclaim path; sizing assumes previously used pages may remain
88backed until the VM stops. This follows Clover's 48 GiB fallback.
88backed until the VM stops. Clover chose 20 GiB on 2026-11-22.
8989
9090The 128 GB sparse disk contains a system APFS container of about 122 GB,
9191a 5.4 GB recovery partition, and the original boot container. The system
tools/mac-vm-bridge.py+1
......@@ -123,6 +123,7 @@ def lifecycle(action):
123123
124124def locked_power(name, action):
125125 if action in {"stop", "reboot"}:
126 (vm.PRIVATE / name / "stopped").touch()
126127 vm.tart("stop", name, timeout=120)
127128 if action in {"start", "reboot"}:
128129 subprocess.run([str(LOCKED_START)], check=True, stdout=subprocess.DEVNULL, timeout=30)
tools/phoenix-box.md+5
......@@ -11,6 +11,11 @@ flags: headless, `--vnc-experimental`, and Softnet with every destination blocke
1111Softnet filters by address, not port, so the VM can reach every port Snow Globe accepts
1212on the tailnet.
1313
14- **Recovery:** the `net.paperclover.m3-phoenix-box-revive` LaunchAgent runs
15 `start-m3-phoenix-box revive` every 30 seconds through `ssh localhost`, so a crash or
16 host reboot restarts the VM unless a dashboard stop left `private/m3-phoenix-box/stopped`
17 (any start clears it). Restarts log to `~/Library/Logs/m3-phoenix-box-revive.log`.
18 After a host reboot nothing runs until Clover unlocks FileVault and logs in.
1419- **Names:** the guest has no DNS (its gateway is blocked), so `/etc/hosts` maps
1520 `spacebar.paperclover.net` to `100.64.0.1`. Go ignores `/etc/hosts` on macOS unless
1621 `GODEBUG=netdns=go`, which `run-phoenix-spacebar` sets for the Caddy relay.