pub(crate) fn account_blocks(
state: &AppState,
accounts: &[IdentityAccount],
) -> HashMap<String, String>Expand description
The accounts that can’t take a worker now, and why: signed out (its
status), or a pane on it whose last run ended on the plan’s usage limit or
a refused sign-in (agent:last_failure, which its next clean turn clears).
A usage limit counts until its reset, when one is known, even with the
pane still open (SPEC_UNRESPONSIVE_AGENTS_2026_10_23.md §6.3).