{"id":"event-store-persist-no-durability","text":"`EventStore._persist_event()` in `event-sourcing-store/event_store.py` opens the file in a `with` block, writes JSON, and relies on implicit `close()` — no explicit `flush()` or `os.fsync()`, making persisted events vulnerable to loss on OS crash","truth_value":"IN","source":"entries/2026/05/29/topic-os-fsync-durability.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{},"explanation":{"steps":[{"node":"event-store-persist-no-durability","truth_value":"IN","reason":"premise"}]}}