Loquax: receipts for propagated post

Status: concept and wire, decided 2026-11-04 (the reviewer's defaults for Lew over the study, order 1393, Refs #232, #450). The codec is built (leviculum-lxmf/src/lev.rs, key 0x07 and capability bit 2); no Loquax behaviour yet: no client sets bit 2, sends 0x07 or reads it. That is order 1395. The study behind this page is the reviewer's 2026-11-04-empfangsbestaetigung-propagation (German, every claim cited). The second half of its recommendation, asking lnpnd what became of a message, is section B below: built in lnpnd by order 1394, asked by nobody yet (1395).

The problem

A message handed to a propagation node is out of sight. The sender learns that the node took it, and nothing after: not when the recipient collected it, not whether it ever did. On the screen it stays at one tick, the same tick a message that the node later dropped shows.

What LXMF offers

Nothing for this, by design.

  • A propagated message ends at the sender in SENT, never in DELIVERED. The node's proof of the upload (packet, reference/LXMF/LXMF/LXMessage.py:494-503, or resource, :608-610) calls __mark_propagated, which sets state = SENT (:573-575). States and methods: LXMessage.py:15-22, :30-33.
  • DELIVERED comes only from the recipient's transport proof of a direct or opportunistic delivery (LXMessage.py:466-482); the recipient proves before it looks at the message (LXMRouter.py:1926-1927).
  • Collecting from a node sends one signal, to the node alone: the client's list of ids it has, which the node deletes (LXMRouter.py:1507-1517). No field means a receipt (reference/LXMF/LXMF/LXMF.py:8-51).
  • The node does not know the sender. Source, signature and content are encrypted for the recipient (LXMessage.py:429-433), and the sender uploads over a link that never identifies. So a node cannot tell the sender anything without the sender giving itself away to it.
  • Upstream left it out on purpose: "When using propagation nodes, no message delivery notifications will be sent in return", "intentional, and done for privacy purposes" (Mark Qvist, Reticulum Discussion #192, 2023-01-27, https://github.com/markqvist/Reticulum/discussions/192). LXMF up to 1.2.0 added nothing of the kind.

Sideband, NomadNet, Columba and Ratspeak all show "on the propagation network" honestly and stop there; none of them has a receipt on the wire.

The decision

The recipient acknowledges, inside the lev namespace (read receipts, section 1), and only

  • messages that arrived by propagation: our router hands them on as DeliveryMethod::Propagated (leviculum-lxmf/src/message.rs:25-30, set where a collected message is unpacked, leviculum-lxmf/src/router/propagation_runtime.rs:1711), as the reference does with method=LXMessage.PROPAGATED (LXMRouter.py:2508); and
  • whose sender set capability bit 2.

The sender cannot mark "only via propagation" itself: a home node signs a message once and sends the same bytes direct and to the node (loquax-home-node.md, the policy); a field added later would be a new signature and a new message id. A message that arrived direct has its proof already and gets no 0x07.

Not switchable. It behaves like the transport proof, which nobody can turn off, not like read receipts. It does not follow the read-receipts switch. Only a client that sends no lev mark at all neither asks for nor sends one.

The wire

fields[0xFC] = map {
    0x00: uint   capabilities; bit 2 = "I acknowledge propagated post and want it acknowledged"
    0x07: [ uint32 received_at,                unix seconds, the recipient's clock
            [ bin32 message id, ... ] ]        at most 7 ids
}
  • Bit 2, CAP_PROPAGATION_RECEIPTS = 4, beside bit 0 (read receipts) and bit 1 (groups). The value stays a positive fixint: asking costs 0 bytes.

  • Key 0x07, KEY_PROPAGATION_RECEIPT: the shape of the read receipt 0x01, under its own key, so no reader ever takes arrival for reading. received_at is when the first of the listed messages arrived on the recipient's device. A 0x07 of another shape is none; an id of another length in it is passed over, as in 0x01.

  • The bytes, capabilities 5 (bits 0 and 2), received_at 1700000100, one id (a_propagation_receipt_is_the_hand_built_bytes in lev.rs):

    82 00 05 07 92 ce 65 53 f1 64 91 c4 20 <32-byte message id>
    
  • Cost to answer: alone, without the mark, the field pair with its two keys is 18 bytes plus 34 per id (c4 20 and the 32 bytes). On a message that carries the mark anyway it adds 8 bytes plus 34 per id. As an LXMF message alone with one id it is about the 240 bytes of a read receipt alone, just under a second at SF8/BW125.

  • An older reader skips it: versions move by keys, and a reader skips a key it does not know (a_decoder_without_0x07_skips_it_and_reads_the_rest).

Sending and taking

  • Sent by the recipient as its own LXMF message to the sender, the same path as a read receipt alone: direct first, then the sender's mailbox, batched the same way, seven ids at most a receipt (read receipts, section 3). It may ride on a message to that sender as a read receipt does.
  • Read wins. A message read inside the batch window gets only the read receipt 0x01; read includes arrived.
  • No receipt of a receipt. A receipt is never a bubble, and it arrives with whatever method; it is never answered.
  • Taken only from the destination, as a read receipt (section 4 of the read-receipts page): an id that is not ours in that sender's conversation is dropped.
  • Monotone. It moves a message to the delivered rung and never back; a read receipt or a late proof after it changes nothing that is already higher.
  • With a home node, the study proposes the home node sends it when the first device pulls the message, as with seen marks (section 8 of the read-receipts page). Order 1395 settles it.

On the ladder

No new rung. The marks are the ladder of the read-receipts page (section 6):

EventMarkWords in the detail view
the node took itone grey tick, as today"Waiting in the mailbox"
0x07 cametwo grey ticks"Delivered via the propagation network 10:31"
0x01 cametwo accent ticks"Read 10:32", as before

The screen reader says the words.

Who does what else

  • A stock recipient (Sideband, Columba, NomadNet, MeshChat, Ratspeak): does nothing. It does not see the mark, sends no 0x07, and the sender's message stays at one tick, which is true.
  • A stock propagation node (Python lxmd): does nothing. It cannot read the field; the receipt is an ordinary message to it.
  • lnpnd: nothing for the receipt, which is end to end. It answers the status query of section B.

B. Asking the node: /lev/status

The receipt needs a recipient that sends one. A stock recipient never does, so for it the sender's only witness is the node it uploaded to: the node saw the recipient's client collect the message. lnpnd answers a query for that; a stock node cannot.

Pull, never push. A node that told the sender would have to know the sender, and it does not: the upload comes over a link that never identifies (reference/LXMF/LXMF/LXMRouter.py:2889). Learning it would tie sender and recipient at the node, the leak upstream keeps the feature out for (#192 above). So the sender asks, by the message's transient_id, which only the sender and the nodes that hold the message know (reference/LXMF/LXMF/LXMessage.py:433-434).

What lnpnd keeps

Every id that leaves the store, with when and why, for 30 days after it left (PropagationNode::departures, leviculum-lxmf/src/propagation_node.rs), persisted across restarts in the data directory's departures file:

ReasonWhenAnswer
collectedthe recipient's client listed it in its haves and the node deleted it (LXMRouter.py:1508-1519)collected
evicteddisplaced to make room (get_weight, LXMRouter.py:1056-1067)evicted
expiredolder than the 30-day expiry, never collected hereexpired
deliveredaddressed to the node's own mailbox, delivered to itdelivered

A message still in the store is held; an id the node never had, or that left more than 30 days ago, is unknown.

  • File format LNPNDDP2 (lnpnd/src/departures.rs): the 8-byte magic, then 41 bytes an id: the 32-byte transient_id, the departure time as little-endian u64 seconds, one reason byte (1 collected, 2 evicted, 3 expired, 4 delivered). The older LNPNDDP1 (40 bytes, no reason) still loads; its ids stay duplicates and answer unknown, because that file did not say whether an id was collected or displaced. The next save writes LNPNDDP2.

  • An expired id is no duplicate. It is kept to answer, but a restart does not seed the duplicate cache with it: past the window a peer re-offers what it received after us, a new copy here too.

  • The log line per departure, whichever path removed it (a /get confirmation, an own-mailbox delivery, an eviction during an upload or a peer's sync, an expiry):

    PN_DEPART id=<transient_id, 64 hex> reason=collected|evicted|expired|delivered t=<ms>
    

    and one PN_STATUS ids=<n> result=answered|refused|throttled per query.

The wire

request path  "/lev/status"       on lxmf.propagation, path hash 46b17db4be0eb4b3e31ab655f95a87a4
request data  [ bin32 transient_id, ... ]          at most 64 ids
answer        { bin32 transient_id: str word, ... } every asked id, in the order asked
              word = "held" | "collected" | "evicted" | "expired" | "delivered" | "unknown"
refusal       uint error code                     0xf4 malformed or over 64 ids, 0xf6 throttled
  • One id, collected (a_request_round_trips_and_its_bytes_are_an_array_of_bins, an_answer_round_trips_and_a_refusal_is_its_code in leviculum-lxmf/src/lev_status.rs):

    request  91 c4 20 <32-byte transient id>                                  35 bytes
    answer   81 c4 20 <32-byte transient id> a9 63 6f 6c 6c 65 63 74 65 64    45 bytes
    

    Seven ids are a 239-byte request and an answer under 320 bytes, so a home's usual question fits one packet each way on a link.

  • A word a reader does not know reads as unknown, so a later node can add one.

  • Open to any link, never identified. The node never asks who is on the link. A home asks over a link of its own that it does not identify, not over its sync link, which identifies before /get (leviculum-lxmf/src/router/propagation_runtime.rs:569), or the node could tie its identity to the ids and through them to the recipients.

  • Spaced per link: a second request within one second on the same link is answered 0xf6. A home asks once per sync round.

The announce

The capability rides the propagation node's announce, so a client never asks a stock node, which would leave the request unanswered (reference/Reticulum/RNS/Link.py:859-905, no branch for a missing handler). Metadata key PN_META_CUSTOM 0xFF (reference/LXMF/LXMF/LXMF.py:138):

field 6 = { ..., 0xFF: { "lev": { "status": 1 } } }
            cc ff 81 a3 6c 65 76 81 a6 73 74 61 74 75 73 01     16 bytes

1 is the version of this wire. The reference checks only that field 6 is a dict (LXMF.py:244), so a stock client keeps taking the announce and ignores the key (lev_status_reference feeds our exact announce to that function). A board announces none: it keeps no departures and does not serve the path. Readers look up {"lev": {"status": _}} and skip any other key in either map (lev_status::announced_version).

What the answers mean, and what they cannot

  • collected means the recipient's LXMF router took it from this node. With Sideband or Columba the router is on the phone, so it reached the device. It does not mean read.
  • expired means "not collected here", never "lost". With peering every peer gets a copy (LXMRouter.py:2519), so the recipient may have collected it at another node, which deletes only its own copy; ours expires uncollected. The words must say so (the table in section C of the study: "not collected at this node; perhaps delivered via another").
  • evicted the same: gone from here, perhaps delivered elsewhere.
  • unknown after a node's departures file was lost or never written: no claim at all.

Privacy of the query

  • The node saw the collection anyway. New is only that it tells whoever holds the transient_id: the sender, and every node that holds the message by peering. A foreign peer node can thus learn when the recipient collected at ours. Small, but it is there.
  • The query reveals only that someone holding the ids asks. Over an unidentified link the node cannot tie the asker to anything.
  • The home's rule (1395): ask at most once per sync round, only for ids still open, and for at most 30 days after the upload; an id that reached collected, delivered or a receipt is never asked again.

For a later cell against lxmd (lane 2)

A periculum cell with a stock lxmd beside lnpnd must assert: lxmd keeps validating lnpnd's announce (it keeps lnpnd as a known propagation node and peers it, pn_announce_data_is_valid true on the wire); lxmd's own announce carries no 0xFF key, so a reader finds no capability; and a /lev/status request sent to lxmd gets no answer (the request times out), while the same request to lnpnd for an id lxmd's peer sync carried over answers held, then collected after the recipient's stock client fetched from lnpnd, and stays held, never collected, when it fetched from lxmd instead.

Privacy

The receipt tells the sender when the recipient's device was online and took the message. A direct delivery's proof tells the sender exactly that today. No new party learns anything: the node sees one more encrypted message, as for any reply. Nothing identifies the sender to the node.

Status

  • Built (1393): the codec, CAP_PROPAGATION_RECEIPTS, KEY_PROPAGATION_RECEIPT, PropagationReceipt with its batches, the hand-built vector and the older-reader test, in leviculum-lxmf/src/lev.rs.
  • Built (1394): section B in lnpnd. The departure reasons and their LNPNDDP2 file, PN_DEPART and PN_STATUS, the /lev/status handler with its spacing, the 0xFF announce entry, the codec in leviculum-lxmf/src/lev_status.rs.
  • Not built: setting bit 2, sending 0x07 on a propagated arrival, taking it, the words on the ladder, and the home asking /lev/status (1395); the cell against lxmd (lane 2).