Skip to content

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

fix(tools): clarify thread_ prefix handling and remove people_ mapping

Steven Enamakel6e836837714f
diff --git a/src/openhuman/tools/ops.rs b/src/openhuman/tools/ops.rs
index 5a6c67f6d3..f277d8b078 100644
--- a/src/openhuman/tools/ops.rs
+++ b/src/openhuman/tools/ops.rs
@@ -1345,6 +1345,10 @@ fn tool_group(name: &str) -> crate::core::all::DomainGroup {
return DomainGroup::Memory;
}
// Threads family (harness-kept): thread_* + todo_* + per-thread goal + search.
+ // `thread_` is kept as a prefix even though the `thread_*` agent-tool
+ // family was removed: `todo_`, `goal_*` and the THREADS_EXTRA entries still
+ // classify here, and a future threads tool should land in Threads rather
+ // than falling through to Platform.
if name.starts_with("thread_") || name.starts_with("todo_") || THREADS_EXTRA.contains(&name) {
return DomainGroup::Threads;
}
@@ -1373,9 +1377,6 @@ fn tool_group(name: &str) -> crate::core::all::DomainGroup {
if name.starts_with("config_") || name.starts_with("workspace_") {
return DomainGroup::Config;
}
- if name.starts_with("people_") {
- return DomainGroup::Memory;
- }
if name.starts_with("security_")
|| name.starts_with("credential_")
|| name.starts_with("session_")