Scope PR readiness scans to event-related stacks #402
- MA
## Why
Routine CI and PR events were scanning every open PR, costing hundreds of GitHub API reads per event. That would waste Actions time as the readiness workflow expands beyond the pilot.
## Change
- Keep full sweeps for the hourly schedule, `main` pushes, and an explicit manual sweep. - For a PR or CI event, list open PRs once and inspect only the matching PR and its connected stack. Worker completion uses active attempts from signed state, not a mutable run title. - Defer ambiguous or missing event targets to the next full sweep. Canary selection still applies.
## Stack and verification
This change follows #398 in the local preparation stack. It will be restacked onto final `main` when its turn comes. The combined local #402–#404 stack passed 203 maintenance tests, `bun run ci`, `bun run types`, and `bun run build`. CI must run again on the final PR head.
## Scan flow

MaggieAppletonauto-rebase-enabledlast month on GitHub
MaggieAppletonauto-merge-disabledlast month on GitHub
MaggieAppletonhead-ref-force-pushed ca1bc676ed31last month on GitHub
MaggieAppletonmerged ec5af0bf6f2alast month on GitHub
MaggieAppletonhead-ref-deletedlast month on GitHub
MaggieAppletonreferenced this in Clarify source paths in PR readiness hash reviews #403last month on GitHub
MaggieAppletonreferenced this in Allow guarded CI fixes on stacked PRs #404last month on GitHub