test+docs: SFM's MiniMate downloads are byte-identical to Blastware's; the 64 KB bug narrowed

Brian's Blastware downloads of BE9441's 20 events give ground truth.  SFM's
re-run downloads of events 0, 1, 3, 4 and 10 are byte-identical to Blastware's
own files; imported first through the watcher route, the same events download
as already_stored (no duplicate rows -- the unit's 0C and Blastware's file agree
on serial + timestamp).  Fixtures: Blastware's P00/Q10 (now asserted equal to
SFM's builds) and QZ0/T80, the two page-crossing events, as byte-exact targets.

The 64 KB page bug, narrowed by a read-only test walk: carrying the page byte
addresses the first chunk in page 0x12 (answered), but the next request carries
a raw 0x03 inside its params (counter 0x032c) and gets no reply.  Pages after
0x11 have such counters; 0x11 does not (event 1 skips 0x0000-0x05FF).  Needs a
Blastware wire capture of event 2 or 19 (recorded in CLAUDE.md, the Series-III
reference and the spec).  No code change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44
This commit is contained in:
serversdownandClaude Opus 5.5 committed 2026-10-26 12:15:50 -04:00
1 parent 1ded70fcd9
commit 465bc704dd
9 files changed
+49 -1

No files matched your search

+13
View File
@@ -262,6 +262,19 @@ Read this first when picking the project back up.
over) needs a BW capture of a spanning event first. Do not ship layer one
alone without a loud truncation warning — a silently short event is the
failure mode this codec has been bitten by repeatedly.
**Narrowed 2026-10-26 (BE9441, measured):**
- The one-event download now refuses a spanning event by name (502), before
any chunk.
- STRT carries the full 32-bit end key, so the page is there to use.
- A read-only test walk carrying the page byte got a proper reply for the
first chunk in the next page (`01 12 01 2c`). The second chunk, params
`… 01 12 03 2c`, got none: a raw `0x03` inside the params.
- Pages after `0x11` have counters with `02`/`03`/`04` bytes. Page `0x11`
has none, because event 1 skips `0x0000`–`0x05FF`.
- How Blastware encodes those bytes is the one unknown left. The capture to
take: Blastware downloading BE9441 event 2 (`0111c92c`) or 19 (`0118a4ca`)
through the recording bridge. Blastware's own files for both are fixtures
(`tests/fixtures/minimate-bench-10-25-26/blastware/`), as byte-exact targets.
- **Open, not blocking:** 14 sensitive-range files show an exact 8x
(= 10.0/1.25) units discrepancy; `scripts/backfill_sidecars.py --force` also
inserts DB rows for store files that have none (one-time per store) and the