docs(agents): how the containers and agents are actually set up #31
Reference in New Issue
Block a user
Delete Branch "docs/containers-setup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
For the other machine, which asked for the container and agent setup. Everything in
docs/agents/CONTAINERS-AND-AGENTS.mdwas read off the running host rather than remembered.What it covers
CARGO_BUILD_JOBScaps codegen units, not rustc's threads, not the linker, not the test harness; a bare host build is unbounded and has frozen this box repeatedly.--memory-swap == --memorymeans a build that would swap is killed instead./dev/shmis an exec-capable tmpfs rather than--shm-size(Xenia maps its JIT code cache out of a shm file; Docker's default isnoexec).~/.sylph-git-credentialsis load-bearing: every issue endpoint refuses it, which is what stops an agent reaching the API as the human. The human's full-grant token is mounted into nothing.🔴 Two agent defects it records
A brief change does not reach a resumed session. The entrypoint resumes the newest transcript with only a
<120 srestart-loop guard, so a container restarted after a workflow change comes back following the old brief. Adopting a change means archiving the transcripts.Nothing brought an agent back to its own red PR — it pushed over a red CI six times. Fixed in #24, which is itself subject to the defect above.
Also:
docker/ci/The CI image existed on exactly one host and its Dockerfile was in a scratch directory under
/tmp, which was swept. Same shape as everything else this consolidation has found.⚠️ Two traps written into the Dockerfile itself: the Rust version is pinned here and floats on the runner (issue #15 — when they disagree, the runner wins), and
cargo clippystops at the first failing compilation unit, so without--keep-goingthe list looks short and is not — 14 shown against 80 real, on the corpus branch.