The `reconcileResolvedDependencyWakeBackstop` sweep listed every blocked issue
whose blockers had resolved and enqueued a wake for its assignee. It did not
check whether the assignee was actually invokable, so an issue assigned to a
paused, terminated, or pending_approval agent triggered a fresh wake on every
heartbeat. Each wake failed with `wake_target_not_invokable` (409) and the
same issue re-entered the candidate set the next tick, producing a steady
stream of warnings until an operator intervened.
Add `agents.status NOT IN (paused, terminated, pending_approval)` to the
candidate query, mirroring the atomic guard already used when the heartbeat
flips an agent to `running` (see `services/heartbeat.ts` around the pause
durability update). Both branches of `queryCandidates` (with and without
`blockerIssueId`) now `innerJoin(agents)` and share the filter. Org-chain
invalidity is still evaluated per-candidate at the enqueue path, so no
behavior change for the org-chain case.