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(security): standardize punctuation in README tables and prose
Steven Enamakelacd55c5036ef
diff --git a/crates/openhuman-core/src/runtime/pool/README.md b/crates/openhuman-core/src/runtime/pool/README.mdindex 99f4195de0..cf062d713b 100644--- a/crates/openhuman-core/src/runtime/pool/README.md+++ b/crates/openhuman-core/src/runtime/pool/README.md@@ -42,6 +42,29 @@ and post-dispatch, move a failure out of the default.| `node.rs` / `python.rs` | Per-language `enabled()` and `run_inline()`; they differ only in which language they name. || `types.rs` | `PoolExecOutcome` (with `queue_wait` kept apart from `elapsed`), `PoolLang`, `PoolSettings`. |+## Why it exists++At the target deployment density (100-1000 live agents on a 2 GB, 2 vCPU box),+a fresh interpreter child per run is the biggest memory cost: one JS skill+step spawns a `node` child at roughly 72-75 MB RSS. A small, bounded pool of+warm workers turns "K concurrent skill runs, K interpreters" into "K+concurrent skill runs, about one pooled worker", at the cost of queueing work+beyond the pool size. This is one piece of the density work described in+[performance.md](../../../../../../gitbooks/developing/performance.md).++## Defaults (`[runtime_pool]`, `config/schema/runtime_pool.rs`)++| Setting | Default | Meaning |+| --- | --- | --- |+| `max_workers` | 2 | concurrently resident workers per language; clamped to at least 1 |+| `idle_ttl_secs` | 60 | reap a worker idle this long; `0` disables idle reaping |+| `recycle_after_jobs` | 100 | retire a worker after this many jobs; `0` disables recycling |+| `max_queue_depth` | 256 | jobs allowed to queue before new submissions are rejected; clamped to at least 1 |++Node pools by default (`worker_thread` isolation makes reuse safe); Python+does not (CPython has no safe way to kill a running thread, so reuse can leak+state across jobs). Set `enabled` explicitly per language to override.+## Notes- **`queue_wait` is reported separately from `elapsed` on purpose.** A host thatdiff --git a/crates/openhuman-core/src/security/README.md b/crates/openhuman-core/src/security/README.mdindex 1c650c6cb7..3f64a95588 100644--- a/crates/openhuman-core/src/security/README.md+++ b/crates/openhuman-core/src/security/README.md@@ -8,16 +8,16 @@ credentials, and the keychain. None of these submodules is feature-gated.| Path | Purpose || --- | --- |-| `policy/` | `SecurityPolicy`, autonomy tiers, path/command gating — see [policy/README.md](policy/README.md) |-| `approval/` | Human-in-the-loop approval gate for prompted tool calls — see [approval/README.md](approval/README.md) |-| `credentials/` | Per-channel credential storage and profile-scoped secrets — see [credentials/README.md](credentials/README.md) |-| `devices/` | Device pairing and cross-device tunnel security — see [devices/README.md](devices/README.md) |-| `egress/` | Data-egress descriptors and `LocalOnly` enforcement chokepoint — see [egress/README.md](egress/README.md) |-| `encryption/` | Cross-domain `EncryptionEngine` — see [encryption/README.md](encryption/README.md) |-| `keyring/` | OS keyring backend and encrypted-file fallback secret store — see [keyring/README.md](keyring/README.md) |-| `keyring_consent/` | Consent gate for falling back from OS keyring to local encrypted storage — see [keyring_consent/README.md](keyring_consent/README.md) |-| `pii/` | Fully local PII scanner — see [pii/README.md](pii/README.md) |-| `prompt_injection/` | Prompt-injection heuristics — see [prompt_injection/README.md](prompt_injection/README.md) |+| `policy/` | `SecurityPolicy`, autonomy tiers, path/command gating; see [policy/README.md](policy/README.md) |+| `approval/` | Human-in-the-loop approval gate for prompted tool calls; see [approval/README.md](approval/README.md) |+| `credentials/` | Per-channel credential storage and profile-scoped secrets; see [credentials/README.md](credentials/README.md) |+| `devices/` | Device pairing and cross-device tunnel security; see [devices/README.md](devices/README.md) |+| `egress/` | Data-egress descriptors and `LocalOnly` enforcement chokepoint; see [egress/README.md](egress/README.md) |+| `encryption/` | Cross-domain `EncryptionEngine`; see [encryption/README.md](encryption/README.md) |+| `keyring/` | OS keyring backend and encrypted-file fallback secret store; see [keyring/README.md](keyring/README.md) |+| `keyring_consent/` | Consent gate for falling back from OS keyring to local encrypted storage; see [keyring_consent/README.md](keyring_consent/README.md) |+| `pii/` | Fully local PII scanner; see [pii/README.md](pii/README.md) |+| `prompt_injection/` | Prompt-injection heuristics; see [prompt_injection/README.md](prompt_injection/README.md) || `live_policy.rs` | Process-global, hot-swappable current `SecurityPolicy` (see its own `//!`) || `secrets.rs` | One-line re-export of `keyring::encrypted_store` for legacy import paths || `tools.rs` | `SecurityPolicyInfoTool`, the only LLM-callable surface of this domain (read-only, default-ON); command/path gating itself is enforced in-engine, never as an agent-callable tool |@@ -33,7 +33,7 @@ credentials, and the keychain. None of these submodules is feature-gated.Sandbox note: `docker.rs` / `bubblewrap.rs` / `firejail.rs` / `landlock.rs`here wrap a `std::process::Command` per the `Sandbox` trait and are chosen by`detect::create_sandbox`. `crates/openhuman-core/src/sandbox/` is a separate,-newer domain — see `sandbox/cwd_jail/mod.rs`'s rustdoc for why `cwd_jail`+newer domain; see `sandbox/cwd_jail/mod.rs`'s rustdoc for why `cwd_jail`superseded these backends on macOS (no `bwrap`) and added a WindowsAppContainer backend; the two domains are not interchangeable.@@ -42,7 +42,7 @@ AppContainer backend; the two domains are not interchangeable.- `pub struct SecurityPolicy`, `pub enum AutonomyLevel`, `pub enum CommandClass`,`pub enum GateDecision`, `pub struct TrustedRoot` /`pub enum TrustedAccess`, `POLICY_BLOCKED_MARKER` / `POLICY_DENIED_MARKER` —- `policy/types.rs`, re-exported here — see [policy/README.md](policy/README.md).+ `policy/types.rs`, re-exported here; see [policy/README.md](policy/README.md).- `pub fn validate_path_within_root`, `pub fn openhuman_scratch_dir`,`pub fn ensure_openhuman_scratch_dir` — `policy/enforcement.rs`.- `pub trait Sandbox` / `pub struct NoopSandbox` — `traits.rs` — pluggablediff --git a/crates/openhuman-core/src/security/keyring_consent/README.md b/crates/openhuman-core/src/security/keyring_consent/README.mdindex c798747af9..b9760f14a0 100644--- a/crates/openhuman-core/src/security/keyring_consent/README.md+++ b/crates/openhuman-core/src/security/keyring_consent/README.md@@ -33,7 +33,7 @@ so the app never silently drops to local storage without the user agreeing.be used); and the operator-configured backends `LocalEncryptedFile`(`encrypted_file`) / `LocalPlaintextFile` (`file`/`mock`), for which noconsent was ever asked. The last two groups are kept distinct from- `LocalEncrypted` because they are not the same storage — see the type's+ `LocalEncrypted` because they are not the same storage; see the type'sdoc comment.- `KeyringStatus` — `available`, `failure_reason: Option<KeyringFailureReason>`,`active_mode: StorageMode`, `backend_name: String`. `active_mode` is derived