From 0bb5a6d8dcac7e1fffdc49f8126c0b9493b5e665 Mon Sep 17 00:00:00 2001 From: repo-worker-tmp-code-b Date: Sun, 15 Nov 2026 12:06:08 -0600 Subject: [PATCH] fix(pm-stack): resolve kaneo-sync-guard via STACK_DIR so repo-root invocation works (#10527) --- pm-stack/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pm-stack/deploy.sh b/pm-stack/deploy.sh index 5313f5d778..ff44ad4ee6 100755 --- a/pm-stack/deploy.sh +++ b/pm-stack/deploy.sh @@ -101,7 +101,7 @@ deploy) # Close-authority guard (code#10137): the GitHub sync transitions # live only in Kaneo's DB, and a fresh import can silently restore # the dangerous upstream default. Assert them on every deploy. - if ! python3 "$(dirname "$0")/kaneo-sync-guard.py"; then + if ! python3 "$STACK_DIR/kaneo-sync-guard.py"; then echo "kaneo sync guard failed or healed drift - deploy marked failed; see output above" >&2 exit 1 fi