Skip to content

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

merge: update release CI branch with upstream main

Steven Enamakel9e68d23ad781
diff --cc crates/openhuman-core/src/agent/tinyagents/mod.rs
index 65befcbf11,0f90481cd2..b5cc3f4284
--- a/crates/openhuman-core/src/agent/tinyagents/mod.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/mod.rs
@@@ -25,7 -25,8 +25,8 @@@ mod embeddings
mod harness_assembly;
mod harness_context_ladder;
mod harness_tool_registration;
-pub(crate) mod hosted_error;
pub mod host;
++pub(crate) mod hosted_error;
pub(crate) mod journal;
pub(crate) mod middleware;
pub(crate) mod model;
diff --cc crates/openhuman-core/src/core/all_removed_tests.rs
index 0000000000,0000000000..45aa1e1114
new file mode 100644
--- /dev/null
+++ b/crates/openhuman-core/src/core/all_removed_tests.rs
@@@ -1,0 -1,0 +1,83 @@@
++use super::*;
++
++// ---- memory_diff removal ---------------------------------------------------
++
++/// The `memory_diff` controllers were deleted along with the `memory-git`
++/// feature, and must stay gone — while the rest of the memory surface stays.
++///
++/// `memory` is asserted present in the same test on purpose: the removal took
++/// the git ledger, not the memory domain. Splitting that into a separate test
++/// would let one pass while the other silently regressed. This replaces the
++/// `{registered_when_feature_on,absent_when_feature_off}` pair that pinned the
++/// gate while it existed.
++#[test]
++fn memory_diff_controllers_are_gone_and_memory_survives() {
++ let namespaces: Vec<&str> = all_controller_schemas()
++ .iter()
++ .map(|s| s.namespace)
++ .collect();
++ assert!(
++ !namespaces.contains(&"memory_diff"),
++ "`memory_diff` was removed and must not be registered, got: {namespaces:?}"
++ );
++ assert!(
++ namespaces.contains(&"memory"),
++ "removing the git ledger must not remove the memory domain"
++ );
++}
++
++// ---- session_db removal (#6082) --------------------------------------------
++
++/// The six read-only `session_db` controllers were removed in #6082: they
++/// queried a session index that nothing in `src/` ever writes (permanently
++/// empty in production, no frontend consumer). The three `run_ledger`
++/// controllers live in the same module and read a table that *is* written
++/// (from `web_chat::progress_bridge` and `agent::progress_tracing`), so they
++/// must stay fully registered.
++///
++/// `run_ledger` is asserted present in the same test on purpose: the removal
++/// took the dead read surface, not the run-ledger domain. Splitting that into a
++/// separate test would let one pass while the other silently regressed.
++#[test]
++fn session_db_controllers_are_gone_and_run_ledger_survives() {
++ let methods: Vec<String> = all_controller_schemas()
++ .iter()
++ .map(rpc_method_name)
++ .collect();
++
++ for removed in [
++ "openhuman.session_db_list",
++ "openhuman.session_db_get",
++ "openhuman.session_db_search",
++ "openhuman.session_db_get_messages",
++ "openhuman.session_db_get_tool_calls",
++ "openhuman.session_db_get_children",
++ ] {
++ assert!(
++ !methods.contains(&removed.to_string()),
++ "removed session_db controller `{removed}` must be absent \
++ (unknown-method over /rpc, omitted from /schema), got: {methods:?}"
++ );
++ }
++
++ for kept in [
++ "openhuman.run_ledger_list",
++ "openhuman.run_ledger_get",
++ "openhuman.run_ledger_events",
++ ] {
++ assert!(
++ methods.contains(&kept.to_string()),
++ "run_ledger controller `{kept}` must stay registered — removing the \
++ dead session_db read surface must not touch the run ledger"
++ );
++ }
++
++ let namespaces: Vec<&str> = all_controller_schemas()
++ .iter()
++ .map(|s| s.namespace)
++ .collect();
++ assert!(
++ !namespaces.contains(&"session_db"),
++ "the `session_db` namespace was removed and must not be registered, got: {namespaces:?}"
++ );
++}
diff --cc crates/openhuman-core/src/core/all_tests.rs
index c995160346,a7f7a1d6e8..d4a0361593
--- a/crates/openhuman-core/src/core/all_tests.rs
+++ b/crates/openhuman-core/src/core/all_tests.rs
@@@ -2530,87 -2522,87 +2530,8 @@@ fn javascript_controllers_absent_when_f
);
}
--// ---- memory_diff removal ---------------------------------------------------
--
--/// The `memory_diff` controllers were deleted along with the `memory-git`
--/// feature, and must stay gone — while the rest of the memory surface stays.
--///
--/// `memory` is asserted present in the same test on purpose: the removal took
--/// the git ledger, not the memory domain. Splitting that into a separate test
--/// would let one pass while the other silently regressed. This replaces the
--/// `{registered_when_feature_on,absent_when_feature_off}` pair that pinned the
--/// gate while it existed.
--#[test]
--fn memory_diff_controllers_are_gone_and_memory_survives() {
-- let namespaces: Vec<&str> = all_controller_schemas()
-- .iter()
-- .map(|s| s.namespace)
-- .collect();
-- assert!(
-- !namespaces.contains(&"memory_diff"),
-- "`memory_diff` was removed and must not be registered, got: {namespaces:?}"
-- );
-- assert!(
-- namespaces.contains(&"memory"),
-- "removing the git ledger must not remove the memory domain"
-- );
--}
--
--// ---- session_db removal (#6082) --------------------------------------------
--
--/// The six read-only `session_db` controllers were removed in #6082: they
--/// queried a session index that nothing in `src/` ever writes (permanently
--/// empty in production, no frontend consumer). The three `run_ledger`
--/// controllers live in the same module and read a table that *is* written
--/// (from `web_chat::progress_bridge` and `agent::progress_tracing`), so they
--/// must stay fully registered.
--///
--/// `run_ledger` is asserted present in the same test on purpose: the removal
--/// took the dead read surface, not the run-ledger domain. Splitting that into a
--/// separate test would let one pass while the other silently regressed.
--#[test]
--fn session_db_controllers_are_gone_and_run_ledger_survives() {
-- let methods: Vec<String> = all_controller_schemas()
-- .iter()
-- .map(rpc_method_name)
-- .collect();
--
-- for removed in [
-- "openhuman.session_db_list",
-- "openhuman.session_db_get",
-- "openhuman.session_db_search",
-- "openhuman.session_db_get_messages",
-- "openhuman.session_db_get_tool_calls",
-- "openhuman.session_db_get_children",
-- ] {
-- assert!(
-- !methods.contains(&removed.to_string()),
-- "removed session_db controller `{removed}` must be absent \
-- (unknown-method over /rpc, omitted from /schema), got: {methods:?}"
-- );
-- }
--
-- for kept in [
-- "openhuman.run_ledger_list",
-- "openhuman.run_ledger_get",
-- "openhuman.run_ledger_events",
-- ] {
-- assert!(
-- methods.contains(&kept.to_string()),
-- "run_ledger controller `{kept}` must stay registered — removing the \
-- dead session_db read surface must not touch the run ledger"
-- );
-- }
--
-- let namespaces: Vec<&str> = all_controller_schemas()
-- .iter()
-- .map(|s| s.namespace)
-- .collect();
-- assert!(
-- !namespaces.contains(&"session_db"),
-- "the `session_db` namespace was removed and must not be registered, got: {namespaces:?}"
-- );
--}
--
#[path = "all_extensions_tests.rs"]
mod extensions_tests;
++
++#[path = "all_removed_tests.rs"]
++mod removed_tests;
diff --cc crates/openhuman-core/src/integrations/composio/client.rs
index 530c33ef1d,430b037b0c..bea08e8c3a
--- a/crates/openhuman-core/src/integrations/composio/client.rs
+++ b/crates/openhuman-core/src/integrations/composio/client.rs
@@@ -17,10 -19,12 +19,12 @@@ mod network
#[path = "client_tests.rs"]
mod tests;
+ pub use credential::DirectCredential;
-pub(crate) use network::module_transport;
pub use direct::direct_list_connections;
pub(crate) use direct::direct_list_tools;
pub(crate) use factory::create_direct_client_for_api_key;
pub use factory::{resolve_composio_route, ComposioRoute};
++pub(crate) use network::module_transport;
// Brought into this module's own namespace (private `use`, not `pub use`)
// so `client_tests.rs` — declared as a direct child module of `client`
diff --cc scripts/ci/check-openhuman-rust-layout.mjs
index d471de1dfe,d471de1dfe..11ae8c1220
--- a/scripts/ci/check-openhuman-rust-layout.mjs
+++ b/scripts/ci/check-openhuman-rust-layout.mjs
@@@ -54,7 -54,7 +54,7 @@@ const LEGACY_LIMIT_ENTRIES =
// `core/` was pruned from the line limit by name until these pins; its
// oversized files are pinned at the size they had when enforcement began.
["crates/openhuman-core/src/core/all.rs", 1840],
-- ["crates/openhuman-core/src/core/all_tests.rs", 2608],
++ ["crates/openhuman-core/src/core/all_tests.rs", 2537],
["crates/openhuman-core/src/core/cli.rs", 803],
["crates/openhuman-core/src/core/events.rs", 2005],
["crates/openhuman-core/src/core/events_tests.rs", 1062],
diff --cc scripts/kernel-floor.limits
index cf95d7fe31,bcc7f1d9a0..b1f95523e8
--- a/scripts/kernel-floor.limits
+++ b/scripts/kernel-floor.limits
@@@ -13,16 -13,6 +13,13 @@@
# Simulate with: scripts/dep-sim.py --cut <crates>
#
# History
- # 316/299/2 2026-10-01 The refreshed first-party module workspaces add
- # required host-facing crates to the always-on flows
- # profile: TinyBox's core/docker/jail split, TinyComputer
- # accessibility, TinyConnectors' sync crate, TinyFlows'
- # schedule crate, TinyMemory's split host APIs, and
- # TinyRuntime's Python server. Their transitive crates
- # account for the rest of the measured growth. The exact
- # graph is 316 packages / 299 names, with no added native
- # build. Keep this measured ceiling visible for a later
- # feature-gating pass; do not silently mask new growth.
++# 321/304/2 2026-10-01 Merge upstream/main at d0b235b352. The refreshed
++# first-party module workspaces add required host APIs and
++# transitive dependencies to the always-on flows profile.
++# This merged graph measures 321 packages / 304 names /
++# 2 native builds (libsqlite3-sys and ring). The increase
++# is inherited from upstream; no native build dependency
++# was added. Keep it visible for a follow-up gating pass.
# 304/283/2 2026-09-30 TinyChannels now supplies the always-on CLI channel
# and shared channel runtime helpers through its new
# `tinychannels-runtime` crate. The crate's dependencies
@@@ -636,4 -626,4 +633,4 @@@
# into the required host runtime. The migration adds five
# resolved packages and four unique crate names; it does
# not add a native build dependency.
- flows:316:299:2
-flows:304:283:2
++flows:321:304:2