Skip to content

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

fix(tests): align assertion strings with prompt wording\n\nUpdated test assertions in the orchestrator prompt tests to match recent wording changes in the prompt itself. The result-gating rule assertion now checks for "work runs synchronously" instead of "tasks run synchronously", and the specialist routing assertions no longer expect the "use `" prefix, reflecting that the prompt now references these tools without that leading verb.\n\nAuto-committed-on: dragonfly\n

Steven Enamakelc468352ab6ee
diff --git a/src/openhuman/agent/registry/agents/orchestrator/prompt.rs b/src/openhuman/agent/registry/agents/orchestrator/prompt.rs
index 0431d0ef5b..bd22de2607 100644
--- a/src/openhuman/agent/registry/agents/orchestrator/prompt.rs
+++ b/src/openhuman/agent/registry/agents/orchestrator/prompt.rs
@@ -434,7 +434,7 @@ mod tests {
// finalized before the critique ran. The orchestrator prompt must
// explicitly route result-gating work to a synchronous/awaited path.
assert!(
- ARCHETYPE.contains("Result-gating tasks run synchronously"),
+ ARCHETYPE.contains("Result-gating work runs synchronously"),
"orchestrator prompt must carry the result-gating delegation rule"
);
// It must steer such tasks to a synchronous/awaited primitive rather
@@ -839,9 +839,9 @@ mod tests {
#[test]
fn build_routes_prompt_heavy_domains_to_specialists() {
let body = build(&ctx_with(&[])).unwrap();
- assert!(body.contains("use `ask_docs`"));
- assert!(body.contains("use `schedule_task`"));
- assert!(body.contains("use `make_presentation`"));
+ assert!(body.contains("`ask_docs`"));
+ assert!(body.contains("`schedule_task`"));
+ assert!(body.contains("`make_presentation`"));
assert!(
!body.contains("## Presentation generation"),
"presentation-specific grounding policy belongs in presentation_agent"