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
fix(spawn_subagent): record stop reason on incomplete subagent runs
Steven Enamakelada428bb2f50
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rsindex 4e05020954..b6aa076b8f 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs@@ -482,7 +482,7 @@ impl SpawnSubagentTool {worktree_path: None,changed_files: Vec::new(),dirty_status: None,- stop: None,+ stop: incomplete_stop(&reason),}).await;}@@ -501,7 +501,13 @@ impl SpawnSubagentTool {delegation unchanged.",outcome.task_id, outcome.agent_id, outcome.output,);- Ok(ToolResult::success(envelope))+ Ok(stopped_subagent_result(+ "spawn_subagent",+ &outcome.agent_id,+ &outcome.task_id,+ &reason,+ envelope,+ ))}SubagentRunStatus::Cancelled => {tracing::info!(