{"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":["wal-thread-safety-stranded-by-callers"],"metadata":{},"created_at":"","updated_at":"","reviewed_at":"","verified_at":"","retracted_at":"","explanation":{"steps":[{"node":"wal-all-mutations-under-lock","truth_value":"IN","reason":"premise"}]}}