Skip to main content

Module ack_policy

Module ack_policy 

Source
Expand description

Replies that say nothing are not sent (SPEC_CHEAPER_FLEET_MESSAGING_2026_10_30.md). Replies that say nothing are not sent (SPEC_CHEAPER_FLEET_MESSAGING_2026_10_30.md §6).

A message that starts a turn makes its recipient read its whole context again, so a bare “got it” costs far more than it says. Two cases are refused at the sender’s srv, before anything is delivered:

  • a message that answers (in_reply_to) one sent with reply: none;
  • a bare acknowledgement (“ok”, “thanks”, “on it”) to an agent that sent the sender a message in the last [ACK_WINDOW_MS].

The refusal says why and what to do instead. The setting [SETTING_REFUSE_BARE_ACKS] turns the second off. Memory only: a restart forgets, and a forgotten message is delivered as before.

Structs§

AckPolicy

Constants§

ACK_WINDOW_MS
A message from the target this recent makes a bare acknowledgement an answer to it.
SETTING_REFUSE_BARE_ACKS
The setting: refuse a bare acknowledgement (default on; false turns it off).

Functions§

asked_for_no_reply
AckPolicy::asked_for_no_reply on the process-wide table.
canon
The agent a name, display binding, former slug or UID stands for, as one string, so a reply is matched to the message it answers whichever way each side addressed the other.
check
AckPolicy::check on the process-wide table.
is_bare_ack
Whether text is nothing but an acknowledgement.
record
AckPolicy::record on the process-wide table.
refuses_bare_acks
Whether the settings leave bare acknowledgements refused.
remember_arrival
Remember a message arriving here (from another host, by the cloud relay, or with files), for the next reply’s check. It is never refused: only the sender’s own srv does that.