Files
Nexus/.claude/helpers/post-commit
T
HartmutandClaude Sonnet 4.6 f80808482d chore: restore .claude commands, agents, helpers & skills (lost in 1df208d)
Restores the entire .claude/ infrastructure that was accidentally deleted
in commit 1df208d ('feat(timeline): add pulse animation for in-flight drag
mutations'). Recovered via git checkout 1df208d^.

Restored:
- .claude/commands/ (gitlooper, sparc/, github/, automation/, monitoring/,
  optimization/, hooks/, plan, implement, research, review, perf, visualaudit)
- .claude/agents/ (core/, github/, sparc/, v3/, swarm/, templates/, ...)
- .claude/helpers/ (41 scripts incl. hook-handler.cjs, statusline.cjs)
- .claude/skills/ (20 skills incl. sparc-methodology, github-*, v3-*)
- .claude/settings.json (hooks configuration)

Also updated all CapaKraken → Nexus references in affected command files.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-08-15 11:43:52 +02:00

17 lines
412 B
Bash
Executable File

#!/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"