* Install Cursor, Grok and Antigravity on the cloud builder so quota failover has somewhere to go
* No grep -q in a pipe
---------
Co-authored-by: catomean <catomean@users.noreply.github.com>
Both deploys on 2026-10-20 read "⚠ loki-agent image did not build" and nothing
more: the build's output went to /dev/null, and the box cannot be reached from
a sandbox to look. Now the build writes /var/log/loki-sealed-builds.log and the
deploy prints its last fifteen lines on failure.
Two likely causes removed while at it: the base image is fully qualified
(docker.io/library/ubuntu:24.04 — an unqualified short name makes podman ask
which registry, and a build with no terminal cannot answer), and the root
build runs on a storage.conf of its own (graphroot = the shared store) instead
of the global one that lists the same store as an additional, read-only
image store for every tenant.
Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx
Co-authored-by: Claude <noreply@anthropic.com>
Track 4.2 of docs/master-plan-2026-10.md, built; switched on by a reading.
- SandboxExecutor gains a podman mode (buildPodmanRunArgs): rootless as the
tenant (--userns=keep-id), the tenant's home bound at the same path so
sign-ins, trust and transcripts stay where the runner looks, the project's
real path as workdir, network on, capabilities dropped,
--cgroups=disabled so the deploy's drain still counts the processes, and
gVisor's runsc as the OCI runtime when the box has it.
- scripts/hetzner/agent-image/Containerfile: the image (shell, git, gh,
node, Claude Code, Codex). install-sealed-builds.sh, run by every deploy:
rootless podman, runsc best-effort, the image built into a shared
read-only store, and a reading in /etc/loki/sealed-builds.
- Nothing switches on by itself: new-tenant.sh writes the unit drop-in
(LOKI_EXECUTOR=sandbox, LOKI_SANDBOX_RUNTIME=podman, runsc when read) only
when the reading says ready AND /etc/loki/sealed-builds.on exists. The
roadmap milestone stays unticked until a tenant builds in a container.
- Tests: sandbox-executor pins the sealed shape; private-builders pins the
two-reading switch and that no tenant ever joins the docker group.
Claude-Session: https://claude.ai/code/session_01NZqZujmXpupVDC1Hi5Jbsx
Co-authored-by: Claude <noreply@anthropic.com>