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(agent): document scoped spawn context propagation
Steven Enamakelb710dd4630ec
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rsindex 708c15d7e1..f5d52b767b 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs@@ -419,6 +419,9 @@ impl SpawnAsyncSubagentTool {// dispatch refusal, and cancellation. Approval/origin and workspace policy remain// task-local until B2h moves the security boundary onto this carrier, so propagation// below is a staging bridge for those two scopes only.+ // Spawned scoped: the child keeps the caller's `CoreContext` (in SaaS, the user's+ // profile), so recording its completion lands in that profile's tables and notes the+ // profile as the owner the off-task delivery subscriber resolves.let detached_run_context = detached_parent.data.child();let mut abort_report = AbortReport::arm(progress_sink.clone(), &definition.id, &task_id);let join = crate::core::runtime::spawn_scoped(crate::agent::turn_origin::propagate(