Demo build worker switch-on: instance-control crash-loops until adopt Issue open
Found in the flagship start-demo switch-on (#527, 2026-11-11, v0.34.45, demo box demo/box-1, systemd exec sandbox, zero tenants).
What happened. Turning the build worker on means adding CARLOSDEMOBUILDWORKER=1 and CARLOSDEMOBUILDCONCURRENCY=1 to /etc/carlos/host.env. After that, carlos-edge restarted cleanly, but the worker never reported ready (every create returned 503 DEMO-BUILD), because root instance-control still ran without the worker. A bare systemctl restart carlos-instance-control.service then crash-looped until systemd's start limit:
19:18:32 instance-control: demo builder: openat2 /var/lib/carlos-demo-builds: no such file or directory
19:18:32 carlos-instance-control.service: Main process exited, code=exited, status=1/FAILURE
19:18:35 carlos-instance-control.service: Start request repeated too quickly.Why. internal/host/claimunit.go renders the worker's StateDirectory=carlos-demo-builds, ReadWritePaths and the 1 GiB memory budget into the unit only when units are installed. A host.env change plus a restart doesn't re-render them, and demobuild.NewWorker in internal/instancectl/server.go calls log.Fatalf when the directory is missing. One systemctl start carlos-adopt.service fixed it: instance-control started at 19:19:48Z and builds worked.
Unit diff, before vs after the adopt pass:
35a36,38
> StateDirectory=carlos-demo-builds
> StateDirectoryMode=0700
> ReadWritePaths=/var/lib/carlos-demo-builds
63c66,67
< MemoryMax=64M
---
> MemoryMax=1073741824
> Environment=GOMEMLIMIT=768MiBAlso: the edge-side worker gives no sign at all while root's /demo-build/ready fails (internal/host/demo_jobs.go readiness loop: err leads to an empty WorkerReady with no log). So an operator sees only DEMO-BUILD 503s.
Suggested shape (not done in the window, per 8a3d302): either instance-control fails closed without exiting (logs "demo builder not installed: run carlos adopt" and keeps the box's other duties), or the worker switch-on path documents and runs the adopt pass. Plus one throttled log line on the edge when root build readiness fails, naming the reason. Card step 15 and any runbook for the worker should say: add the lines, run carlos-adopt.service, then check instance-control.