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(ci): retire the release-gate skip it was built to outlive, and follow the pin\n\nThree failures, one cause: the v1.4.0 re-pin landed and two things did not\nfollow it.\n\nThe pin-aware skip in the envelope test was designed to self-remove when the\nregistry moved past 1.3.0. It did — but "self-remove" only ever meant the\nbranch stopped being taken; the code stayed, and with it a\n`crate::openhuman::modules::` reference that is not behind `#[cfg(feature =\n"modules")]`. That broke the gates-off lane, which compiles the lib test\nharness with default features off. The guard is deleted rather than gated:\nit exists to bridge a release gap that has closed, and a dead guard is worse\nthan none because the next reader has to work out which half is live.\n\nCI still downloaded the v1.3.0 test module while the registry advertises\nv1.4.0, so `memory_recall_memories` reached an artifact predating\n`RecallNamespaceRecent` — the same drift, one release later, in all four\ndownload sites. Digest taken verbatim from v1.4.0's checksum.toml.\n\n
Shanu21157aa509ac
diff --git a/.github/workflows/ci-full.yml b/.github/workflows/ci-full.ymlindex 27cb8806c0..ab494db79a 100644--- a/.github/workflows/ci-full.yml+++ b/.github/workflows/ci-full.yml@@ -129,17 +129,17 @@ jobs:module_root="/opt/openhuman-test-modules/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"memory_dir="$module_root/tinymemory"juice_dir="$module_root/tinyjuice"- memory_archive="$memory_dir/tinymemory-module-1.3.0-ubuntu-22.04-x86_64.tar.gz"+ memory_archive="$memory_dir/tinymemory-module-1.4.0-ubuntu-22.04-x86_64.tar.gz"juice_archive="$juice_dir/tinyjuice-module-0.2.2-ubuntu-22.04-x86_64.tar.gz"rm -rf "$memory_dir" "$juice_dir"mkdir -p "$memory_dir" "$juice_dir"curl --fail --location --silent --show-error \- "https://github.com/tinyhumansai/tinymemory/releases/download/v1.3.0/$(basename "$memory_archive")" \+ "https://github.com/tinyhumansai/tinymemory/releases/download/v1.4.0/$(basename "$memory_archive")" \--output "$memory_archive"curl --fail --location --silent --show-error \"https://github.com/tinyhumansai/tinyjuice/releases/download/v0.2.2/$(basename "$juice_archive")" \--output "$juice_archive"- echo "3e30368c10d24153128f5a51130ac0b322b5c0e1fe5e8257a98d6e06d4eb8cff $memory_archive" \+ echo "d722d36e9fc35ef4ddbbb96499949a6a608f044e924d023f719deb9aa3f5875d $memory_archive" \| sha256sum --checkecho "fd8caf7fccb53328870fd26922aa9768d253cd4b3bf758967847d6512df03863 $juice_archive" \| sha256sum --checkdiff --git a/.github/workflows/ci-lite.yml b/.github/workflows/ci-lite.ymlindex a507f576ac..b68b004596 100644--- a/.github/workflows/ci-lite.yml+++ b/.github/workflows/ci-lite.yml@@ -746,17 +746,17 @@ jobs:module_root="/opt/openhuman-test-modules/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"memory_dir="$module_root/tinymemory"juice_dir="$module_root/tinyjuice"- memory_archive="$memory_dir/tinymemory-module-1.3.0-ubuntu-22.04-x86_64.tar.gz"+ memory_archive="$memory_dir/tinymemory-module-1.4.0-ubuntu-22.04-x86_64.tar.gz"juice_archive="$juice_dir/tinyjuice-module-0.2.2-ubuntu-22.04-x86_64.tar.gz"rm -rf "$memory_dir" "$juice_dir"mkdir -p "$memory_dir" "$juice_dir"curl --fail --location --silent --show-error \- "https://github.com/tinyhumansai/tinymemory/releases/download/v1.3.0/$(basename "$memory_archive")" \+ "https://github.com/tinyhumansai/tinymemory/releases/download/v1.4.0/$(basename "$memory_archive")" \--output "$memory_archive"curl --fail --location --silent --show-error \"https://github.com/tinyhumansai/tinyjuice/releases/download/v0.2.2/$(basename "$juice_archive")" \--output "$juice_archive"- echo "3e30368c10d24153128f5a51130ac0b322b5c0e1fe5e8257a98d6e06d4eb8cff $memory_archive" \+ echo "d722d36e9fc35ef4ddbbb96499949a6a608f044e924d023f719deb9aa3f5875d $memory_archive" \| sha256sum --checkecho "fd8caf7fccb53328870fd26922aa9768d253cd4b3bf758967847d6512df03863 $juice_archive" \| sha256sum --checkdiff --git a/.github/workflows/e2e-reusable.yml b/.github/workflows/e2e-reusable.ymlindex ecd0fc75c6..55dd78f798 100644--- a/.github/workflows/e2e-reusable.yml+++ b/.github/workflows/e2e-reusable.yml@@ -164,13 +164,13 @@ jobs:# live outside the runner-owned checkout in this root-run container.module_root="/opt/openhuman-test-modules/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"memory_dir="$module_root/tinymemory"- memory_archive="$memory_dir/tinymemory-module-1.3.0-ubuntu-22.04-x86_64.tar.gz"+ memory_archive="$memory_dir/tinymemory-module-1.4.0-ubuntu-22.04-x86_64.tar.gz"rm -rf "$memory_dir"mkdir -p "$memory_dir"curl --fail --location --silent --show-error \- "https://github.com/tinyhumansai/tinymemory/releases/download/v1.3.0/$(basename "$memory_archive")" \+ "https://github.com/tinyhumansai/tinymemory/releases/download/v1.4.0/$(basename "$memory_archive")" \--output "$memory_archive"- echo "3e30368c10d24153128f5a51130ac0b322b5c0e1fe5e8257a98d6e06d4eb8cff $memory_archive" \+ echo "d722d36e9fc35ef4ddbbb96499949a6a608f044e924d023f719deb9aa3f5875d $memory_archive" \| sha256sum --checktar --no-same-owner -xzf "$memory_archive" -C "$memory_dir"echo "TINYMEMORY_TEST_MODULE=$memory_dir/libtinymemory_module.so" \@@ -362,13 +362,13 @@ jobs:# metadata API while the test is running.module_root="/opt/openhuman-test-modules/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"memory_dir="$module_root/tinymemory"- memory_archive="$memory_dir/tinymemory-module-1.3.0-ubuntu-22.04-x86_64.tar.gz"+ memory_archive="$memory_dir/tinymemory-module-1.4.0-ubuntu-22.04-x86_64.tar.gz"rm -rf "$memory_dir"mkdir -p "$memory_dir"curl --fail --location --silent --show-error \- "https://github.com/tinyhumansai/tinymemory/releases/download/v1.3.0/$(basename "$memory_archive")" \+ "https://github.com/tinyhumansai/tinymemory/releases/download/v1.4.0/$(basename "$memory_archive")" \--output "$memory_archive"- echo "3e30368c10d24153128f5a51130ac0b322b5c0e1fe5e8257a98d6e06d4eb8cff $memory_archive" \+ echo "d722d36e9fc35ef4ddbbb96499949a6a608f044e924d023f719deb9aa3f5875d $memory_archive" \| sha256sum --checktar --no-same-owner -xzf "$memory_archive" -C "$memory_dir"echo "TINYMEMORY_TEST_MODULE=$memory_dir/libtinymemory_module.so" \diff --git a/src/openhuman/memory/guard/families.rs b/src/openhuman/memory/guard/families.rsindex 4df87e38b6..852484e88b 100644--- a/src/openhuman/memory/guard/families.rs+++ b/src/openhuman/memory/guard/families.rs@@ -255,6 +255,26 @@ impl MemoryIngest for GuardedIngest {);self.family()?.ingest_chat(messages).await}++ async fn ingest_email(&self, messages: Vec<IngestItem>) -> Result<IngestOutcome, MemoryError> {+ // Admitted exactly like chat: a thread is one conversation with no+ // namespace of its own, and every message is taint-stamped and+ // redacted before it reaches the driver.+ self.policy.admit_write(+ Capability::Ingest,+ "ingest.ingest_email",+ NO_NAMESPACE,+ true,+ )?;+ let messages: Vec<IngestItem> = messages.into_iter().map(|m| self.admit(m)).collect();+ trace_allowed(+ &self.policy,+ "ingest.ingest_email",+ NO_NAMESPACE,+ messages.iter().map(|m| m.content.chars().count()).sum(),+ );+ self.family()?.ingest_email(messages).await+ }}// ── Documents ────────────────────────────────────────────────────────────────diff --git a/src/openhuman/memory/ops/documents.rs b/src/openhuman/memory/ops/documents.rsindex 935f14ffca..8b90ed80ac 100644--- a/src/openhuman/memory/ops/documents.rs+++ b/src/openhuman/memory/ops/documents.rs@@ -855,30 +855,6 @@ mod tests {assert!(query_data.llm_context_message.is_some());assert!(query_data.context.is_some());- // `memory_recall_memories` rides `RecallNamespaceRecent`, which no- // release before v1.4.0 serves. Against an older pinned artifact the- // driver answers UnknownMethod — the release gate this PR documents,- // not a defect this test can see past. The guard self-removes: the- // re-pin that moves this constant past 1.3.0 turns the recall- // assertions back on, so the tripwire survives exactly as long as the- // gate does.- let pinned = crate::openhuman::modules::memory::ARTIFACT_CAPABILITIES_PIN;- if pinned- .split('.')- .zip("1.4.0".split('.'))- .find_map(|(a, b)| {- let (a, b) = (a.parse::<u32>().ok()?, b.parse::<u32>().ok()?);- (a != b).then_some(a < b)- })- .unwrap_or(false)- {- eprintln!(- "skipping the recall assertions: pinned artifact v{pinned} predates \- RecallNamespaceRecent (v1.4.0)"- );- return;- }-let recalled = memory_recall_memories(RecallMemoriesRequest {namespace: namespace.clone(),min_retention: None,diff --git a/src/openhuman/modules/memory.rs b/src/openhuman/modules/memory.rsindex b71a368073..05f04435e5 100644--- a/src/openhuman/modules/memory.rs+++ b/src/openhuman/modules/memory.rs@@ -668,6 +668,9 @@ impl MemoryIngest for ModuleMemoryProvider {async fn ingest_chat(&self, messages: Vec<IngestItem>) -> Result<IngestOutcome, MemoryError> {module_call!(self, "ingest_chat", "IngestChat", (messages,))}+ async fn ingest_email(&self, messages: Vec<IngestItem>) -> Result<IngestOutcome, MemoryError> {+ module_call!(self, "ingest_email", "IngestEmail", (messages,))+ }}#[async_trait]