Skip to content

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

refactor(core): update agent orchestration exports and tests

Steven Enamakel29bf4808a2bb
diff --git a/crates/openhuman-core/src/agent/orchestration/mod.rs b/crates/openhuman-core/src/agent/orchestration/mod.rs
index 2153e14649..c1156c4457 100644
--- a/crates/openhuman-core/src/agent/orchestration/mod.rs
+++ b/crates/openhuman-core/src/agent/orchestration/mod.rs
@@ -43,7 +43,4 @@ mod background_delivery_tenant_tests;
pub async fn release_background_completion_stores() -> usize {
background_completions::release_all().await
}
-pub use types::{
- AgentSnapshot, SpawnAgentRequest, SpawnAgentResponse, WaitAgentOptions, WaitAgentResponse,
-};
pub use worktree::OpenHumanWorktreeIsolation;
diff --git a/crates/openhuman-core/src/mcp/registry/ops_tests.rs b/crates/openhuman-core/src/mcp/registry/ops_tests.rs
index 0d62500b74..09ce7b45c5 100644
--- a/crates/openhuman-core/src/mcp/registry/ops_tests.rs
+++ b/crates/openhuman-core/src/mcp/registry/ops_tests.rs
@@ -170,7 +170,7 @@ async fn agent_refusal_names_no_rpc_method() {
/// Every tool an agent refusal names must be callable by every agent that can
/// receive it, i.e. every built-in agent with `mcp_registry_list_tools` on its
-/// belt. The read-only planner has no `mcp_registry_connect`.
+/// belt. The orchestrator's refusal messages name only tools it can call.
#[test]
fn refusals_name_only_tools_on_every_listing_belt() {
let install = tinymcp_bus::ConnStatus {
diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rs
index 89fd92ca92..ce99ae01b2 100644
--- a/tests/json_rpc_e2e.rs
+++ b/tests/json_rpc_e2e.rs
@@ -1813,7 +1813,7 @@ async fn json_rpc_agent_registry_manages_defaults_and_custom_agents() {
.and_then(Value::as_array)
.expect("agent_list_definitions should return definitions array");
// The v1 `agent_memory` built-in was removed with the v1 memory system
- // (Memory v2 is one `memory` tool, not a sub-agent); `critic` is the
+ // (Memory v2 is one `memory` tool, not a sub-agent); `summarizer` is the
// stand-in safe-library entry.
assert!(
!definitions
@@ -1823,8 +1823,8 @@ async fn json_rpc_agent_registry_manages_defaults_and_custom_agents() {
);
let memory_agent = definitions
.iter()
- .find(|definition| definition.get("id").and_then(Value::as_str) == Some("critic"))
- .expect("safe agent library should include critic");
+ .find(|definition| definition.get("id").and_then(Value::as_str) == Some("summarizer"))
+ .expect("safe agent library should include summarizer");
assert!(
memory_agent
.get("display_name")