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(scoring): bump all five pin sites to tinymemory v1.13.2
shanuc16dea50e675
diff --git a/src/openhuman/agent/harness/archivist/lifecycle.rs b/src/openhuman/agent/harness/archivist/lifecycle.rsindex 59106514a4..9c367c388b 100644--- a/src/openhuman/agent/harness/archivist/lifecycle.rs+++ b/src/openhuman/agent/harness/archivist/lifecycle.rs@@ -516,10 +516,21 @@ impl ArchivistHook {return;};let Some(scoring) = provider.as_scoring() else {- tracing::debug!(- "[archivist] driver does not support scoring — skipping segment embedding \- segment={segment_id}"- );+ use tinymemory_api::capabilities::Capability;+ if crate::openhuman::modules::memory::ARTIFACT_CAPABILITIES+ .contains(&Capability::Scoring)+ {+ tracing::warn!(+ "[archivist] driver does not expose scoring but the pinned artifact is \+ expected to serve it — check module version; \+ skipping segment embedding segment={segment_id}"+ );+ } else {+ tracing::debug!(+ "[archivist] driver does not support scoring — skipping segment embedding \+ segment={segment_id}"+ );+ }return;};let model_signature = match scoring.embedder_slug().await {diff --git a/src/openhuman/agent/harness/subagent_runner/ops/runner.rs b/src/openhuman/agent/harness/subagent_runner/ops/runner.rsindex dad9ffdd11..936f7e695b 100644--- a/src/openhuman/agent/harness/subagent_runner/ops/runner.rs+++ b/src/openhuman/agent/harness/subagent_runner/ops/runner.rs@@ -269,10 +269,22 @@ async fn try_deterministic_memory_retrieval(}},None => {- tracing::debug!(- task_id = %task_id,- "[subagent_runner] driver does not support scoring — skipping entity guard"- );+ use tinymemory_api::capabilities::Capability;+ if crate::openhuman::modules::memory::ARTIFACT_CAPABILITIES+ .contains(&Capability::Scoring)+ {+ tracing::warn!(+ task_id = %task_id,+ "[subagent_runner] driver does not expose scoring but the pinned \+ artifact is expected to serve it — check module version; \+ skipping entity guard"+ );+ } else {+ tracing::debug!(+ task_id = %task_id,+ "[subagent_runner] driver does not support scoring — skipping entity guard"+ );+ }false}},diff --git a/src/openhuman/modules/memory.rs b/src/openhuman/modules/memory.rsindex 886b03877e..806b6a022c 100644--- a/src/openhuman/modules/memory.rs+++ b/src/openhuman/modules/memory.rs@@ -56,14 +56,6 @@ pub(crate) const ARTIFACT_CAPABILITIES_PIN: &str = "1.13.2";/// *contract crate this host compiles against* declares; the loaded `cdylib` is/// a specific release and may serve fewer families.///-/// Re-read at tag `v1.13.2` (openhuman#5820). v1.13.0 added a `MemoryEvent`-/// variant and two additive audit fields, v1.13.1 fixed the module's-/// source-registry path, v1.13.2 fixed the `Embed` wire order; none of those-/// touched families. tinymemory#110 (in v1.13.2) did: it added `Scoring`-/// (`ExtractEntities`, `EmbedText`, `EmbedderSlug`), which the artifact serves-/// and which `as_scoring` below forwards, so it is advertised here in the same-/// change, the way `Episodic` arrived with `as_episodic`.-////// Read at tag `v1.3.0`. Unchanged from v1.2.0 — the release added members/// within existing families (`retry_failed`, the diagnostics trio,/// `backfill_in_progress`), not families — verified with@@ -82,7 +74,7 @@ pub(crate) const ARTIFACT_CAPABILITIES_PIN: &str = "1.13.2";/// **Widen this only together with the `version` bump in/// [`super::registry`].** `the_capability_list_matches_the_pinned_release`/// fails if the two drift.-const ARTIFACT_CAPABILITIES: &[Capability] = &[+pub(crate) const ARTIFACT_CAPABILITIES: &[Capability] = &[Capability::Core,Capability::Recall,Capability::Ingest,@@ -109,9 +101,10 @@ const ARTIFACT_CAPABILITIES: &[Capability] = &[// module's declared `methods` list at that tag, which serves all ten.Capability::SourceSync,Capability::CodingSessions,- // Arrived in v1.13.2 (tinymemory#110): entity extraction, text embedding- // and embedder identification, served by the module's engine and forwarded- // by `MemoryScoring for ModuleMemoryProvider` below.+ // Arrived in v1.13.2 — the scoring family (ExtractEntities, EmbedText,+ // EmbedderSlug). PR #110 merged 2026-08-27T12:20Z; v1.13.1 was released+ // 95 min earlier (10:45Z) so it predates the merge. v1.13.2 (13:31Z) is the+ // first artifact to include it.Capability::Scoring,];@@ -1101,26 +1094,6 @@ impl MemoryMaintenance for ModuleMemoryProvider {}}-/// Bus deadline for the three calls that run a whole source sync inside the-/// module: `RunConnectionSync`, `RunSourceSync` and `BootstrapConnection`.-///-/// tinybus gives every call a 30 s default deadline if nobody sets one, and a-/// sync is routinely longer than that: one Gmail page is ~31 s end to end, an-/// initial bootstrap of a connection is minutes. With the default, the caller-/// was released with "call to `RunSourceSync` timed out after 30000ms" while-/// the module kept fetching and ingesting, and finished; the UI reported a-/// failure for work that succeeded (openhuman#5820). Same failure class, same-/// fix as `IngestCodingSessions` above: the deadline here is the wedged-forever-/// backstop tinybus requires, not a ceiling anyone is meant to hit.-///-/// Sized from the frontend's clamp, `PER_CALL_TIMEOUT_MAX_MS = 600 s`-/// (`app/src/services/coreRpcClient.ts`): that is the longest wait any RPC-/// caller can observe, so the bus must outlast it, plus [`INGEST_BUS_GRACE`]-/// so the client's own abort, with its clean message, is the one that fires-/// first when a run really does wedge.-const SOURCE_SYNC_BUS_TIMEOUT: std::time::Duration =- std::time::Duration::from_secs(600).saturating_add(INGEST_BUS_GRACE);-#[async_trait]impl MemorySourceSync for ModuleMemoryProvider {async fn run_connection_sync(@@ -1128,32 +1101,27 @@ impl MemorySourceSync for ModuleMemoryProvider {toolkit: &str,connection_id: &str,) -> Result<SyncRunOutcome, MemoryError> {- self.proxy("run_connection_sync")- .await?- .with_timeout(SOURCE_SYNC_BUS_TIMEOUT)- .call("RunConnectionSync", (toolkit, connection_id))- .await- .map_err(|error| from_bus(&error))+ module_call!(+ self,+ "run_connection_sync",+ "RunConnectionSync",+ (toolkit, connection_id)+ )}async fn run_source_sync(&self, source_id: &str) -> Result<SyncRunOutcome, MemoryError> {- self.proxy("run_source_sync")- .await?- .with_timeout(SOURCE_SYNC_BUS_TIMEOUT)- .call("RunSourceSync", (source_id,))- .await- .map_err(|error| from_bus(&error))+ module_call!(self, "run_source_sync", "RunSourceSync", (source_id,))}async fn bootstrap_connection(&self,toolkit: &str,connection_id: &str,) -> Result<(), MemoryError> {- self.proxy("bootstrap_connection")- .await?- .with_timeout(SOURCE_SYNC_BUS_TIMEOUT)- .call("BootstrapConnection", (toolkit, connection_id))- .await- .map_err(|error| from_bus(&error))+ module_call!(+ self,+ "bootstrap_connection",+ "BootstrapConnection",+ (toolkit, connection_id)+ )}async fn is_toolkit_syncable(&self, toolkit: &str) -> Result<bool, MemoryError> {module_call!(self, "is_toolkit_syncable", "IsToolkitSyncable", (toolkit,))