Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Rust
test(packaging): run the PowerShell wrapper under -ExecutionPolicy Bypass
kevin9327d9aadd78b851
diff --git a/crates/ai-memory-cli/tests/packaging.rs b/crates/ai-memory-cli/tests/packaging.rsindex 54fc2578..77dd3ca7 100644--- a/crates/ai-memory-cli/tests/packaging.rs+++ b/crates/ai-memory-cli/tests/packaging.rs@@ -1462,7 +1462,19 @@ fn powershell_wrapper_forwards_subscription_oauth_tokens_without_putting_values_];let mut command = Command::new("powershell.exe");command- .args(["-NoLogo", "-NoProfile", "-NonInteractive", "-File"])+ // -ExecutionPolicy Bypass: bin/ai-memory.ps1 is an unsigned local script, so a machine+ // left on the Windows client default of `Restricted` refuses to load it and the wrapper+ // never runs (`UnauthorizedAccess`), failing this test for a reason unrelated to what it+ // checks. Every other PowerShell invocation in the repo already passes Bypass; this one+ // did not.+ .args([+ "-NoLogo",+ "-NoProfile",+ "-NonInteractive",+ "-ExecutionPolicy",+ "Bypass",+ "-File",+ ]).arg(repo_root().join("bin/ai-memory.ps1")).args(["llm-test", "--provider", "anthropic-oauth"]).env("AI_MEMORY_DOCKER", &docker)