Skip to content

Retain snapshot commit evidence after installation - #25

Open
jeregrine wants to merge 2 commits into
mainfrom
fix-snapshot-commit-invariant
Open

Retain snapshot commit evidence after installation#25
jeregrine wants to merge 2 commits into
mainfrom
fix-snapshot-commit-invariant

Conversation

@jeregrine

Copy link
Copy Markdown
Member

Problem

The snapshot model's no-terminal-commit invariant checks only outstanding staging. Installation clears staging, making the invariant vacuously true precisely when it should reject an installation that never received a commit.

Fix

Retain the last installation's actual commit evidence independently of staging and assert that evidence. Ordinary model transitions and the finite state space are unchanged when projected onto the original variables.

The formal matrix also runs a negative qualification: remove the terminal-commit guard in an isolated model copy and require a safety violation specifically from NoCommitMeansNoInstall. Mutant survival and parser/runtime failures fail qualification instead of receiving credit.

Supporting information

The matrix now also requires Elixir to construct the isolated mutation and classify TLC's stable exit status. Individual model runs through check.sh still need only Java and tla2tools.jar. Qualification artifacts remain under ignored tmp/formal/ for inspection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant