using System.Text.Json; namespace CommIpc; /// /// Single protocol unit sent over the pipe. This is intentionally generic. /// /// Transport framing: 4-byte little-endian length prefix + UTF-8 JSON bytes. /// public sealed record IpcFrame(string Kind, string? CorrelationId = null, JsonElement? Payload = null, DateTimeOffset? Timestamp = null);