diff --git a/CHANGELOG.md b/CHANGELOG.md index b809755..663c3f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -96,11 +96,34 @@ All notable changes to seismo-relay are documented here. other fields are unchanged. - No schema change, no migration. Prod's Micromate events all arrive with a report, so only the `.h5` pre-trigger changes there. +- **A MiniMate's settings are read by position, not by the "stable anchor" + (#48; `fix/s3-settings-by-position`, merged 2026-12-02).** + - **The bug:** the legacy SUB 1A decode found the record mode, sample rate, + histogram interval and record time by searching for `be 80 00 00 00 00`. + Those bytes are the block's `[12:18]`, the pre-trigger (−0.25 s) and the + stop mode (Fixed), not a marker. A unit in Auto stop mode, or with another + pre-trigger, has no such bytes, and all four would read None. + - **Where that mattered:** `connect()`'s legacy routes, `/device/info` + without a serial and the legacy event download, which takes the event's + sample rate from it. The serial-routed settings read already read by + position. + - **Now:** the reply is unescaped and the block found by its own length field + N = 2090 (`08 2a`, at unescaped[12] on every recorded reply). The four are + read by position, Series IV's `0x1A` layout. + - **It never struck:** every DL2 event file's setup copy has stop mode Fixed, + 70,041 / 70,041, and Blastware's reports agree (7,631 / 7,631). + - **Tests:** recorded replies patched to Auto stop and to a −0.5 s + pre-trigger now decode (8 new tests; the 7 existing ones are unchanged). + Not yet checked on a unit in Auto stop mode. + - Operational: none. It is a live-read fix, with no stored data, schema, + `TOOL_VERSION` or backfill involved. ### Protocol / Documentation - **IDF reference, Signature A:** the event's settings record, time and notes, measured; the `be 80…` search retracted. Thor writes `.MLG` files too (seen, not examined). +- **Instantel reference and CLAUDE.md:** #48 resolved. The "stable anchor" notes + are retracted in place, and DL2's stop modes are counted. ## v0.35.0 — 2026-11-16