Expand description
The quiet note between machines, the srv half (docs/specs/SPEC_LEADER_TOLD_WHEN_AN_AGENT_GOES_QUIET_2026_11_21.md
section 19; the closed note itself is backend::quiet_remote).
Sending. The watch queues a note for a lead whose seat names another machine (Name@machine). Every few seconds
this sends what is queued as a jekt signed by this machineโs own sender key, the one a Swarm broadcast uses, to the
one LAN peer that lists the lead. A lead whose machine is not exactly one listed peer, or whose key this machine has
not pinned, is not sent to; that is logged once. A peer that does not answer loses the note: it is about a moment.
Receiving. A jekt from another machineโs sender key whose text starts like a quiet note is never delivered as a
jekt. It is accepted only if the signature verified, the install that vouches for the sender key is one this machine
trusts, the sender is a LAN peer that lists the named worker, and the lead is a running agent here. What the lead then
reads is written here from the closed fields (quiet_remote::render), held for its next turn like every other quiet
note, and limited to four an hour per lead and sending machine.
Enumsยง
- Verdict ๐
- What the receiving side decided about a text that claims to be a quiet note.
Constantsยง
- SEND_
EVERY ๐
Staticsยง
- LIMITER ๐
Functionsยง
- answer ๐
- finish ๐
- Settles the claim on the noteโs message id: a note that was taken is counted, so a copy of it is not proven again;
one that was refused releases it, as any refused jekt does. Returns
answerunchanged. - install ๐
- Starts the sender: what the watch queued is sent every few seconds.
- install_
approved ๐ - Whether the install behind
senderโs pinned key is one this machine trusts: its certificate verifies for exactly that key, and the install is approved (not new, not revoked). - intercept ๐
- A jekt that claims to be a quiet note: answered here (
Some), never delivered as a jekt.Nonefor every other jekt. - intercept_
among ๐ interceptwith the LAN peers named, so the whole path can be run with the peers a test lists.- is_
machine_ ๐sender - Whether
senderis a machineโs own sender name (swarm-<host>-<hash>). - judge ๐
- The decision, from what was proven:
verifiedis the signature checkโs outcome,install_okwhether the install that vouches for the sender key is one this machine trusts. Pure, so each refusal has a test. - peer_
for ๐ - The one LAN peer that is
machineand listslead, or why none: a machine that is not a peer, or lists no such agent, or is two peers of that name (the seat then has to say which). - place ๐
- Puts the note, or the line that stands for the ones past the limit, where the lead reads it. A note joins a running turn or is held for the next, and never starts one. The folded line is only ever held, under one key: written into a running turn it could not be replaced by the next, and each note past the limit would be a message of its own.
- send_
one ๐