Reference D.4 rewritten from the measurements: the 18-byte prefix,
length-led 292-byte records, the CRC-16/AUG-CCITT (3,329 / 3,329), the
fields, how Blastware writes the files and how a session appears, and
the cross-check against DL2's event files. The old D.4.1-D.4.3 stay,
marked retracted. CLAUDE.md gains the five routes and a Where things
stand entry; the spec's footer-CRC note points at dev's 8544e9c.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
Design for reading Blastware .MLG files into SFM and deriving each unit's
monitoring timeline (sessions, stop reasons, call-ins), for shot reports
and outage history. Includes the measured MLG format: length-led 292-byte
records with a CRC-16/AUG-CCITT tail (3,329 / 3,329 records).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R9LdWawLzUxwewZGA1
The protocol reference, seismo_lab.py and one scratch CSV were CRLF, so a
rewrite outside the Edit tool turned them into whole-file diffs, and merges
into them had to be resolved byte by byte. They are converted once (line
endings only: the diff ignoring CR at EOL is empty), and .gitattributes keeps
every source and doc type LF from now on, whatever writes it.
tests/fixtures/** is -text: Blastware's own reports and exports, captures and
event files stay byte for byte (38 CRLF fixtures, unchanged).
A branch that edits one of the three files merges with -X renormalize.
Suite: 1,693 passed, 0 failed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
S3FrameParser kept the 10 of a checksum sent as `10 02/03/04` as the reply's
last data byte. It now takes the pair: 7,747 / 7,747 recorded replies check,
272 of them with an escaped checksum. Fixes the 1C battery/memory misread
(419.84 V on 12 of 760 recorded status replies) and the 2C call-home read; the
5A file builder's own compensation is removed with it, and pre-fix .a5.pkl
frames are converted on load (A5_PICKLE_VERSION 2). checksum_valid now sums
the unescaped payload.
Conflict: the reference's changelog table (dev's own 2026-11-06 row); #58's
row kept as 2026-11-06 (2). Suite on the merge: 1,693 passed, 0 failed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
The vector sum's last digit on 4 waveform/histogram twins (no fitted
factor on a compliance number) and the 4 accelerations (O117I1NK's fit
rests on one clipped file): left and documented, Brian 2026-11-11.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
Footer [24:26] is CRC-16/AUG-CCITT (poly 0x1021, init 0x1D0F), stored
big-endian, over the footer record from its length prefix 00 1a through
footer [0:22] -- 24 bytes; the zero word [22:24] is not covered.
70,041 / 70,041 DL2 files. Found by the .MLG session, verified here.
Retracts 2026-11-08's 'no common CRC-16 fits' (D.3.3, in place, and the
footer comment in event_file_io): every attempt had started at the
footer itself and missed the length prefix.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
- Reference D.6.15 (new): over range -- a peak past 2,000 units (the mic
in counts) is OORANGE, per channel and per histogram interval; the
vector sum is OORANGE exactly when a geophone is (43 / 43), never on
its own (38 / 38); the <OORANGE> line marks the mic over (18 / 18).
- D.6.6: the mic's own range byte (an eighth at 1; 7 events read 8x
high); the dB offset corrected in place to 81.938216 (every printed
count leaves [81.9382058, 81.9382266]); the unit labels that do not
hold, and the mixed columns.
- D.6.11, CLAUDE.md: 80 of 88 report fields match on every DL2 event
(run 20261109-144544, 0 regressions); the two causes left (the vector
sum's last digit on 4 twins, 4 accelerations); the 'vector sum alone'
case retracted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
D.2 and D.4.2 said MLG timestamps are big-endian; §7.5 already had the
year little-endian. Measured on the 4 bench .MLG files: every date's
year is little-endian, and a record's [22:26] is the event footer's
flag word and trigger source (D.6.14), little-endian. BE9441's 10-25
session lines up 20 / 20 with its event files. write_mlg() writes
big-endian dates; nothing calls it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
- Reference D.6.14 (new): the Monitor Log line is the footer's ts1 - ts2
plus words for its flag word [18:20]; 69,983 / 69,983 DL2 lines,
character for character; the flag table and how common each is.
- D.3.3: footer [18:20] flags, [20:22] trigger source, [22:24] zero;
[24:26] still unknown (no common CRC-16 or sum fits).
- D.6.11, CLAUDE.md: 72 of 88 report fields match on every DL2 event
(run 20261108-034313, 0 regressions) and what is still open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
Reference row 2026-11-06: an escaped checksum is the checksum, measured on
7,747 / 7,747 recorded replies, with what the stray byte misread. CLAUDE.md's
phase-5 warning marked fixed, and the reply rule widened.
Corrects 89c5234's unescape_reply docstring: the 2026-10-26 recording's
748/748 was measured on its replies (it also has 748 requests); I had called
them Blastware's requests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
- Reference D.6.13 (new): the tail of an event file is one record chain
ending exactly at the file's end (70,041 / 70,041 DL2 files); the
sensor-check header layout and what Blastware prints from it.
- D.3.3: the footer is the chain's last record (length 00 1a, id 0e).
- D.6.12: 'before and after' retracted in place -- one record per channel.
- D.6.11, CLAUDE.md: 71 of 88 report fields match on every DL2 event
(run 20261106-125854, 0 regressions; 59 before group E).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
A note at the head of Appendix D.6 listing every case so far: the
O117I1NK sample wrap, the unit's 16.16 fixed-point step, the histogram
PVS2 high word above 1.28 in/s, the old 1.275 in/s byte clip, and the
64 KB 5A page. Brian's observation, 2026-11-05.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
The summary's unidentified [15:21] is the stored samples' largest step
plus 0 to 1 unit, x 65,536, on 19,479 geophone channels: probably the
unit's own step at full resolution (inferred). Blastware does not print
it -- its acceleration matches the samples on 19,475 / 19,479 and this
field on 879. Corrects 'acceleration is not stored'.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
- Reference D.6.12 (new): the record chain after the embedded event
record, the per-channel summary layout, what Blastware prints from it,
why recomputing failed, and the two odd 2019 files. Group D part 1
(time of peak, acceleration with the fitted g) is documented there too.
- Reference §7.8.9: its "constant, meaning unknown" bytes amended in
place (the vector-sum peak sample, then the next record's lead).
- Reference D.6.11 and CLAUDE.md: 59 of 88 report fields match on every
DL2 event (run 20261105-140021, 0 regressions; 47 before group D).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
Both protocol references, the spec's bench section and CLAUDE.md record
the bench: every settings change acknowledged, read back and confirmed on
the unit's screen, both units restored byte for byte; the escaped-
checksum stray byte (fixed); a MiniMate's open setup menu writes its
whole-block copy back on Cancel or Save, losing a remote change; the
alarm write at channel +38; [26:28] re-set by the unit while monitoring;
the first Micromate setup push with the unit's CRC equal to SFM's; the
Micromate scheduler switch in none of the blocks SFM reads.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
Brings the checker's file-only decode work onto the parity branch so the
phase-5 bench runs on the code that will ship. One conflict, the CRLF
Series-III reference changelog: both kept, phase 5's row numbered
'2026-11-03 (5)' above dev's (4)/(3)/(2). test_event_ingest's live-
histogram dedup test asserted the stored row sits a second off the 0C
time -- the #51 bug, fixed on dev -- so its premise now reads the event's
own second; the dedup it tests still holds.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
The reference gains D.6.10: the histogram's embedded event record (lead
00 28 05 00, source 04 00, marker fe f5, start, stop) and the interval
and peak-time rules, with 'histograms stay on ts1' retracted in place.
CLAUDE.md 'Where things stand' records the new events key -- any lookup
by event needs the type -- and 47 of 88; the README roadmap follows.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
The Config tab by serial is now the unit's edit form, headed 'On the
unit <serial> -- read HH:MM' and built from the server's editable
fields. Preview runs a dry run and shows old -> new, notes and anything
that blocks the change; Send (confirm) sends exactly what was previewed,
with its revision, then shows what the unit now holds and re-reads it.
An edit after a preview disables Send until the next preview. The
by-host form loses its write button; the read stays. Logic in
device_routing.js (Node-tested), glue in sfm_webapp.js, no inline JS.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
MicromateProtocol.read_file: 0x94 + path, then 0x48 pages to an
all-zero reply -- THOR's frames byte for byte (UM12947, 2026-09-24),
including params[3] = 1 on 0x94 and params[7] = 1 on the first 0x48.
micromate.schedule parses the 260-byte records (two- and five-entry
schedules from THOR's captures) and names the scheduled starts that
would load a setup other than the active one, ignoring case. The
client gains the raw (unstripped) active-setup name and the prefs /
trigger / setup content reads a setup push sends back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
micromate/setup_fields.py: the fields an operator can change (record
mode, sample rate, interval, record time, geophone trigger, Series 3's
range and -- read-only until benched -- alarm, job number and its report
flag, the four notes by slot), the units' own limits from Instantel's
manuals, field-only byte patching (bit fields bit by bit; Series 3's
[26:28] as Blastware writes it; Series 4's CRC recomputed), the
read-back verdict compared by bytes, and the preview revision.
All 11 Blastware compliance writes reproduce from the block before them
(BE11529's first also shows Blastware re-rendering two mic levels
through its dB value; SFM echoes the unit's bytes); Series 4 keypad
fixtures reproduce pairwise.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
Unescape each 1A data frame, take data[11:], drop the one non-content
byte that starts every frame but the last: 2,090 bytes headed by
N = 2090, Series IV's 0x1A layout. Measured on BE9441's 10-26
recording (12 reads, both frame patterns); the read after each
Blastware write equals the image written. read_compliance_content is
strict (a missing frame raises) and unjudged (a monitoring unit's
device-info answer comes back for the caller to recognise).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
Brian: use the actual unit limits, not what has been used in the past.
Trigger 0.005-10 in/s in 0.001 steps (capped by the range), record time
1-90 s (Micromate) or the MiniMate manual's 1 MB table by sample rate
(13 s in Histogram Combo), job number 1-9999. The read-back reports any
value a unit does not take.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
Seven tasks: the Series 3 read assembly, one settings codec for both
series, the Micromate schedule read, each series' audited change, the
route (and the legacy write retired), and the page. Spans measured
from 75,958 Blastware reports. Bench after the final review, Brian's
go per send.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
A scheduled start loads the setup it names, so a change to another
setup would be undone at the next start: read schedule.dat and refuse
that case. Configurable work-hours recording, without THOR's scheduler
or setup files, is the agreed next project.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
Interval size (k - 40), the stop (footer ts2), frequency = (sample rate
/ 2) / half-period with Blastware's words for N/A, >100 / >200 and
<1.0, and each interval's vector sum with its OORANGE rule. The old
fixed-512 frequency formula is retracted in place. CLAUDE.md and the
README roadmap follow: 34 of 88.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
Brian's intent (UM6047's trigger, notes typos, the backup unit), the
flow, the first-version fields, and what is measured: Series 3's
compliance block has Series 4's 0x1A layout; a whole 1A read assembles
to the 2,090 bytes Blastware writes back (exact on both 10-26 writes);
Blastware writes 00 00 at [26:28] and a per-unit constant after the
block.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
Protocol reference:
- D.6.8 (new): the identity block (SUB FE's: serial, firmware, DSP version,
calibration date and 'by', model; battery), the trigger-source bitmask
in the embedded event record, and the trigger settings (sources, stop
mode, per-channel levels, mic type) with their DL2 counts. The
histogram 'terminal tail' 9c 06 00 42 looks like 9c 06 00 + the
serial's B (inferred).
- D.6.6: recorded data vs report units vs unit peaks, with the
MiniMate Plus (s3.9.7) and Blastware (s4) manual sections. Where the
unit stores its own Microphone Units is unmeasured; a keypad test is
proposed.
- D.6.9 (was D.6.7): refreshed, 28 of 88.
CLAUDE.md 'Where things stand' and the README roadmap follow.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
Brings be5bab4 and its history from the decode checker's branch: a Blastware
file's job number; decode_blastware_bytes choosing the codec by STRT[18] and the
histogram layout check by peak <= PVS <= sqrt(3) peak; the footer as the file's
last 26 bytes (no day-late histograms); docs (reference Appendix D.6, the
file-only status).
Conflicts, both kept whole:
- CLAUDE.md: this branch's 'Narrowed 2026-10-26' 5A block stays, followed by
dev's 'Open, not blocking' line (the 8x sensitive-range item struck out --
resolved by the file's range).
- docs/instantel_protocol_reference.md (CRLF, byte-safe): the change-log rows in
date order -- dev's 2026-11-03 and 2026-11-02, this branch's 2026-11-03
(call home), 2026-10-29 and 2026-10-27 (#46, this branch only).
Suite on the merged tree: 1399 passed, the 16 known failures.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
Benched 2026-11-03 on UM20147 and BE9441 (each on its own modem, one send per
go): idle, a no-op, off and on all acked, read back and confirmed on each unit's
menu; UM20147 accepts 0x00 at [5]. Monitoring, neither series takes a change: a
MiniMate answers 0x2C with its device-info block, a Micromate acks and ignores
('Feature disabled while monitoring'). Series 4 [118:120] is a function of the
block's content -- XOR 0x6D7D per bit-0 flip on two units, not a nonce. A stop's
call-in reached THOR when the ring followed the ack. UM20147's clock is an hour
ahead (DST). Spec, both protocol references (Series III: a CRLF row), CLAUDE.md.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
CLAUDE.md 'Where things stand' now says plainly how prod uses a paired
Blastware ASCII report (save_imported_bw overlays its peaks, notes,
sample rate and record time onto SFM's decode), that only report-less
events run on the decoder alone, and that the overlay is scaffolding to
retire at step 3 of the plan. The checker status is brought up to dev:
18 of 88 fields, the remaining groups A-F in the proposed order.
README roadmap: the same framing and progress.
Protocol reference:
- D.3.3: the footer is the file's last 26 bytes; footer[18:24] is not
fixed (retracted).
- D.6.1: STRT[18] picks the codec.
- D.6.3: the job number.
- D.6.5: the PVS^2 high word is non-zero above 1.28 in/s (retracted
'reads 0000'); the peak/PVS consistency check; Blastware's Number of
Intervals is the monitoring time / the interval.
- D.6.7: refreshed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
Brian's account: units come back from calibration with the internal
battery unplugged, so a comms-test trigger before the date is set
carries the default. DL2 holds 17 such events on 6 units, all within
1995-09-01 12:02 .. 09-03 11:24.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
- #6 Config tab by serial: the empty legacy edit form stays hidden (settings
are read-only until phase 5); the settings box shows from the start, 'Not read
yet', and a different unit's settings are never left on screen.
- #10 A start/stop that went out but was not confirmed is no longer called
'failed'. The route now adds 'sent' (acknowledged / unknown) and 'audit_id'
to a ChangeUnconfirmed -- same status, same message -- and the page says
'Start monitoring not confirmed: <what happened, audit record>'.
- #12 Device tab by serial: the empty legacy Compliance/Project tables are
hidden behind a pointer to the Config tab; a Micromate's Firmware card reads
'Thor line (version not read)' (its version string is in 0x01, undecoded).
- #16 A 504 with nothing sent adds: the connection opened, so the modem is
reachable -- another program (THOR or Blastware) may be holding the line, or
the unit is busy. Measured 2026-10-29: THOR polling leaves SFM a 0-byte 504.
New logic lives in sfm/static/device_routing.js (firmwareLabel,
deviceErrorText, changeErrorText, serialPanes) under Node tests; the page glue
in sfm_webapp.js only applies them. Checked in jsdom against the real page
(served at a fake origin, /static from disk): all four, legacy mode unchanged,
no script errors.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
The pre-trigger float in an event file's setup block varies from event
to event on the same unit, often on the same day (BE18193: -0.25 and
-0.248 on 2026-08-21; 253-256 samples at 1024 sps, -0.002 to -0.249 s
at 4096 sps), and Blastware reports the same per-event value as
Pre-triggerLength. So it is the event's own pre-trigger, and the note
written earlier today overstated what the files say about #48: the live
1A holds the setting, so a missing anchor in a file says little about
whether the live read loses its anchor. #48 stays open.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
New Appendix D.6 records the bytes and DL2 verification for every field
SFM reads from a Blastware event file: record type STRT[18], the
recording-setup block (sample rate k-42, pre-trigger k-36, record time
k-30, the four notes), the geophone range (label+29), each histogram
interval's PVS^2, and the mic scale (0.25 Pa per count, dB offset
81.9384). None of these were written down outside code and issues.
Retracted in place:
- D.3.1's STRT[20] = record time: it is 00 on 70,041 / 70,041 DL2 files.
- the 2026-08-26 reading of sub-minute histogram records as little-
endian: big-endian from byte 5 since v0.32.0 (#47/#49), and the
'2-word tail' is the PVS^2. Also in CLAUDE.md.
Measured for #48 (files only): the 1A 'stable anchor' be 80 00 00 00 00
is the setup's pre-trigger -0.25 s plus 00 00. It is present only on
the 3,886 / 6,541 DL2 waveforms recorded at exactly -0.25 s, and on no
histogram. The live 1A read is still unmeasured.
CLAUDE.md: Where things stand reflects the range fix on dev (6,524 /
6,524 waveforms exact); the 8x sensitive-range item and the MicL dB
item are marked resolved in place.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
With the decode checker's fixes merged (histogram vector sum 625bc39, mic psi
5644dbd, the file's geophone range 4844135), the event file reads everything
Blastware reports. So a live download's row and samples are now the file's:
peaks, vector sum, mic -- and the geophone range from the file's own setup
block, the setting when the event was recorded. The live 1A is the unit's
setting now, which may have changed since; it is the fallback only when the
file's range does not read.
Measured: K557J1KB.RQ0W (Sensitive waveform) downloaded with its settings unread
-- e.g. while monitoring -- stores 0.019 / 0.055 / 0.019 and PVS 0.061,
Blastware's report; its .h5 read 0.155 / 0.44 (8x) before. M010HR6K.OA0H
(Sensitive histogram) likewise. K441LTON.900 (Normal) stores Blastware's
values whatever the unit's current settings say, and its mic is 5.80e-4 psi
(Blastware: 106.0 dB(L)).
The unit's 0C summary stays the download check, and fills in the channel peaks
and vector sum only when the file's range does not read (never seen in DL2) and
the unit is not confirmed Normal -- the impossible-vector-sum guard kept there.
The mic is the file's always. Closes the range part of open finding #17.
Store consequence: new live downloads only; no backfill, no migration.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
Since the decode checker's histogram-PVS fix (625bc39, merged 6945009) the file
reads a histogram's vector sum as the unit stored it: K441LTON.900 stores
0.200 / 0.385 / 0.255 and a vector sum of 0.3852, as Blastware's report (was
0.503). The 0C summary, read at fixed offsets, can shift (BE9441 read 0 and
-0.0, bench #4) -- and a shifted value can look plausible and pass the
impossible-value guard. So the row now takes the file's channel peaks and
vector sum.
Only when the unit's settings confirm Normal range: the file reader computes
every peak as if the range were Normal (_GEO_SENSITIVE_FS_INS is defined but
unused), so a Sensitive unit's file peaks are 8x off (the checker's 33
waveforms). For Sensitive, or a range not read (a monitoring unit's 1A has no
settings), the unit's own peaks stand, as before. The mic is always the
unit's: the file still reads it as 0. The 0C peaks remain the download check.
Store consequence: new live downloads only; no backfill, no migration.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
- Spec: #1, #8, #9 carry their review follow-ups (a72d3a9, 3a1d34a, dbd8a91);
new open finding 17 (a monitoring MiniMate's 1A has no range, so a download
then stores Normal-scaled samples; ':S338.17' setup name; no .a5.pkl kept).
- Series-III reference (CRLF kept): the 2026-10-29 row records that the write
encoder was not moved and now refuses a patch that would not read back.
- CLAUDE.md: the three fixes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
- Spec (Left open by the 1c bench): #1b320a53, #89492e49, #9ce441a0, #2 via the
dev merge 342c696; #15 retracted in place (sent NULL = unknown, by design).
- Series-III reference: a 2026-10-29 row -- the SUB 1A settings fields read after
unescaping (mode -7, rate -6, interval -4, record time +6), the old
'anchor-7 constant 0x10' was the escape before 04 at 1024 sps, the channel
block stays on raw bytes (open: a float containing an escapable byte), and a
monitoring BE9441 answers 1A with its device-info block. CRLF kept.
- CLAUDE.md: Batch 1 status.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
Brings the branch up to dev (41 commits) before the 1c bench fixes, which
touch code dev changed: the histogram reader (#47/#49, bench finding #2), the
v0.32.0 event-time rules, the Blastware file's setup-block fields (#44/#45),
and the decode checker for verifying stored S3 downloads.
One conflict: the top of the Series-III reference's change table -- both sides
added rows; kept all, in date order, CRLF preserved. CLAUDE.md, README,
blastware_file.py, models.py and database.py merged cleanly. Suite: the known
16 failures only (15 test_bw_ascii_report, test_save_imported_bw_without_report_
works_unchanged, which also fails on dev); 1237 passed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
- Spec: the 1c bench pass on BE9441 and UM20147, each on its own modem, and
its 16 findings (a new 'Left open by the 1c bench' section). Ring-path
results, measured: with THOR's watchdog off a call-home reaches THOR when
nobody holds the line (Run 0, via ListenerAchTcp) and is lost when SFM holds
it (Run A: the unit times out and does not retry); with THOR polling, SFM gets
no reply and THOR is undisturbed (A2, step 1). Decision owed before merge:
the Micromate line hold.
- Micromate reference: retracts 'ListenerAchTcp never used' in place (it
accepted tonight's call-home; port 12345); a call-home that rings on another
receiver's connection is lost; a second TCP connection while THOR holds the
line is accepted but silent.
- CLAUDE.md: 1c status, the open decision, THOR's log location.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
C:\THORDATA\Logs\ (Brian). From the 2026-10-29 log: the watchdog reads each
unit's serial every ~15 s; Unit_CommandOutOfRange follows every ReadUnitStatus
for every unit (fleet-wide noise); after a manual THOR disconnect UM20147
answered neither SFM nor THOR's own reconnect ("Mismatch connection found").
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
First full run over DL2's 70,042 report-paired events (22 min, --jobs 4):
every expectation the spec set holds. Setup and notes match everywhere;
geophone samples are exact on 6,491/6,524 waveforms across 2016-2026,
the other 33 being the 1.250 in/s range read 8x on SFM's Normal
assumption; every histogram is typed as a waveform without its filename
(#41); the three #53 files are the only waveform time mismatches. New
findings: histogram PVS, mic psi, mic dB on ~1,000 events, ~37
sub-minute histograms, 26 histogram start dates.
The #53 note is corrected in place: those files decode as waveforms with
Blastware's full sample count; only their time falls back to the footer
start. scratch/verify_bw_fields_against_xml.py is retired -- the
checker replaces it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
Eight tasks: the XML report parser, SFM's side from the bytes alone, the
field-by-field comparison, carve-outs (saturation first), the parallel
runner, the summary and grouped detail report, run-to-run changes with a
one-event view, and the first full run checked against what is known.
While pinning the plan's test values on real files: T438HGTZ.B30W, called
"3 samples short" by the setup-field harness, matches Blastware exactly.
Its Tran, Vert and MicL end 3 samples before Long, and Blastware's own
sample table does the same -- its last three rows carry only the Long cell.
The harness compared Tran's length with the table's row count. The spec
now says so, and the plan compares samples row by row by running channel.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9
The first of four pieces toward SFM producing everything Blastware reports
from the event file alone: compare every field, sample and histogram
interval with DL2's 70,042 _XML.XML reports (2016-2026), report what
matches, what doesn't and what SFM can't produce yet, grouped for
diagnosis, run after run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ALX2R8pghDaZuti9U7mEE9