Squashed 'vendor/ruvector/' content from commit b64c2172
git-subtree-dir: vendor/ruvector git-subtree-split: b64c21726f2bb37286d9ee36a7869fef60cc6900
This commit is contained in:
16
.claude/helpers/post-commit
Executable file
16
.claude/helpers/post-commit
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