Skip to content

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

docs(saas): describe the enabled domain families and operator scope

Steven Enamakel1551460440e3
diff --git a/crates/openhuman-core/src/core/runtime/saas.rs b/crates/openhuman-core/src/core/runtime/saas.rs
index a4cc6036b8..3aeac5d555 100644
--- a/crates/openhuman-core/src/core/runtime/saas.rs
+++ b/crates/openhuman-core/src/core/runtime/saas.rs
@@ -7,11 +7,11 @@
//! narrowing axes, and [`build`], which refuses to boot unless
//! [`boot_guard`](super::boot_guard) finds nothing unsafe.
//!
-//! The per-user surface lands phase by phase. Until then the presets are
-//! closed: [`DomainSet::saas`] enables only the operator plane
-//! (`user_agents.*`), so a SaaS core answers its always-on infrastructure
-//! (`core.*`, `/health`, `/schema`) and provisioning, and refuses every user
-//! domain method as unknown. [`build`] installs the process's
+//! [`DomainSet::saas`] enables the operator plane (`user_agents.*`) and the
+//! user families whose per-user isolation has landed (threads, channels for
+//! web chat, memory). The operator scope reaches only its own plane, and a
+//! user only the reviewed `user_agents::surface::USER_METHODS`. [`build`]
+//! seeds the built-in agent definitions and installs the process's
//! [`AgentHost`](crate::user_agents::AgentHost).
use std::path::{Path, PathBuf};
diff --git a/tests/saas_mode_e2e.rs b/tests/saas_mode_e2e.rs
index 52e6b556fd..e9022eebec 100644
--- a/tests/saas_mode_e2e.rs
+++ b/tests/saas_mode_e2e.rs
@@ -214,7 +214,7 @@ fn a_safe_deployment_serves_core_and_the_operator_plane_behind_the_gateway_beare
assert_eq!(status, 200);
assert!(body.get("result").is_some(), "core.ping answers: {body}");
- // No domain family is isolated per user yet, so none is served.
+ // The operator plane serves none of the user families.
for method in [
"openhuman.threads_list",
"openhuman.config_get_config",
@@ -559,8 +559,9 @@ fn each_user_sees_only_their_own_threads() {
);
assert!(body.get("error").is_some(), "{id}: {body}");
}
- let (_, body) = call("alice", "openhuman.threads_regenerate", json!({}));
- assert!(body.get("error").is_some(), "{body}");
+ // A method off the user surface is unknown, not a parameter error.
+ let (_, body) = call("alice", "openhuman.config_get_config", json!({}));
+ assert!(body.to_string().contains("unknown method"), "{body}");
drop(server);
}