Skip to content

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

chore: files changed crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation_host.r

Steven Enamakelb09aac8a13dd
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation_host.rs b/crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation_host.rs
index 8428d8682d..f72e6d1cf2 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation_host.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/archetype_delegation_host.rs
@@ -67,8 +67,7 @@ impl Tool for ArchetypeDelegationTool {
/// sends them keeps working. `blocking` keeps its description because its
/// default is behaviour-critical and not inferable from the name.
///
- /// Shared with the collapsed `delegate_to` through
- /// [`delegation_envelope_properties`]; enforced by
+ /// Shared by archetype delegates through [`delegation_envelope_properties`]; enforced by
/// `envelope_descriptions_stay_within_budget`.
fn parameters_schema(&self) -> serde_json::Value {
json!({
@@ -250,8 +249,7 @@ pub(super) fn render_structured_handoff(prompt: &str, args: &Value) -> String {
out
}
-/// The advertised hand-off envelope, shared by every member delegate and the
-/// collapsed `delegate_to` so the two cannot drift. Only `prompt` and
+/// The advertised hand-off envelope shared by every member delegate. Only `prompt` and
/// `blocking` are offered; the structured fields (`objective`, `evidence`,
/// `constraints`, `must_not_assume`, `expected_output`,
/// `citation_requirement`, `model`) are still read by
diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory.rs b/crates/openhuman-core/src/agent/session_host/builder/factory.rs
index 3be824d4a5..b556ac4e0b 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/factory.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/factory.rs
@@ -437,12 +437,9 @@ impl OpenHumanSessionHost {
let mut set: std::collections::HashSet<String> =
names.iter().cloned().collect();
// Only the *advertised* ones. A synthesised tool that
- // reports `ToolExposure::Hidden` is a member of a
- // collapsed tool — today every `ArchetypeDelegationTool`,
- // whose family the single `delegate_to` tool now stands
- // for. Inserting it here would put it back on the wire
- // beside the tool that replaced it, shipping both
- // surfaces and saving nothing.
+ // reports `ToolExposure::Hidden` stays off the wire.
+ // Inserting it here would defeat the exposure policy and
+ // duplicate the route through a second surface.
//
// This is not the same judgement as
// `strip_deferred_from_visible`, which deliberately
diff --git a/crates/openhuman-core/src/tools/impl/system/mod.rs b/crates/openhuman-core/src/tools/impl/system/mod.rs
index 9b0a559c8e..c3932264cc 100644
--- a/crates/openhuman-core/src/tools/impl/system/mod.rs
+++ b/crates/openhuman-core/src/tools/impl/system/mod.rs
@@ -1,5 +1,5 @@
//! Cross-cutting system tools: shell, Node/npm/Python execution, tool
-//! detection/install, time helpers, LSP, proxy config, update check/apply.
+//! detection/install, time helpers, proxy config, update check/apply.
//! Each family, its tool structs, and its registration gates are catalogued in
//! `tools/impl/README.md`.