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/core/runtime/README.md,crates/openhuman-core/src/core

Steven Enamakel8f825a920f6d
diff --git a/crates/openhuman-core/src/core/runtime/README.md b/crates/openhuman-core/src/core/runtime/README.md
index fdde15f0cc..4dbecf340c 100644
--- a/crates/openhuman-core/src/core/runtime/README.md
+++ b/crates/openhuman-core/src/core/runtime/README.md
@@ -35,7 +35,7 @@ Each flag is independent. Presets:
| Preset | Shape |
| --- | --- |
-| `ServiceSet::desktop()` | Everything on: the Tauri shell and standalone `openhuman-core run`. |
+| `ServiceSet::desktop()` | Everything on except `update_scheduler`: the Tauri shell and standalone `openhuman-core run`. The shell updates through the Tauri updater and releases publish core archives for Linux only, so the core self-update poller is opt-in. |
| `ServiceSet::headless_api()` | HTTP JSON-RPC only (`rpc_http`): no Socket.IO, cron, channels, or login-gated services; a single-core cloud/server deployment. |
| `ServiceSet::none()` | No transport, no background services: a library/harness embedder driving only `CoreRuntime::invoke`. |
| `ServiceSet::embedded()` | No transport (`rpc_http: false`), but the background work a long-lived embedded session expects: cron, login-gated services, memory queue, harness init, skill catalog refresh, memory sync. `socketio`/`channels` stay off because such a host reads state through the facade and owns its own networking. |
diff --git a/crates/openhuman-core/src/core/runtime/builder.rs b/crates/openhuman-core/src/core/runtime/builder.rs
index 684712673c..f44b60552d 100644
--- a/crates/openhuman-core/src/core/runtime/builder.rs
+++ b/crates/openhuman-core/src/core/runtime/builder.rs
@@ -33,7 +33,8 @@ pub use super::domain_set::DomainSet;
/// Selects which background services and transports a [`CoreRuntime`] runs.
///
/// Each flag is independent. Presets cover the common hosts:
-/// [`ServiceSet::desktop`] (everything — the Tauri shell / standalone CLI),
+/// [`ServiceSet::desktop`] (everything but the core self-update poller — the
+/// Tauri shell / standalone CLI),
/// [`ServiceSet::headless_api`] (HTTP JSON-RPC only — single-core cloud), and
/// [`ServiceSet::none`] (no transport, no background work — library / harness).
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
@@ -65,7 +66,12 @@ pub struct ServiceSet {
}
impl ServiceSet {
- /// Everything on — the desktop shell and the standalone `openhuman-core run`.
+ /// Everything on — the desktop shell and the standalone `openhuman-core run` —
+ /// except the core self-update poller. The shell updates through the Tauri
+ /// updater, and releases publish core archives for Linux only, so on macOS
+ /// and Windows the poller could only ever report a missing asset
+ /// (Sentry TAURI-RUST-122R/122S). Hosts that self-update the core binary
+ /// opt in by setting `update_scheduler`.
pub fn desktop() -> Self {
Self {
rpc_http: true,
@@ -73,7 +79,7 @@ impl ServiceSet {
cron: true,
channels: true,
login_gated: true,
- update_scheduler: true,
+ update_scheduler: false,
memory_queue: true,
harness_init: true,
skill_catalog_refresh: true,
diff --git a/crates/openhuman-rpc/src/server/classify_tests.rs b/crates/openhuman-rpc/src/server/classify_tests.rs
index 5258e19934..1e64b80f48 100644
--- a/crates/openhuman-rpc/src/server/classify_tests.rs
+++ b/crates/openhuman-rpc/src/server/classify_tests.rs
@@ -103,3 +103,24 @@ fn classify_failure_param_validation_outranks_session_expiry() {
FailureDisposition::ParamValidation
);
}
+
+#[test]
+fn classify_failure_does_not_page_on_a_cached_module_load_failure() {
+ // TAURI-RUST-117K et al.: a module that failed to load is cached and the
+ // same failure is returned on every call. The load was reported once when
+ // it resolved, so each RPC re-report must not be an error-level event.
+ for message in [
+ "module 'tinyconnectors' could not be loaded from the installer bundle: module \
+ `windows-2022-x86_64` refused: module directory is writable by another user. Restart \
+ the app after repairing the installation. This is terminal for the running process; \
+ restart the app to try again.",
+ "store_stats: backend failed: memory is unavailable: the memory module failed to load. \
+ Restart the app to retry; the reason is in the log.",
+ ] {
+ assert_ne!(
+ classify_failure(message, false),
+ FailureDisposition::Unexpected,
+ "{message}"
+ );
+ }
+}