From d5442e3a335327b445d27d0f7e8798726ba20973 Mon Sep 17 00:00:00 2001 From: Christophe Besson Date: Thu, 10 Sep 2026 17:30:40 +0200 Subject: docs(code): drop the references to a plan file that no longer exists Seven comments pointed at sections of `~/next/improve-downloads.md`, which is not in the tree and not anywhere a reader of this repository can follow. Each now states the thing it was citing: why a paused transfer holds nothing, why the lease is taken after the save target and not before, why a chunk request marks a lease alive, where the leaseless bound's number comes from. The leaseless comment also said "two files at a time" three paragraphs under `MAX_LEASELESS_IN_FLIGHT = 12`, left behind when the bound was raised. A comment that contradicts the constant beside it is worse than no comment: one of them is wrong and the reader cannot tell which. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01AsoWC3GmhNdwVFomW3QjH3 --- packages/meshbay-hub/tests/test_client_version_gate.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'packages/meshbay-hub/tests/test_client_version_gate.py') diff --git a/packages/meshbay-hub/tests/test_client_version_gate.py b/packages/meshbay-hub/tests/test_client_version_gate.py index 69ca062..4dc9b98 100644 --- a/packages/meshbay-hub/tests/test_client_version_gate.py +++ b/packages/meshbay-hub/tests/test_client_version_gate.py @@ -5,9 +5,9 @@ The SPA is served by the hub, so a browser picks up a new client on reload. The desktop application **ships its own interface**, so on a flag day an un-updated one can still sign in, still list groups, and then fail every connection with `version_too_old` — a refusal in a protocol vocabulary, surfacing as a node that -will not talk, with nothing anyone can act on. §12.3 of -~/next/improve-downloads.md named this as the thing that had to exist before -MNP 3.0 could ship. +will not talk, with nothing anyone can act on. Refusing at the handshake is only +honest if something tells the person *before* they get there, and this is that +something. `compareVersions` and `refuseIfTooOld` are lifted out of `main.js` **as text** and executed against a modelled environment, on the rule this repo follows -- cgit v1.2.3