Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

Clear the clippy lanes and compile the memory e2e targets in CI\n\nThree faults, all hidden behind the TLS policy step that failed before\nclippy ran:\n\n`memory/tree/mod.rs` — the paragraph about the seven tree I/O types\nfollowed a list item with no blank line, so clippy read all seven of its\nlines as lazy continuations of the `score, summarise, nlp, ingest`\nbullet. It is a separate paragraph; give it the break it wants.\n\n`memory/sources/rpc.rs` — the `MemoryHostConfig` trait import went dead\nwhen `sync_rpc` and `apply_all_in_rpc` moved onto `run_source_sync`, and\nwith it the `to_arc` calls it was imported for. It only fires under the\ncontributor default feature set, which is the second clippy lane's whole\nreason for existing.\n\n`test-reusable.yml` — `memory-embedded-test-seams` is deliberately not a\nproduct feature, so the lane that walks every tests/*.rs target with the\nproduct set could not compile the three that install the embedded host\nseams through mocks. Appended the way `bin-tools` already is, which keeps\nit out of the graph the clippy and release lanes select. Verified both\ndirections: the three targets build with the feature and fail without it.\n\nNote for reviewers: `test.yml` is workflow_dispatch-only, so that lane\ndoes not run on pull requests — this break would have surfaced in ci-full\nor a release pretest, not here.\n\nClaude-Session: https://claude.ai/code/session_01UsS36AGAjUaCnFNRHuCtmx\n

Shanubc192236d884
diff --git a/.github/workflows/test-reusable.yml b/.github/workflows/test-reusable.yml
index 60f830b805..aa4aaecd05 100644
--- a/.github/workflows/test-reusable.yml
+++ b/.github/workflows/test-reusable.yml
@@ -203,7 +203,16 @@ jobs:
# raw_coverage_all — see Cargo.toml). Without these features
# `cargo test --test json_rpc_e2e` matches NOTHING and exits 0, and
# json_rpc_e2e alone is >12k lines of RPC contract coverage.
- FEATURES="$(bash scripts/ci/product-features.sh),bin-tools"
+ # `memory-embedded-test-seams` is deliberately NOT a product feature
+ # (#5560): it exposes `memory::host_impls`, the embedded-engine host
+ # seams, which the shipped build no longer installs now that memory is
+ # served over the bus. Three tests/*.rs targets still drive the embedded
+ # path through mocks and name that module, so this lane must add it or
+ # they fail to COMPILE — the same class of gap as `bin-tools` above,
+ # only louder, since a missing test seam is a hard error rather than a
+ # silent skip. Adding it here keeps it out of the product graph that
+ # scripts/ci/product-features.txt and the clippy lanes select.
+ FEATURES="$(bash scripts/ci/product-features.sh),bin-tools,memory-embedded-test-seams"
echo "[test-reusable] feature set: ${FEATURES}"
# `--features bin-tools` is load-bearing, not cosmetic: the ops binaries
diff --git a/src/openhuman/memory/sources/rpc.rs b/src/openhuman/memory/sources/rpc.rs
index ef67afd267..aff92aeb47 100644
--- a/src/openhuman/memory/sources/rpc.rs
+++ b/src/openhuman/memory/sources/rpc.rs
@@ -56,7 +56,6 @@
//! registry CRUD between them talks only to `registry` and `readers` and never
//! resolves a binding at all.
-// `to_arc` / the config accessors are `MemoryHostConfig` trait methods.
use crate::openhuman::config::rpc as config_rpc;
use crate::openhuman::config::Config;
use crate::openhuman::memory::api::provider::sessions::{
@@ -69,7 +68,6 @@ use crate::openhuman::memory::sources::readers;
use crate::openhuman::memory::sources::registry::{self, MemorySourcePatch};
use crate::openhuman::memory::sources::types::{MemorySourceEntry, SourceKind};
use crate::rpc::RpcOutcome;
-use tinymemory_api::host::MemoryHostConfig;
/// The coding-session ingest request, under this domain's own name.
///
diff --git a/src/openhuman/memory/tree/mod.rs b/src/openhuman/memory/tree/mod.rs
index 83cbd1c486..fcf52208e8 100644
--- a/src/openhuman/memory/tree/mod.rs
+++ b/src/openhuman/memory/tree/mod.rs
@@ -20,6 +20,7 @@
//! `nlp::extract_query_entities` are reached from the archivist, the
//! sub-agent runner, `read_rpc::entities`, `inference::embeddings::rpc` and
//! `retrieval/rpc.rs` in this directory.
+//!
//! The seven `Tree{LabelStrategy, LeafPayload, ReadHit, ReadRequest,
//! ReadResult, WriteOutcome, WriteRequest}` I/O types used to be on that list
//! too. They are **not** engine-owned — the crate re-exports them out of