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
feat(orchestrator): route saved-workflow lookups through the builder specialist
Steven Enamakelb89187b3acde
diff --git a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.mdindex c0ef2bfffb..7c37130faa 100644--- a/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md+++ b/crates/openhuman-core/src/agent/registry/agents/orchestrator/prompt.md@@ -35,4 +35,4 @@ Three or more steps? Track them on `todo` cards. Don't stop with a plan: execute## Scheduling and workflows-Reminders and jobs live in skill `scheduling`: propose the exact timing and get an explicit yes before creating any schedule; every date or time argument comes from `resolve_time`. Building or editing a saved workflow goes through the `build_workflow` specialist; use `blocking: true` when this reply depends on the result. To find an existing workflow, use the `discover_workflows` specialist the same way. Read a saved workflow's definition or runs through skill `workflows` for the read-only lookups, but never try to author one through that skill: its authoring entries are hand-off tools.+Reminders and jobs live in skill `scheduling`: propose the exact timing and get an explicit yes before creating any schedule; every date or time argument comes from `resolve_time`. Building or editing a saved workflow goes through the `build_workflow` specialist; use `blocking: true` when this reply depends on the result. To find or inspect an existing saved workflow, use the `build_workflow` specialist with `blocking: true`: it can list saved flows and return a flow's definition before any edit. Use `discover_workflows` only to suggest new automations. Use skill `workflows` for read-only installed-skill and run lookups, but never try to author one through that skill: its authoring entries are hand-off tools.diff --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 c5c4df2c8f..200703a7cd 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@@ -116,6 +116,10 @@ fn prompt_routes_workflow_authoring_to_the_builder_not_use_skill() {ARCHETYPE.contains("`build_workflow` specialist"),"the rule must name the delegate to call");+ assert!(+ ARCHETYPE.contains("it can list saved flows and return a flow's definition"),+ "saved-flow lookup must route to the specialist that can return its result"+ );// The rule is only true because these are the real names. Asserting the// prompt against itself would survive a rename of either side; asserting it@@ -142,6 +146,12 @@ fn prompt_routes_workflow_authoring_to_the_builder_not_use_skill() {"the prompt tells the model to call `build_workflow`; that must still be \workflow_builder's delegate_name, or the rule names a tool nobody has");+ for tool in ["list_flows", "get_flow"] {+ assert!(+ builder.tool_scope.allows(tool),+ "the saved-flow lookup route needs `{tool}` on workflow_builder's belt"+ );+ }}/// #6302: the hand-off the skills and MCP sections name is the call this