Skip to main content

Run the verification checks

Use a Getriebe TypeScript source checkout. The server reference identifies the revision documented on this site. For a historical example, use the revision in its evidence record. Install Node.js 26.13.1 and pnpm 12.23.0. From the workspace, run:

Terminal window
pnpm install --frozen-lockfile
CheckCommand
Workspace checkspnpm check
Tests with PostgreSQLpnpm test:postgres
Quint firing and replaypnpm --filter @getriebe/petri verify:firing
LemmaScript code checkpnpm --filter @getriebe/petri verify:lemma
Veil firing model and tracespnpm --filter @getriebe/petri verify:veil
Quint and Lean dispatch proofpnpm --filter @getriebe/server verify:dispatch
Quint message and timer schedulespnpm --filter @getriebe/server verify:message-timer
TLC message and timer explorationpnpm --filter @getriebe/server verify:message-timer:tlc
Quint deadline race and recoverypnpm --filter @getriebe/server verify:deadline
Quint parallel review roundspnpm --filter @getriebe/server verify:parallel-review
Quint Sub-Process completion and recoverypnpm --filter @getriebe/server verify:embedded-subprocess
Quint confirmation deadline and withdrawalpnpm --filter @getriebe/server verify:confirmation-deadline

pnpm check runs lint, the build and strict TypeScript checks, and the active test suite. The default server and store tests use SQLite. To run the PostgreSQL cases, set GETRIEBE_TEST_POSTGRES_URL to a disposable database and run pnpm test:postgres. The fixtures create isolated schemas. Use a loopback database for the unknown-commit cases and give the test role permission to terminate its own sessions.

  • Quint firing and replay. Put Quint 0.35.0 on PATH. The package driver uses the Rust simulator and a fixed seed. It samples traces of three fixed Petri nets and replays selected traces against the TypeScript implementation.
  • LemmaScript code check. Put Dafny 4.11.0 on PATH. The driver uses the LemmaScript version pinned in the Petri package. It checks the runtime token counter, allocation sequence and per-place update directly in the TypeScript sources.
  • Veil firing model and traces. Install Elan and put lake on PATH. The package’s Lake project pins Lean 4.35.0 and Veil v4.35.0. The first run fetches and builds the pinned dependencies, including the native cvc5 solver integration. Later runs reuse the local Lake build.
  • Quint message and timer recovery. Use Quint 0.35.0 for the five fixed schedules. Use Java 21 for the TLC run. Quint uses the TLC bundled with Apalache 0.62.4. The recovery regression runs on SQLite and a disposable PostgreSQL database. Use a loopback database to include the two PostgreSQL relay cases.
  • Quint Sub-Process completion and recovery. Use Quint 0.35.0. The driver runs two fixed schedules and samples 10,000 traces of up to 20 steps with the Rust simulator.
  • Quint and Lean dispatch proof. Use Quint 0.35.0. The Veil backend prepares its pinned Lean and Veil dependencies on first use. The package command verifies the onlyCurrentResult invariant with the supplied proof under the default axiom audit. The audit admits Lean’s standard axioms.

Read the checks’ outputs together with the linked evidence records. If a required check times out or returns an unknown result, keep that outcome with the source revision and tool version.