docs+tui: reachability stance (no sealed mailbox) and peer-unreachable queued footer
Add a Reachability section to docs/THREAT_MODEL.md: no sealed mailbox or server-side message store, the chat outbox is local-device retry only, and there is no mutual-online indicator — a send is a one-shot Noise IK session and an unanswered dial queues locally with the retry clock shown. OutboxSummary now carries the outstanding row's attempt count and soonest retry, so the footer reads 'peer unreachable, queued (n/8, retry 45s)' instead of a bare 'n queued'. Tests updated to the real outbox wording; the Android KDoc note stops claiming the footer copy is mirrored (Android shows per-row 'queued (try n/8, retry …)' via OutboxDetail).
This commit is contained in:
parent
918fa4d8a8
commit
dff37fe00e
4 changed files with 79 additions and 14 deletions
|
|
@ -130,8 +130,13 @@ fun parseDelivery(direction: String, delivery: String?): Delivery? {
|
|||
/**
|
||||
* Chat-level delivery summary derived from the rendered rows.
|
||||
*
|
||||
* Mirrors `src/tui.rs::OutboxSummary`: `Queued` + `Sending` are "still coming",
|
||||
* `Failed` is terminal and keeps a fail-closed statement on screen.
|
||||
* The *counting* rule mirrors `src/tui.rs::OutboxSummary`: `Queued` + `Sending`
|
||||
* are "still coming", `Failed` is terminal and keeps a fail-closed statement on
|
||||
* screen. The TUI's footer wording for an outstanding row also carries the
|
||||
* reachability statement and retry clock (`peer unreachable, queued (n/8, retry
|
||||
* 45s)`); on Android that per-row detail already lives in the row's own
|
||||
* `queued (try n/8, retry …)` marker (`OutboxDetail.kt`), so the summary stays
|
||||
* the short count form instead of repeating it.
|
||||
*/
|
||||
data class OutboxSummary(
|
||||
val queued: Int = 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue