[docs] F03: protocol v0 approved — invites expire after 7 days, blobs after delivery or 30 days
This commit is contained in:
@@ -28,7 +28,9 @@ deploy/container/ # container image
|
||||
|
||||
## 3. Workflow
|
||||
Same as Amicitia: analysis document in `.agents/features/` before code ((D)TDD), branch per feature,
|
||||
adversarial self-review in `.agents/reviews/`, merge `--no-ff`, push and verify the remote hash.
|
||||
adversarial self-review in `.agents/reviews/`, merge `--no-ff`, push and verify the remote hash. The
|
||||
agent merges its own PR once local checks pass and the review is written, and reports afterwards
|
||||
(Mark, 2026-11-08); a change to `docs/PROTOCOL.md` still needs Mark's approval first.
|
||||
**No AI attribution in commits, ever.** Quote test counts per crate; an exit code is not a count.
|
||||
|
||||
## 4. Known traps
|
||||
|
||||
+5
-4
@@ -1,6 +1,7 @@
|
||||
# Tabellarius protocol v0 — what crosses the wire, and what the relay learns
|
||||
|
||||
Reviewed and approved **before** any relay code is written. Every claim below must have a test.
|
||||
**Approved 2026-11-08 (Mark)** as v0, before any relay code. Every claim below must have a test. A change
|
||||
is a protocol version bump: documented, reviewed, approved (`CLAUDE.md` §2.2).
|
||||
|
||||
## 1. Threat model
|
||||
| Adversary | Protected | Not protected |
|
||||
@@ -29,7 +30,7 @@ Reviewed and approved **before** any relay code is written. Every claim below mu
|
||||
A QR code (in person) or a link carries: relay URL, an invite id, and a one-time fetch secret. The
|
||||
invitee fetches the inviter's MLS KeyPackage from the relay with it, replies with their own, and
|
||||
both sides exchange mailbox ids and post tokens **inside** MLS. Unclaimed invites expire after
|
||||
7 days *(proposal)*.
|
||||
**7 days** *(decided 2026-11-08)*.
|
||||
|
||||
## 5. What the relay stores — the complete list
|
||||
| Table | Columns |
|
||||
@@ -40,10 +41,10 @@ both sides exchange mailbox ids and post tokens **inside** MLS. Unclaimed invite
|
||||
| `push` *(only if the user opts in, G03)* | mailbox id, push endpoint |
|
||||
|
||||
Nothing else. No IP, no user agent, no request log beyond counts. A blob is deleted on acknowledged
|
||||
delivery and after **30 days** at the latest *(proposal)*. The reverse proxy in front must also not
|
||||
delivery and after **30 days** at the latest *(decided 2026-11-08)*. The reverse proxy in front must also not
|
||||
log; the NixOS module ships configured that way.
|
||||
|
||||
## 6. Waking a closed app (open — decide before Phase 2)
|
||||
## 6. Waking a closed app
|
||||
A notification for a closed app needs a push service. The wake-up carries **no content and no sender**
|
||||
— only "something arrived".
|
||||
- **Android:** UnifiedPush lets the user choose their own distributor; FCM as a fallback.
|
||||
|
||||
Reference in New Issue
Block a user