Skip to content

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

chore(tests): remove stale bypass-allowlist entries\n\nRemove three entries from the bypass allowlist that referenced `MemoryClient::from_workspace_dir` in test-only modules, and one entry from the direct engine refs allowlist that described a false-positive type confusion. These entries are no longer needed because the scanner now correctly brace-tracks `#[cfg(test)]` blocks and the type carve-out warning has been resolved.\n\nAuto-committed-on: dragonfly\n

Steven Enamakelb9e65384be6c
diff --git a/src/openhuman/memory/bypass_allowlist_tests.rs b/src/openhuman/memory/bypass_allowlist_tests.rs
index ab6f82d116..fd719926a1 100644
--- a/src/openhuman/memory/bypass_allowlist_tests.rs
+++ b/src/openhuman/memory/bypass_allowlist_tests.rs
@@ -317,11 +317,6 @@ const ALLOWED: &[(&str, &str, &str)] = &[
"global::client_if_ready(",
"resolved only to reach profile_store()",
),
- (
- "vendor/tinymemory/crates/tinymemory-core/src/sync/composio/providers/types.rs",
- "MemoryClient::from_workspace_dir(",
- "provider trait takes &MemoryClientRef; the contract has no such shape",
- ),
(
"vendor/tinymemory/crates/tinymemory-core/src/sync/composio/providers/types.rs",
"global::client_if_ready(",
@@ -360,21 +355,11 @@ const ALLOWED: &[(&str, &str, &str)] = &[
// client. Their `from_workspace_dir` hits are all inside inline
// `#[cfg(test)]` modules (the #61 connection-guard tests), which the
// scanner does not brace-track.
- (
- "vendor/tinymemory/crates/tinymemory-core/src/engine/sync.rs",
- "MemoryClient::from_workspace_dir(",
- "inline #[cfg(test)] module only; the scanner does not brace-track test blocks",
- ),
(
"vendor/tinymemory/crates/tinymemory-core/src/engine/sync.rs",
"global::client_if_ready(",
"the TinyCortex engine seam; it sits beneath the contract, not above it",
),
- (
- "vendor/tinymemory/crates/tinymemory-core/src/sync/pipelines/host.rs",
- "MemoryClient::from_workspace_dir(",
- "inline #[cfg(test)] module only (the connection-guard tests); not brace-tracked",
- ),
(
"vendor/tinymemory/crates/tinymemory-core/src/sync/pipelines/host.rs",
"global::client_if_ready(",
diff --git a/src/openhuman/memory/direct_engine_refs_tests.rs b/src/openhuman/memory/direct_engine_refs_tests.rs
index 86b230739a..ce56c86bdd 100644
--- a/src/openhuman/memory/direct_engine_refs_tests.rs
+++ b/src/openhuman/memory/direct_engine_refs_tests.rs
@@ -615,11 +615,6 @@ const ALLOWED: &[(&str, Verdict, &str)] = &[
"installs the eight host seams (embedding, chat, composio, config, nlp, scheduler gate, shutdown, error reporter); mirrored over the bus by modules/memory_host.rs",
),
// ── Retrieval: filters the seam's tree family has no room for ───────────
- (
- "src/openhuman/memory/query/ingest_document.rs",
- Verdict::NeedsWiderSeam,
- "names SourceKind / SourceRef, which are tinycortex-api types the engine re-exports — NOT the same type as the contract's api::chunks::SourceKind, so this is not a type carve-out",
- ),
// ── Agent tools: chunk reads, source listing, people, source scope ──────
(
"src/openhuman/memory/sync/composio/providers/context_ext.rs",