Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(tests): use crate-relative paths in delegation tests and simplify doc comment

Steven Enamakelcf5cc321778e
diff --git a/src/openhuman/agent/orchestration/tools/collapsed_delegation_tests.rs b/src/openhuman/agent/orchestration/tools/collapsed_delegation_tests.rs
index e4ae99bf15..1b2127da76 100644
--- a/src/openhuman/agent/orchestration/tools/collapsed_delegation_tests.rs
+++ b/src/openhuman/agent/orchestration/tools/collapsed_delegation_tests.rs
@@ -106,9 +106,10 @@ fn adding_a_target_costs_only_its_name_and_description() {
// growth must be linear in the *description*, not in the envelope.
let one = CollapsedDelegationTool::for_targets(vec![DelegateTarget {
tool_name: "research".to_string(),
- agent_id: openhuman::agent::orchestration::tools::archetype_delegation::DelegationTarget(
- "researcher".to_string(),
- ),
+ agent_id:
+ crate::openhuman::agent::orchestration::tools::archetype_delegation::DelegationTarget(
+ "researcher".to_string(),
+ ),
description: String::new(),
}])
.expect("non-empty");
@@ -218,9 +219,10 @@ fn every_member_is_hidden_so_the_collapse_actually_saves_something() {
// save nothing, and nothing else in the build would notice.
let member = ArchetypeDelegationTool {
tool_name: "research".to_string(),
- agent_id: openhuman::agent::orchestration::tools::archetype_delegation::DelegationTarget(
- "researcher".to_string(),
- ),
+ agent_id:
+ crate::openhuman::agent::orchestration::tools::archetype_delegation::DelegationTarget(
+ "researcher".to_string(),
+ ),
tool_description: "Web research.".to_string(),
};
assert_eq!(member.exposure(), ToolExposure::Hidden);
diff --git a/src/openhuman/skills/ops_discover.rs b/src/openhuman/skills/ops_discover.rs
index 1ad82569e7..17b3ed3374 100644
--- a/src/openhuman/skills/ops_discover.rs
+++ b/src/openhuman/skills/ops_discover.rs
@@ -182,10 +182,8 @@ pub(crate) fn discover_workflows_inner(
}
/// Discover only automation bundles under the `workflows/` roots.
-/// Capability skills (under the `skills/` / `.agents/skills/` / legacy
-/// `<workspace>/skills/` roots) are deliberately excluded so they don't show up
-/// as task templates. They remain fully available to the agent harness and the
-/// run/describe paths via [`discover_workflows`] / [`load_workflow_metadata`].
+/// Capability skills are deliberately excluded; they remain available to the
+/// agent harness and run/describe paths.
///
/// Note: bundles authored *before* the skills→workflows rename live under the
/// `skills/` roots and will therefore not appear in this automations-only view;