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
docs(memory): stop describing host_impls.rs in the present tense\n\nFive comments still spoke of `memory/host_impls.rs` as a file that exists, and\none of them was worse than stale: `inference::embeddings`' note explained why a\n`model_supports_dimensions` re-export was gated the way it was, sitting\ndirectly above a *different* re-export, because the line it described was\ndeleted with the engine.\n\n`modules::memory_host` called itself "the bus-served twin" of a file that is\nnow gone, and `core::runtime::context` still said `host_impls` "compiles only\nunder `memory-engine-seams`" — a feature this branch removes.\n\nComments only; no code changes. The remaining mentions are deliberate and read\nin the past tense: they explain what a seam used to do and why the bus-served\none is shaped as it is, which is worth keeping.\n
Shanu59f9457b57b1
diff --git a/src/core/runtime/context.rs b/src/core/runtime/context.rsindex 40725ea0ab..01174096f7 100644--- a/src/core/runtime/context.rs+++ b/src/core/runtime/context.rs@@ -626,10 +626,11 @@ pub async fn init_stores(// The engine seams are gone from here (#5560). They installed embedding// / chat / config / NLP / scheduler / shutdown / error-reporting// callbacks into *this process's* copy of `tinymemory-core`, and that- // copy no longer exists: the crate has left `[dependencies]`, so- // `memory::host_impls` compiles only under `memory-engine-seams`- // (default-ON, product-OFF) and the module answers these- // over the bus through `modules::memory_host` instead.+ // copy no longer exists: the crate has left `[dependencies]`, and with+ // openhuman#6161 it has left `[dev-dependencies]` too, taking+ // `memory::host_impls` and the `memory-engine-seams` feature that+ // gated it. The module answers these over the bus through+ // `modules::memory_host` instead.//// The first attempt at this removal shipped an outage, and the reason// is worth keeping. It was not that the seams were needed in thediff --git a/src/openhuman/agent/harness/archivist/lifecycle.rs b/src/openhuman/agent/harness/archivist/lifecycle.rsindex 11fb2a1a54..8817a0a1e2 100644--- a/src/openhuman/agent/harness/archivist/lifecycle.rs+++ b/src/openhuman/agent/harness/archivist/lifecycle.rs@@ -59,9 +59,10 @@ impl ArchivistHook {////// That question is the host's to answer, and this asks it directly./// `build_chat_provider` wraps `tinymemory_core::chat_host::- /// create_chat_model_with_model_id`, which is a process-global seam whose- /// only implementation is `OpenHumanChatHost` in `memory/host_impls.rs`,- /// and that forwards verbatim to the call below — same role, same config,+ /// create_chat_model_with_model_id`, which was a process-global seam whose+ /// only implementation was `OpenHumanChatHost` in `memory/host_impls.rs`+ /// (deleted with the in-process engine, openhuman#6161), and that forwarded+ /// verbatim to the call below — same role, same config,/// same temperature. The predicate is therefore unchanged; what changed is/// that the archivist no longer names the memory engine to evaluate it/// (#5560), and no longer builds a model it will not use.diff --git a/src/openhuman/inference/embeddings/mod.rs b/src/openhuman/inference/embeddings/mod.rsindex 6bab9d8d09..fba0292b1b 100644--- a/src/openhuman/inference/embeddings/mod.rs+++ b/src/openhuman/inference/embeddings/mod.rs@@ -54,12 +54,11 @@ pub use factory::{// warning. Pre-dates #5560; fixed here because the line next to it moved.#[cfg(feature = "modules")]pub(crate) use factory::MODELS_SUPPORTING_DIMENSIONS;-// Its sole caller through this re-export is `memory::host_impls`, which is-// gated on `memory-engine-seams` since the engine crates left the product-// build (#5560) — so the re-export is too, or the product lane fails on-// `-D warnings`. The-// function itself is not test-only: `factory` and `embeddings::rpc` both reach-// it directly through `super::factory::`, which is why only the re-export moves.+// `model_supports_dimensions` used to be re-exported here beside it, for+// `memory::host_impls`. That file is gone with the in-process engine+// (openhuman#6161), and so is the re-export — the function is not test-only,+// and `factory` and `embeddings::rpc` both reach it directly through+// `super::factory::`, so nothing else had to move.// #002 FR-015: the memory-tree OpenAI-compat embedder reuses the same key// resolution the embeddings RPC uses, so there is one source of truth.pub use noop::NoopEmbedding;@@ -67,11 +66,12 @@ pub use provider_trait::{format_embedding_signature, EmbeddingProvider, TinyAgentsEmbeddingProvider,};pub use rpc::provider_from_config;-// Reached through this re-export by `modules::memory_host` (serving the seam-// over the bus) and by `memory::host_impls` (serving it in-process, and-// gated on `memory-engine-seams` since #5560). `embeddings::rpc` itself names-// the function-// through `super::rpc`, not through here, so this gate does not narrow it.+// Reached through this re-export by `modules::memory_host`, which serves the+// seam over the bus. `memory::host_impls` served the same seam in-process and+// reached it the same way, until the in-process engine left the test build too+// (openhuman#6161) and took that file with it. `embeddings::rpc` itself names+// the function through `super::rpc`, not through here, so this gate does not+// narrow it.#[cfg(any(test, feature = "modules"))]pub(crate) use rpc::resolve_api_key;pub use schemas::{diff --git a/src/openhuman/modules/memory_host.rs b/src/openhuman/modules/memory_host.rsindex 2ad8831974..16936cd342 100644--- a/src/openhuman/modules/memory_host.rs+++ b/src/openhuman/modules/memory_host.rs@@ -1,9 +1,11 @@//! Host-owned callbacks used by the separately compiled TinyMemory module.//!-//! This file is the bus-served twin of `memory/host_impls.rs`. That file-//! installs the engine's seam traits as process globals, which only works while-//! the engine is compiled into this binary; these interfaces serve the same-//! capabilities to an engine that is *not*, over the module's connection.+//! This file was the bus-served twin of `memory/host_impls.rs`, and is now the+//! only one of the pair. That file installed the engine's seam traits as+//! process globals, which only works while the engine is compiled into this+//! binary — so it went when the engine left the test build too+//! (openhuman#6161). These interfaces serve the same capabilities to an engine+//! that is *not* compiled in, over the module's connection.//!//! # Which seams are here, and why only these//!@@ -169,10 +171,10 @@ fn resolve_chat_model(/// the sync layer treats that as *skip silently* — the exact/// looks-empty-rather-than-broken failure the seam exists to prevent.///-/// `memory/host_impls.rs` gets liveness a cheaper way: its async methods-/// re-read from disk, and its two synchronous probes recover the caller's-/// config, which the engine's own loops keep fresh. With no caller config to-/// recover, a fresh read is what "current as of the call" costs here. It is+/// `memory/host_impls.rs` got liveness a cheaper way while it existed: its+/// async methods re-read from disk, and its two synchronous probes recovered+/// the caller's config, which the engine's own loops kept fresh. With no caller+/// config to recover, a fresh read is what "current as of the call" costs here. It is/// bounded — the probes sit on periodic sync paths, a handful of reads per/// tick, next to network calls that dominate them.///