{"id":"raft-current-term-commit-only","text":"`_advance_commit_index` only commits entries whose term matches `_current_term`, implementing the Raft safety property from §5.4.2 that prevents committing prior-term entries by replica count alone.","truth_value":"IN","source":"entries/2026/05/29/raft-consensus-raft.md","source_url":"","source_hash":"","justifications":[],"dependents":[],"metadata":{"example":"if self._log[n].term != self._current_term:\n    continue  # only commit entries from current term"},"explanation":{"steps":[{"node":"raft-current-term-commit-only","truth_value":"IN","reason":"premise"}]}}