From 40c8a5dce52137f6121d7e4e8d4aa5526cb9e95f Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Sat, 21 Nov 2026 09:53:58 -0700 Subject: [PATCH] docs(plan): the relay's follow-ups and delegation lines Co-Authored-By: Claude Fable 5.2 --- docs/delegation-log.md | 3 +++ plan/p15-app-and-relay.md | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/docs/delegation-log.md b/docs/delegation-log.md index d20871bd..700ef0e0 100644 --- a/docs/delegation-log.md +++ b/docs/delegation-log.md @@ -59,3 +59,6 @@ Columns: date | type (scout, run/verify, implement, refactor, debug, review) | p - 2026-11-21 | review 3 | muse-wonder-full | A2 review | not run: Muse quota exhausted until 2026-11-23; sent to sonnet - 2026-11-21 | review 3 | sonnet (high) | A2 review | accepted: 4 medium, 7 low; no double writer found - 2026-11-21 | impl-multi 2 | sonnet (high) | A2 fix round (6 findings + wiring test) | accepted on targeted tests +- 2026-11-21 | impl-multi 3 | sonnet (high) | P15 B2: the relay service | accepted after one review and one fix round +- 2026-11-21 | review 3 | opus (medium) | B2 security review | accepted: 2 high (denial of service), 5 medium; no takeover or read path found +- 2026-11-21 | impl-multi 2 | sonnet (high) | B2 fix round (12 items) | accepted on its tests; item 7 partly (yamux window fixed) diff --git a/plan/p15-app-and-relay.md b/plan/p15-app-and-relay.md index d821e0c8..6f5b9953 100644 --- a/plan/p15-app-and-relay.md +++ b/plan/p15-app-and-relay.md @@ -430,6 +430,24 @@ left out of its last round on purpose: - The scenario test for "closing A never delays B" shows B's jobs finish unstopped, not that they were undelayed. +From the review of unit B2 (the relay service): + +- The relay never serves a shared account-binding secret: a binding + comes only from a per-app source, which is not built. Where section 5 + above speaks of a binding in the authority list, this is what stands. + An authority that needs one is served as not usable until then. +- An attacker with many networks can still spend the weekly certificate + budget (charged at a name's first publish) or fill the hello pool. A + raised Let's Encrypt limit and a second authority are the answer. +- yamux 0.14 fixes the stream window at 256 KiB, so a hostile app can + make its line hold up to 3.5 MiB; the stream count was cut to 8 + callers per app to bound it. Measured idle cost: 15.4 KiB per line. +- The relay's own certificate is loaded from files, with no renewal. +- The 100,000-line soak has not been run; 20,000 is the largest. +- Unit B3's duties: ping at least every 60 s (a line silent for 180 s is + dropped); a secret label of 25 or more random base36 characters; a + yamux stream limit at least the relay's. + From the review of unit A2 (the app starts and stops the server), left for unit A5 or later: