Skip to content

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

Follow the engine's test fixtures to their new home\n\nFallout from the pin bump, and the allowlist ratchet is the thing that noticed:\nthree entries went stale and one new call site appeared, all in the same move.\n\nThe engine split the inline `#[cfg(test)]` blocks out of `engine/sync.rs`,\n`sync/composio/providers/types.rs` and `sync/pipelines/host.rs` into\n`providers/types_test_support.rs`. Those blocks were the only reason each file\ncarried a `MemoryClient::from_workspace_dir` entry — the scanner does not\nbrace-track test modules, so the fixtures counted as bypasses. Three entries in,\none out, same fixtures.\n\nWorth doing rather than deleting the stale rows and moving on: an allowlist\nthat keeps dead strings stops being evidence of anything, and the ratchet says\nso in its own failure message.\n

Shanu6ff949ce0f4b
diff --git a/docs/specs/memory-guard-allowlist.md b/docs/specs/memory-guard-allowlist.md
index 0e767e302e..c3b67c8ed0 100644
--- a/docs/specs/memory-guard-allowlist.md
+++ b/docs/specs/memory-guard-allowlist.md
@@ -169,9 +169,12 @@ are recorded here so M4c starts from the real set.
`integrations/composio/ops_tests.rs`, `core/runtime/context.rs` (its `#[cfg(test)]`
module).
-`vendor/tinymemory/crates/tinymemory-core/src/engine/sync.rs` also has an inline `#[cfg(test)]`
-module whose isolated-workspace fixtures construct `MemoryClient` directly; it
-is counted because the scanner does not brace-track inline test modules.
+`vendor/tinymemory/crates/tinymemory-core/src/sync/composio/providers/types_test_support.rs`
+is a `#[cfg(test)]` module whose isolated-workspace fixtures construct
+`MemoryClient` directly. It is counted because the scanner does not brace-track
+test modules — and it is one entry where there used to be three: the engine
+seam, the composio provider types and the engine-free sync runner each carried
+their fixtures inline until the engine split them out into this file.
## Honest scorecard
diff --git a/src/openhuman/memory/bypass_allowlist_tests.rs b/src/openhuman/memory/bypass_allowlist_tests.rs
index ab6f82d116..047c54cc29 100644
--- a/src/openhuman/memory/bypass_allowlist_tests.rs
+++ b/src/openhuman/memory/bypass_allowlist_tests.rs
@@ -317,16 +317,16 @@ 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(",
"same provider trait shape",
),
+ (
+ "vendor/tinymemory/crates/tinymemory-core/src/sync/composio/providers/types_test_support.rs",
+ "MemoryClient::from_workspace_dir(",
+ "#[cfg(test)] module, split out of the inline test blocks three earlier entries covered",
+ ),
(
"vendor/tinymemory/crates/tinymemory-core/src/sync/composio/providers/user_scopes.rs",
"global::client_if_ready(",
@@ -360,21 +360,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(",