chore: align sandbox tooling and policies with upstream OpenShell#24
Merged
chore: align sandbox tooling and policies with upstream OpenShell#24
Conversation
Add missing coding agents (Claude CLI, OpenCode, Codex), pin versions for reproducibility (Node.js 22.22.1, npm 11.11.0, uv 0.10.8), create a writable /sandbox/.venv overlay, set PATH/VIRTUAL_ENV/UV_PYTHON_INSTALL_DIR env vars, and bake the GitHub REST-only skill into the base image. Align openclaw and nemoclaw network policies with upstream: add pypi, cursor, and opencode policies; fix vscode wildcard endpoints that silently fail with OPA exact-match; replace hardcoded repo-specific write rules with generic read-only access; normalize policy names to use hyphens.
…nd clean up policies - Remove deadsnakes PPA, apt Python packages, and pip bootstrap; let uv manage the full Python 3.13 toolchain - Merge Node.js install + npm upgrade into a single RUN layer - Merge all npm global installs (vuln fixes + CLI tools) into one call - Add uv cache clean after python install and venv creation - Copy base policy.yaml into the image instead of just creating the dir - Remove duplicate UV_PYTHON_INSTALL_DIR ENV and redundant mkdir - Update syntax directive from dockerfile:1.4 to dockerfile:1 - Revert nemoclaw/openclaw policies to main and replace repo-specific rules (johntmyers/alpha-claw, bravo-claw) with generic placeholders
f89cc63 to
0d6d027
Compare
drew
added a commit
that referenced
this pull request
Mar 13, 2026
The cluster_pods allowed_ips policy was accidentally removed in #24. This policy allows sandbox binaries to reach services on the k3s cluster pod network (10.42.0.0/16), which is required for internal service communication.
drew
added a commit
that referenced
this pull request
Mar 13, 2026
The cluster_pods allowed_ips policy was accidentally removed in #24. This policy allows sandbox binaries to reach services on the k3s cluster pod network (10.42.0.0/16), which is required for internal service communication.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Aligns the community base sandbox container and network policies with the upstream
NVIDIA/OpenShellsandbox that is being removed fromdeploy/docker/sandbox/. After this change, all tools and policies from the upstream sandbox are present in the community repo.Base Dockerfile (
sandboxes/base/Dockerfile)1.2.18), Codex CLI (0.111.0)22.22.1, npm11.11.0, uv0.10.8python3.13-devpackage (needed for native extensions)@hono/node-server@1.19.11transitive vulnerability fix (GHSA-wc8c-qw6v-h7f6)/sandbox/.venvoverlay with--system-site-packagesso sandbox users canpip installPATH,VIRTUAL_ENV,UV_PYTHON_INSTALL_DIRin both Dockerfile ENV and.bashrcskills/github/SKILL.md) — REST-onlyghCLI usage guide/sandbox/.claude/skills/with symlinks into.agents/skills/for agent discoveryNetwork Policies (
openclaw/policy.yaml,nemoclaw/policy.yaml)pypi(pip/uv package installs),cursor(Cursor IDE),opencode(OpenCode CLI)vscodewildcard endpoints — replaced*.vo.msecnd.netand*.gallerycdn.vsassets.iowith exact hosts (az764295.vo.msecnd.net,gallerycdn.vsassets.io) since OPA uses exact host matchingjohntmyers/alpha-clawandjohntmyers/bravo-clawwrite rules with generic read-only access matching upstreamgithub→github_ssh_over_https,nvidia→nvidia_inference,github_repos→github_rest_apiclaude_code→claude-code)gitlab,nvidia_web,cluster_pods,inferenceUpstream policy coverage
All 8 upstream network policies are now present:
claude_code,github_ssh_over_https,nvidia_inference,github_rest_api,pypi,vscode,cursor,opencode.