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:
pnpm install --frozen-lockfile| Check | Command |
|---|---|
| Workspace checks | pnpm check |
| Tests with PostgreSQL | pnpm test:postgres |
| Quint firing and replay | pnpm --filter @getriebe/petri verify:firing |
| LemmaScript code check | pnpm --filter @getriebe/petri verify:lemma |
| Veil firing model and traces | pnpm --filter @getriebe/petri verify:veil |
| Quint and Lean dispatch proof | pnpm --filter @getriebe/server verify:dispatch |
| Quint message and timer schedules | pnpm --filter @getriebe/server verify:message-timer |
| TLC message and timer exploration | pnpm --filter @getriebe/server verify:message-timer:tlc |
| Quint deadline race and recovery | pnpm --filter @getriebe/server verify:deadline |
| Quint parallel review rounds | pnpm --filter @getriebe/server verify:parallel-review |
| Quint Sub-Process completion and recovery | pnpm --filter @getriebe/server verify:embedded-subprocess |
| Quint confirmation deadline and withdrawal | pnpm --filter @getriebe/server verify:confirmation-deadline |
Workspace checks and database tests
Section titled “Workspace checks and database tests”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.
Formal toolchains
Section titled “Formal toolchains”- 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
lakeonPATH. 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
onlyCurrentResultinvariant 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.