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
test(memory): make the large-store budget test prove learnings were recalled
Ghost Scripter18cad55c81e9
diff --git a/crates/openhuman-core/src/memory/lifecycle/hooks_tests.rs b/crates/openhuman-core/src/memory/lifecycle/hooks_tests.rsindex 14e650ab22..05f9a2c567 100644--- a/crates/openhuman-core/src/memory/lifecycle/hooks_tests.rs+++ b/crates/openhuman-core/src/memory/lifecycle/hooks_tests.rs@@ -371,6 +371,14 @@ async fn a_turn_pack_stays_within_its_budget_against_a_large_store() {budget(&config),pack.refs.len());+ // The budget check only means something if real learnings were recalled.+ assert!(+ pack.refusal.is_none(),+ "not a refusal notice: {}",+ pack.markdown+ );+ assert!(!pack.refs.is_empty(), "the pack recalled something");+ assert!(pack.markdown.contains("Project note"), "{}", pack.markdown);assert!(pack.tokens <= budget(&config),"{} > {}",