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(memory): close three migration seams a live prod test session surfaced\n\nSync button on a Composio source errored: v1.13.4 removed the engine's\nin-process Composio sync, and the host's memory_sources sync_rpc still\nrouted every source id into the memory driver's pipeline, which now\nrefuses composio rows. The RPC branches on the source kind: composio rows\ndispatch through composio_sync -- the connector module reads the account,\nthe same memory binding ingests -- and everything else keeps the driver\npipeline. One Sync button, two transports, chosen by kind.\n\nThe chat agent claimed goals tools were unavailable while the goals tab\nworked: capability and domain gates both pass at runtime (the driver\nadvertises `goals`), but the orchestrator's `[tools] named` allowlist --\nthe third gate, which the RPC path does not have -- never named the\ngoals_* family. The four tools join the allowlist beside the other\nmemory-store writes.\n\nThe round23 raw-coverage target panicked with "module host policy was\nnever published": tree_summarizer_ingest crosses the module binding since\nthe round-2 migration, and this test drives the RPC without the boot\nsequence that publishes the policy. It now publishes the config and loads\nthe CI-provisioned local module in its preamble, exactly as the sync\nround23 target already does.\n
Shanu2f716a180b40
diff --git a/src/openhuman/agent/registry/agents/orchestrator/agent.toml b/src/openhuman/agent/registry/agents/orchestrator/agent.tomlindex daddd72556..45431fa5e2 100644--- a/src/openhuman/agent/registry/agents/orchestrator/agent.toml+++ b/src/openhuman/agent/registry/agents/orchestrator/agent.toml@@ -241,6 +241,15 @@ named = ["memory_recall","memory_store","save_preference",+ # The long-term goals store (goals doc over the memory binding). The+ # RPC/tab surface always had these; the agent could not answer "list my+ # goals" because this allowlist never named the family — capability and+ # domain gates both pass at runtime (the driver advertises `goals`), so+ # this list was the only closed layer (#5875 test session).+ "goals_list",+ "goals_add",+ "goals_edit",+ "goals_delete",# Memory-protocol close-out (#4116). A successful `memory_store` is a durable# write, so the memory-protocol middleware appends a "call `update_memory_md`# to keep the MEMORY.md index in sync" note to the tool result and warns at rundiff --git a/src/openhuman/memory/sources/rpc_part_01.rs b/src/openhuman/memory/sources/rpc_part_01.rsindex 152595e7e1..bf6ff25ef2 100644--- a/src/openhuman/memory/sources/rpc_part_01.rs+++ b/src/openhuman/memory/sources/rpc_part_01.rs@@ -528,6 +528,34 @@ pub async fn sync_rpc(req: SyncRequest) -> Result<RpcOutcome<SyncResponse>, Striif !entry.enabled {return Err(format!("source '{}' is disabled", entry.id));}+ // Composio rows never reach the memory driver's pipeline: v1.13.4+ // removed the engine's in-process Composio sync, and the driver now+ // answers this id with "synced through the connector module, not this+ // pipeline". The connector-backed run IS the sync for this kind, so+ // the one Sync button dispatches there — same entry point the+ // `openhuman.composio_sync` RPC uses, which reads the connected+ // account through the module and ingests through this same binding.+ if entry.kind == tinymemory_sources::types::SourceKind::Composio {+ let connection_id = entry.connection_id.as_deref().ok_or_else(|| {+ format!(+ "composio source '{}' has no connection_id; remove and re-add the source",+ entry.id+ )+ })?;+ crate::openhuman::integrations::composio::ops::composio_sync(+ &config,+ connection_id,+ Some("manual".to_string()),+ )+ .await?;+ return Ok(RpcOutcome::new(+ SyncResponse {+ requested: true,+ source_id: req.source_id,+ },+ vec![],+ ));+ }}sync.run_source_sync(&req.source_id).awaitdiff --git a/tests/raw_coverage/memory_tree_memory_round23_raw_coverage_e2e.rs b/tests/raw_coverage/memory_tree_memory_round23_raw_coverage_e2e.rsindex fea4c0e347..de6b4c221e 100644--- a/tests/raw_coverage/memory_tree_memory_round23_raw_coverage_e2e.rs+++ b/tests/raw_coverage/memory_tree_memory_round23_raw_coverage_e2e.rs@@ -17,17 +17,17 @@ use openhuman_core::openhuman::inference::embeddings::NoopEmbedding;// The engine's own ingest request/config — what `UnifiedMemory::ingest_document`// takes. `memory::MemoryIngestion*` are the host's WIRE shapes now// (`rpc_models`), distinct types (#5560).-use tinycortex::memory::ingest::{ExtractionMode, MemoryIngestionConfig, MemoryIngestionRequest};-use tinymemory_core::store::{NamespaceDocumentInput, UnifiedMemory};use openhuman_core::openhuman::memory::tree::tree_runtime::{all_tree_summarizer_registered_controllers, rpc as tree_runtime_rpc,};+use tinycortex::memory::ingest::{ExtractionMode, MemoryIngestionConfig, MemoryIngestionRequest};+use tinymemory_core::store::{NamespaceDocumentInput, UnifiedMemory};// The host's `tree_runtime` re-export of these two engine modules is gone// (#5560): the RPC surface goes through the contract's runtime-tree doors now,// and the fold is the driver's. This target drives the engine directly, so it// names the engine crate.-use tinymemory_core::tree::tree_runtime::{engine, store as tree_runtime_store};use tinyinference::model::{ChatModel, ModelRequest, ModelResponse};+use tinymemory_core::tree::tree_runtime::{engine, store as tree_runtime_store};struct EnvVarGuard {key: &'static str,@@ -275,6 +275,18 @@ async fn tree_runtime_rpc_and_registered_handlers_cover_status_and_errors() {let _workspace = EnvVarGuard::set_to_path("OPENHUMAN_WORKSPACE", tmp.path());let timestamp = Utc.with_ymd_and_hms(2026, 5, 30, 11, 0, 0).unwrap();+ // The summarizer RPC crosses the module binding since the round-2+ // migration, and this raw-coverage target runs without the boot sequence+ // that publishes the module host policy — publish it here exactly as the+ // sync round23 target does, then load the CI-provisioned local module.+ #[cfg(feature = "modules")]+ openhuman_core::openhuman::modules::memory::set_modules_policy(std::sync::Arc::new(+ config.clone(),+ ));+ openhuman_core::openhuman::modules::ops::ensure_loaded(&config, "tinymemory")+ .await+ .expect("load local TinyMemory test module");+let ingest = tree_runtime_rpc::tree_summarizer_ingest(&config," round23 rpc ",