Skip to content

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

test(orchestrator): update session routing assertions for backticked skill names

Steven Enamakeledaa98edb80e
diff --git a/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt_tests_session_routing_tests.rs b/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt_tests_session_routing_tests.rs
index 3d8a0e8e03..008218c691 100644
--- a/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt_tests_session_routing_tests.rs
+++ b/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt_tests_session_routing_tests.rs
@@ -61,7 +61,7 @@ fn the_withheld_block_renders_for_a_renamed_session_with_a_filter() {
// A packed delegate no Cargo feature gates must always render with its
// route; this is the row that pins the block in every build profile.
assert!(
- block.contains("`tasks` (manage_tasks"),
+ block.contains("`tasks` (`manage_tasks`"),
"a packed delegate must render with its route:\n{block}"
);
// `make_presentation` is a `documents`-gated skill: under `default` it is
@@ -69,7 +69,7 @@ fn the_withheld_block_renders_for_a_renamed_session_with_a_filter() {
// reads as a broken block (which is how openhuman#6507 came to be filed
// and retracted). Assert it exactly when the feature is on, and assert its
// absence when it is off, so the expectation tracks the build profile.
- let presentation_row = block.contains("`documents` (make_presentation");
+ let presentation_row = block.contains("`documents` (`make_presentation`");
assert_eq!(
presentation_row,
cfg!(feature = "documents"),