Merge commit 'd803bfe2b1fe7f5e219e50ac20d6801a0a58ac75' as 'vendor/ruvector'
This commit is contained in:
13
vendor/ruvector/.claude/helpers/guidance-hook.sh
vendored
Executable file
13
vendor/ruvector/.claude/helpers/guidance-hook.sh
vendored
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
# Capture hook guidance for Claude visibility
|
||||
GUIDANCE_FILE=".claude-flow/last-guidance.txt"
|
||||
mkdir -p .claude-flow
|
||||
|
||||
case "$1" in
|
||||
"route")
|
||||
npx agentic-flow@alpha hooks route "$2" 2>&1 | tee "$GUIDANCE_FILE"
|
||||
;;
|
||||
"pre-edit")
|
||||
npx agentic-flow@alpha hooks pre-edit "$2" 2>&1 | tee "$GUIDANCE_FILE"
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user