{"id":"truncate-plus-per-record-crc-is-dangerous-combination","text":"The non-atomic `truncate()` in `wal.py` can produce reordered or incomplete files that pass per-record CRC validation; chained checksums would detect the corruption at the chain break point","truth_value":"IN","source":"entries/2026/05/29/topic-cumulative-checksums.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"truncate-plus-per-record-crc-is-dangerous-combination","truth_value":"IN","reason":"premise"}]}}