diff --git a/CLAUDE.md b/CLAUDE.md index 96ce261..583538a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -129,7 +129,13 @@ Read this first when picking the project back up. - **Series-3 decode is verified per-sample at scale (v0.27.0).** The full DL2 archive decodes **14,338 / 14,338** paired files exactly against their preserved Blastware ASCII exports — 1,249 waveform + 13,089 histogram, 45 - units, files back to 2018. That is 11x the ground truth the prod store + units, files back to 2018. ⚠ **Corrected 2026-10-29:** the 14,338 pairs + are all events from 2025–26 (five more carry a 1995 clock); DL2 kept ASCII + reports only from 2025. 🔑 Its `Sent/__XML.XML` files are + Blastware's full event report — every report field plus every sample — + for **70,042 events back to 2016**, local copy `~/dl2-archive/xml`. + `scratch/verify_bw_fields_against_xml.py` checks file-only fields against + them. That is 11x the ground truth the prod store carried, and it supersedes the old "per-sample on 11%, peak-only on 89%" caveat. Harness: `scratch/verify_against_ascii.py` (note its saturation carve-out — BW clamps clipped events, the decoder reports true counts). diff --git a/README.md b/README.md index 882f5b0..f22397a 100644 --- a/README.md +++ b/README.md @@ -616,6 +616,8 @@ Implementation steps (concrete): ### Ingestion gaps +- [ ] **Event importer (parked 2026-10-29).** A way to load a folder of event files from disk into SFM in bulk — a historical archive, a laptop's Blastware folder, a backup — without routing them through a watcher. It is one of the four ways events should reach SFM (watcher forward, upload from disk, SFM's own serial/modem download, SFM's future call-in server). Prompted by DL2's 2016–2024 backfill, which the watcher could only drip-feed at 500 events a pass. + - [ ] **MLG forwarding.** `series3-watcher` forwards event binaries + their `_ASCII.TXT` reports, but skips `.MLG` per-unit monitor log files entirely. Adding an `POST /db/import/mlg_file` endpoint + watcher scan path would populate `monitor_log` for non-ACH-routed units (coverage queries, "was this unit monitoring on date X" lookups). - [ ] **0C-record raw bytes persistence in the sidecar.** Currently on branch `claude/codec-re-cBGNe` as commit `a187124`; cherry-pick if useful as a standalone fix. Preserves the 210-byte 0C record under `extensions.raw_records.waveform_record_b64` so future field-offset analysis (Peak Acceleration / Time of Peak / etc. — the fields BW computes client-side from samples) can run offline.