{"id":"raft-sentinel-log-entry","text":"The log is initialized with a sentinel `LogEntry(term=0, index=0)` at position 0 that is never removed, eliminating empty-log edge cases in `_last_log_index()` and `_last_log_term()`.","truth_value":"IN","source":"entries/2026/05/29/raft-consensus-raft.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{"example":"self._log = [LogEntry(term=0, index=0, command=None)]  # sentinel"},"explanation":{"steps":[{"node":"raft-sentinel-log-entry","truth_value":"IN","reason":"premise"}]}}