onionwire/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
t b79f1fd6f3
All checks were successful
ci / test (pull_request) Successful in 4m9s
feat(tui): per-message outbox delivery state + N queued footer
Chat rows now carry the state the local outbox actually holds: `✓` delivered,
`◷ queued (try n/8, retry 45s)` while the retry worker still has it, `» sending`
mid-attempt and `✗ failed: <short reason>` once attempts are exhausted. The
footer replaces the flat `sent` / `send failed` copy with the live count
(`2 queued`), and keeps a fail-closed `send failed: …` statement as long as any
row is terminally failed.

States come from the outbox API (`Node::outbox_pending` → `Queued` / `Sending` /
`Failed`; a delivered row is deleted, so absence is `Sent`). No parallel state
model, no new wire prefix. Every new glyph has an ASCII fallback (`ok` plus the
state word) exercised by a test.

- `chat_with_delivery()` / `delivery_tag()` / `retry_in_text()` /
  `short_send_reason()` / `OutboxSummary::note()` are pure and unit-tested.
- `draw_chat()` is now the real chat-pane renderer (extracted from
  `App::draw_main`) so width/wrap is testable without a `Node`.
- docs/TUI.md: delivery markers, copy, and the 80x24 floor / 120x40 target.

Verified: cargo test 26/26 suites ok (tui_spec 20/20, incl. a real Store +
Outbox::send -> pending() -> render path); clippy --all-targets -D warnings clean.
2026-09-12 14:44:35 -04:00
..
ARTI_UPGRADE.md ci: watch upstream Arti/tor-* releases daily and file an upgrade issue 2026-09-12 13:55:07 -04:00
PROTOCOL.md feat(outbox): local retry queue for chat sends 2026-09-12 14:39:14 -04:00
README.md docs: add PROTOCOL.md and retire the stale audit writeup 2026-09-11 13:15:51 -04:00
SECURITY_AUDIT.md docs: add PROTOCOL.md and retire the stale audit writeup 2026-09-11 13:15:51 -04:00
THREAT_MODEL.md feat(outbox): local retry queue for chat sends 2026-09-12 14:39:14 -04:00
TUI.md feat(tui): per-message outbox delivery state + N queued footer 2026-09-12 14:44:35 -04:00

OnionWire docs

Read these in order if you are evaluating the protocol without the Rust:

  1. PROTOCOL.md — wire format, handshake, invite, frames. This is the document a second implementation would use.
  2. THREAT_MODEL.md — what v1 claims, and what it refuses to claim.
  3. SECURITY_AUDIT.md — in-house review notes and which findings are still open. Not a public third-party audit.

Operator / product docs stay in the root README. Android build notes: android/README.md. SDK: crates/onionwire-sdk/README.md.