#!/usr/bin/env bash set -euo pipefail ROW_FILE="${1:?row file required}" ROW_CONTENT="$(cat "$ROW_FILE")" if [[ "$ROW_CONTENT" == *'✅ 已修复'* || "$ROW_CONTENT" == *'✅ 已完成'* || "$ROW_CONTENT" == *'✅ 已恢复'* ]]; then echo "resolved current row should be revoked from current table" >&2 exit 1 fi echo "CURRENT_ROW_REVOCATION_GUARD: PASS"