A sent channel message shows whether it went past your near relays

A channel has no acknowledgement, but the radio hears each repeater that
relays our message, and each copy names the relays that it went through.
The end of our channel message now shows a spinner, then a check and the
number of relays past the near relays (the first hops of the outbound
paths that apply), a warning when only the near relays sent it back, or a
cross when no relay did. A near relay is near by identity, at any place
in a path. Managed nodes play no part: a remote managed repeater counts.

- services/heard_by.py: the verdict, and a tracker that fills in the
  background and refreshes on each channel packet. Settled verdicts are
  stored (schema 24, heard_relays), with the near relays of each send.
- The picked message names the relays and the near relay that carried it.
- ^P counts the relays past the near relays.
- chat history --channel: a HEARD lane; --json gives heard, heard_by,
  heard_via.
- New preference heard_wait_s (Relay wait, 30 s).
- Fix: a copy of our own channel message must carry the time of that
  send, so two messages with the same text no longer share copies.

Closes #38

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Jean-Pierre MartineauandClaude Opus 5.5 committed 2026-11-20 20:29:59 -05:00
1 parent fa912032a3
commit f4b1d659d1
14 files changed
+1162 -23

No files matched your search

+1
View File
@@ -183,6 +183,7 @@ and in quoted text.
| path | An ordered list of hops that you write or force (`a1,3d,…`) | |
| route | The sequence of nodes that a trace went through or will go through | |
| hop | One node in a path or a route | |
| near relay | The first hop of an outbound path that applies now. A copy of our channel message that only near relays sent back proves that the message left our radio, not that it went farther | own repeater, home repeater, local relay |
| outbound path | A path that starts at our node and goes out into the mesh, one or more hops long. The user trusts it for the first hops of a route, because the user knows which way out works | outbound leg (for this: an outbound leg is the outbound half of a trace) |
| site | A name for where the user takes the computer (`Home`, `Foulab`), with its outbound paths in order. One site is active | profile (for this: a profile is a connection alias in `config.toml`) |
| fixed device | A companion that never moves. It keeps its own outbound paths, and the active site does not apply to it | |