diff --git a/.claude/helpers/checkpoint-manager.sh b/.claude/helpers/checkpoint-manager.sh index c1edf13e2d..af6d54d8b8 100755 --- a/.claude/helpers/checkpoint-manager.sh +++ b/.claude/helpers/checkpoint-manager.sh @@ -94,15 +94,15 @@ auto_commit() { return 0 fi - # Check if there are changes to commit - if git diff --quiet && git diff --cached --quiet; then + # Add all changes first (including untracked) + git add -A >/dev/null 2>&1 || true + + # Check if there are changes to commit (after staging) + if git diff --cached --quiet; then log_info "No changes to commit" return 0 fi - # Add all changes - git add . >/dev/null 2>&1 || true - # Create commit with enhanced message local enhanced_message="$message diff --git a/v3/@claude-flow/hooks/src/test-push.ts b/v3/@claude-flow/hooks/src/test-push.ts new file mode 100644 index 0000000000..5610d4ed7d --- /dev/null +++ b/v3/@claude-flow/hooks/src/test-push.ts @@ -0,0 +1 @@ +// Push test Mon Jan 5 22:05:43 UTC 2026