Skip to content

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

chore(sandbox): drop unused tinybox-jail dependency

Steven Enamakelea16bd1d772c
diff --git a/crates/openhuman-core/Cargo.toml b/crates/openhuman-core/Cargo.toml
index f68befe23e..4ceb6d9b37 100644
--- a/crates/openhuman-core/Cargo.toml
+++ b/crates/openhuman-core/Cargo.toml
@@ -135,9 +135,6 @@ tinyagents-harness = { path = "../../vendor/tinyagents/crates/tinyagents-harness
"multimodal",
"builtin-tools",
] }
-# Per-process directory jail (Landlock / Seatbelt / AppContainer / noop). Owned by
-# tinybox; OpenHuman keeps only the policy of when to jail (`sandbox::ops`).
-tinybox-jail = { path = "../../vendor/tinybox/crates/tinybox-jail" }
tinybox-bus = { path = "../../vendor/tinybox/crates/tinybox-bus", optional = true }
tinyagents-definition = { path = "../../vendor/tinyagents/crates/tinyagents-definition" }
# Live (realtime voice) agent sessions: `tinyagents-live` runs a
diff --git a/crates/openhuman-core/src/sandbox/mod.rs b/crates/openhuman-core/src/sandbox/mod.rs
index 105742b550..8c6a9cec95 100644
--- a/crates/openhuman-core/src/sandbox/mod.rs
+++ b/crates/openhuman-core/src/sandbox/mod.rs
@@ -10,10 +10,6 @@
//! workspace mounts, network policy, environment passthrough, and
//! explicit elevated escape paths.
-/// The CWD jail (Landlock / Seatbelt / AppContainer / noop) is owned by
-/// `tinybox-jail`; re-exported here so host call sites stay stable. Deciding
-/// WHEN to jail stays in [`ops`].
-pub use tinybox_jail as cwd_jail;
pub mod docker;
pub mod grants;
mod native_jail;
diff --git a/crates/openhuman-core/src/sandbox/ops.rs b/crates/openhuman-core/src/sandbox/ops.rs
index db7c6496df..d86c75c166 100644
--- a/crates/openhuman-core/src/sandbox/ops.rs
+++ b/crates/openhuman-core/src/sandbox/ops.rs
@@ -10,8 +10,6 @@ use super::types::{
use crate::agent::harness::definition::SandboxMode;
use crate::agent::platform_shell;
use crate::config::{RuntimeConfig, SandboxBackend, SandboxConfig};
-#[cfg(test)]
-use crate::sandbox::cwd_jail;
use std::collections::HashMap;
use std::ffi::OsString;
use std::path::{Path, PathBuf};
diff --git a/crates/openhuman-core/src/sandbox/types.rs b/crates/openhuman-core/src/sandbox/types.rs
index 1241814b1f..b973622926 100644
--- a/crates/openhuman-core/src/sandbox/types.rs
+++ b/crates/openhuman-core/src/sandbox/types.rs
@@ -11,7 +11,7 @@ pub enum SandboxBackendKind {
/// No sandbox — commands execute directly on the host.
#[default]
None,
- /// OS-level process jail via `cwd_jail` (Landlock/Seatbelt/AppContainer).
+ /// Module-owned native process jail selected by TinyBox.
Local,
/// Docker container isolation.
Docker,