Repository navigation
Add TLA+ formal model checked on the Oracle runner - #42
Merged
Merged
Conversation
formal/ holds a finite TLA+ model of the library's public semantics, seeded mutants that must be caught, and run_tlc.sh. oracle-tla.yml runs it on the self-hosted Oracle ARM64 runner only on main pushes and manual dispatch. Claude-Session: https://claude.ai/code/session_01HynYeNc83VZiXQP71aaZQ1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a TLA+ formal model of this library's public semantics, checked by TLC on the shared Oracle ARM64 runner.
What's in it
formal/*.tlaand*.cfg: a finite model with named laws and invariants.formal/README.mdmaps each invariant to the Swift API it abstracts and states the model's limits.formal/*.<mutant>.cfg: seeded bugs, each of which a named invariant must catch.run_tlc.shfails if any mutant passes, so the invariants are shown to be able to fail..github/workflows/oracle-tla.yml: runsformal/run_tlc.shon[self-hosted, Linux, ARM64, oracle, swift-tla, FunctionalAPI].mainand on manual dispatch.pull_requesttrigger, and the hosted macOS Swift CI is unchanged.TLC run on Oracle (this branch)
After merge
The merge push runs the Oracle job. If it doesn't run, use Actions → Oracle TLA verification → Run workflow on
main.Part of SPEC-ARGO-188 (owner request 2026-11-13). Runner runbook: Argo
_System/oracle/swift-tla/README.md.https://claude.ai/code/session_01HynYeNc83VZiXQP71aaZQ1