Version gate flagged PR #1168 as stale because the util counted the PR
itself as a queued claim. The exclude filter removes that self-reference.
New --exclude-pr <N> flag on bin/gstack-next-version. CI workflows pass
github.event.pull_request.number / CI_MERGE_REQUEST_IID. Local /ship
auto-detects via gh pr view when the flag isn't passed, with a warning
recording the auto-exclusion so it's observable.
Caught during the first live ship through the v1.8.0.0 gate — the kind
of dogfood the whole release is designed for.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Merge-time collision gate. Fail-open on util errors (network, auth, bug),
fail-closed on confirmed collisions. pr-title-sync rewrites the PR title
when VERSION changes on push, only for titles that already carry the
v<X.Y.Z.W> prefix (custom titles left alone).
GitLab CI mirrors both jobs for host parity.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>