pub(super) async fn hold_for_refusal_here(
state: &AppState,
auth_via: ReactiveAuthVia,
req: &InjectionRequest,
resp: &InjectionResponse,
replay: &mut Reservation,
) -> Option<Value>Expand description
A message an agent of this instance could not take for a reason that passes on its own: its spawn
gate refused (not signed in: recoverable, so it is held for sign-in instead of failed,
SPEC_JEKT_DELIVERY_STATES_AND_MAILBOX_2026_10_01.md Phase 0 item 4), or its pane is open and its
controller is not there yet (AgentMux is starting: held until the controller registers). No other
tier can run it either: the agent lives on this instance. None for any other error, and for a
starting agent’s message the hold doesn’t apply to, which keeps its error.