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(orchestrator): clarify workflow builder spawn instruction in prompt
Steven Enamakel948540f4c693
diff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.mdindex fa217d1e32..d0f773bd38 100644--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md@@ -9,7 +9,7 @@ First match wins:- Code, settings, crypto, OpenHuman help: `use_skill` `coding`/`system`/`web3`/`docs` first; edit and verify in the same turn.- MCP: server tools come from `tool_search`; never guess their arguments.<!--route:mcp-->- Specialists: delegate tools or `use_skill`. Act on a returned `## Handoff Plan` yourself; distill replies, never paste them.-- Reminders: skill `scheduling`, with a yes on exact timing first. Build or edit a workflow: spawn `workflow_builder`; find one: `flow_discovery`.+- Reminders: skill `scheduling`, with a yes on exact timing first. Build or edit a workflow: spawn `workflow_builder` with `spawn_async_subagent`; find one: `flow_discovery`.## Sub-agentsdiff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests_session_routing_tests.rs b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests_session_routing_tests.rsindex 63f32c9bd8..7e9a92371f 100644--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests_session_routing_tests.rs+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt_tests_session_routing_tests.rs@@ -67,7 +67,7 @@ fn the_withheld_block_renders_for_a_renamed_session_with_a_filter() {// on exactly ONE feature and can ask about it directly, so there is no// tool-to-feature mapping here to drift out of date.assert!(- block.contains("- skill `documents`: `make_presentation`"),+ block.contains("`documents` (make_presentation"),"a packed delegate must render with its route:{}\n{block}",if cfg!(feature = "documents") {String::new()@@ -109,12 +109,8 @@ fn prompt_routes_workflow_authoring_to_the_builder_not_use_skill() {// The gate is the fix; this pins the prompt so the model is told the route// before it discovers the wall.assert!(- ARCHETYPE.contains("## Scheduling and workflows"),- "orchestrator prompt must carry the workflow routing rule"- );- assert!(- ARCHETYPE.contains("spawn the `workflow_builder` agent with `spawn_async_subagent`"),- "the rule must name the delegate to call"+ ARCHETYPE.contains("Build or edit a workflow: spawn `workflow_builder` with `spawn_async_subagent`"),+ "orchestrator prompt must carry the workflow routing rule and name the spawn to make");// The rule is only true because these are the real names. Asserting the@@ -182,7 +178,7 @@ fn skill_sections_name_the_hand_off_this_session_can_call() {// Listed but held by a pack: name the call that actually reaches it.assert_eq!(hand_off_route(&ctx, "image_agent").as_deref(),- Some("`use_skill { \"skill\": \"media\", \"tool\": \"create_image\" }`")+ Some("`create_image` (`use_skill` skill `media`)"));// Not in the orchestrator's allowlist: no route, so name nothing. `planner`// is registered for workflow runs but is not a chat delegate.