feat(raft-sim-conformance): raft_sim_check_all first-failure composition (task 3.5)

This commit is contained in:
Rongsong Shen 2026-06-24 13:00:10 +00:00
parent a38d9a7271
commit f0be46fb32
4 changed files with 171 additions and 1 deletions

View file

@ -87,7 +87,7 @@
- _Boundary: raft_sim.c, test_raft.c_
- _Depends: 1.1_
- [ ] 3.5 RED+GREEN: `raft_sim_check_all` returns the first failing invariant and halts
- [x] 3.5 RED+GREEN: `raft_sim_check_all` returns the first failing invariant and halts
- Test: a cluster violating two invariants reports the first; a clean cluster returns OK
- Implement `raft_sim_check_all` composing 3.1–3.4 in a fixed order
- Observable completion: first-failure semantics verified