feat: implement issue #1462 — SonarCloud: miscellaneous findings
DO
1d ago+741+741+012345678901234567890123456789-679-679-012345678901234567890123456789
Problem
SonarCloud: miscellaneous findings
From the issue: 714 open SonarCloud finding(s) in combsmith/.github, worst severity MAJOR. Generated by the org SonarCloud Audit.
Risk
Low — changes automation shell logic under scripts/, covered by shellcheck (--severity=warning) and the bats suite.
Test plan
Tests added/updated: test/scripts/lib/ring-pins.bats,tests/canary_rollout.bats tests/standards_staleness.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
This PR's Lint (shellcheck) and bats checks show pass/fail; watch subsequent dev-lead / pr-review runs for behavioral regressions.
Closes #1462