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(orchestration): update stale module references in subagent comments
Steven Enamakel9931eee5ea25
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_projection.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_projection.rsindex 1d35f2d253..102cc80893 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_projection.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_projection.rs@@ -6,8 +6,8 @@// never learns the result never arrived. Fail loudly instead: the caller has a// synchronous alternative (`spawn_subagent` with `blocking: true`, or a `delegate_*`// tool). Both of those self-heal to blocking dispatch in this situation rather than-// reaching this guard — see the `has_delivery_thread` checks in `spawn_subagent.rs` and-// `dispatch.rs::dispatch_subagent`. Only a *direct* `spawn_async_subagent` call lands+// reaching this guard — see the `has_delivery_thread` checks in `spawn_subagent_surface.rs` and+// `subagent_dispatch_host.rs::dispatch_subagent`. Only a *direct* `spawn_async_subagent` call lands// here.fn refuse_missing_delivery_thread(parent_thread_id: Option<&str>,diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_request.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_request.rsindex 39782fc938..d1f89063d2 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_request.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_request.rs@@ -1,6 +1,6 @@// Argument decoding for `spawn_async_subagent`.//-// Textually included into `spawn_async_subagent.rs` beside+// Textually included into `spawn_async_subagent_surface.rs` beside// `spawn_async_subagent_host_impl.rs`, so it shares that module's imports. Split// out because the execute fragment had grown to 847 lines against the layout// gate's pin, and this prologue is the one phase of that function that is adiff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_tests.rsindex 0e6ee67fac..8186eb6882 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_tests.rs@@ -530,7 +530,7 @@ async fn errors_clearly_when_no_parent_thread_for_delivery() {// back here. Verified callable under the product feature profile:// `delegate_<agent_id>` tools are generated in// `tools/orchestrator_tools.rs:116`, and they accept `blocking`- // (`archetype_delegation.rs:115` declares it, `:245` reads it) — so the+ // (`archetype_delegation_host.rs:115` declares it, `:245` reads it) — so the// guidance names a real tool family with a real argument, not a route the// model cannot take.assert!(out.contains("blocking: true"), "{out}");diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rsindex 535a521a42..3b6e014c4c 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs@@ -187,7 +187,7 @@ impl SpawnSubagentTool {// asked to delegate, and running the sub-agent inline is the one mode// that both executes it and returns its output. Mirrors the// `has_delivery_thread` fallback the `delegate_*` tools already do in- // `dispatch.rs::dispatch_subagent`.+ // `subagent_dispatch_host.rs::dispatch_subagent`.let parent_thread_id = tool_context.and_then(ToolRunContext::thread_id).or(run_context.thread_id.as_deref())diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_schema.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_schema.rsindex 814d089098..a1691f19fe 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_schema.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_schema.rs@@ -1,7 +1,7 @@// `spawn_subagent`'s parameter schema.//-// Textually included into `spawn_subagent.rs` beside-// `spawn_subagent_tool_impl.rs`, so it shares that module's imports. Split out+// Textually included into `spawn_subagent_surface.rs` beside+// `spawn_subagent_host_impl.rs`, so it shares that module's imports. Split out// because the impl fragment had grown to 803 lines against the layout gate's// pin, and this is the one part of it that answers a question of its own —// "what arguments does this tool take?" — with no dependence on the executiondiff --git a/crates/openhuman-core/src/agent/orchestration/tools/subagent_dispatch_host.rs b/crates/openhuman-core/src/agent/orchestration/tools/subagent_dispatch_host.rsindex 838ab5fb44..86c897890e 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/subagent_dispatch_host.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/subagent_dispatch_host.rs@@ -346,7 +346,7 @@ pub(crate) async fn dispatch_subagent_with_live_parent();// Also send to the per-request progress sink so the web channel bridge- // emits `subagent_spawned` to the frontend (same pattern as spawn_subagent.rs).+ // emits `subagent_spawned` to the frontend (same pattern as spawn_subagent_surface.rs).if let Some(progress) = run_context.progress.clone() {let _ = progress.send(AgentProgress::SubagentSpawned {@@ -470,7 +470,7 @@ pub(crate) async fn dispatch_subagent_with_live_parent(outcome.iterations,);// Also send to the per-request progress sink (mirrors- // `spawn_subagent.rs`) so the web channel bridge emits+ // `spawn_subagent_surface.rs`) so the web channel bridge emits// `subagent_done` to the frontend. Without this the delegated// subagent's timeline row (created on `SubagentSpawned` above)// stays "running" forever — `publish_subagent_completed` only