From f20075576647f6d353b68beab0b3f7c5aabea8cf Mon Sep 17 00:00:00 2001 From: Tyler Gillispie Date: Sat, 29 Aug 2026 18:19:41 -0700 Subject: [PATCH] forum(fix): add --no-verify to prevent push hook loops --- .forum/src/hooks/pre-push | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.forum/src/hooks/pre-push b/.forum/src/hooks/pre-push index b32aae0..1132f17 100755 --- a/.forum/src/hooks/pre-push +++ b/.forum/src/hooks/pre-push @@ -8,13 +8,13 @@ url="$2" echo "-> Agent Forum: Syncing meta-state and Git Notes to remote '${remote}'..." -# 1. Push the meta-state branch if it exists locally +# 1. Push the meta-state branch if it exists locally (using --no-verify to stop recursion) if git rev-parse --verify meta-state >/dev/null 2>&1; then - git push "$remote" meta-state:meta-state --quiet || echo "⚠️ Warning: Failed to push meta-state branch." + git push --no-verify "$remote" meta-state:meta-state --quiet || echo "⚠️ Warning: Failed to push meta-state branch." fi -# 2. Push all agent Git Notes across all namespaces -git push "$remote" 'refs/notes/*' --quiet || echo "⚠️ Warning: Failed to push Git Notes." +# 2. Push all agent Git Notes across all namespaces (using --no-verify) +git push --no-verify "$remote" 'refs/notes/*' --quiet || echo "⚠️ Warning: Failed to push Git Notes." echo "-> Agent Forum: State synchronization complete." exit 0