fn membership(
identity: &Store,
block: &Block,
failure: &StoredFailure,
now_ms: u64,
) -> Option<(String, AgentState)>Expand description
The pane’s account and state while its stored failure keeps it in an
episode: a usage limit whose reset (if known) hasn’t passed, or a refused
sign-in, on an account. Read from the stored failure, not the live state:
a retry turn shows the pane working for a moment, and that must not
close its episode and open a new one with a second toast when the turn
fails again. Only a clean turn, a rebind or the reset clears it.