szn

Bug 189 — Protocol structs are not packed despite AGENTS.md claiming so

189. Protocol structs are not packed despite AGENTS.md claiming so

File: src/server/protocol.zig:50, 60, 107 Severity: LOW Status: ✅ FIXED — Corrected AGENTS.md wording and added a compile-time/unit test for exact serialized byte offsets in protocol.zig.

AGENTS.md states IPC packets are “defined as packed structs,” but Header/Packet/IdentifyTerm are plain structs with byte-exact manual encoding (Header.encode writes LE u32 then the u8 type). Layout is stable, but the “packed” claim is inaccurate.