{"id":"wal-all-mutations-under-lock","text":"Every WAL method that writes records or modifies files (`append`, `append_batch`, `checkpoint`, `truncate`) acquires `self._lock` before performing any I/O","truth_value":"IN","source":"entries/2026/05/29/topic-wal-size-check-toctou.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"wal-all-mutations-under-lock","truth_value":"IN","reason":"premise"}]}}