//! 4-byte big-endian length prefix, then JSON. Same framing as grok's
//! leader IPC. 32 MiB is under the leader's own 64 MiB cap: a larger frame
//! closes the connection rather than allocating the claimed size.
pub const MAX_FRAME_BYTES: u32 = 32 * 1024 * 1024;