#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Thin client: forwards the hook event to the gateway control plane and prints
# the decision it returns. No DB or task logic runs on this machine.
exec python3 "$SCRIPT_DIR/ccmetr-client.py" hook "$@"
