feat(settings): drop Claude Code's sandbox #273
No reviewers
Labels
No labels
bug
cannot reproduce
duplicate
enhancement
help wanted
invalid
need info
need triage
need verification
not a bug
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
claudiomaradonna/agent-foundry!273
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/remove-claude-sandbox"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The source's
.claude/settings.jsonturns Claude Code's sandbox on in every adopted repository, but it isn't a security boundary. It is open to every host, Unix socket, and the home directory, and it runs Bash with no prompt in Manual andacceptEditsmode. The settings guide itself called it no defence against an instruction injected into what Claude reads.The plugin forms for OpenCode, Claude Code, and Codex already ship without it. Its exclusion of the sandbox script could not match an installed plugin's path anyway. This brings the adopted form in line.
run-sandboxed.sh's bubblewrap sandbox, which isolates code from outside, stays.What changed
.claude/settings.jsonloses itssandboxkey; every other setting is unchanged. Bash commands now run under Claude Code's permission prompts. TheReadrules on secret files stop only Claude's file tools and the file commands Claude Code recognizes, and no credential variable is unset.docs/SANDBOX.mdis deleted. What readers still need moves todocs/SETTINGS.md§ Secret files:git showfor a committed example.env;run-sandboxedcalls its script by its absolute path in the main checkout;deliver's merge keeps its call form, now for the settings'askrule on it;UPGRADING.mdreplaces three sandbox notes with three notes:How to verify
Base
mainatd2e20ab, branch tip3b345e7.On the tip, outside a sandbox, all of these pass:
tests/verify-agent-config.sh, 426 tests;tests/check-work-folder.sh, 46 tests;git diff --check main.Considerations
excludedCommandsentry for the sandbox script's absolute path. The upgrade note says so.scripts/build-form.shstill stripssandboxfrom the Claude Code plugin's settings, because it builds earlier commits that hold the key.https://claude.ai/code/session_012wUN2eKSj9s2vRHJdFPNk3
Command failed
The agent did not complete this command, so nothing came of it. A person should look at this thread.
The run failed at step "aoe_purge". The operator reads the job logs in the Windmill editor, or finds the run with:
wmill job list --path f/agents/bot_commands