Merge commit 'd803bfe2b1fe7f5e219e50ac20d6801a0a58ac75' as 'vendor/ruvector'
This commit is contained in:
16
vendor/ruvector/.claude/helpers/post-commit
vendored
Executable file
16
vendor/ruvector/.claude/helpers/post-commit
vendored
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
# Claude Flow Post-Commit Hook
|
||||
# Records commit metrics and trains patterns
|
||||
|
||||
COMMIT_HASH=$(git rev-parse HEAD)
|
||||
COMMIT_MSG=$(git log -1 --pretty=%B)
|
||||
|
||||
echo "📊 Recording commit metrics..."
|
||||
|
||||
# Notify claude-flow of commit
|
||||
npx @claude-flow/cli hooks notify \
|
||||
--message "Commit: $COMMIT_MSG" \
|
||||
--level info \
|
||||
--metadata '{"hash": "'$COMMIT_HASH'"}' 2>/dev/null || true
|
||||
|
||||
echo "✅ Commit recorded"
|
||||
Reference in New Issue
Block a user