Context:
Original issue was intermittent fallback on openai-api/gpt-5.5 with openai-responses:
rs_* not found / Items are not persisted when store=false, then misclassified as model_not_found.
Per Krill advice, I switched default to built-in openai/gpt-5.5.
To avoid Codex runtime behavior, I added:
"agents.defaults.models["openai/gpt-5.5"].agentRuntime.id": "pi"
Current default:
openai/gpt-5.5
Direct CLI test works:
openclaw agent --agent main --message "Reply with exactly: OPENAI_PI_ROUTE_OK"
returned OPENAI_PI_ROUTE_OK.
New symptoms:
Some topics/local tool operations are now failing before commands or edits run with sandbox-related errors.
Recent journal examples:
Subagent/shell sandbox:
All subagent spawn attempts are failing due to sandbox bwrap issues.
Earlier user-visible flavor:
local shell is failing before commands run: bwrap: setting up uid map: Permission denied
Edit-tool sandbox path issue:
[tools] edit failed: Could not edit file: /home/openclaw/.openclaw/workspace/projects/tpd/repo/app/prompts.py. Error: stat failed for /workspace/app/prompts.py: openclaw-sandbox-fs: 2: cd: can't cd to /workspace/app.
Local host checks:
kernel.unprivileged_userns_clone = 1
user.max_user_namespaces = 31611
bwrap is not installed:
bash: bwrap: command not found
unshare -Ur true as openclaw fails:
unshare: write failed /proc/self/uid_map: Operation not permitted
dpkg -l bubblewrap / command -v bwrap found nothing.
Question:
Is bubblewrap/uidmap now an expected runtime dependency for PI/local shell/subagent sandboxing in this setup, or is this only being exposed because of the recent model/runtime changes? Should I install bubblewrap uidmap and configure subuid/subgid for openclaw, or is there an OpenClaw-supported config path to avoid bwrap for this runtime?
Also, is the /workspace/app edit failure likely the same sandbox dependency issue, or a separate cwd/project-root mapping problem?