Skip to content
trestle

What is proven and what is not

Pick another answer

What Trestle actually guarantees

If “exactly once” on a slide has burned you before, you want specifics before trusting a library with real business processes. Here is what Trestle proves and where it stops.

  1. GuaranteeAcross all engines, an attempt at a step starts at most once.
  2. InvariantThat claim is named among over seventy written invariants.
  3. SimulatorThe simulator runs several engines over one database, crashes them, fails storage, and checks the invariant every turn.
  4. Replay scriptAny violation is saved as a script replaying that exact sequence.
  5. Merge gateEvery later change must pass that script.
Follow one engine rule from a plain claim to a permanent check. Every guarantee goes through this pipeline.
  1. What survives a crash

    Trestle records each step before work starts, and writes land whole or not at all. Outcomes never change and read back identically, so a crash loses only work since the last save.

  2. What “once” covers

    Starting a process, receiving a message, and recording an answer happen once inside Trestle. External steps get the same actKey on every attempt, so outside work runs once when that system honours it.

  3. Deploys you can inspect

    Before you ship new code, Trestle reports how every unfinished run will be handled and follows that plan.

  4. How the engine is tested

    Every promised behaviour sits beside its test in one catalogue, run across supported Node and Postgres versions plus Chromium, Firefox, and WebKit.

    • Runs are killed before and after each save to check they match uninterrupted ones.
    • Faults are planted in the engine to measure what the suite catches.
  5. Your database and access

    Trestle is MIT licensed and runs on your database with no vendor server. Nothing is reachable externally until you grant access; API keys stay hashed, and changes are logged.

Where the guarantees stop

Your visit is running on Trestle.

This is the real Trestle engine running a live process in your browser tab, not a simulation. Each of the eight topic pages you open answers its question once, showing the path you have taken and the pages you have not opened yet—until you copy npm create @trestlerun to finish it.