Skip to content

Commit 7d66e02

Browse files
committed
feat(formal): add checked Go-trace-to-TLC action replay
A snapshot-only abstraction projects captured RawNode scenarios onto twelve EPaxosRawNodeRefinement variables; EPaxosTraceCheck replays every consecutive pair against the model's own action predicates, dispatched by the audited raw (action,kind) pair, with stutter requiring exact equality over all twelve mapped variables. Five negative controls (label swap, paper-value, stutter-value, recovery-evidence, and choose-execute midpoint corruption) each fail TLC. PaperChooseAndExecute is the TLC-evaluated relational composition of PaperChoose and PaperExecute for the atomic commit+execute step Go performs; PaperNext and RefinementProperty are unchanged. The dispatch inventory extends to internal mutation sites with an AST-checked 96-pair permission table mirrored between Go and TLA. tests/trace_refinement_check.sh joins tests/ci.sh after the fast gate.
1 parent 7478246 commit 7d66e02

8 files changed

Lines changed: 2312 additions & 18 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ AGENTS.md
2626

2727
# Generated validation artifacts
2828
states/
29+
tla/traces/
2930
jepsen/target/
3031
jepsen/.lein-failures
3132
jepsen/store/

tests/ci.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ cd "$ROOT"
77
bash tests/toolchain_audit.sh
88
bash tests/go_coverage.sh
99
bash tests/tla_model_check_fast.sh
10+
bash tests/trace_refinement_check.sh
1011
bash tests/fuzz_stress_campaign.sh
1112
bash tests/chaos_fault_campaign.sh
1213
bash tests/jepsen_remote_preflight_audit.sh

0 commit comments

Comments
 (0)