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
test(toolpacks): assert retired specialist aliases are unpacked
Steven Enamakel4bcc2f6773ef
diff --git a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rsindex 66c5c498ca..e30b507870 100644--- a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs+++ b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs@@ -160,8 +160,6 @@ fn every_pack_declares_the_tools_it_is_named_for() {("workflows",&[- "build_workflow",- "discover_workflows","run_workflow","await_workflow","describe_workflow",@@ -246,12 +244,6 @@ fn every_pack_declares_the_tools_it_is_named_for() {("skills",&[- // Ranked lookup over installed skills. Deliberately IN this- // pack rather than advertised: on its own it produced ids for- // skills whose `describe_workflow` / run route were still- // withheld — 748 B on every wildcard agent for a doorway to a- // locked room.- "setup_skills","skill_search","skill_registry_browse","skill_registry_search",@@ -269,7 +261,6 @@ fn every_pack_declares_the_tools_it_is_named_for() {&["generate_document","generate_presentation",- "make_presentation",],),(@@ -343,13 +334,11 @@ fn every_pack_declares_the_tools_it_is_named_for() {&["create_image","create_video",- "analyze_image","media_generate_image","media_generate_video","media_list_models",],),- ("tasks", &["manage_tasks"]),("goals", &["goal_get", "goal_set"]),("docs", &["gitbooks_search", "gitbooks_get_page"]),];diff --git a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests_scoping_and_visibility_tests.rs b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests_scoping_and_visibility_tests.rsindex 3a95e02576..132748d788 100644--- a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests_scoping_and_visibility_tests.rs+++ b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests_scoping_and_visibility_tests.rs@@ -307,16 +307,21 @@ fn the_workflows_pack_is_still_owned_by_the_flow_agents() {// ── #6302: the MCP and skill hand-offs, and the packs they close ───────────-/// `setup_skills` is a packed hand-off like `build_workflow` and-/// `manage_tasks`: it rides in the `skills` pack it hands off into, so the-/// orchestrator reaches it through `use_skill` instead of paying its schema on-/// every request.+/// The former specialist aliases are no longer registered or packed; the+/// orchestrator uses the shared spawn tool with an agent id.#[test]-fn the_skill_install_hand_off_is_packed_in_the_skills_pack() {- assert_eq!(- registry::pack_for_tool("setup_skills").map(|pack| pack.id),- Some("skills")- );+fn retired_specialist_aliases_are_not_packed() {+ for alias in [+ "setup_skills",+ "manage_tasks",+ "build_workflow",+ "discover_workflows",+ "make_presentation",+ "analyze_image",+ ] {+ assert_eq!(registry::pack_for_tool(alias), None, "{alias}");+ assert!(!registry::all_packed_tool_names().contains(&alias), "{alias}");+ }}/// The spawn tool closes only packs owned by specialists in its allowed-id