Skip to content

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

docs(tools): clarify domain filter comment in all_tools_with_runtime

Steven Enamakeld75acb55de13
diff --git a/crates/openhuman-core/src/tools/ops.rs b/crates/openhuman-core/src/tools/ops.rs
index b6afdbf7c9..0e64997009 100644
--- a/crates/openhuman-core/src/tools/ops.rs
+++ b/crates/openhuman-core/src/tools/ops.rs
@@ -918,13 +918,10 @@ pub fn all_tools_with_runtime(
// Post-filters over the assembled list:
//
// 1. DomainSet (#4796): drop tools whose DomainGroup is disabled under the
- // ambient CoreContext. With no active context, or under
- // `DomainSet::full()`, every tool is kept (byte-identical). Under
- // `harness()` the gate-family tools (web3/mcp/skills/flows/media/voice)
- // are dropped so agent turns can't call a domain that isn't live;
- // only the memory + threads tools survive (the mapped harness families)
- // — see `tool_group` for the classification and its Platform-default
- // caveat. Default OPEN: with no ambient context the list is unchanged.
+ // ambient CoreContext; no context, or `DomainSet::full()`, keeps every
+ // tool. Under `harness()` only the memory + threads families survive
+ // (see `tool_group` and its Platform-default caveat). In SaaS,
+ // `user_agents::tools::admits` also applies the operator's host groups.
let before = tools.len();
let domains = crate::core::runtime::context::CoreContext::current().map(|c| c.domains());
let mut tools: Vec<Box<dyn Tool>> = if let Some(set) = domains {