Skip to content

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

agent: stopping is conditioned on the whole contract, not one passing check

killbill08861220958c
diff --git a/crates/openhuman-core/src/agent/tinyagents/verify_before_finish.rs b/crates/openhuman-core/src/agent/tinyagents/verify_before_finish.rs
index 9d006655e0..01965902ce 100644
--- a/crates/openhuman-core/src/agent/tinyagents/verify_before_finish.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/verify_before_finish.rs
@@ -58,8 +58,10 @@ will be judged: the exact path, file name, command line, port or format, and the
allowed or forbidden elements where a list is given. A check through a copied helper, a \
scratch launcher, a different entry point or a metric of your own is a debugging signal, \
not proof. Where the request states a number or a reference to meet, measure against that \
-and state the measured value. Once the check through the real interface passes, that state \
-is the result: stop exploring and stop polishing.\n\
+and state the measured value. Once every check the contract names passes, the named tests, \
+verifier script or reference tool included, that state is the result: stop exploring and \
+stop polishing. One passing check through the real interface is not the whole contract; a \
+named test still failing or never run means you are not done.\n\
7. Leave the result as requested, not as your checks left it: remove what your checks \
created that the request did not ask for (build outputs, compiled binaries, scratch and \
test files), especially next to the deliverable, then confirm that what remains is exactly \
diff --git a/crates/openhuman-core/src/agent/tinyagents/verify_before_finish_tests.rs b/crates/openhuman-core/src/agent/tinyagents/verify_before_finish_tests.rs
index efa13397c5..9a75c932ca 100644
--- a/crates/openhuman-core/src/agent/tinyagents/verify_before_finish_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/verify_before_finish_tests.rs
@@ -164,7 +164,9 @@ fn check_is_a_harness_instruction_that_names_the_spec_rules() {
"exact interface the request names",
"allowed or forbidden elements where a list is given",
"state the measured value",
- "stop exploring and stop polishing",
+ "stop exploring and",
+ "Once every check the contract names passes",
+ "named test still failing or never run",
] {
assert!(check.contains(needle), "check must mention `{needle}`");
}