Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
With agents.defaults.sandbox.mode: "all" and agents.defaults.sandbox.workspaceAccess: "rw", observed sandboxed agent sessions failed file access against host absolute workspace paths such as /home/sysadmin/.openclaw/workspace-personal-carlos/... with Sandbox FS error (ENOENT), and file sending worked again after sandbox was disabled.
Steps to reproduce
- Configure:
{
"agents": {
"defaults": {
"sandbox": {
"mode": "all",
"scope": "agent",
"workspaceAccess": "rw"
}
}
}
}
- Start a sandboxed agent session.
- Have the agent read, write, or send a file using a host absolute workspace path such as
/home/sysadmin/.openclaw/workspace-<agent>/....
- Observe file-tool failures with
Sandbox FS error (ENOENT).
- Change:
{
"agents": {
"defaults": {
"sandbox": {
"mode": "off"
}
}
}
}
- Observe that file sending works again.
Expected behavior
With sandbox enabled and workspaceAccess: "rw", agent file access and file sending should work for files in the active agent workspace.
Grounded reference:
- The documented sandbox workspace for writable workspace access is
/workspace.
- In the observed environment, disabling sandbox restored file sending.
Actual behavior
Observed sandboxed sessions used host absolute workspace paths and failed file access.
Observed evidence:
- File reads against
/home/sysadmin/.openclaw/workspace-personal-carlos/... failed with Sandbox FS error (ENOENT).
- In an observed file-sending session, the agent attempted to send a file using:
MEDIA:/home/sysadmin/.openclaw/workspace-personal-carlos/carlos_coverflex_last_month.csv
- In that same session, the guidance shown to the agent stated that absolute
MEDIA:/... paths are blocked.
- After changing
agents.defaults.sandbox.mode to "off", file sending worked again.
OpenClaw version
OpenClaw 2026.3.28 (f9b1079)
Operating system
Linux 6.12.74+deb13+1-amd64 x86_64 GNU/Linux
Install method
Global npm install under:
/home/sysadmin/.npm-global/lib/node_modules/openclaw
Model
openai/5.1-mini
Provider / routing chain
Local OpenClaw install -> configured model provider routing to OpenAI.
Additional provider/model setup details
The observed failures were in sandboxed agent file access and file sending, not in model inference output.
Logs, screenshots, and evidence
Observed failing read pattern:
Sandbox FS error (ENOENT): /home/sysadmin/.openclaw/workspace-personal-carlos/...
Observed failing send path:
MEDIA:/home/sysadmin/.openclaw/workspace-personal-carlos/carlos_coverflex_last_month.csv
Observed workaround:
{
"agents": {
"defaults": {
"sandbox": {
"mode": "off"
}
}
}
}
Local environment evidence:
OpenClaw 2026.3.28 (f9b1079)
Linux 6.12.74+deb13+1-amd64 x86_64 GNU/Linux
Global npm root: /home/sysadmin/.npm-global/lib/node_modules
Impact and severity
- File access failed in observed sandboxed agent sessions when host absolute workspace paths were used.
- File sending was broken in the observed environment until sandbox was disabled.
Additional information
Observed docs alignment:
workspaceAccess: "rw" documents /workspace as the writable sandbox workspace.
- The failing sessions still used host absolute workspace paths.
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
With
agents.defaults.sandbox.mode: "all"andagents.defaults.sandbox.workspaceAccess: "rw", observed sandboxed agent sessions failed file access against host absolute workspace paths such as/home/sysadmin/.openclaw/workspace-personal-carlos/...withSandbox FS error (ENOENT), and file sending worked again after sandbox was disabled.Steps to reproduce
{ "agents": { "defaults": { "sandbox": { "mode": "all", "scope": "agent", "workspaceAccess": "rw" } } } }/home/sysadmin/.openclaw/workspace-<agent>/....Sandbox FS error (ENOENT).{ "agents": { "defaults": { "sandbox": { "mode": "off" } } } }Expected behavior
With sandbox enabled and
workspaceAccess: "rw", agent file access and file sending should work for files in the active agent workspace.Grounded reference:
/workspace.Actual behavior
Observed sandboxed sessions used host absolute workspace paths and failed file access.
Observed evidence:
/home/sysadmin/.openclaw/workspace-personal-carlos/...failed withSandbox FS error (ENOENT).MEDIA:/...paths are blocked.agents.defaults.sandbox.modeto"off", file sending worked again.OpenClaw version
OpenClaw 2026.3.28 (f9b1079)
Operating system
Linux 6.12.74+deb13+1-amd64 x86_64 GNU/Linux
Install method
Global npm install under:
/home/sysadmin/.npm-global/lib/node_modules/openclawModel
openai/5.1-mini
Provider / routing chain
Local OpenClaw install -> configured model provider routing to OpenAI.
Additional provider/model setup details
The observed failures were in sandboxed agent file access and file sending, not in model inference output.
Logs, screenshots, and evidence
Observed failing read pattern:
Observed failing send path:
Observed workaround:
{ "agents": { "defaults": { "sandbox": { "mode": "off" } } } }Local environment evidence:
Impact and severity
Additional information
Observed docs alignment:
workspaceAccess: "rw"documents/workspaceas the writable sandbox workspace.