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 @@...@@ -1,6 +1,6 @@
1{1{
2 "dataset": "globe/clover/mac-studio-sandbox",2 "dataset": "globe/clover/mac-studio-sandbox",
3 "mountPoint": "/srv/mac-studio-vm/sandbox",3 "mountPoint": "/srv/mac-studio-vm/sandbox",
4 "hostAddress": "10.0.0.189",4 "hostAddress": "10.0.0.222",
5 "guestAddress": "10.0.0.124"5 "guestAddress": "10.0.0.124"
6}6}
tools/mac-agent-vm.md+4-4
...@@ -79,13 +79,13 @@ Hub with **+ → Pair Nearby Device…** and Settings → Privacy & Security →...@@ -79,13 +79,13 @@ Hub with **+ → Pair Nearby Device…** and Settings → Privacy & Security →
79Developer Mode on the phone. Older iOS needs a cable, which the guest cannot79Developer Mode on the phone. Older iOS needs a cable, which the guest cannot
80have.80have.
8181
82The guest has 28 vCPUs, 48 GiB RAM, and a 1440×900 display. vCPUs do not reserve82The guest has 28 vCPUs, 20 GiB RAM, and a 1440×900 display. vCPUs do not reserve
83physical cores. CPU count and RAM changes require a cold boot. No automatic83physical 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 budget84lock/unlock controller or CPU affinity is installed. The guest's 20 GiB budget
85is fixed for a run. Apple [allocates physical memory on demand](https://developer.apple.com/documentation/virtualization/vzvirtualmachineconfiguration/memorysize),85is 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 or86so it need not occupy 20 GiB immediately. Stock Tart has no verified balloon or
87guest-aware reclaim path; sizing assumes previously used pages may remain87guest-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
90The 128 GB sparse disk contains a system APFS container of about 122 GB,90The 128 GB sparse disk contains a system APFS container of about 122 GB,
91a 5.4 GB recovery partition, and the original boot container. The system91a 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):...@@ -123,6 +123,7 @@ def lifecycle(action):
123123
124def locked_power(name, action):124def locked_power(name, action):
125 if action in {"stop", "reboot"}:125 if action in {"stop", "reboot"}:
126 (vm.PRIVATE / name / "stopped").touch()
126 vm.tart("stop", name, timeout=120)127 vm.tart("stop", name, timeout=120)
127 if action in {"start", "reboot"}:128 if action in {"start", "reboot"}:
128 subprocess.run([str(LOCKED_START)], check=True, stdout=subprocess.DEVNULL, timeout=30)129 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...@@ -11,6 +11,11 @@ flags: headless, `--vnc-experimental`, and Softnet with every destination blocke
11Softnet filters by address, not port, so the VM can reach every port Snow Globe accepts11Softnet filters by address, not port, so the VM can reach every port Snow Globe accepts
12on the tailnet.12on 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.
14- **Names:** the guest has no DNS (its gateway is blocked), so `/etc/hosts` maps19- **Names:** the guest has no DNS (its gateway is blocked), so `/etc/hosts` maps
15 `spacebar.paperclover.net` to `100.64.0.1`. Go ignores `/etc/hosts` on macOS unless20 `spacebar.paperclover.net` to `100.64.0.1`. Go ignores `/etc/hosts` on macOS unless
16 `GODEBUG=netdns=go`, which `run-phoenix-spacebar` sets for the Caddy relay.21 `GODEBUG=netdns=go`, which `run-phoenix-spacebar` sets for the Caddy relay.