Skip to content

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

test(workflow_builder): remove tool wording regression tests

Steven Enamakel3be17f39ebaa
diff --git a/crates/openhuman-core/src/flows/agents/workflow_builder/mod.rs b/crates/openhuman-core/src/flows/agents/workflow_builder/mod.rs
index 7a2a9aea7a..340ec44f00 100644
--- a/crates/openhuman-core/src/flows/agents/workflow_builder/mod.rs
+++ b/crates/openhuman-core/src/flows/agents/workflow_builder/mod.rs
@@ -14,9 +14,5 @@
pub mod prompt;
-#[cfg(test)]
-#[path = "tool_wording_tests.rs"]
-mod tool_wording_tests;
-
/// The harness-independent turn brief, from `tinyflows-copilot`.
pub use tinyflows_copilot::builder as builder_prompt;
diff --git a/crates/openhuman-core/src/flows/agents/workflow_builder/tool_wording_tests.rs b/crates/openhuman-core/src/flows/agents/workflow_builder/tool_wording_tests.rs
deleted file mode 100644
index e782542bc9..0000000000
--- a/crates/openhuman-core/src/flows/agents/workflow_builder/tool_wording_tests.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-//! Host-side coverage for the copilot's tool-facing wording.
-//!
-//! `tinyflows-copilot` pins what the standing archetype says. It cannot pin
-//! what *this host's* tool descriptions say, and the two have to agree: the
-//! archetype tells the model that an `agent_ref` step runs the selected
-//! specialist's full tool loop, and `list_agent_definitions`' own description used
-//! to contradict that with stale "follow-up" / "for now" wording.
-
-#[cfg(test)]
-#[path = "tool_wording_tests_tests.rs"]
-mod tests;
diff --git a/crates/openhuman-core/src/flows/agents/workflow_builder/tool_wording_tests_tests.rs b/crates/openhuman-core/src/flows/agents/workflow_builder/tool_wording_tests_tests.rs
deleted file mode 100644
index 7d0a45cf0c..0000000000
--- a/crates/openhuman-core/src/flows/agents/workflow_builder/tool_wording_tests_tests.rs
+++ /dev/null
@@ -1,24 +0,0 @@
-/// `list_agent_definitions`'s own tool description used to discourage
-/// `agent_ref` with stale "follow-up"/"for now" wording (issue B37, Gap 1) —
-/// pin that it now correctly describes the harness's full tool loop instead.
-#[test]
-fn list_agent_definitions_tool_description_has_no_stale_followup_language() {
- use crate::flows::builder_tools::ListAgentDefinitionsTool;
- use tinytools::Tool;
-
- let description = ListAgentDefinitionsTool::new().description().to_string();
-
- for banned in ["is a follow-up", "for now"] {
- assert!(
- !description.contains(banned),
- "list_agent_definitions description must not carry the stale \
- phrasing `{banned}` — an agent_ref step already gets the \
- selected specialist's full tool loop"
- );
- }
- assert!(
- description.contains("tool loop"),
- "list_agent_definitions description must describe agent_ref as running \
- the specialist's full tool loop"
- );
-}