AGENTS.md: leave GOCACHE at its default in the sandbox note
The Build & test sandbox note recommended GOCACHE=/tmp/claude-1001/ gocache, which the machine policy bans (the default cache is shared and capped; /tmp is a shared RAM disk). It now says to leave GOCACHE at its default and, if the sandbox makes that cache read-only, to run the go command with the sandbox off.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+5
−3
AGENTS.md+5 −3
CI cancelled — superseded by a newer push — run details
Intent
diff --git a/AGENTS.md b/AGENTS.md| index 3ed0091e9..3c0589dd3 100644 |
| --- a/AGENTS.md |
| +++ b/AGENTS.md |
| @@ -293,9 +293,11 @@ anything. |
| into the CLI, which people run on Macs, so a Linux-only type assumption |
| breaks `go build .` for them. Cross-compiling is enough to catch it — |
| no Mac required. |
| -- Sandbox note: use `GOCACHE=/tmp/claude-1001/gocache GOFLAGS=-mod=mod |
| - GOPROXY=off`; go commands may need the sandbox disabled ("read-only file |
| - system" from the toolchain is the tell). |
| +- Sandbox note: leave `GOCACHE` at its default; the machine policy bans |
| + pointing it anywhere else, `/tmp` above all. If the sandbox makes the |
| + default cache read-only ("read-only file system" from the toolchain is |
| + the tell), run the go command with the sandbox off. `GOFLAGS=-mod=mod |
| + GOPROXY=off` still apply. |
| ## Console mockups use the kit (Paul, 2026-11-08) |