Skip to content

verify: Quint model of pail Actions (designed, not yet built) - #47

Merged
calvin-archastro merged 3 commits into
mainfrom
verify/actions-model-2
Oct 31, 2026
Merged

calvin-archastro merged 3 commits into
mainfrom
verify/actions-model-2

Conversation

@calvin-archastro

Copy link
Copy Markdown
Contributor

Replaces #45 (replayed onto main after #46; actions witness/mutate steps moved to the manual model.yml).

Adds a Quint model of pail Actions before any implementation: orchestrator replicas on Tier 1 (`_actions`/`_checks` branches, CAS/if-absent), runners on Tier 2 (`.actions/`: leases, results, cancel markers).

  • `verify/actions/{actions,actions_sim,actions_scenarios}.qnt` (in a subdir so the generated-artifact digest is unchanged; `npm run check` passes)
  • 18 scenario runs, simulation of `simSafety`, 5 witnesses, `mutate_actions.sh` with 13 design switches + 1 combined (all caught)
  • README section "Actions (designed, not yet built)": properties, switches, design corrections found by the model
  • CI: runs `witness:actions` and `mutate:actions`

Design corrections found: result path per lease seq; intake fences on job file holder+seq (not live lease); lease seq counts claims, takeover by generation match; commits guard every record read; sweep of cancelled run cancels; rerun re-enters the concurrency group; `_checks` projected from accepted jobs only.
🤖 Generated with Claude Code

calvin-archastro and others added 3 commits October 31, 2026 08:53
…leases, fencing

verify/actions.qnt: replicas that read, decide and write one guarded Tier 1 commit from a
stale read; runners that claim, refresh, report and crash; results, sweep, cancel,
rerun, environment gate, checks. actions_sim.qnt: random interleavings with a ghost for
the history properties; mutate_actions.sh flips each of 13 design switches.
actions_scenarios.qnt: 16 runs for UC1-4, 6-8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…jobs); two race scenarios

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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