The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
docs(sandbox): document sandbox module boundaries
Steven Enamakelb71105a8b404
diff --git a/crates/openhuman-core/src/sandbox/README.md b/crates/openhuman-core/src/sandbox/README.mdindex 051754485f..be5ea95b09 100644--- a/crates/openhuman-core/src/sandbox/README.md+++ b/crates/openhuman-core/src/sandbox/README.md@@ -62,7 +62,7 @@ and `state_dir` is the core's internal `workspace_dir`. `allow_network` is`!is_remote_session` for `Sandboxed` and `true` for the other modes.`env_passthrough` is `SANDBOX_ENV_PASSTHROUGH`. `docker_overrides` is filledfrom `[runtime.docker]` only for the Docker backend, and the mount lists come-from [`grants.rs`](./grants.rs) only for the Local backend.+from [`local_grants.rs`](./local_grants.rs) only for the Local backend.### The None backend@@ -87,7 +87,7 @@ the core state dir is granted read-write and used for `TMPDIR`, `TEMP`, andruns if the module, artifact, or requested enforcement is unavailable.A real jail (Landlock, Seatbelt) denies everything it is not told about, so-`grants::resolve_local_jail_grants` computes what everyday commands need,+TinyBox's `ResolveLocalGrants` (called through `local_grants::with_resolved_grants` at spawn time) computes what everyday commands need,controlled by `[runtime.local_jail]` (`LocalJailConfig`):| Grant | Access | Condition |@@ -138,7 +138,7 @@ execution refuses to run without the required provider.| [`types.rs`](./types.rs) | `SandboxBackendKind`, `SandboxPolicy`, `DockerOverrides`, exec request and result, handle and status, `ElevatedOp`, `ELEVATED_TOOLS`. || [`ops.rs`](./ops.rs) | Policy resolution, backend creation, routed execution (None and Local paths), scratch ownership, the env allowlist, the host off switch, elevated ops. || [`native_jail.rs`](./native_jail.rs) | TinyBox native-jail and cron passthrough request mapping, process/output lifecycle, and fail-closed status checks. |-| [`grants.rs`](./grants.rs) | The Local jail's filesystem grant set and its credential floor. |+| [`local_grants.rs`](./local_grants.rs) | Host adapter for `ResolveLocalGrants`: sends the credential floor as input and re-applies it to the module's reply. || [`docker.rs`](./docker.rs) | Policy-to-`RunDocker` mapping, module status/cleanup calls, Docker policy validation. || [`schemas.rs`](./schemas.rs) | The `sandbox.*` controllers. |@@ -211,7 +211,7 @@ The settings surface (`get_sandbox_settings`, `[security.sandbox]` and## Tests-Sibling suites: [`types_tests.rs`](./types_tests.rs), [`ops_tests.rs`](./ops_tests.rs), [`grants_tests.rs`](./grants_tests.rs),+Sibling suites: [`types_tests.rs`](./types_tests.rs), [`ops_tests.rs`](./ops_tests.rs), [`local_grants_tests.rs`](./local_grants_tests.rs),[`schemas_tests.rs`](./schemas_tests.rs), [`docker_tests.rs`](./docker_tests.rs) and [`docker_exec_tests.rs`](./docker_exec_tests.rs).`native_jail_tests.rs` pins the status floor, grant/environment mapping,module-unavailable refusal, and an ignored pinned-artifact Linux executiondiff --git a/docs/module-boundary-inventory.md b/docs/module-boundary-inventory.mdindex fb8ba54493..22ca384853 100644--- a/docs/module-boundary-inventory.md+++ b/docs/module-boundary-inventory.md@@ -20,7 +20,7 @@ copying its implementation into a host, or accepting weaker isolation.| tinychannels | tinychannels, tinychannels-runtime, tinychannels-module (test-only) | tinychannels-bus | core channels, TinyHumans host, CLI REPL | Contract 16 (operation 1.17) is pure; scoped providers, inbound/identity/outbound preparation, remote commands, runtime limits, typing and progressive delivery execute through confidential module calls. Host-owned policy, credentials, persistence and callbacks remain in OpenHuman. Both host implementation exceptions are removed; the 254-test focused suite and released-artifact runtime fixture pass || tinyhosts | none | tinyhosts-bus | core hosting tools | Released Execute/Providers contract consumed through the module (v0.4.0: tool-to-operation mapping, argument shaping, outcome matching and summaries live in `tinyhosts-bus::tools`); workspace authorization, credentials and approval policy remain in OpenHuman || tinywallet | none in normal/build host dependencies | tinywallet-bus | core wallet/web3/x402 | Complete: v0.20.0 contract 1.14 adds mnemonic word-count validation to module-owned mnemonic derivation, native transactions, Web3 quotes/execution, ERC-20 encoding, and x402 payment parsing/budgets/ledger. OpenHuman retains encrypted-key custody, authenticated transport, explicit approval, and lifecycle orchestration |-| tinybox | tinybox-core (test-only) | tinybox-bus | core sandbox and security, desktop gateways | Merged host cutover uses TinyBox v0.1.24 for sandbox/resource lifecycle, collected and supervised execution, jailed and native shell execution, Docker control, local grants, file transfer and port forwarding. Host authorization and the security floor remain in OpenHuman |+| tinybox | tinybox-core (test-only) | tinybox-bus | core sandbox and security, desktop gateways | Merged host cutover uses TinyBox v0.1.24 for sandbox/resource lifecycle, collected and supervised execution, jailed and native shell execution, Docker control, local grants (`ResolveLocalGrants`; the host re-applies `is_always_forbidden` to the reply), file transfer and port forwarding. Host authorization and the security floor remain in OpenHuman || tinycomputer | none | tinycomputer-bus | core voice, paste/focus and permission checks | Permission, focus, paste and Globe listener operations use the module; native thread and target rules remain covered || tinyvoice | None | tinyvoice-bus | core voice capture/hotkeys | Module-owned devices, recording and continuous capture, bounded audio reads/batches, explicit lease cleanup; computer module permission decisions || tinyruntime | tinyruntime-pyserver | tinyruntime-bus | core Python worker, optional TinyJuice ML | Excluded from this migration: TinyRuntime is being removed separately |