Repository navigation
v0.3.2 — the liveness trio ships
Fixed
- A partial device reply was never retried. The unwritten suffix is now retried on a later turn from the ledger (same suffix, never a re-send from zero), bounded by an opt-in byte budget (
SMARTCLI_REPLY_RETRY_BYTES, default 0 = off), with the debt still visible inio.pending. - A peer that stopped reading could hold the daemon's single worker for up to 60 s.
_replynow uses a non-blocking send loop against two bounds: the 60 s ceiling (unchanged for a peer making progress, tunable viaSMARTCLI_REPLY_TIMEOUT_MS) and a stall window (SMARTCLI_REPLY_STALL_SECONDS, default 2 s, 0 disables) that abandons a peer which accepts nothing for that long. Every accepted byte renews the window; the outcome is returned as a receipt. - The daemon's reader cap is now an admission limit, not a filter on what it lists.
Notes
Verified with the author's own commands (tests/test_liveness_gaps.py → 18 tests OK) and the full aggregator (python tests/run_all.py → 56/56) before the merge; this release republishes the same tree, so artifact == tag == repository.