reuse is the default. It lets the host reuse a warm project sandbox when one
is available, which keeps normal coding, browser, and file workflows fast.
fresh asks the host for a clean sandbox for that run. Use it for untrusted
inputs, tests that must not inherit process state, or workflows where isolation
is more important than startup latency.
Precedence
The runtime resolves sandbox policy from lowest to highest precedence:- project/runtime settings
- agent configuration
- task or request payload
Where to set it
Agent default:Storage and state
Fresh isolation controls the execution sandbox, not project storage. Project files, memory, Connections, task state, and session history follow their normal project-scoped persistence rules. On Polpo Cloud,reuse uses the managed project sandbox pool and fresh
bypasses idle reuse for that run. Self-hosted runtimes carry the same policy in
the runtime contract; the host sandbox adapter decides how to materialize it.