Lock alpha scope, tracker auth, TOPLOC fraud verification, and deferred multi-tracker money-path work; supersede legacy fraud issues with ADR-0018. Co-authored-by: Cursor <cursoragent@cursor.com>
752 B
752 B
Status: ready-for-human
14 — A3: Durable Raft term and vote state (deferred)
What to build
Persist Raft currentTerm, votedFor, and log metadata to disk. In-memory-only term (~26) risks split leadership after tracker restart → duplicate settlement epochs.
Code refs:
packages/tracker/meshnet_tracker/raft.py—LogEntry.term(~25–27), election state inRaftNode
Acceptance criteria
- Term/vote persisted alongside tracker data dir
- Restart resumes as follower/candidate with monotonic term
- Test: kill leader mid-settlement, restart, no duplicate payout batch
ADR links
- ADR-0019 §3
Blocked by
Alpha single-settlement posture