docs: describe the local outbox instead of denying it

README.md still told users 'no outbox, no retry queue' and 'if their onion is
down, send fails' since well before the local outbox landed (#45). Rewrite the
delivery story to match what main runs: an unreachable peer's chat is queued in
the local outbox and retried with 30s-doubling backoff (cap 30 min, 8 attempts,
then terminally failed), local-only until it lands, nothing handed to a third
party. Retries are not a new transport: each one is a fresh Noise IK handshake
straight to the friend's onion, as docs/PROTOCOL.md and docs/THREAT_MODEL.md
already say.

Keep the non-goals that are still true (no server-side outbox / store-and-forward
relay, no multi-device sync, no DHT) and keep file transfer and payments
fail-closed, since only chat is queued.

docs/TUI.md: the status-copy table still listed 'peer down / send err | send
failed: {e}' as the fail-closed path; split it into the queued chat case and the
paths that still fail.
docs/ARTI_UPGRADE.md: step 7's hand check must use /file or /pay, because a chat
to a down onion is queued rather than failed.

No code change.

# Conflicts:
#	README.md
#	docs/TUI.md
This commit is contained in:
rust-dev 2026-09-12 15:51:40 -04:00 • committed by agent
commit 11a4145972
No known key found for this signature in database
3 changed files with 15 additions and 12 deletions

View file

@ -396,7 +396,8 @@ Build left-to-right, **never drop** a non-empty `status_note`:
`tests/tui_chrome.rs` stays green.
Fail-closed copy is `send failed: {e}` or `fingerprint mismatch`. Prefix `! `
when color is off.
when color is off. Chat to an unreachable peer is not a fail-closed state: it
is queued in the local outbox and retried.
### Copy — non-happy states
@ -413,8 +414,7 @@ Do not soften fail-closed into a loader.
| peer down / send err | `send failed: {e}` (visible) |
| queued (outbox) | `{n} queued` — replaces the flat `sent`/`send failed` while rows are outstanding |
| queued + terminal failure | `{n} queued, send failed: {short}` |
| terminal failure | `send failed: {short}` (`{f} failed` when more than one) |
| already sending | `already sending` (keep) |
| terminal failure | `send failed: {short}` (`{f} failed` when more than one) || already sending | `already sending` (keep) |
| stale friend | `stale` suffix (keep) |
| empty composer | `message` as dim placeholder (not the slash list). Slash list stays in `?` |
| paste error | `{err}` then `Enter resubmits Esc back` |