Files
foxhunt/.claude/helpers/foxhunt-audit-session-start.sh
jgrusewski 856e89da1f chore(claude): foxhunt audit hook router (warn-only PostToolUse)
Adds .claude/helpers/foxhunt-audit-router.sh that suggests foxhunt-* auditor
agents based on edited file path. Warn-only, <200ms, never blocks. Dedup
state file .claude/.foxhunt-audit-state cleared at SessionStart by sibling
script. Settings.json additive merge — existing hooks preserved.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-10 22:19:28 +02:00

6 lines
184 B
Bash
Executable File

#!/usr/bin/env bash
# Clear foxhunt-audit dedup state at session start.
STATE_FILE="${CLAUDE_PROJECT_DIR:-.}/.claude/.foxhunt-audit-state"
: > "$STATE_FILE" 2>/dev/null || true
exit 0