speckl/examples
Marcus (agent-cos) 40eef36a10
Some checks failed
Deploy Landing Page to Storj / deploy (push) Failing after 3s
feat(z3): zero-error SMT-LIB2 output + BMC verify blocks for KRaft
- Declare speckl_len_Int helper for list/sequence lengths
- Fix infix = inside => bodies (final pass regex)
- Handle prime notation: currentTerm' → currentTerm_post
- Handle length() calls: length(log) → (speckl_len_Int log)
- Handle min(): (ite (<= a b) a b) instead of unsupported 'min'
- Handle subtraction: i-1 → (- i 1)
- Declare _post state vars when invariants compare pre/post
- Added 3 BMC verify blocks to KRaft spec (TermMonotonicity, CommitSafety, LeaderCompleteness)
- Z3 returns clean sat with zero errors for all specs
- All 37 tests pass
2026-05-09 23:07:56 -07:00
..
.gitkeep Initial commit: Speckl project scaffold 2026-04-28 01:20:22 -07:00
AccessControl.speck Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
AccountLedger.speck fix: add dist-check guard + List<T> type parsing + state machine examples 2026-05-05 03:11:53 -07:00
DrugDosageCalculator.speck Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
KafkaKRaft.speck feat(z3): zero-error SMT-LIB2 output + BMC verify blocks for KRaft 2026-05-09 23:07:56 -07:00
OAuth2AuthorizationCode.speck feat: OAuth 2.0 authorization code flow with PKCE spec 2026-05-09 21:51:51 -07:00
Paxos.speck refactor: remove WAT/WASM generator (superseded by IR→Rust→WASM path) 2026-05-09 22:03:20 -07:00
PaymentService.speck Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
PreconditionTest.speck refactor: remove WAT/WASM generator (superseded by IR→Rust→WASM path) 2026-05-09 22:03:20 -07:00
Raft.speck refactor: remove WAT/WASM generator (superseded by IR→Rust→WASM path) 2026-05-09 22:03:20 -07:00
RetryHandler.speck Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
TemperatureMonitor.speck Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
TigerBeetleLedger.speck fix: add dist-check guard + List<T> type parsing + state machine examples 2026-05-05 03:11:53 -07:00
ToggleSwitch.speck fix: add dist-check guard + List<T> type parsing + state machine examples 2026-05-05 03:11:53 -07:00
TwoPhaseCommit.speck fix: add dist-check guard + List<T> type parsing + state machine examples 2026-05-05 03:11:53 -07:00