mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-09-27 01:27:56 +00:00
decodeGrpTxt (cmd/ingestor/decoder.go) builds decoded_json.text as "<sender>: <message>", so a wardriving message's real text is "<sender>: MM:<base64>", not a bare "MM:<base64>" at the start of the string. detectWardrivingAnomalies's HasPrefix(text, "MM:") check never matched anything live, silently returning standardPayloadCount=0 and no anomalies — caught after deploying idea 6 to stg and seeing 0/0 against traffic that should have had ~160 standard-format messages. Fixed to match the exact "<sender>: MM:" prefix. The Go test fixtures shared the same wrong assumption and are fixed too. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>