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
test(e2e): publish the module boot policy in worker_c's memory ingest case\n\nThe last red in the FULL coverage lane. `memory_tree_ingest_feeds_memory_sync_status`\ningests over the HTTP router, which writes through the bound memory driver; under the\n`modules` gate that is the loaded tinymemory artifact, and it resolves its config from\nthe process-wide boot policy this harness never published, so the RPC answered\n"the module host policy was never published". The case publishes it from the config\nthe harness wrote (HOME is the harness tempdir, so this names its workspace and its\nregistry file). It is the only case in the binary that reaches the driver, so\nfirst-call-wins has nothing to contend with. 10/10 locally with the module loaded.\n\nClaude-Session: https://claude.ai/code/session_01Ufhq47VCos7Tw9zCyYEXmR\n
Shanu74083055576d
diff --git a/tests/worker_c_modules_e2e.rs b/tests/worker_c_modules_e2e.rsindex 74741ae532..c54c61ceb4 100644--- a/tests/worker_c_modules_e2e.rs+++ b/tests/worker_c_modules_e2e.rs@@ -844,6 +844,20 @@ async fn embeddings_controller_paths_validate_without_live_services() {async fn memory_tree_ingest_feeds_memory_sync_status() {let _lock = env_lock();let harness = setup().await;+ // `memory_tree_ingest` writes through the bound memory driver, which under+ // the `modules` gate is the loaded tinymemory artifact and resolves its+ // config from the process-wide boot policy that boot publishes and this+ // harness never did. Publish it from the config this harness wrote (HOME+ // points at the harness tempdir, so this names its workspace and its+ // registry file). The policy is first-call-wins and the module captures+ // its workspace at load; this is the only case in the binary that reaches+ // the driver, so nothing else contends for the slot.+ #[cfg(feature = "modules")]+ openhuman_core::openhuman::modules::memory::set_modules_policy(std::sync::Arc::new(+ openhuman_core::openhuman::config::Config::load_or_init()+ .await+ .expect("load the harness config for the module policy"),+ ));let ingest = rpc(&harness.rpc_base,