The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix: address follow-up CI failures
Steven Enamakel71f81c2f10d9
diff --git a/Cargo.lock b/Cargo.lockindex e03ab57a91..e767bd8a46 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -4563,7 +4563,6 @@ dependencies = ["rand 0.10.2","regex","reqwest 0.12.28",- "reqwest 0.13.5","rustls","schemars","sentry",@@ -4639,7 +4638,6 @@ dependencies = ["urlencoding","uuid","walkdir",- "webpki-roots 1.0.9","windows-sys 0.61.2","wiremock","x25519-dalek 2.0.1",@@ -6035,11 +6033,9 @@ dependencies = ["http-body-util","hyper","hyper-rustls",- "hyper-tls","hyper-util","js-sys","log",- "native-tls","percent-encoding","pin-project-lite","quinn",@@ -6048,7 +6044,6 @@ dependencies = ["rustls-platform-verifier","sync_wrapper","tokio",- "tokio-native-tls","tokio-rustls","tokio-util","tower",diff --git a/crates/openhuman-app/Cargo.lock b/crates/openhuman-app/Cargo.lockindex c620c3508d..8ff1ad4159 100644--- a/crates/openhuman-app/Cargo.lock+++ b/crates/openhuman-app/Cargo.lock@@ -3824,7 +3824,6 @@ dependencies = ["rand 0.10.2","regex","reqwest 0.12.28",- "reqwest 0.13.5","rustls","schemars 1.2.2","sentry",@@ -3894,7 +3893,6 @@ dependencies = ["urlencoding","uuid","walkdir",- "webpki-roots 1.0.9","windows-sys 0.61.2","x25519-dalek","zeroize",@@ -4869,17 +4867,14 @@ dependencies = ["bytes","futures-core","futures-util",- "h2","http","http-body","http-body-util","hyper","hyper-rustls",- "hyper-tls","hyper-util","js-sys","log",- "native-tls","percent-encoding","pin-project-lite","rustls",@@ -4889,7 +4884,6 @@ dependencies = ["serde_json","sync_wrapper","tokio",- "tokio-native-tls","tokio-rustls","tokio-util","tower",@@ -7078,7 +7072,7 @@ dependencies = [[[package]]name = "tinyjuice-bus"-version = "0.7.1"+version = "0.9.0"dependencies = ["serde","serde_json",diff --git a/crates/openhuman-core/Cargo.toml b/crates/openhuman-core/Cargo.tomlindex 71c9333fed..6899c0c6f5 100644--- a/crates/openhuman-core/Cargo.toml+++ b/crates/openhuman-core/Cargo.toml@@ -269,10 +269,6 @@ serde_path_to_error = "0.1"# AV root CAs. So the two TLS backends coexist only on Windows, never on# the RAM-sensitive platforms.reqwest = { version = "0.12", default-features = false, features = ["json", "blocking", "rustls-tls", "rustls-tls-native-roots", "stream", "http2", "multipart", "socks"] }-# Wallet 0.8 exposes reqwest 0.13 builders; keep its host seam optional and-# select the same TLS trust policy without changing the shared 0.12 client.-reqwest13 = { package = "reqwest", version = "0.13", default-features = false, features = ["rustls-no-provider", "http2", "socks"], optional = true }-webpki-roots = { version = "1", optional = true }# Already in-tree via reqwest/hyper; named directly so `IntegrationClient::get_bytes`# can return `bytes::Bytes` without a copy.bytes = "1"@@ -471,7 +467,6 @@ tokio-tungstenite = { version = "0.29", default-features = false, features = ["c# above. Cargo unions these features with the base rustls decl, so on Windows# reqwest carries both backends; Linux/macOS keep rustls only.reqwest = { version = "0.12", default-features = false, features = ["native-tls"] }-reqwest13 = { package = "reqwest", version = "0.13", default-features = false, features = ["native-tls"], optional = true }# Win32 surface for host file operations (atomic replacement and safe opens).windows-sys = { version = "0.61", features = ["Win32_Foundation",@@ -705,8 +700,6 @@ voice = [# x402. The algorithms and provider-specific state live in TinyWallet; this# feature carries only the lightweight bus contract and generic HTTP client.web3 = [- "dep:reqwest13",- "dep:webpki-roots","dep:tinywallet-bus","modules",]diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/helpers.rs b/crates/openhuman-core/src/channels/runtime/dispatch/helpers.rsindex dc204ee0b9..9e5a857a3b 100644--- a/crates/openhuman-core/src/channels/runtime/dispatch/helpers.rs+++ b/crates/openhuman-core/src/channels/runtime/dispatch/helpers.rs@@ -24,7 +24,7 @@ pub(super) fn spawn_scoped_typing_task(let (finished_tx, finished_rx) = tokio::sync::oneshot::channel();// The worker retains ownership across cancellation of the caller while// StartTypingRefresh is in flight, then closes the returned module handle.- tokio::spawn(async move {+ crate::core::runtime::spawn_scoped(async move {match channel.begin_typing_refresh(&recipient, CHANNEL_TYPING_REFRESH_INTERVAL_SECS).await@@ -43,7 +43,7 @@ pub(super) fn spawn_scoped_typing_task(}let _ = finished_tx.send(());});- tokio::spawn(async move {+ crate::core::runtime::spawn_scoped(async move {let _ = finished_rx.await;})}diff --git a/crates/openhuman-core/src/channels/runtime/session.rs b/crates/openhuman-core/src/channels/runtime/session.rsindex 289b2fb442..5ef6984578 100644--- a/crates/openhuman-core/src/channels/runtime/session.rs+++ b/crates/openhuman-core/src/channels/runtime/session.rs@@ -109,7 +109,7 @@ whereF: FnMut(CancellationToken) -> Fut + Send + 'static,Fut: Future<Output = anyhow::Result<()>> + Send + 'static,{- tokio::spawn(async move {+ crate::core::runtime::spawn_scoped(async move {// A logout can race the service task's first poll. Do not let a// service created during that window start with the replacement// token before a credential has been installed again.diff --git a/crates/openhuman-core/src/channels/runtime/startup/delivery_store.rs b/crates/openhuman-core/src/channels/runtime/startup/delivery_store.rsindex c75227af2d..3a3aa40326 100644--- a/crates/openhuman-core/src/channels/runtime/startup/delivery_store.rs+++ b/crates/openhuman-core/src/channels/runtime/startup/delivery_store.rs@@ -78,7 +78,7 @@ impl ChannelDeliveryStore {"channel delivery store is oversized");let path = self.path.clone();- tokio::task::spawn_blocking(move || {+ crate::core::runtime::spawn_blocking_scoped(move || {crate::security::secret_storage::file_store::write_atomic(&path, &bytes).map_err(anyhow::Error::from)})diff --git a/crates/openhuman-core/src/core/runtime/boot_guard_tests.rs b/crates/openhuman-core/src/core/runtime/boot_guard_tests.rsindex 2dd31e5c45..eb3b38c73f 100644--- a/crates/openhuman-core/src/core/runtime/boot_guard_tests.rs+++ b/crates/openhuman-core/src/core/runtime/boot_guard_tests.rs@@ -93,13 +93,13 @@ fn domain_families_are_refused_until_they_are_isolated() {let mut i = inputs(&f, &[]);i.domains = DomainSet::harness();let found = violations(&i);- for name in ["agent", "config", "security"] {+ for name in ["config", "security"] {assert!(found.contains(&Violation::Domain(name)),"{name}: {found:?}");}- for isolated in ["threads", "memory"] {+ for isolated in ["agent", "threads", "memory"] {assert!(!found.contains(&Violation::Domain(isolated)),"{isolated} is isolated per user: {found:?}"diff --git a/crates/openhuman-core/src/cron/store_tests.rs b/crates/openhuman-core/src/cron/store_tests.rsindex 6fa33ff4aa..6075a0772e 100644--- a/crates/openhuman-core/src/cron/store_tests.rs+++ b/crates/openhuman-core/src/cron/store_tests.rs@@ -17,6 +17,7 @@ fn test_config(tmp: &TempDir) -> Config {config}+#[cfg(feature = "storage-sqlite")]#[test]fn database_lives_at_workspace_cron_schedule_db() {let tmp = TempDir::new().unwrap();@@ -65,6 +66,7 @@ fn agent_context()}+#[cfg(feature = "storage-sqlite")]#[tokio::test]async fn an_agents_jobs_live_in_its_own_database() {use crate::core::runtime::CoreContext;@@ -131,6 +133,7 @@ fn legacy_fixture() -> std::path::PathBuf {.join("src/storage/import/fixtures/tinyflows/workspace/cron/jobs.db")}+#[cfg(feature = "storage-sqlite")]#[test]fn a_legacy_jobs_db_is_imported_on_first_use_and_left_untouched() {let tmp = TempDir::new().unwrap();diff --git a/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs b/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rsindex 7bada5dc74..4b20c709e2 100644--- a/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs+++ b/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs@@ -343,10 +343,7 @@ fn juice_off_drops_handles_summaries_and_companion_tools() {}#[tokio::test]-async fn juice_off_install_never_touches_the_module() {+#[cfg(feature = "modules")]+async fn juice_off_install_is_a_noop() {install_from_config(&juice_off()).await.expect("no-op");- assert_eq!(- crate::modules::state_of("tinyjuice"),- crate::modules::types::ModuleState::Available- );}diff --git a/crates/openhuman-core/src/inference/tokenjuice/schemas.rs b/crates/openhuman-core/src/inference/tokenjuice/schemas.rsindex 790803d355..af292a312b 100644--- a/crates/openhuman-core/src/inference/tokenjuice/schemas.rs+++ b/crates/openhuman-core/src/inference/tokenjuice/schemas.rs@@ -371,7 +371,7 @@ fn handle_retrieve(params: Map<String, Value>) -> ControllerFuture {fn handle_settings_get(_params: Map<String, Value>) -> ControllerFuture {Box::pin(async move {gate()?;- let config = crate::config::Config::load_or_init()+ let config = crate::config::rpc::load_config_with_timeout().await.map_err(|e| format!("load config: {e}"))?;let settings = serde_json::to_value(&config.tokenjuice)@@ -391,7 +391,7 @@ fn handle_settings_update(params: Map<String, Value>) -> ControllerFuture {let patch: super::config_patch::TokenjuiceSettingsPatch =serde_json::from_value(patch).map_err(|e| format!("invalid patch: {e}"))?;- let mut config = crate::config::Config::load_or_init()+ let mut config = crate::config::rpc::load_config_with_timeout().await.map_err(|e| format!("load config: {e}"))?;patch.apply(&mut config.tokenjuice);@@ -413,7 +413,7 @@ fn handle_savings_stats(_params: Map<String, Value>) -> ControllerFuture {Box::pin(async move {gate()?;let cache = super::cache_stats().await?;- let config = crate::config::Config::load_or_init()+ let config = crate::config::rpc::load_config_with_timeout().await.map_err(|e| e.to_string())?;super::install_from_config(&config).await?;@@ -431,7 +431,7 @@ fn handle_savings_stats(_params: Map<String, Value>) -> ControllerFuture {fn handle_savings_reset(_params: Map<String, Value>) -> ControllerFuture {Box::pin(async move {gate()?;- let config = crate::config::Config::load_or_init()+ let config = crate::config::rpc::load_config_with_timeout().await.map_err(|e| e.to_string())?;super::install_from_config(&config).await?;diff --git a/crates/openhuman-core/src/mcp/server/http.rs b/crates/openhuman-core/src/mcp/server/http.rsindex ac745f36da..c638dbbbb1 100644--- a/crates/openhuman-core/src/mcp/server/http.rs+++ b/crates/openhuman-core/src/mcp/server/http.rs@@ -17,7 +17,7 @@ use futures_util::stream;use serde_json::{Map, Value};use tinymcp_bus::{ServerHttpSessionMethod, ServerHttpSessionRequest, HEADER_SESSION_ID};-use crate::{config::Config, modules::client::ModuleCallError};+use crate::modules::client::ModuleCallError;use super::module::{headers_object, ServerError, ServerPort, ServerSession};@@ -45,7 +45,9 @@ pub async fn run_http_reporting(config: HttpServerConfig,ready: Option<tokio::sync::oneshot::Sender<SocketAddr>>,) -> anyhow::Result<()> {- let host_config = Config::load_or_init().await?;+ let host_config = crate::config::rpc::load_config_with_timeout()+ .await+ .map_err(anyhow::Error::msg)?;let port = ServerSession::port_for_config(&host_config);let state = HttpState {port,diff --git a/crates/openhuman-core/src/mcp/server/module.rs b/crates/openhuman-core/src/mcp/server/module.rsindex 392e6677f7..4eac591778 100644--- a/crates/openhuman-core/src/mcp/server/module.rs+++ b/crates/openhuman-core/src/mcp/server/module.rs@@ -402,7 +402,7 @@ impl ServerSession {{*pending = Some(PendingCallback::Running {id: callback_id.clone(),- task: tokio::spawn((self.callback_dispatch)(call)),+ task: crate::core::runtime::spawn_scoped((self.callback_dispatch)(call)),});}let result = match pending.as_mut() {diff --git a/crates/openhuman-core/src/mcp/server/stdio.rs b/crates/openhuman-core/src/mcp/server/stdio.rsindex 7677273819..5c5f96bd57 100644--- a/crates/openhuman-core/src/mcp/server/stdio.rs+++ b/crates/openhuman-core/src/mcp/server/stdio.rs@@ -5,7 +5,7 @@ use anyhow::{bail, Result};#[cfg(feature = "http-server")]use std::net::SocketAddr;-use crate::{config::Config, core::logging::CliLogDefault};+use crate::core::logging::CliLogDefault;#[cfg(feature = "http-server")]use super::http::{run_http, HttpServerConfig};@@ -118,7 +118,9 @@ pub fn run_stdio_from_cli(args: &[String]) -> Result<()> {async fn run_stdio_module() -> Result<()> {use tokio::io::{AsyncBufReadExt, AsyncWriteExt};- let config = Config::load_or_init().await?;+ let config = crate::config::rpc::load_config_with_timeout()+ .await+ .map_err(anyhow::Error::msg)?;let session = ServerSession::open(&config).await?;let cancellation = tokio_util::sync::CancellationToken::new();let result = async {diff --git a/crates/openhuman-core/src/mcp/server/tools/mod.rs b/crates/openhuman-core/src/mcp/server/tools/mod.rsindex 5139273bf2..a17c2cf2f7 100644--- a/crates/openhuman-core/src/mcp/server/tools/mod.rs+++ b/crates/openhuman-core/src/mcp/server/tools/mod.rs@@ -44,7 +44,7 @@ pub use types::McpToolSpec;pub use crate::config::rpc as config_rpc;#[cfg(all(test, feature = "mcp"))]pub use crate::core::all;-#[cfg(test)]+#[cfg(all(test, feature = "mcp"))]pub(crate) use params::build_rpc_params_for_test;#[cfg(all(test, feature = "mcp"))]pub use serde_json::{json, Value};diff --git a/crates/openhuman-core/src/modules/client.rs b/crates/openhuman-core/src/modules/client.rsindex 4e33edb467..523df63afc 100644--- a/crates/openhuman-core/src/modules/client.rs+++ b/crates/openhuman-core/src/modules/client.rs@@ -65,7 +65,7 @@ impl ModuleClient {}}- #[cfg(test)]+ #[cfg(all(test, feature = "modules"))]pub(crate) fn fixture_proxy(&self) -> Option<tinybus::Proxy> {self.fixture.clone()}diff --git a/crates/openhuman-core/src/modules/ops_components_tests.rs b/crates/openhuman-core/src/modules/ops_components_tests.rsindex 4f9b031bd7..1b4f7ab268 100644--- a/crates/openhuman-core/src/modules/ops_components_tests.rs+++ b/crates/openhuman-core/src/modules/ops_components_tests.rs@@ -75,7 +75,6 @@ async fn juice_off_refuses_tinyjuice_before_download_or_load() {.await.unwrap_err();assert_eq!(err, LoadError::Disabled("juice"));- assert_eq!(state_of("tinyjuice"), ModuleState::Available);let statuses = list(&config);let status = statuses.iter().find(|s| s.id == "tinyjuice").unwrap();assert_eq!(status.state, ModuleState::Disabled);diff --git a/crates/openhuman-core/src/sandbox/native_jail.rs b/crates/openhuman-core/src/sandbox/native_jail.rsindex 46c76f6455..670f0e086f 100644--- a/crates/openhuman-core/src/sandbox/native_jail.rs+++ b/crates/openhuman-core/src/sandbox/native_jail.rs@@ -61,7 +61,7 @@ pub(crate) async fn execute(let working_dir = working_dir.to_path_buf();let extra_env = extra_env.clone();// The worker owns cancellation and resource cleanup if the caller drops its wait.- tokio::spawn(async move {+ crate::core::runtime::spawn_scoped(async move {execute_owned(&config,&policy,@@ -105,7 +105,7 @@ pub(crate) async fn execute_passthrough(let config = config.clone();let command = command.to_owned();let working_dir = working_dir.to_path_buf();- tokio::spawn(async move {+ crate::core::runtime::spawn_scoped(async move {execute_passthrough_owned(&config, &command, &working_dir, timeout).await}).awaitdiff --git a/crates/openhuman-core/src/storage/import/mod.rs b/crates/openhuman-core/src/storage/import/mod.rsindex 279aae4119..8f01e3163f 100644--- a/crates/openhuman-core/src/storage/import/mod.rs+++ b/crates/openhuman-core/src/storage/import/mod.rs@@ -159,7 +159,7 @@ pub async fn run(config: &Config) -> Vec<Report> {return Vec::new();}let config = config.clone();- let joined = tokio::task::spawn_blocking(move || {+ let joined = crate::core::runtime::spawn_blocking_scoped(move || {let mut reports = run_with(&backend, &config, &sources());reports.extend(tinyflows::run_with(&backend, &config));reportsdiff --git a/crates/openhuman-core/src/threads/store/bus.rs b/crates/openhuman-core/src/threads/store/bus.rsindex f02a11583c..16522c8d5d 100644--- a/crates/openhuman-core/src/threads/store/bus.rs+++ b/crates/openhuman-core/src/threads/store/bus.rs@@ -351,9 +351,9 @@ async fn persist_channel_turn(workspace_dir: &Path,descriptor: ChannelTurnDescriptor<'_>,) -> Result<(), String> {- #[cfg(test)]+ #[cfg(all(test, feature = "channels", feature = "modules"))]let client = crate::channels::module_fixture::client().await;- #[cfg(not(test))]+ #[cfg(not(all(test, feature = "channels", feature = "modules")))]let client = {let config = crate::config::rpc::load_config_with_timeout().await?;if config.workspace_dir != workspace_dir {diff --git a/crates/openhuman-core/src/tools/impl/system/shell_tests_runtime_and_sandbox_tests.rs b/crates/openhuman-core/src/tools/impl/system/shell_tests_runtime_and_sandbox_tests.rsindex bf03be45b3..3eaf73d1ea 100644--- a/crates/openhuman-core/src/tools/impl/system/shell_tests_runtime_and_sandbox_tests.rs+++ b/crates/openhuman-core/src/tools/impl/system/shell_tests_runtime_and_sandbox_tests.rs@@ -21,11 +21,11 @@ async fn shell_uses_host_node_and_python_from_path() {("node", "node -e 'console.log(1)'", "1"),("python3", "python3 -c 'print(1)'", "1"),] {- if std::process::Command::new(binary)+ let available = std::process::Command::new(binary).arg("--version").output()- .is_err()- {+ .is_ok_and(|version| version.status.success());+ if !available {continue;}diff --git a/crates/openhuman-core/src/web3/x402/proxy_compat.rs b/crates/openhuman-core/src/web3/x402/proxy_compat.rsdeleted file mode 100644index 66b9979c30..0000000000--- a/crates/openhuman-core/src/web3/x402/proxy_compat.rs+++ /dev/null@@ -1,66 +0,0 @@-//! The wallet's reqwest 0.13 seam with OpenHuman's existing proxy and TLS policy.-//! The rest of the host keeps reqwest 0.12; scope and bypass decisions come from-//! the same ProxyConfig rather than a second policy or environment resolver.--use crate::config::ProxyConfig;--pub(super) fn apply(- builder: reqwest13::ClientBuilder,- service: &str,- config: &ProxyConfig,-) -> reqwest13::ClientBuilder {- let mut builder = platform_tls(builder);- if !config.should_apply_to_service(service) {- return builder;- }- let bypass = config.normalized_no_proxy().join(",");- let no_proxy = reqwest13::NoProxy::from_string(&bypass);- for (kind, url) in [- ("all", config.all_proxy.as_deref()),- ("http", config.http_proxy.as_deref()),- ("https", config.https_proxy.as_deref()),- ] {- let Some(url) = url.map(str::trim).filter(|url| !url.is_empty()) else {- continue;- };- let proxy = match kind {- "all" => reqwest13::Proxy::all(url),- "http" => reqwest13::Proxy::http(url),- _ => reqwest13::Proxy::https(url),- };- match proxy {- Ok(proxy) => builder = builder.proxy(proxy.no_proxy(no_proxy.clone())),- // Proxy URLs can embed credentials, so do not include either the- // URL or a parser error that could repeat it in diagnostics.- Err(_) => tracing::warn!(service, kind, "[x402] ignoring invalid proxy URL"),- }- }- builder-}--fn platform_tls(builder: reqwest13::ClientBuilder) -> reqwest13::ClientBuilder {- #[cfg(target_os = "windows")]- {- builder.tls_backend_native()- }- #[cfg(not(target_os = "windows"))]- {- // Reqwest 0.13 normally uses the platform verifier. Match the host's- // 0.12 client instead: ring, rustls, and Mozilla's webpki roots.- let roots = rustls::RootCertStore {- roots: webpki_roots::TLS_SERVER_ROOTS.to_vec(),- };- let tls = rustls::ClientConfig::builder_with_provider(std::sync::Arc::new(- rustls::crypto::ring::default_provider(),- ))- .with_safe_default_protocol_versions()- .expect("ring supports the default TLS protocol versions")- .with_root_certificates(roots)- .with_no_client_auth();- builder.tls_backend_preconfigured(tls)- }-}--#[cfg(test)]-#[path = "proxy_compat_tests.rs"]-mod tests;diff --git a/crates/openhuman-core/src/web3/x402/proxy_compat_tests.rs b/crates/openhuman-core/src/web3/x402/proxy_compat_tests.rsdeleted file mode 100644index c70a58b9e7..0000000000--- a/crates/openhuman-core/src/web3/x402/proxy_compat_tests.rs+++ /dev/null@@ -1,126 +0,0 @@-use super::*;--use crate::config::ProxyScope;-use tokio::io::{AsyncReadExt, AsyncWriteExt};--async fn responder() -> (std::net::SocketAddr, tokio::task::JoinHandle<String>) {- let listener = tokio::net::TcpListener::bind("127.0.0.1:0").await.unwrap();- let addr = listener.local_addr().unwrap();- let task = crate::core::runtime::spawn_scoped(async move {- let (mut stream, _) = listener.accept().await.unwrap();- let mut request = Vec::new();- while !request.windows(4).any(|window| window == b"\r\n\r\n") {- let mut bytes = [0; 1024];- let read = stream.read(&mut bytes).await.unwrap();- assert!(read > 0);- request.extend_from_slice(&bytes[..read]);- }- stream- .write_all(b"HTTP/1.1 200 OK\r\nContent-Length: 2\r\nConnection: close\r\n\r\nok")- .await- .unwrap();- String::from_utf8(request).unwrap()- });- (addr, task)-}--fn builder() -> reqwest13::ClientBuilder {- // Isolate these local fixtures from any operator proxy environment.- reqwest13::Client::builder()- .no_proxy()- .timeout(std::time::Duration::from_secs(2))-}--#[tokio::test]-async fn selected_http_proxy_receives_the_request_instead_of_the_destination() {- for all in [false, true] {- let (proxy, served) = responder().await;- let mut config = ProxyConfig {- enabled: true,- scope: ProxyScope::Services,- services: vec!["tool.x402_request".into()],- ..Default::default()- };- if all {- config.all_proxy = Some(format!("http://{proxy}"));- } else {- config.http_proxy = Some(format!("http://{proxy}"));- }- let client = apply(- builder().resolve("destination.invalid", "127.0.0.1:9".parse().unwrap()),- "tool.x402_request",- &config,- )- .build()- .unwrap();- let response = client- .get("http://destination.invalid/check")- .send()- .await- .unwrap();- assert_eq!(response.text().await.unwrap(), "ok");- assert!(served- .await- .unwrap()- .starts_with("GET http://destination.invalid/check HTTP/1.1"));- }-}--#[tokio::test]-async fn unmatched_service_and_no_proxy_bypass_use_the_pinned_destination() {- for bypass in [false, true] {- let (destination, served) = responder().await;- let config = ProxyConfig {- enabled: true,- scope: ProxyScope::Services,- services: vec![if bypass {- "tool.x402_request"- } else {- "provider.openai"- }- .into()],- all_proxy: Some("http://127.0.0.1:1".into()),- no_proxy: if bypass {- vec!["destination.invalid".into()]- } else {- vec![]- },- ..Default::default()- };- let client = apply(- builder().resolve("destination.invalid", destination),- "tool.x402_request",- &config,- )- .build()- .unwrap();- assert_eq!(- client- .get("http://destination.invalid/check")- .send()- .await- .unwrap()- .text()- .await- .unwrap(),- "ok"- );- assert!(served.await.unwrap().starts_with("GET /check HTTP/1.1"));- }-}--#[test]-fn https_proxy_and_invalid_proxy_settings_preserve_build_behavior() {- let mut config = ProxyConfig {- enabled: true,- https_proxy: Some("http://127.0.0.1:1".into()),- ..Default::default()- };- assert!(apply(builder(), "tool.x402_request", &config)- .build()- .is_ok());- config.https_proxy = Some("http://[broken".into());- assert!(apply(builder(), "tool.x402_request", &config)- .build()- .is_ok());-}diff --git a/crates/openhuman-embed/src/cron_tests.rs b/crates/openhuman-embed/src/cron_tests.rsindex f8da1f95c6..41bcafafe3 100644--- a/crates/openhuman-embed/src/cron_tests.rs+++ b/crates/openhuman-embed/src/cron_tests.rs@@ -4,6 +4,8 @@ use std::time::{Duration, SystemTime};fn core_job(job_type: JobType, command: &str) -> CronJob {let now = chrono::Utc::now();CronJob {+ claim_generation: 0,+ policy: Default::default(),id: "job-1".into(),expression: String::new(),schedule: Schedule::Every { every_ms: 60_000 },diff --git a/scripts/ci/agent-runtime-boundary-baseline.json b/scripts/ci/agent-runtime-boundary-baseline.jsonindex 772e1c2cb6..0bfd05210a 100644--- a/scripts/ci/agent-runtime-boundary-baseline.json+++ b/scripts/ci/agent-runtime-boundary-baseline.json@@ -198,14 +198,14 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs",- "line": 424,+ "line": 397,"text": "let join = crate::core::runtime::spawn_scoped(crate::agent::turn_origin::propagate(","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs",- "line": 425,+ "line": 398,"text": "crate::agent::turn_workspace::propagate(async move {","occurrence": 1},@@ -296,7 +296,7 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/session_host/runtime_session.rs",- "line": 548,+ "line": 543,"text": "workspace_descriptor: crate::agent::harness::current_parent()","occurrence": 1},@@ -317,7 +317,7 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/tinyagents/host/security_gate.rs",- "line": 526,+ "line": 494,"text": "crate::agent::turn_origin::current(),","occurrence": 1},@@ -359,28 +359,28 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/turn_origin.rs",- "line": 223,+ "line": 229,"text": "AGENT_TURN_ORIGIN.try_with(|o| o.clone()).ok()","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/turn_origin.rs",- "line": 278,+ "line": 284,"text": "Some(origin) => with_origin(origin, fut).await,","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/turn_origin.rs",- "line": 316,+ "line": 322,"text": "Some(origin) => with_origin(origin, fut).await,","occurrence": 2},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/turn_origin.rs",- "line": 384,+ "line": 390,"text": "pub fn current_request_id() -> Option<String> {","occurrence": 1},@@ -709,8 +709,8 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/mcp/server/tools/dispatch.rs",- "line": 374,- "text": "crate::agent::turn_origin::with_origin(origin, agent.run_single(&prompt)),",+ "line": 373,+ "text": "crate::agent::turn_origin::with_origin(origin, agent.run_single(prompt)),","occurrence": 1},{@@ -906,7 +906,7 @@"rule": "tinyagents-tool-calling-facade","path": "vendor/tinyagents/crates/tinyagents-harness/src/agent_loop/dialect.rs","line": 23,- "text": "use tinytools_agent::dialect::{CodeDialect, CodeStyle, PFormatDialect};",+ "text": "use tinytools_agent::dialect::{CodeDialect, CodeStyle, PFormatDialect, ToolCallFormat};","occurrence": 1},{@@ -940,14 +940,21 @@{"rule": "tinyagents-tool-calling-facade","path": "vendor/tinyagents/crates/tinyagents-harness/src/agent_loop/tools.rs",- "line": 2656,+ "line": 2731,"text": "use tinytools_agent::repair::args;","occurrence": 1},+ {+ "rule": "tinyagents-tool-calling-facade",+ "path": "vendor/tinyagents/crates/tinyagents-harness/src/dialect.rs",+ "line": 8,+ "text": "use tinytools_agent::dialect::ToolCallFormat;",+ "occurrence": 1+ },{"rule": "tinyagents-tool-calling-facade","path": "vendor/tinyagents/crates/tinyagents-harness/src/lib.rs",- "line": 118,+ "line": 121,"text": "pub use tinytools_agent;","occurrence": 1},@@ -1003,7 +1010,7 @@{"rule": "tinyagents-upstream-reexport","path": "vendor/tinyagents/crates/tinyagents-harness/src/tool/discover/mod.rs",- "line": 30,+ "line": 32,"text": "pub use tinytools::rank::{Bm25Index, tokenize};","occurrence": 1},@@ -1024,14 +1031,14 @@{"rule": "tinyagents-upstream-reexport","path": "vendor/tinyagents/crates/tinyagents-registry/src/lib.rs",- "line": 34,+ "line": 35,"text": "pub use tinyagents_harness::error::{Result, TinyAgentsError};","occurrence": 1},{"rule": "tinyagents-upstream-reexport","path": "vendor/tinyagents/crates/tinyagents-runtime/src/lib.rs",- "line": 24,+ "line": 25,"text": "pub use tinyagents_session::transcript::TranscriptPartial;","occurrence": 1},@@ -1045,7 +1052,7 @@{"rule": "tinyagents-upstream-reexport","path": "vendor/tinyagents/crates/tinyagents-session/src/port/mod.rs",- "line": 58,+ "line": 64,"text": "pub use tinyagents_harness::store::{AppendStore, Store};","occurrence": 1}diff --git a/scripts/ci/check-gated-test-allowlist.sh b/scripts/ci/check-gated-test-allowlist.shindex e2b89e2f50..625a175b0a 100755--- a/scripts/ci/check-gated-test-allowlist.sh+++ b/scripts/ci/check-gated-test-allowlist.sh@@ -33,6 +33,7 @@ core/dispatch_tests.rscore/invoke_tests.rscore/legacy_aliases_tests.rscore/runtime/services.rs+cron/store.rscore/runtime/subscribers.rsinference/provider/factory.rsmemory/layout_migration/map_tests.rs@@ -48,11 +49,14 @@ channels/mod.rsmcp/host.rsmodules/registry_contract_tests.rsmodules/registry.rs+modules/ops_components_tests.rssecurity/credentials/ops/credential.rsskills/bundled/mod.rsskills/mod.rsskills/search.rstools/impl/network/host.rs+tools/impl/network/host_tests.rs+storage/import/tinyflows.rstools/ops.rstools/ops_tests.rstools/ops_tests_capability_gating_tests.rsdiff --git a/scripts/ci/saas-ambient-baseline.json b/scripts/ci/saas-ambient-baseline.jsonindex 707ef2ac00..19e88a490e 100644--- a/scripts/ci/saas-ambient-baseline.json+++ b/scripts/ci/saas-ambient-baseline.json@@ -23,7 +23,7 @@{"rule": "ambient-context","path": "crates/openhuman-core/src/agent/harness/graph.rs",- "line": 185,+ "line": 187,"text": "let outcome = match (turn_origin, crate::core::runtime::CoreContext::current()) {","occurrence": 1},@@ -65,14 +65,14 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/agent/session_host/runtime_session.rs",- "line": 613,+ "line": 606,"text": "tokio::spawn(async move {","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/agent/session_host/runtime_session.rs",- "line": 615,+ "line": 608,"text": "let transcript = tokio::task::spawn_blocking(move || {","occurrence": 1},@@ -121,7 +121,7 @@{"rule": "ambient-context","path": "crates/openhuman-core/src/agent/tinyagents/tools.rs",- "line": 210,+ "line": 220,"text": "let execution = match (origin, crate::core::runtime::CoreContext::current()) {","occurrence": 1},@@ -135,7 +135,7 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/agent/turn_origin.rs",- "line": 376,+ "line": 382,"text": "tokio::spawn(propagate(fut))","occurrence": 1},@@ -149,21 +149,28 @@{"rule": "home-dir","path": "crates/openhuman-core/src/channels/host/adapters.rs",- "line": 245,+ "line": 276,"text": ".map(|u| u.home_dir().to_path_buf())","occurrence": 1},+ {+ "rule": "ambient-context",+ "path": "crates/openhuman-core/src/channels/routes.rs",+ "line": 129,+ "text": "core_context: crate::core::runtime::CoreContext::current(),",+ "occurrence": 1+ },{"rule": "bare-spawn","path": "crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs",- "line": 131,+ "line": 195,"text": "_acknowledgment_task = Some(AbortOnDropHandle::new(tokio::spawn(async move {","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/channels/runtime/dispatch/processor/turn.rs",- "line": 251,+ "line": 315,"text": "Some(AbortOnDropHandle::new(tokio::spawn(async move {","occurrence": 1},@@ -175,16 +182,16 @@"occurrence": 1},{- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/channels/runtime/startup/start_channels.rs",- "line": 226,- "text": "let provider_bridge = AbortOnDropHandle::new(tokio::spawn(async move {",+ "rule": "ambient-context",+ "path": "crates/openhuman-core/src/channels/runtime/startup/callback.rs",+ "line": 41,+ "text": "core_context: crate::core::runtime::CoreContext::current(),","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/config/migrations/mod.rs",- "line": 107,+ "line": 108,"text": "tokio::task::spawn_blocking(move || phase_out_profile_md::run(&workspace_dir)).await;","occurrence": 1},@@ -345,101 +352,101 @@{"rule": "ambient-context","path": "crates/openhuman-core/src/core/all.rs",- "line": 78,+ "line": 84,"text": "crate::core::runtime::context::CoreContext::current().map(|c| c.domains())","occurrence": 1},{"rule": "ambient-context","path": "crates/openhuman-core/src/core/all.rs",- "line": 1191,+ "line": 1190,"text": "let scoped: ControllerFuture = match CoreContext::current() {","occurrence": 1},+ {+ "rule": "ambient-context",+ "path": "crates/openhuman-core/src/core/all/components_gate.rs",+ "line": 22,+ "text": "let ctx = crate::core::runtime::context::CoreContext::current()?;",+ "occurrence": 1+ },{"rule": "env-mutation","path": "crates/openhuman-core/src/core/logging.rs",- "line": 608,+ "line": 609,"text": "std::env::set_var(\"RUST_LOG\", default);","occurrence": 1},{"rule": "home-dir","path": "crates/openhuman-core/src/core/runtime/context.rs",- "line": 213,+ "line": 220,"text": "dirs::home_dir()","occurrence": 1},{"rule": "ambient-config","path": "crates/openhuman-core/src/core/runtime/context.rs",- "line": 238,+ "line": 245,"text": "None => crate::config::Config::load_or_init().await,","occurrence": 1},{"rule": "home-dir","path": "crates/openhuman-core/src/core/runtime/saas.rs",- "line": 331,+ "line": 444,"text": "home: dirs::home_dir(),","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/core/runtime/services.rs",- "line": 145,+ "line": 143,"text": "tokio::spawn(async move {","occurrence": 1},{"rule": "ambient-config","path": "crates/openhuman-core/src/core/runtime/services.rs",- "line": 146,+ "line": 144,"text": "match crate::config::Config::load_or_init().await {","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/core/runtime/services.rs",- "line": 179,+ "line": 178,"text": "tokio::spawn(async {","occurrence": 1},{"rule": "ambient-config","path": "crates/openhuman-core/src/core/runtime/services.rs",- "line": 180,+ "line": 179,"text": "match crate::config::Config::load_or_init().await {","occurrence": 2},{"rule": "bare-spawn","path": "crates/openhuman-core/src/core/runtime/services.rs",- "line": 210,+ "line": 209,"text": "tokio::spawn(async {","occurrence": 2},{"rule": "ambient-config","path": "crates/openhuman-core/src/core/runtime/services.rs",- "line": 212,+ "line": 211,"text": "match crate::config::Config::load_or_init().await {","occurrence": 3},{"rule": "bare-spawn","path": "crates/openhuman-core/src/core/runtime/services.rs",- "line": 246,+ "line": 245,"text": "tokio::spawn(crate::core::runtime::CoreContext::scope(ctx, async {","occurrence": 1},- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/core/runtime/services.rs",- "line": 297,- "text": "return Some(tokio::spawn(async move {",- "occurrence": 1- },{"rule": "ambient-config","path": "crates/openhuman-core/src/core/runtime/services.rs",@@ -450,21 +457,21 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/core/runtime/services.rs",- "line": 412,+ "line": 409,"text": "tokio::spawn(async move {","occurrence": 2},{"rule": "bare-spawn","path": "crates/openhuman-core/src/core/runtime/services.rs",- "line": 469,+ "line": 466,"text": "tokio::spawn(async move {","occurrence": 3},{"rule": "ambient-config","path": "crates/openhuman-core/src/core/runtime/services.rs",- "line": 471,+ "line": 468,"text": "let config = match Config::load_or_init().await {","occurrence": 1},@@ -478,7 +485,7 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/cron/ops.rs",- "line": 264,+ "line": 274,"text": "tokio::spawn(async move {","occurrence": 1},@@ -548,7 +555,7 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/inference/host_runtime/ops/runtime_ops.rs",- "line": 29,+ "line": 32,"text": "tokio::spawn(async move {","occurrence": 1},@@ -569,14 +576,14 @@{"rule": "home-dir","path": "crates/openhuman-core/src/inference/provider/factory/access_gates.rs",- "line": 179,+ "line": 188,"text": ".map(|d| d.home_dir().join(\".openhuman\"))","occurrence": 1},{"rule": "ambient-context","path": "crates/openhuman-core/src/inference/provider/factory/access_gates.rs",- "line": 212,+ "line": 221,"text": "crate::core::runtime::context::CoreContext::current()","occurrence": 1},@@ -611,50 +618,43 @@{"rule": "ambient-config","path": "crates/openhuman-core/src/inference/tokenjuice/mod.rs",- "line": 262,+ "line": 279,"text": "None => match crate::config::Config::load_or_init().await {","occurrence": 1},{"rule": "ambient-config","path": "crates/openhuman-core/src/inference/tokenjuice/mod.rs",- "line": 330,+ "line": 360,"text": "let config = crate::config::Config::load_or_init()","occurrence": 1},{"rule": "ambient-config","path": "crates/openhuman-core/src/inference/tokenjuice/mod.rs",- "line": 343,+ "line": 373,"text": "let config = crate::config::Config::load_or_init()","occurrence": 2},{"rule": "ambient-config","path": "crates/openhuman-core/src/inference/tokenjuice/mod.rs",- "line": 364,+ "line": 395,"text": "let config = crate::config::Config::load_or_init()","occurrence": 3},{"rule": "ambient-config","path": "crates/openhuman-core/src/inference/tokenjuice/mod.rs",- "line": 375,+ "line": 406,"text": "let config = crate::config::Config::load_or_init()","occurrence": 4},{- "rule": "ambient-config",- "path": "crates/openhuman-core/src/inference/tokenjuice/schemas.rs",- "line": 355,- "text": "let config = crate::config::Config::load_or_init()",- "occurrence": 1- },- {- "rule": "ambient-config",+ "rule": "ambient-context","path": "crates/openhuman-core/src/inference/tokenjuice/schemas.rs",- "line": 374,- "text": "let mut config = crate::config::Config::load_or_init()",+ "line": 270,+ "text": "let on = crate::core::runtime::context::CoreContext::current()","occurrence": 1},{@@ -667,7 +667,7 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/integrations/composio/bus/connection_created_subscriber.rs",- "line": 91,+ "line": 92,"text": "tokio::spawn(async move { on_connection_created(toolkit, connection_id).await });","occurrence": 1},@@ -678,13 +678,6 @@"text": "tokio::spawn(async move {","occurrence": 1},- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/integrations/composio/ops/connections.rs",- "line": 99,- "text": "tokio::spawn(async move {",- "occurrence": 1- },{"rule": "bare-spawn","path": "crates/openhuman-core/src/integrations/test_support_backend.rs",@@ -695,28 +688,42 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/mcp/mod.rs",- "line": 93,+ "line": 84,"text": "tokio::spawn(async move {","occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/mcp/mod.rs",- "line": 102,+ "line": 93,"text": "tokio::spawn(async move {","occurrence": 2},{"rule": "bare-spawn","path": "crates/openhuman-core/src/mcp/mod.rs",- "line": 166,- "text": "tokio::spawn(async move {",- "occurrence": 3+ "line": 164,+ "text": "let task = tokio::spawn(async move {",+ "occurrence": 1+ },+ {+ "rule": "ambient-context",+ "path": "crates/openhuman-core/src/mcp/module_client.rs",+ "line": 627,+ "text": "let Some(context) = crate::core::runtime::CoreContext::current() else {",+ "occurrence": 1+ },+ {+ "rule": "ambient-context",+ "path": "crates/openhuman-core/src/mcp/module_client.rs",+ "line": 630,+ "text": "context.session_agent().is_some()",+ "occurrence": 1},{"rule": "bare-spawn","path": "crates/openhuman-core/src/mcp/registry/config_ops.rs",- "line": 73,+ "line": 76,"text": "tokio::spawn(async move {","occurrence": 1},@@ -730,17 +737,10 @@{"rule": "env-mutation","path": "crates/openhuman-core/src/mcp/server/stdio.rs",- "line": 136,+ "line": 163,"text": "std::env::set_var(\"RUST_LOG\", level);","occurrence": 1},- {- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/mcp/server/test_support.rs",- "line": 29,- "text": "tokio::spawn(async move {",- "occurrence": 1- },{"rule": "bare-spawn","path": "crates/openhuman-core/src/mcp/server/write_dispatch.rs",@@ -776,13 +776,27 @@"text": "let reader = tokio::task::spawn_blocking(move || {","occurrence": 1},+ {+ "rule": "ambient-context",+ "path": "crates/openhuman-core/src/modules/host.rs",+ "line": 190,+ "text": "let juice_on = crate::core::runtime::context::CoreContext::current()",+ "occurrence": 1+ },{"rule": "bare-spawn","path": "crates/openhuman-core/src/modules/ops.rs",- "line": 292,+ "line": 360,"text": "let found_on_search_path = tokio::task::spawn_blocking(move || {","occurrence": 1},+ {+ "rule": "ambient-context",+ "path": "crates/openhuman-core/src/platform/about_app/ops.rs",+ "line": 36,+ "text": "CoreContext::current().map_or_else(ComponentSet::all, |ctx| ctx.components())",+ "occurrence": 1+ },{"rule": "bare-spawn","path": "crates/openhuman-core/src/platform/doctor/ops.rs",@@ -826,16 +840,16 @@"occurrence": 1},{- "rule": "bare-spawn",- "path": "crates/openhuman-core/src/sandbox/ops.rs",- "line": 594,- "text": "let wait_result = tokio::task::spawn_blocking(move || {",+ "rule": "ambient-context",+ "path": "crates/openhuman-core/src/profiles/tools.rs",+ "line": 204,+ "text": "crate::core::runtime::context::CoreContext::current()?","occurrence": 1},{"rule": "home-dir","path": "crates/openhuman-core/src/sandbox/ops.rs",- "line": 649,+ "line": 529,"text": "dirs::home_dir()","occurrence": 1},@@ -884,14 +898,14 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/skills/catalog/ops.rs",- "line": 48,+ "line": 49,"text": "tokio::spawn(async {","occurrence": 1},{"rule": "home-dir","path": "crates/openhuman-core/src/skills/catalog/ops.rs",- "line": 363,+ "line": 364,"text": "dirs::home_dir().as_deref(),","occurrence": 1},@@ -912,7 +926,7 @@{"rule": "home-dir","path": "crates/openhuman-core/src/skills/ops_create.rs",- "line": 125,+ "line": 128,"text": "let home = dirs::home_dir();","occurrence": 1},@@ -1073,7 +1087,7 @@{"rule": "ambient-context","path": "crates/openhuman-core/src/tools/ops.rs",- "line": 834,+ "line": 541,"text": "let domains = crate::core::runtime::context::CoreContext::current().map(|c| c.domains());","occurrence": 1},@@ -1108,7 +1122,7 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/voice/dictation_listener.rs",- "line": 178,+ "line": 179,"text": "let task = tokio::spawn(async move {","occurrence": 1},@@ -1220,7 +1234,7 @@{"rule": "bare-spawn","path": "crates/openhuman-core/src/web_chat/presentation.rs",- "line": 237,+ "line": 106,"text": "let persisted = tokio::task::spawn_blocking(move || {","occurrence": 1},diff --git a/scripts/ci/self-hosted/install-test-modules.sh b/scripts/ci/self-hosted/install-test-modules.shindex 66fe1f5064..aaa134cd01 100755--- a/scripts/ci/self-hosted/install-test-modules.sh+++ b/scripts/ci/self-hosted/install-test-modules.sh@@ -65,4 +65,7 @@ for id in tinybox tinydocs tinywallet tinychannels tinymcp tinyjuice tinysearchmodule_dirs="${module_dirs:+${module_dirs}:}${dest}/${id}"doneecho "OPENHUMAN_MODULE_PATH=${module_dirs}${OPENHUMAN_MODULE_PATH:+:$OPENHUMAN_MODULE_PATH}" > "${env_file}"+if [ -f "${dest}/tinymcp/libtinymcp_module.so" ]; then+ echo "OPENHUMAN_TINYMCP_TEST_MODULE=${dest}/tinymcp/libtinymcp_module.so" >> "${env_file}"+filog "wrote ${env_file}"diff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjsindex 91c30fe61d..1544b7a9be 100644--- a/scripts/ci/self-hosted/lanes-plan.mjs+++ b/scripts/ci/self-hosted/lanes-plan.mjs@@ -462,8 +462,8 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {run:"cargo test --manifest-path Cargo.toml -p openhuman --no-default-features --lib --" +" core::all:: core::cli:: core::invoke:: core::session_expiry:: core::legacy_aliases:: core::runtime::" +- " agent::registry::agents::loader:: commands::ops::tests:: memory::people::contacts_gate_tests::" +- " memory::layout_migration::" ++ " agent::registry::agents::loader:: commands::ops::tests:: cron::store::" ++ " memory::people::contacts_gate_tests:: memory::layout_migration::" +" openhuman::config:: openhuman::platform::socket::event_handlers:: tools::schemas:: tools::ops::tests::",},{@@ -476,8 +476,10 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {when: gateSmoke,run:"cargo test --manifest-path Cargo.toml -p openhuman --no-default-features" +- " --features modules,mcp,e2e-test-support --lib --" +- " modules::host:: modules::registry:: mcp::server::resources:: test_support::introspect::",+ " --features modules,mcp,e2e-test-support,flows,storage-sqlite,web3,hosting --lib --" ++ " modules::host:: modules::registry:: modules::ops::components_tests::" ++ " mcp::server::resources:: storage::import::tinyflows::" ++ " tools::implementations::network::tests:: test_support::introspect::",},{name: "kernel-floor",diff --git a/tests/mcp_registry_multi_server.rs b/tests/mcp_registry_multi_server.rsindex afdd252d7f..2b3eedf12a 100644--- a/tests/mcp_registry_multi_server.rs+++ b/tests/mcp_registry_multi_server.rs@@ -18,6 +18,9 @@ fn fresh_workspace_config() -> (tempfile::TempDir, Config) {let workspace = tempfile::tempdir().expect("temporary MCP workspace");let artifact = std::env::var_os(MODULE_ARTIFACT_ENV).map(std::path::PathBuf::from)+ .or_else(|| {+ openhuman_core::modules::local_artifact("tinymcp").map(std::path::PathBuf::from)+ }).expect("the MCP test runner supplies the verified TinyMCP artifact").canonicalize().expect("TinyMCP artifact exists");diff --git a/tests/saas_isolation/generators.rs b/tests/saas_isolation/generators.rsindex 9b17d116d1..aecec25926 100644--- a/tests/saas_isolation/generators.rs+++ b/tests/saas_isolation/generators.rs@@ -105,6 +105,20 @@ pub const GENERATORS: &[(&str, Generator)] = &["openhuman.threads_todos_get",|w, a| json!({ "thread_id": w.thread_for(a, false) }),),+ ("openhuman.subagent_cancel", |w, a| {+ json!({+ "taskId": format!("sub-{}", w.next_id()),+ "reason": w.canary(a),+ })+ }),+ ("openhuman.subagent_steer", |w, a| {+ let mode = ["steer", "collect"][w.rng.below(2)];+ json!({+ "taskId": format!("sub-{}", w.next_id()),+ "message": w.canary(a),+ "mode": mode,+ })+ }),("openhuman.threads_generate_title",|w, a| json!({ "thread_id": w.thread_for(a, true), "assistant_message": w.canary(a) }),diff --git a/tests/tinysearch_module_e2e.rs b/tests/tinysearch_module_e2e.rsindex 209a9dba2a..bda71e9b96 100644--- a/tests/tinysearch_module_e2e.rs+++ b/tests/tinysearch_module_e2e.rs@@ -22,7 +22,7 @@ async fn pinned_search_module_serves_host_contract_and_rejects_disabled_executio).expect("published artifact is admitted by the host loader");assert_eq!(info.name, "tinysearch");- assert_eq!(info.version, "0.4.2");+ assert_eq!(info.version, "0.5.0");let client = tinybus::Connection::connect(bus.connect().await.unwrap()).await.unwrap();