Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
test(hooks): drop the wall-clock bound from the compaction checkpoint test
AkitaOnRails64a1382b1eea
diff --git a/crates/ai-memory-hooks/src/router.rs b/crates/ai-memory-hooks/src/router.rsindex ab8be1c4..51a755f0 100644--- a/crates/ai-memory-hooks/src/router.rs+++ b/crates/ai-memory-hooks/src/router.rs@@ -11701,14 +11701,12 @@ mod tests {process(&state, fire("user-prompt-submit"), None, Vec::new()).await.unwrap();- let started = std::time::Instant::now();+ // `SlowHookLlm` panics if the hook path calls it, so this returning+ // at all proves the provider stayed off the request path. A+ // wall-clock bound here only flaked on slow CI runners.process(&state, fire(event), None, Vec::new()).await.unwrap();- assert!(- started.elapsed() < Duration::from_millis(200),- "{event} must not wait for the provider on the hook path"- );let session_id: SessionId = sid.parse().unwrap();let path = format!("sessions/{session_id}.md");