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
chore: apply rustfmt and clarify runtime cleanup docs
Steven Enamakel486b205f451e
diff --git a/crates/openhuman-core/src/flows/builder_tools_save_and_edit_tests.rs b/crates/openhuman-core/src/flows/builder_tools_save_and_edit_tests.rsindex c6e35c27f9..24235ce36d 100644--- a/crates/openhuman-core/src/flows/builder_tools_save_and_edit_tests.rs+++ b/crates/openhuman-core/src/flows/builder_tools_save_and_edit_tests.rs@@ -399,7 +399,10 @@ async fn save_workflow_accepts_correctly_schemad_graph() {.unwrap();if result.is_error {- eprintln!("save_workflow rejected the fixture graph: {}", result.output());+ eprintln!(+ "save_workflow rejected the fixture graph: {}",+ result.output()+ );}assert!(!result.is_error, "{}", result.output());let parsed: Value = serde_json::from_str(&result.output()).unwrap();diff --git a/crates/openhuman-core/src/integrations/connected_identities.rs b/crates/openhuman-core/src/integrations/connected_identities.rsindex ef71eb7313..a847537197 100644--- a/crates/openhuman-core/src/integrations/connected_identities.rs+++ b/crates/openhuman-core/src/integrations/connected_identities.rs@@ -25,9 +25,7 @@ pub fn render_connected_identities(ctx: &crate::core::runtime::DispatchCtx) -> S/// Render connected identities from an async caller without blocking a Tokio/// worker. Turn preparation should use this path while composing a new prompt.-pub async fn render_connected_identities_async(- ctx: &crate::core::runtime::DispatchCtx,-) -> String {+pub async fn render_connected_identities_async(ctx: &crate::core::runtime::DispatchCtx) -> String {render_section(ctx).await}diff --git a/crates/openhuman-core/src/integrations/mod.rs b/crates/openhuman-core/src/integrations/mod.rsindex 5a34888b94..091017046d 100644--- a/crates/openhuman-core/src/integrations/mod.rs+++ b/crates/openhuman-core/src/integrations/mod.rs@@ -13,9 +13,7 @@ pub mod composio;mod connected_identities;pub(crate) mod recorded_tools;pub mod task_sources;-pub use connected_identities::{- render_connected_identities, render_connected_identities_async,-};+pub use connected_identities::{render_connected_identities, render_connected_identities_async};// Product prompt metadata shared by connector discovery and agent surfaces.pub use crate::agent::prompts::{diff --git a/crates/openhuman-embed/src/runtime/README.md b/crates/openhuman-embed/src/runtime/README.mdindex d8526eaa9f..2f0d1b3ea9 100644--- a/crates/openhuman-embed/src/runtime/README.md+++ b/crates/openhuman-embed/src/runtime/README.md@@ -58,10 +58,12 @@ still claimed, restores the previous session store if it still owns theslot, drops its handle on an ephemeral workspace, and releases `RUNTIME_LIVE`.The ephemeral root (`EphemeralRoot`) is removed with a short retry loop(background writers can recreate subdirectories just after a turn returns)-when its last holder drops. A dropped agent's deferred MCP cleanup holds that-root, never the `CoreGuard`: an embedded host runs no shutdown hook, so a close-the module never acknowledges would otherwise hold the process slot forever and-every later `Runtime::builder().build()` would fail with `AlreadyRunning`.+when its last holder drops. A dropped agent's deferred MCP cleanup retains the+`CoreGuard` and ephemeral root while it retries the close, keeping process+admission reserved until cleanup completes. If those bounded retries fail, the+workspace is preserved for an explicit retry from a live runtime or manual+reclamation after the runtime is gone; retained cleanup metadata does not keep+the runtime guard alive.## Layout