Status: IN
`_encode_record` is a pure function that performs no I/O or state mutation; all disk writes (and fsync) are the responsibility of callers (`append`, `append_batch`, `checkpoint`, `truncate`).
Source: entries/2026/05/28/write-ahead-log-wal-_encode_record.md