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.
This commit is contained in:
parent
c39259b919
commit
5c675f6755
3 changed files with 16 additions and 10 deletions
|
|
@ -386,7 +386,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
|
||||
|
||||
|
|
@ -400,7 +401,8 @@ Do not soften fail-closed into a loader.
|
|||
| nothing selected send | `no friend selected` (keep) |
|
||||
| sending | `sending` (keep, no spinner) |
|
||||
| sent | `sent` |
|
||||
| peer down / send err | `send failed: {e}` (visible) |
|
||||
| peer down, chat | queued in the local outbox and retried with backoff — no `send failed` copy |
|
||||
| send err (permanent), `/file`, `/pay` | `send failed: {e}` (visible) |
|
||||
| already sending | `already sending` (keep) |
|
||||
| stale friend | `stale` suffix (keep) |
|
||||
| empty composer | `message` as dim placeholder (not the slash list). Slash list stays in `?` |
|
||||
|
|
|
|||
Loading…
Reference in a new issue