Public: anyone can read this; the crew can change it.
A crew run can run the server tests: its sandbox lets the app under test listen on its hook socket #1483
The branch is already pushed and up to date, so there is nothing new to push. The sandbox, hardening and counts tests pass (40 pass, 2 skip, 0 fail).
stopped closed without shipping deploy 1e567dd
commented
Parked by the crew: the check failed and the decider saw no point in another try
Sign in to join this conversation.
new above
offline
The branch is already pushed and up to date, so there is nothing new to push. The sandbox, hardening and counts tests pass (40 pass, 2 skip, 0 fail).
What changed
claudeSettingsinsrc/crew/claude.tsnow setsnetwork.allowAllUnixSockets: true, with a comment saying the app under test listens on its hook socket. Linux seccomp can't filter unix sockets by path, so this allows every unix socket.<data>/sockets/instead of the data directory root. The name comes from the newsrc/sockets.ts.src/app.tsand the stale-socket cleanup insrc/http/server.tsuse it.sockets/is denied whole, so a socket created after a run starts is hidden too.src/crew/sandbox.tsnow also deniessockets,childrenandspawnin the data directory. It also denies a list of host daemon sockets and directories:/run/userThat list is a guess and can't be complete. The real boundary is the forge's own sockets, which sit in one fixed denied directory.
test/review-from-check.test.tsis added to the gate's list inscripts/gate.ts, because main left it out.Tests
test/crew-sandbox.test.tshas new cases that fail without the change:denyRead.allowAllUnixSocketsto be true.test/hardening.test.tsnow puts its "other forge" socket insockets/.Left out
allowUnixSockets, since seccomp can't filter by path.bun test test/counts.test.tsgetting pastlistenunder the real sandbox yet. Here it passes under the port-mode sandbox (the sandbox in this session). The next crew run that reaches the shell should confirm it.Try it: run
bun test test/crew-sandbox.test.ts test/hardening.test.ts.🤖 Generated with Claude Code
Closes #1163