Skip to main content

Module agent_availability

Module agent_availability 

Source
Expand description

Whether an agent can take a message now: the fact (Availability) and the rule that turns it into a decision for one message (verdict), in one place (docs/specs/SPEC_AGENT_AVAILABILITY_ONE_STATE_2026_10_26.md §3). The fact comes from what agent_state already reads; nothing here reads a controller or a store. The jekt path (server/jekt_hold.rs, jekt_cold.rs) applies the verdict.

Enums§

Availability
What can be said about an agent on this instance for a message to it.
Verdict
What to do with one message.
WaitReason
Why a message waits. The wire strings are the existing held_reason values.

Functions§

availability
The fact for a registered pane: its AgentState, and while it is limited or signed_out the Unavailable that says why. quiet_for_ms is only for an idle one.
of_unavailable
The fact for an unavailable agent (Unavailable is only ever limited or signed out).
verdict
The decision for a message to an agent in availability.