I’m experimenting with an OpenClaw agent that delegates work to Codex through ACP:
sessions_spawn({
runtime: "acp",
agentId: "codex",
mode: "run",
task: "..."
})
From the docs, it looks like ACP sessions run host-side and sandbox: "require" is unsupported for runtime: "acp". So a sandboxed OpenClaw agent cannot spawn a Codex/ACP worker with the same OpenClaw sandbox guarantees.
Is there any supported or recommended way to run ACP harness sessions with stronger isolation? For example:
running acpx inside a container
using a separate low-privilege OS user
binding ACP to a locked-down workspace
another recommended isolation pattern
Or is the intended model simply: ACP is host-runtime work, and if we need hard sandboxing we should use native OpenClaw subagents instead?