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
test(orchestration): assert spawn_subagent records job in shared registry
Steven Enamakel8bcc2cf3c5f4
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rsindex 041021c7a6..423bccc9ea 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs@@ -52,6 +52,17 @@ async fn spawn_subagent_tool_runs_child_agent_e2e() {assert_eq!(result.output(), "spawn-subagent-child-answer");assert!(provider.saw(SPAWN_SUBAGENT_CANARY));assert!(provider.saw("parent supplied context"));+ let jobs = crate::core::runtime::slot_for::<+ tinyagents_orchestration::subagent::SubAgentJobRegistry,+ >(&live.data.dispatch_ctx());+ assert!(+ jobs.list().iter().any(|job| {+ job.agent == "task_manager_agent"+ && job.status+ == tinyagents_orchestration::subagent::SubAgentJobStatus::Completed+ }),+ "spawn_subagent must register its real target and terminal state in shared Jobs"+ );}/// A child the harness stops early (failure breaker / iteration cap) is not a