Skip to main content

Workflows you can reason about

Getriebe is my personal research testbed for understanding how formal verification can improve the reliability of workflow software and business processes. I’ll explore what it takes to verify the engine and its infrastructure for production use as coding agents build them.

As coding agents write more software, it becomes more important to verify what they produce. I want to understand how agents can help with that work, too.

Browse documentation

Public APIs and persisted formats may change between releases. Getriebe makes no compatibility guarantees.

Order fulfillmentA “Needs changes” reply reaches the review workflow, hits a missing route, and leaves the order stuck with stock reserved.Stock reservation and review run in parallel. Shipping waits for both branches to finish.

Example Questions of Interest

  • Can a business process get stuck or finish with work still pending?
  • Can retries or late results advance a workflow twice?
  • What happens to in-flight work after a crash or when the outcome of a database commit is unknown?
  • Under what workloads can the engine meet latency and throughput targets?
  • Can only authorized users see or complete a task, even when assignments or roles change concurrently?

Verification techniques

  • Model checking of BPMN control flow with Getriebe’s model checker.
  • Machine-checked proofs of selected properties of engine models with Lean and Veil.
  • Verification of a TypeScript helper against a formal contract with LemmaScript and Dafny.
  • Replay of sampled Quint traces against the TypeScript implementation.