Skip to content

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

chore: remove unused test files

Steven Enamakel0e8abbffaa41
diff --git a/crates/openhuman-core/src/agent/registry/agents/fleet_prompt_tests.rs b/crates/openhuman-core/src/agent/registry/agents/fleet_prompt_tests.rs
index adc487cf21..c3747deb52 100644
--- a/crates/openhuman-core/src/agent/registry/agents/fleet_prompt_tests.rs
+++ b/crates/openhuman-core/src/agent/registry/agents/fleet_prompt_tests.rs
@@ -259,7 +259,6 @@ const KNOWN_UNCALLABLE: &[(&str, &str, &str)] = &[
"an example of a payload's source tool",
),
("workflow_builder", "http_request", "a flow node kind"),
- ("workflow_builder", "memory", "a flow node kind"),
("workflow_builder", "schedule", "a flow trigger field"),
("workflow_builder", "shell", "a flow node kind"),
(
diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs
index dad1f3a7da..8a599fa5ed 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests.rs
@@ -49,7 +49,7 @@ fn builtin_def(id: &str) -> crate::agent::harness::definition::AgentDefinition {
/// `tools_agent` was removed), so the shape is synthesised from a real
/// built-in: same parsing and defaults, only the id and the belt differ.
fn wildcard_probe_def() -> crate::agent::harness::definition::AgentDefinition {
- let mut def = builtin_def("archivist");
+ let mut def = builtin_def("summarizer");
def.id = "wildcard_probe".to_string();
def.delegate_name = None;
def.tools = crate::agent::harness::definition::ToolScope::Wildcard;
diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs
index 113de49d0a..c91783ef14 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs
@@ -200,18 +200,22 @@ fn named_belt_without_tool_search_reaches_no_deferred_tool() {
}
/// A hand-written `[tools] named` belt is left exactly as written: exposure is
-/// only for the wildcard belt. `flow_memory_agent` names three read-only
-/// `memory_*` tools; swapping them for `memory` would hand it `store`/`forget`.
+/// only for the wildcard belt. `critic` names `file_read` among its tools; it
+/// must keep it and gain nothing a wildcard would add.
#[test]
-fn named_belt_keeps_its_legacy_members() {
- let visible = visible_names("flow_memory_agent");
+fn named_belt_keeps_its_listed_members() {
+ let visible = visible_names("critic");
assert!(
- visible.contains("memory_recall"),
+ visible.contains("file_read"),
"named belt must keep the members it lists; got {visible:?}"
);
+ assert!(
+ !visible.contains("shell"),
+ "named belt must not gain unlisted tools; got {visible:?}"
+ );
assert!(
!visible.contains(crate::memory::tools::MEMORY_TOOL_NAME),
- "named belt must not gain the collapsed tool; got {visible:?}"
+ "named belt must not gain the memory tool; got {visible:?}"
);
}
diff --git a/crates/openhuman-core/src/agent/subagent_host/tool_prep_tests.rs b/crates/openhuman-core/src/agent/subagent_host/tool_prep_tests.rs
index 70818ea098..36525c83c1 100644
--- a/crates/openhuman-core/src/agent/subagent_host/tool_prep_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/tool_prep_tests.rs
@@ -25,7 +25,6 @@ fn unprefixed_delegate_name_overrides_are_treated_as_spawn_tools() {
// `documents` feature.
#[cfg(feature = "documents")]
"make_presentation",
- "archive_session",
] {
assert!(
is_subagent_spawn_tool(delegate),