From 64273c07d35b8c2ccf325089238e787e8b6e0d67 Mon Sep 17 00:00:00 2001 From: serversdown Date: Sun, 25 Oct 2026 18:52:42 -0400 Subject: [PATCH] docs(spec): the MiniMate fixes' review -- the changelog's operational note, a behaviour change, a bench-first item Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01SyJ2ip3Krb6dtdv2cXua44 --- .../2026-10-20-sfm-series4-parity-design.md | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) 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 b0f02f2..37f558b 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 @@ -612,6 +612,26 @@ items were left for later on purpose: - **For the merge to dev.** The changelog states: a new `device_commands` table (`CREATE TABLE IF NOT EXISTS`) plus a `_migrate` step that adds `sent` and `states` to tables created from this branch. Prod: no migration, no backfill. +- **The MiniMate bench fixes, for the changelog** (2026-10-25, reviewed). + - **The body builder changed in the codec library** (`blastware_file.py`). + `TOOL_VERSION` was not bumped, because the `.h5` decode did not change. + - **Operational consequence: none.** Measured: the dev store holds 0 + `.a5.pkl` files. Inferred: prod runs no SFM receivers, and it ingests + Blastware's own files, which these functions never touch. + - The commit `352f694` says ".a5.pkl sidecars can rebuild them". That is + wrong: no tool rewrites the event file. + - **Behaviour change.** A probe timeout in a one-event download was + `502 "no waveform data received"`. It is now `NoAnswer` 504, and over TCP + it is retried once as a whole new session. That is a read, so it is + acceptable. + - **Orphaned diagnostic rows.** `be12599-diag`'s `ach_state.json` and its DB + key BE9557 as `'BE9557\x00G'`, the old serial bug. That is diagnostic data + only. SQLite `GLOB` stops at the NUL, so search with `hex()`. +- **Bench-test first, then decide.** A unit that answers a re-poll more than + 2 s late, or answers polls it buffered while booting, could leave an extra A4 + that is taken as `POLL_DATA`'s reply. `connect()` then fails at the `0x15` + check: an error, never corruption. A short drain after the re-poll would fix + it if a bench shows it happens. ## Table 2: to be added later (both series)