{ "flaw_1_explain_crc_bypass": { "bad_get_ack_hex": "a55a8200f561", "crc_ok": false, "summary": "单板确认已受理 GET_ALL 查询请求,随后立即发送 GET_DATA", "issue": "explain() returns a dict with crc_ok=False but callers like serial_read_loop did not check crc_ok" }, "flaw_2_bad_set_ack_false_success": { "bad_set_ack_hex": "a55a8100a634", "type_byte": "0x81", "issue": "serial_read_loop directly matched byte 2 == 0x81 without CRC check, announcing success on invalid frames" }, "flaw_3_trailing_a5_dropped": { "initial_buf": "1234a5", "post_clear_buf": "", "issue": "rx_buf.clear() dropped trailing 0xA5 at chunk boundary, causing subsequent 0x5A to not match" }, "flaw_4_no_rx_raw_logging": { "issue": "serial_read_loop had no logging for raw bytes received via sp.read(); any non-frame data or framing errors were completely silent in UI" } }