Files
larksuite--cli/scripts/check-skill-wire-vocab.sh
wehub-resource-sync bf9395e022
CI / results (push) Blocked by required conditions
CI / license-header (push) Has been skipped
CI / e2e-dry-run (push) Has been skipped
CI / e2e-live (push) Waiting to run
CI / fast-gate (push) Failing after 0s
Test PR Label Logic / test-pr-labels (push) Failing after 1s
Skill Format Check / check-format (push) Failing after 2s
CI / security (push) Failing after 5s
CI / unit-test (push) Has been skipped
CI / lint (push) Has been skipped
CI / script-test (push) Has been skipped
CI / deterministic-gate (push) Has been skipped
CI / coverage (push) Has been skipped
CI / deadcode (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 12:22:54 +08:00

12 lines
485 B
Bash
Executable File

#!/usr/bin/env bash
# §12.3: forward rule — any errs/ wire-shape change MUST be paired
# with a skills/ grep sweep in the same PR.
set -euo pipefail
PATTERN='"type"\s*:\s*"(auth_error|api_error|infra_error|missing_scope|command_denied|external_provider)"'
if git grep -E "$PATTERN" skills/ >/dev/null 2>&1; then
echo "[WIRE-VOCAB-DRIFT] skills/ contains legacy wire strings — see spec §12.3" >&2
git grep -nE "$PATTERN" skills/ >&2
exit 1
fi
echo "skill wire-vocab clean."