Skip to content

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

chore(security, tools): reorder module declarations and reformat tool list

Steven Enamakelc0629a70fd4d
diff --git a/crates/openhuman-core/src/security/policy/policy_action_dir_tests.rs b/crates/openhuman-core/src/security/policy/policy_action_dir_tests.rs
index b0a290e055..d2e3a16399 100644
--- a/crates/openhuman-core/src/security/policy/policy_action_dir_tests.rs
+++ b/crates/openhuman-core/src/security/policy/policy_action_dir_tests.rs
@@ -82,4 +82,3 @@ fn from_config_does_not_grant_an_action_dir_covering_the_workspace() {
policy.trusted_roots
);
}
-
diff --git a/crates/openhuman-core/src/security/policy/policy_tests.rs b/crates/openhuman-core/src/security/policy/policy_tests.rs
index 9d27679132..7ac4d0d8f3 100644
--- a/crates/openhuman-core/src/security/policy/policy_tests.rs
+++ b/crates/openhuman-core/src/security/policy/policy_tests.rs
@@ -73,14 +73,14 @@ fn turn_workspace_policy() -> (tempfile::TempDir, PathBuf, SecurityPolicy) {
(root, checkout, policy)
}
+#[path = "policy_action_dir_tests.rs"]
+mod action_dir_tests;
#[path = "policy_allowlist_tests.rs"]
mod allowlist_tests;
#[path = "policy_injection_tests.rs"]
mod injection_tests;
#[path = "policy_paths_and_risk_tests.rs"]
mod paths_and_risk_tests;
-#[path = "policy_action_dir_tests.rs"]
-mod action_dir_tests;
#[path = "policy_trusted_roots_tests.rs"]
mod trusted_roots_tests;
#[path = "policy_workspace_internal_tests.rs"]
diff --git a/crates/openhuman-core/src/tools/toolpacks/registry.rs b/crates/openhuman-core/src/tools/toolpacks/registry.rs
index 941c244173..f4f60be124 100644
--- a/crates/openhuman-core/src/tools/toolpacks/registry.rs
+++ b/crates/openhuman-core/src/tools/toolpacks/registry.rs
@@ -254,13 +254,7 @@ pub const PACKS: &[ToolPack] = &[
// no file at all, and `meal-plan` burned eleven rounds discovering it
// had no writer. One ~300 B schema per turn is the right price for the
// single most common assistant task.
- tools: &[
- "file_read",
- "grep",
- "glob",
- "list",
- "git_operations",
- ],
+ tools: &["file_read", "grep", "glob", "list", "git_operations"],
owners: &[
"code_executor",
"critic",