Skip to content

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

ci: allow agent progress imports in progress tests

Steven Enamakel5d8467bcb773
diff --git a/scripts/ci/check-agent-runtime-boundary.mjs b/scripts/ci/check-agent-runtime-boundary.mjs
index a8c9f7a132..4ed16c6c82 100644
--- a/scripts/ci/check-agent-runtime-boundary.mjs
+++ b/scripts/ci/check-agent-runtime-boundary.mjs
@@ -189,6 +189,10 @@ function isNativeAgentProgressReference(path, text, source = text) {
}
if (path === `${harness}turn_runner/mod_tests.rs`)
return /\bcrate\s*::\s*progress\s*::\s*AgentProgress\b/.test(text);
+ if (path === `${harness}progress_tests.rs`)
+ return /^\s*use\s+crate::progress::AgentProgress\s*;\s*$/m.test(
+ rustCode(source),
+ );
return false;
}