#!/bin/bash
# raw.sh <command>: one reviewer Bash call straight into the guard; shows the stderr Claude would see + exit code
jq -nc --arg c "$1" '{tool_name:"Bash", tool_input:{command:$c}, agent_type:"code-reviewer"}' \
  | .claude/hooks/reviewer-bash-guard.sh; echo "exit $?"
