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/user_agents/surface.rs

Steven Enamakel9035950ddade
diff --git a/crates/openhuman-core/src/user_agents/surface.rs b/crates/openhuman-core/src/user_agents/surface.rs
index f3b888d49c..3ae7694f43 100644
--- a/crates/openhuman-core/src/user_agents/surface.rs
+++ b/crates/openhuman-core/src/user_agents/surface.rs
@@ -16,6 +16,10 @@ use crate::core::runtime::{is_saas, CoreContext};
/// Every RPC method a user may dispatch. Grows as each family's per-user
/// isolation lands; a method is listed only once nothing it touches is
/// shared between users.
+///
+/// `threads_delete` and `threads_purge` stay off: their cleanup cancels
+/// detached work by bare thread id (and, for purge, process-wide), which would
+/// reach other users' work until it is scoped per agent.
pub const USER_METHODS: &[&str] = &[
// Conversation threads: all state lives under the agent's workspace.
"openhuman.threads_list",
@@ -26,8 +30,6 @@ pub const USER_METHODS: &[&str] = &[
"openhuman.threads_message_update",
"openhuman.threads_update_labels",
"openhuman.threads_update_title",
- "openhuman.threads_delete",
- "openhuman.threads_purge",
"openhuman.threads_turn_state_get",
"openhuman.threads_turn_state_list",
"openhuman.threads_turn_state_history",