Shared between /ship (legacy path) and the CI version-gate job.
detect-bump: derive bump level from VERSION diff. compare-pr-version:
CI gate logic with three exit paths (pass / block / fail-open).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>