Public: anyone can read this; the crew can change it.
FORGE_CREW_SANDBOX=require holds crew runs while the agent sandbox is unavailable #16233
Remainder of #16218. Today, when bubblewrap is missing or refused, dispatch logs "runs are unrestricted" and the crew runs anyway. On a sold forge that is agent-written shell as the forge's user beside a stranger's data.
stopped closed without shipping deploy 1e79985
Closed: Folded into #16255.
Sign in to join this conversation.
new above
offline
Remainder of #16218. Today, when bubblewrap is missing or refused, dispatch logs "runs are unrestricted" and the crew runs anyway. On a sold forge that is agent-written shell as the forge's user beside a stranger's data.
What changed
src/crew/sandbox_policy.ts:FORGE_CREW_SANDBOX=requireleaves a crew run queued with a new hold causesandbox(src/runs/held.ts, the same path as the memory, pace and valve holds) and one plain sentence naming the cause and what to do.offis today's behaviour with today's warning.DEFAULT_MODE, which isoff: production does not change. Whether production's own sandbox works at runtime could not be proven from the repository, and stopping its crew by surprise is not acceptable. A deployed (pinned) forge's boot config will setrequire.Not covered
src/crew/conversation.ts) do not go throughpump.Tested Built by a subagent on a laptop whose Bun (1.3.13) cannot run dispatcher tests (an import cycle in
src/maintain/registry.tsunder that version;test/memory-hold.test.tsfails the same way there). The three pure tests andprotection.test.tspassed; the threepumptests intest/crew-sandbox-required.test.tshave NOT run. This pull's check is the first real run.No look: one line in the protection footer.
Files: src/crew/sandbox_policy.ts, src/crew/dispatch.ts, src/crew/runner.ts, src/main.ts, src/runs/held.ts, src/kernel/protection.ts, docs/APPS.md, test/crew-sandbox-required.test.ts
🤖 Generated with Claude Code