Skip to main content

Module jekt_echo

Module jekt_echo 

Source
Expand description

The sender’s own copy of a jekt it sent, written into its pane (SPEC_JEKT_SECURITY_AND_VISIBILITY §3.2). Moved out of reactive.rs.

Structs§

EchoTrust 🔒
Echo a successfully-sent jekt into the SENDER’s own pane (SPEC_JEKT_SECURITY_AND_VISIBILITY §3.2).

Functions§

echo_jekt_to_sender 🔒
echo_jekt_to_sender_with_files 🔒
echo_jekt_to_sender for a jekt delivered with files: the sender’s echo lists them as the receiver’s message did, so its pane shows the same chips (SPEC_JEKT_FILE_TRANSFER_2026_10_05.md §6.2).
echo_trust_from_peer_body 🔒
The trust an echoed marker should carry after a forward, given the peer’s response body. The RECEIVING instance is the one that computes channel_verified (the forwarder holds the sender’s HMAC key, so §D2 step 2 of SPEC_JEKT_CROSS_CHANNEL_TRUST_2026_09_02.md makes it skip cross-channel verification) and threads it back via InjectionResponse::channel_verified, exactly as it already does for effective_tier/requires_stop. Taking it from the body keeps the sender’s echoed TRUST= consistent with the ESCALATE= the same body supplies — otherwise a sensitive cross-channel message could echo as TRUST=self-declared … ESCALATE=none, which contradicts itself (codex P2 on #3064). A body without the field (an older peer) leaves the caller’s value alone.