feat: gut Docker sandbox infrastructure (#68)#69
Merged
alexey-pelykh merged 1 commit intomainfrom Feb 27, 2026
Merged
Conversation
Remove the entire Docker sandbox system — RemoteClaw delegates execution to CLI agents (Claude Code, Gemini CLI, etc.) which have their own native sandboxing, making the in-process Docker sandbox dead code. Deleted: - src/agents/sandbox/ directory (39 files) - Root-level sandbox files (sandbox.ts, sandbox-paths.ts, sandbox-tool-policy.ts, etc.) - Dockerfile.sandbox, Dockerfile.sandbox-browser, Dockerfile.sandbox-common - Sandbox CLI subcommand (sandbox-cli.ts, sandbox-display.ts, sandbox-explain.ts, etc.) - Sandbox test infrastructure (scripts/docker/*) - Sandbox media staging (stage-sandbox-media.ts) - Sandbox config types (types.sandbox.ts) and Zod schemas - Sandbox-only test files (25+ files) Modified (inline stubs for build compatibility): - pi-embedded-runner files: minimal no-op stubs (files slated for deletion) - bash-tools files: minimal assertSandboxPath stubs (files slated for deletion) - apply-patch.ts, pi-tools.read.ts: inlined SandboxFsBridge type + assertSandboxPath - pi-tools.policy.ts: inlined SandboxToolPolicy type + pickSandboxToolPolicy - Security audit files: stubbed sandbox audit functions - Config schemas: relaxed sandbox schemas for backward compat - Auto-reply files: simplified to always-direct mode (no sandbox) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This was referenced Feb 27, 2026
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
src/agents/sandbox/, 3 Dockerfiles, sandbox CLI/commands, test infrastructure, media staging, config types/schemas)pi-embedded-runnerandbash-toolsfiles get minimal no-op stubs (slated for deletion in future work items)Closes #68
129 files changed, 349 insertions, 14,424 deletions
Test plan
pnpm buildpassespnpm test— 6 failing suites / 33 tests, ALL pre-existing onmain(cron test failures unrelated to sandbox)grep -r "sandbox" src/— zero imports from deleted sandbox modules in surviving codesandboxCLI subcommand deregistered fromregister.subclis.tssrc/agents/sandbox/directory fully deleted🤖 Generated with Claude Code