Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(sandbox): update jail references to TinyBox adapter

Steven Enamakelfcead3c07c66
diff --git a/crates/openhuman-core/src/sandbox/ops.rs b/crates/openhuman-core/src/sandbox/ops.rs
index 40c874af3a..ac33bd0c8f 100644
--- a/crates/openhuman-core/src/sandbox/ops.rs
+++ b/crates/openhuman-core/src/sandbox/ops.rs
@@ -18,7 +18,7 @@ use std::time::Duration;
/// Safe environment variables forwarded into sandboxed execution.
///
/// This list is the *entire* environment a sandboxed child gets: both
-/// [`execute_unsandboxed`] and [`execute_local_jail`] call `env_clear()` and
+/// [`execute_unsandboxed`] and the TinyBox native jail adapter call `env_clear()` and
/// re-forward only what is named here. Windows process-bootstrap variables are
/// added only in the host spawn paths below; keeping them out of this policy
/// prevents Windows paths from being passed into Linux Docker containers.
@@ -119,7 +119,7 @@ fn sandbox_disabled_by_host() -> bool {
///
/// Non-main sessions (channel, cron, remote) default to `Docker` when
/// the mode is `Sandboxed` and Docker is configured. Local interactive
-/// sessions default to `Local` (OS-level jail via `cwd_jail`).
+/// sessions default to `Local` (the TinyBox module's native process jail).
///
/// `state_dir` is the core's internal `workspace_dir`; host-side scratch such
/// as output capture goes there instead of into `action_dir`.
diff --git a/crates/openhuman-core/src/sandbox/ops_tests.rs b/crates/openhuman-core/src/sandbox/ops_tests.rs
index 060ad7a70f..764e6c5166 100644
--- a/crates/openhuman-core/src/sandbox/ops_tests.rs
+++ b/crates/openhuman-core/src/sandbox/ops_tests.rs
@@ -256,7 +256,7 @@ fn env_passthrough_includes_safe_vars() {
// ── Windows child environment ────────────────────────────────────────────────
//
-// `execute_unsandboxed` and `execute_local_jail` both call `env_clear()` and
+// `execute_unsandboxed` and the TinyBox native jail adapter both call `env_clear()` and
// re-forward only `SANDBOX_ENV_PASSTHROUGH`. On Windows that list has to carry
// the process-bootstrap variables or the child cannot initialise the OS crypto
// provider — `node` dies with `Assertion failed: ncrypto::CSPRNG(nullptr, 0)`