pub fn verdict(
availability: &Availability,
urgent: bool,
routine: bool,
cold_after_ms: Option<u64>,
hands_over_work: impl FnOnce() -> bool,
) -> VerdictExpand description
The decision for a message to an agent in availability.
urgent: the sender asked for it now (cold_hold::asks_to_wake). It wakes a cold session; it does not deliver into an agent out of quota or signed out, which would only fail the turn.routine: it may wait (cold_hold::is_routine); anything else goes to a cold session.cold_after_ms: the setting’s quiet time after which a session is cold;Noneturns the hold off.hands_over_work: asked only for a routine message to a cold session.
A limited agent with no known reset is delivered to: a turn is how it finds out it can work again.