Skip to main content

Module quota_mode

Module quota_mode 

Source
Expand description

Quota mode, a fleet setting (SPEC_CHEAPER_FLEET_MESSAGING_2026_10_30.md section 5). Quota mode: a fleet setting instead of a broadcast (SPEC_CHEAPER_FLEET_MESSAGING_2026_10_30.md §5).

fleet:quota_mode is off (the default) or tight. While tight, Tasks claim with no id takes only a task aimed at the claimer or with priority >= fleet:quota_min_priority (default 1); a claim by id still works, because the agent was told to. A routine Message send to an agent with no turn in flight is held too (backend::cold_hold, reason quota) until the agent next writes output or the mode is off. A change of mode posts a bulletin under the key mode, so no one broadcasts “slow down” again.

Constants§

DEFAULT_MIN_PRIORITY
The floor when the setting names none.
SETTING_MIN_PRIORITY
SETTING_MODE

Functions§

claim_floor
The priority floor of an unnamed claim while the mode is tight, None while it is off.
is_tight
Whether the mode is tight: a routine Message send to an agent with no turn in flight is held (held_reason: "quota"), and an unnamed claim is filtered.