Skip to content

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

fix(tests): tighten disabled-case validation and clarify integration test

Steven Enamakel4b3b972ff06f
diff --git a/scripts/prompt-eval.sh b/scripts/prompt-eval.sh
index 2e179c0edc..066e19528b 100755
--- a/scripts/prompt-eval.sh
+++ b/scripts/prompt-eval.sh
@@ -14,7 +14,8 @@
# (BACKEND_URL optional). --real-workspace instead runs against the signed-in
# ~/.openhuman, where the core reads its own keyring — no credential handling,
# but it writes into the user's real account, is serial, and the desktop app
-# must be quit first. See docs/prompt-evals.md for the cleanup it leaves.
+# must be quit first. See docs/prompt-evals.md for the account-side cleanup it
+# leaves.
# Either way every case runs in its own `openhuman-core call` subprocesses, so
# the process-global model override and `AlreadyRunning` never come into it.
#
@@ -107,7 +108,7 @@ for run in $(seq 1 "$RUNS"); do
cleanup_ws
continue
fi
- python3 -c 'import json,sys; c=json.load(open(sys.argv[1])); case=next(x for x in c["cases"] if x["id"]==sys.argv[2]); assert case.get("forbid_calls"), "disabled case must define forbidden calls"; assert case.get("_gate"), "disabled case must document its gate"' "$CASES" "$id"
+ python3 -c 'import json,sys; c=json.load(open(sys.argv[1])); case=next(x for x in c["cases"] if x["id"]==sys.argv[2]); forbidden=case.get("forbid_calls"); assert isinstance(forbidden,list) and forbidden and all(isinstance(x,str) and x for x in forbidden), "disabled case must define non-empty string forbidden-call matchers"; assert case.get("_gate"), "disabled case must document its gate"' "$CASES" "$id"
fi
# `call` does not run the server's boot-env credential seeding, so install it.
diff --git a/tests/agent_prompt_comprehension_e2e.rs b/tests/agent_prompt_comprehension_e2e.rs
index 119c32ea63..283456cc99 100644
--- a/tests/agent_prompt_comprehension_e2e.rs
+++ b/tests/agent_prompt_comprehension_e2e.rs
@@ -861,13 +861,9 @@ fn orchestrator_hands_integration_work_to_the_specialist() {
/// The integrations specialist, reached through that hand-off, holds the
/// Composio execution surface and none of the orchestrator's hand-offs.
///
-/// Ignored because it fails today, and the failure is the finding: a
-/// toolkit-scoped integrations_agent runs in text mode (`subagent_runner`
-/// `ops/runner.rs`, no native `tools`), but its `## Tools` catalogue is only
-/// rendered when the *parent's* `tool_call_format` is not Native
-/// (`prompts/render_helpers/subagent.rs`). Under a native-tool orchestrator the
-/// child is told how to call tools and never told which tools exist. Remove the
-/// `ignore` with the fix.
+/// The toolkit-scoped integrations agent runs in text mode, so this also pins
+/// the text-mode `Call as: NAME[...]` catalogue rather than only native tool
+/// declarations.
#[test]
fn integrations_agent_holds_the_composio_surface() {
run_case(Case {