diff --git a/docs/superpowers/specs/2026-10-20-sfm-series4-parity-design.md b/docs/superpowers/specs/2026-10-20-sfm-series4-parity-design.md index b5d0adb..27b5e6b 100644 --- a/docs/superpowers/specs/2026-10-20-sfm-series4-parity-design.md +++ b/docs/superpowers/specs/2026-10-20-sfm-series4-parity-design.md @@ -430,14 +430,19 @@ Each safety piece arrives with its first real use, so nothing sits untested. the bridge. - Still owed: - **before merging to dev, align `persist_download`'s already-stored - check with dev's restamp fix** (fix/waveform-time-restamp, - `847900b`..`3948dc1`). Today it looks up (serial, timestamp), which - misses a v0.31.0 row not yet restamped, so the download would move - and overwrite the richer watcher copy. Mirror the merged - `insert_events` rules: match by (serial, Blastware filename) as - well; only filenames `blastware_filename_time()` can parse; prefer a - reviewed row that has a time. Series-3 waveform times come from - the Blastware filename there (`read_blastware_file(path, name=...)`). + check with what v0.32.0 shipped** (dev `04acb99`; restamp `5737168`, + then `3a6df9d` fix/waveform-time-from-record). A Series-3 waveform's + time comes from the unit's **embedded event record** in the 5A stream + (`00 28 05 00 ?? ?? fe 80 [trigger][stop]`, + `event_file_io._embedded_event_record`), which SFM's own downloads + carry too; the filename is a cross-check only, never a fallback. + `Event.timestamp_source` says which ("event_record" / "report" / + "footer" / "estimate"). Mirror the DB rules: match by stored file + as well as (serial, timestamp) (`SeismoDb._restamp_by_file`), and an + **"estimate" time never matches, moves or duplicates a row** + (`SeismoDb._estimate_guard`). Take the semantics from the merged + code. Expect a trivial conflict at the top of the Series-III + reference's changelog table (dev added 2026-10-26 (5)). - a dropped reply via fault injection. It happened for real on 10-25, but that was our checksum bug, not a lossy link; - ~~whether standard (non-5A) requests need the same checksum