Skip to content

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

fix(test): update test expectations for builtin definitions

Steven Enamakelb22f19e8528c
diff --git a/crates/openhuman-core/src/agent/harness/builtin_definitions_tests.rs b/crates/openhuman-core/src/agent/harness/builtin_definitions_tests.rs
index 9e1e66ad57..1de6fb175c 100644
--- a/crates/openhuman-core/src/agent/harness/builtin_definitions_tests.rs
+++ b/crates/openhuman-core/src/agent/harness/builtin_definitions_tests.rs
@@ -94,10 +94,24 @@ fn expected_builtin_ids_are_present() {
"orchestrator",
"planner",
"task_manager_agent",
- "profile_memory_agent",
"critic",
- "archivist",
"summarizer",
+ ] {
+ assert!(ids.contains(&expected.to_string()), "missing {expected}");
+ }
+ for removed in [
+ "archivist",
+ "profile_memory_agent",
+ "flow_memory_agent",
+ "goals_agent",
+ "agent_memory",
+ ] {
+ assert!(
+ !ids.contains(&removed.to_string()),
+ "v1 memory agent {removed} must stay removed"
+ );
+ }
+ for expected in [
// Gated with `flows` (#4797) — absent from a slim build.
#[cfg(feature = "flows")]
"workflow_builder",