mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-10-22 11:12:26 +00:00
Validates all 33 captured Node fixtures against the 10 .proto files. Parses proto message definitions, maps each fixture to its response message, and checks field presence, types, and structural shape. Mismatches found (for Hicks to fix): 1. analytics-channels.json: ChannelAnalyticsSummary.hash is int in fixture but proto says string 2. analytics-rf.json: PayloadTypeEntry.type is null in fixture but proto says non-optional int32 3. bulk-health.json: API returns bare array with flat node fields; proto nests them in BulkHealthEntry.node (structural mismatch) 4. node-analytics.json: activityTimeline uses 'bucket' key but TimeBucket proto expects 'label' 5. observer-analytics.json: recentPackets are Observation-shaped (have transmission_id) but proto says repeated Transmission 6. packet-detail.json: ByteRange has 'color' field not in proto 7. websocket-message.json: DecodedResult missing transportCodes, raw fields; DecodedHeader missing routeTypeName; DecodedPayload is flat (not oneof-wrapped); WSPacketData.packet is Observation- shaped, not Transmission-shaped Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>