Read-only mounts beat prompts: enforcing that parallel coding agents don't edit reference repos
Consistent_Piano4250 · reddit · 2026-12-02
When several coding agents share a project, a real failure mode is an agent editing a repo it was only meant to read (a library checkout, an old version for comparison, a shared config repo).
The author's fix is enforcing at the mount level instead of the prompt: in open-source SpaceApp, folders are invisible until registered, and reference repos can be added via workspace add <path> --read-only. A prompt saying "don't touch this" is a request; a read-only mount is not.
Limitation: containers aren't a sandbox against hostile workloads — this guards against mistakes, not malice. The author asks how others enforce read-only and whether agents have written where they shouldn't.
More from coding & agent
- LoRA tune cuts Inkling 2 Mini agent time 33% and output tokens 38% in Hermes Agent — Teknium · 2026-12-02
- CI Benchmark Heatmap Shows Most Providers Easily Beat GitHub-Hosted Runners — DanielLockyer · 2026-12-02
- steipete on 18 months with agents: the bottleneck is self-control, not the tech — Pseudomanifold · 2026-12-02
- DIY agent setup: OpenClaw + Reolink camera + Echo voice to keep the dog off the table — zakkohane · 2026-12-02
- One prompt rewrote 24 Dockerfiles, cutting build times by 76% (76.8→18.1 min) — DanielLockyer · 2026-12-02
- WhiteCircle runs largest post-training competition ever: $5M compute, 14 backers incl. OpenAI — rohanpaul_ai · 2026-12-02