Skip to content

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

docs(tools): add module-level doc comments to tool implementation modules

Steven Enamakel4fd1fb04ca1a
diff --git a/crates/openhuman-core/src/tools/impl/browser/mod.rs b/crates/openhuman-core/src/tools/impl/browser/mod.rs
index 22f6e9ef5c..5e42c6a647 100644
--- a/crates/openhuman-core/src/tools/impl/browser/mod.rs
+++ b/crates/openhuman-core/src/tools/impl/browser/mod.rs
@@ -1,3 +1,7 @@
+//! Browser tools: DOM-snapshot automation (`BrowserTool` with pluggable
+//! backends), `BrowserOpenTool`, and `ImageInfoTool`. Gates and the host
+//! allowlist rules are documented in `tools/impl/README.md`.
+
#[allow(clippy::module_inception)]
mod browser;
mod browser_open;
diff --git a/crates/openhuman-core/src/tools/impl/filesystem/mod.rs b/crates/openhuman-core/src/tools/impl/filesystem/mod.rs
index f39cf9ce9a..1fbefd5116 100644
--- a/crates/openhuman-core/src/tools/impl/filesystem/mod.rs
+++ b/crates/openhuman-core/src/tools/impl/filesystem/mod.rs
@@ -1,3 +1,9 @@
+//! Cross-cutting filesystem tools: read/write/edit/patch, grep/glob/list,
+//! diffs, CSV export, git operations, linter/test runners. Every tool struct
+//! and its registration gate is listed in `tools/impl/README.md`;
+//! `security_for_tool_context` below resolves the `SecurityPolicy` for a tool
+//! run and is mirrored by the `system` family.
+
mod apply_patch;
mod csv_export;
mod edit_file;
diff --git a/crates/openhuman-core/src/tools/impl/network/mod.rs b/crates/openhuman-core/src/tools/impl/network/mod.rs
index 76107b08fa..cc7d3b37dc 100644
--- a/crates/openhuman-core/src/tools/impl/network/mod.rs
+++ b/crates/openhuman-core/src/tools/impl/network/mod.rs
@@ -1,3 +1,8 @@
+//! Network tools: HTTP request/fetch/curl, GitBooks docs lookup, Gmail
+//! unsubscribe, and (under the `mcp` feature) the MCP client/setup tools.
+//! `url_guard` is the shared SSRF/allowlist validator. Registration gates are
+//! documented in `tools/impl/README.md`.
+
mod curl;
mod gitbooks;
mod gmail_unsubscribe;
diff --git a/crates/openhuman-core/src/tools/impl/system/mod.rs b/crates/openhuman-core/src/tools/impl/system/mod.rs
index 505a9732c1..0c6385ee13 100644
--- a/crates/openhuman-core/src/tools/impl/system/mod.rs
+++ b/crates/openhuman-core/src/tools/impl/system/mod.rs
@@ -1,3 +1,9 @@
+//! Cross-cutting system tools: shell, Node/npm/Python execution, tool
+//! detection/install, time helpers, LSP, proxy config, update check/apply.
+//! Each family, its tool structs, and its registration gates are catalogued in
+//! `tools/impl/README.md`; `security_for_tool_context` below is the shared
+//! `SecurityPolicy` resolver that must stay in step with the `filesystem` copy.
+
mod command_output;
mod current_time;
mod detect_tools;