feat: implement issue #2533 — pr-review: deadline-armed retries for consumer-repo advisory-bot and rate-limit waits (generalise #1994)
Problem
pr-review: deadline-armed retries for consumer-repo advisory-bot and rate-limit waits (generalise #1994)
From the issue: Two consumer-repo waits have a deadline known when pr-review skips the PR:
Risk
Medium — changes GitHub Actions workflow behavior, which is exercised only post-merge; verify via the affected workflow runs.
Test plan
Tests added/updated: tests/test_delayed_rate_limit_retry.bats,tests/test_delayed_retry_arming.bats tests/test_sweep_stuck_reviews.bats. Verification: bash scripts/dev-lead-lint.sh (shellcheck --severity=warning) ran pre-commit; the bats suite runs in CI.
Rollback
Revert this PR. No non-revertible side effects (no tags, migrations, or external state).
Monitoring
Watch the affected workflow run(s) in the Actions tab and this PR's Lint check for regressions.
Closes #2533