fix: bench follow-ups -- the setup-menu warning, observed call-home values, waveform read

From the 2026-11-04 bench:
- A MiniMate settings preview warns that a change is lost if someone is in
  the unit's setup menu: a write sent with the menu open was acknowledged
  and read back, then lost on Cancel or Save -- the menu writes its own
  copy of the whole block back (measured both ways on BE9441).
- The two bytes after the MiniMate settings block went out as 00 00 and
  the unit took them; the preview note says so instead of 'unmeasured'.
- A Micromate call-home plan no longer warns about 0x00 / 0x01: UM20147
  took both, each way, on 11-03 and 11-04, matching its menu.
- read_waveform_data_raw drops the escaped-checksum's stray 0x10, as the
  settings read does (it failed closed: the write's block check refused
  203 bytes).

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-11-04 16:15:28 -05:00
1 parent 55c7b7b5ae
commit c790e20116
6 files changed
+68 -10

No files matched your search

+8
View File
@@ -231,3 +231,11 @@ def test_push_config_raw_writes_a_logical_block_with_a_literal_escape_byte_intac
c.push_config_raw(b["event_index"], block, b["trigger"], b["waveform"])
sent = b"".join(_payload(f)[16:] for f in t.sent if _payload(f)[2] == 0x71)
assert sent == block + b"\x00\x00"
# Bench 2026-11-04 (BE9441): a write sent while the unit's setup menu was open was
# acknowledged and read back -- and then lost when the operator pressed Cancel or
# Save: the menu writes its own copy of the WHOLE block back. The preview says so.
def test_the_preview_warns_that_an_open_setup_menu_loses_the_change():
r = change(FakeMiniMateClient(), {"geo_trigger_ips": 0.05}, dry_run=True)
assert any("setup menu" in w and "lost" in w for w in r.plan["warnings"])