- Series4Session's docstring now states which errors keep the line: an
op raises a DeviceError only for a verdict on a healthy link (not
found, stale, unnameable), and _exchange keeps the line for those; any
library error means the link is suspect and hangs up. DecodeMismatch
is a library error and hangs up -- conservative. Later ops must keep
to it.
- Test: a micromate TimeoutError mid-download, on a fresh DeviceAccess
(no retry path), is NoAnswer, closes the client once and leaves no held
line. It pins existing behaviour; a mutation that keeps the line on
library errors makes it fail.
- README, event rows corrected in place: another unit's id is 422 (not
409); a stale id is 409 without downloading, both series; an event
already stored -- including by THOR's watcher -- returns its row and
changes nothing (detail.already_stored); MiniMate lists give
record_type null, on the normal timeout, and fail on a lost reply.
No code behaviour change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44