#!/bin/sh
# Google Drive drift guardrail (canonical kit): restore renamed originals and
# clear conflict copies before anything is committed.
_dg_root="$(git rev-parse --show-toplevel 2>/dev/null)"
[ -f "$_dg_root/scripts/guardrails/clean-drive-drift.sh" ] && bash "$_dg_root/scripts/guardrails/clean-drive-drift.sh" --fix --quiet || true

# Add repo-specific staged-file guards below this line (e.g. block secrets or
# raw artifacts). Keep the drift cleanup above as the first step.
exit 0
