{"id":"wal-key-value-length-signed-int32","text":"Key and value lengths in the WAL binary format are packed as signed 32-bit integers (`struct` format `<i`), limiting each field to ~2 GB and leaving negative lengths unguarded.","truth_value":"IN","source":"entries/2026/05/28/write-ahead-log-wal-_encode_record.md","source_url":"","source_hash":"","justifications":[],"dependents":["wal-binary-format-prevents-evolution-and-recovery"],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"wal-key-value-length-signed-int32","truth_value":"IN","reason":"premise"}]}}