Skip to content

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

test: use builtins-only registry in prompt comprehension test

Steven Enamakel95367540068a
diff --git a/tests/agent_prompt_comprehension_e2e.rs b/tests/agent_prompt_comprehension_e2e.rs
index 0478cc6931..119c32ea63 100644
--- a/tests/agent_prompt_comprehension_e2e.rs
+++ b/tests/agent_prompt_comprehension_e2e.rs
@@ -1020,7 +1020,9 @@ fn orchestrator_prompt_names_only_discoverable_delegates() {
let prompt = system_text(orchestrator);
let belt = advertised_tool_names(orchestrator);
let request_text = orchestrator.to_string();
- let registry = AgentDefinitionRegistry::global().expect("registry initialised");
+ // Validate the built-in contract independently of the process-global
+ // registry, which other integration tests may initialise first.
+ let registry = AgentDefinitionRegistry::builtins_only();
let undiscoverable: Vec<String> = registry
.list()