Skip to main content

Module jekt_held_summary

Module jekt_held_summary 

Source
Expand description

The messages srv holds for agents, as counts: jekt.held.summary answers per agent how many and why and since when the oldest was sent, and the jektheld event tells a window the counts changed, so the status bar’s summary (frontend/app/statusbar) shows them without polling. Counts and reasons only: the hold table’s bodies, sender names and message ids stay where they are (SPEC_JEKT_DELIVERY_STATES_AND_MAILBOX_2026_10_01.md, §5.1 for the reasons).

Constants§

WATCH_EVERY 🔒
How often the hold table is looked at for a change in its counts. A read of a few grouped rows.

Functions§

install 🔒
Publish jektheld whenever the hold table’s counts change. Call once at startup.
read 🔒
The answer, from the hold table and the agents’ states. BLOCKING.
reason_for 🔒
Why a message is held now: the reason stored with it (idle, quota), else what the agent’s own state says. An agent this machine has no definition of is a peer’s, whose machine is not answering.
register
jekt.held.summary: the operator’s window and any registered agent may read it: it names agents and counts, never a sender, a body or an id. A connection that is neither (it holds only the instance key) is refused, as for identity.account.availability.
summarize 🔒
The held counts as the RPC answers them. known: each local agent’s UID with its name and state.
totals 🔒
The totals the event carries.