Skip to content

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

test(agent): add session harness tests for part 04\n\nAdds a new test module covering session harness behaviour in the part 04\nsuite. The tests exercise the session lifecycle paths that were previously\nuncovered.\n\nAuto-committed-on: macbook\n

Steven Enamakelb7836b408e85
diff --git a/src/openhuman/agent/harness/session/session_tests_part_04_tests.rs b/src/openhuman/agent/harness/session/session_tests_part_04_tests.rs
index a19048af11..67e76a3f32 100644
--- a/src/openhuman/agent/harness/session/session_tests_part_04_tests.rs
+++ b/src/openhuman/agent/harness/session/session_tests_part_04_tests.rs
@@ -120,7 +120,7 @@ fn an_unchanged_integration_set_leaves_the_tool_block_byte_stable() {
agent.refresh_delegation_tools();
let first = wire_block(&agent);
assert!(
- first.iter().any(|(name, _)| name.starts_with("delegate_")),
+ first.iter().any(|(name, _, _)| name.starts_with("delegate_")),
"the fixture must actually synthesise delegates, or this pins nothing"
);