Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

test(packaging): clear an exported AI_MEMORY_AUTH_TOKEN in the token hand-off check

AkitaOnRails1c56a7c6e5af
diff --git a/scripts/check-native-packaging.sh b/scripts/check-native-packaging.sh
index 56d6f5fa..0a10d509 100755
--- a/scripts/check-native-packaging.sh
+++ b/scripts/check-native-packaging.sh
@@ -149,6 +149,9 @@ main() {
token_home="${TMP_ROOT}/token-home"
bind_dir="${TMP_ROOT}/bind-data"
mkdir -p "${token_home}" "${bind_dir}"
+ # An explicit env token wins over the volume copy, so a contributor shell
+ # that exports one would hide the hand-off this section checks.
+ unset AI_MEMORY_AUTH_TOKEN
cat >"${token_docker}" <<'FAKE'
#!/usr/bin/env bash
printf '%s\n' "$*" >>"${AI_MEMORY_DOCKER_TEST_LOG}"