From 59ab814ad38f09e594d863e855c54a9fe42affd3 Mon Sep 17 00:00:00 2001 From: Harold Kim Date: Wed, 29 Jul 2026 15:52:34 +0000 Subject: [PATCH] docs(sandbox-providers): add sandbox runtime requirements State the sandbox runtime environment as a contract with the sandbox owner. The owner installs node and each used agent CLI on the PATH, and supplies a POSIX shell, tar, and writable workspace, home, cache, and temporary locations. Paperclip probes each CLI with command -v before launch and fails loudly when the CLI is absent and no install command is configured. An adapter can configure an optional install-and-reprobe flow. The firm rule states that the runtime never modifies the login profile and never sources nvm on the exec path. The document lives with the provider code so it covers every provider, not one image. The docker image is one reference implementation of this contract. Co-authored-by: Paperclip --- .../sandbox-providers/SANDBOX-REQUIREMENTS.md | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 packages/plugins/sandbox-providers/SANDBOX-REQUIREMENTS.md diff --git a/packages/plugins/sandbox-providers/SANDBOX-REQUIREMENTS.md b/packages/plugins/sandbox-providers/SANDBOX-REQUIREMENTS.md new file mode 100644 index 00000000000..1d762085a3a --- /dev/null +++ b/packages/plugins/sandbox-providers/SANDBOX-REQUIREMENTS.md @@ -0,0 +1,70 @@ +# Sandbox Runtime Requirements + +This document states the sandbox environment as a contract. The sandbox owner +must meet this contract. The Paperclip runtime does not build the environment at +exec time. The environment is a requirement, not a build step. + +This document states requirements. It does not state build steps. + +## Required on PATH + +- `node` must be installed and on the PATH. +- Each agent CLI that the run uses must be installed and on the PATH. The set of + agent CLIs includes `claude`, `codex`, `gemini`, and similar CLIs. +- The owner installs only the CLIs that the run uses. The owner does not need to + install a CLI that no run uses. + +## Runtime dependencies + +The sandbox execution and synchronization paths need more than `node` and the +agent CLIs. The owner must also supply these: + +- A POSIX shell as `sh`, normally `/bin/sh`. The runtime runs each command with + `sh -c