Skip to content

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

fix(tools): handle missing tool output gracefully

Steven Enamakel56b0614a46b2
diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rs
index 2e075eac99..dcbbc93826 100644
--- a/crates/openhuman-core/src/tools/ops.rs
+++ b/crates/openhuman-core/src/tools/ops.rs
@@ -450,6 +450,19 @@ pub fn all_tools_with_runtime(
security.clone(),
action_dir.to_path_buf(),
)),
+ // Review loop for skill `coding` (and the workflow-run `critic`):
+ // diff, lint and test the working tree in the action sandbox. They
+ // were defined but never registered, so the belts naming them held
+ // nothing. `Deferred`, so they cost no schema until found.
+ Box::new(crate::tools::implementations::ReadDiffTool::new(
+ action_dir.to_path_buf(),
+ )),
+ Box::new(crate::tools::implementations::RunLinterTool::new(
+ action_dir.to_path_buf(),
+ )),
+ Box::new(crate::tools::implementations::RunTestsTool::new(
+ action_dir.to_path_buf(),
+ )),
Box::new(PushoverTool::new(
security.clone(),
action_dir.to_path_buf(),