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(tests): update test file paths after memory module and mirror test restructuring
Steven Enamakela122591f1bcd
diff --git a/crates/openhuman-core/src/modules/memory_capability_and_dispatch_tests.rs b/crates/openhuman-core/src/modules/memory_capability_and_dispatch_tests.rsindex 8f77c710e8..42aacb3f81 100644--- a/crates/openhuman-core/src/modules/memory_capability_and_dispatch_tests.rs+++ b/crates/openhuman-core/src/modules/memory_capability_and_dispatch_tests.rs@@ -165,11 +165,14 @@ fn every_operation_label_is_classified_and_no_mutation_is_a_read() {.expect("a valid pattern");let mut labels: Vec<String> = Vec::new();- // Discovered, not enumerated. A hard-coded `memory_part_01..04` would keep- // passing after the file is split differently — scanning fewer sources,- // finding fewer labels, and quietly checking less than it claims to.+ // Discovered, not enumerated. A hard-coded file list would keep passing+ // after the module is split differently — scanning fewer sources, finding+ // fewer labels, and quietly checking less than it claims to. The memory+ // client lives under `modules/memory/` as one file per responsibility+ // (`documents_tree.rs`, `core_provider.rs`, ...) rather than as+ // mechanically cut `memory_part_NN.rs` files.let modules_dir = format!(- "{}/crates/openhuman-core/src/modules",+ "{}/crates/openhuman-core/src/modules/memory",env!("OPENHUMAN_REPOSITORY_ROOT"));let mut parts: Vec<std::path::PathBuf> = std::fs::read_dir(&modules_dir)@@ -179,17 +182,13 @@ fn every_operation_label_is_classified_and_no_mutation_is_a_read() {.filter(|path| {path.file_name().and_then(|name| name.to_str())- .is_some_and(|name| {- name.starts_with("memory_part_")- && name.ends_with(".rs")- && !name.contains("_tests")- })+ .is_some_and(|name| name.ends_with(".rs") && !name.contains("_tests"))}).collect();parts.sort();assert!(parts.len() >= 4,- "expected the memory client to be split across at least four parts, found {:?} — if the \+ "expected the memory client to be split across at least four files, found {:?} — if the \split changed, this scan is looking in the wrong place",parts);diff --git a/crates/openhuman-core/src/threads/turn_state/mirror_tests.rs b/crates/openhuman-core/src/threads/turn_state/mirror_tests.rsindex caabee5bdd..0ba6cf4bf2 100644--- a/crates/openhuman-core/src/threads/turn_state/mirror_tests.rs+++ b/crates/openhuman-core/src/threads/turn_state/mirror_tests.rs@@ -44,7 +44,7 @@ fn seed_root_transcript(workspace: &std::path::Path, thread_id: &str) -> std::papath}-#[path = "mirror_tests_part_01_tests.rs"]-mod part_01_tests;-#[path = "mirror_tests_part_02_tests.rs"]-mod part_02_tests;+#[path = "mirror_observe_tests.rs"]+mod observe_tests;+#[path = "mirror_finish_and_subagent_args_tests.rs"]+mod finish_and_subagent_args_tests;