Skip to content

What replay reproduces, and what it records

Xratu composes deterministic structure over components that are not all deterministic. A workflow's steps, the code each step runs and the policy that governs it are fixed and reproduce exactly. A model's output, a response from an external service and the passage of time do not. The platform reproduces the first kind and records the second, so a replay says precisely which of a run's results came from fixed inputs and which were observed facts at the time. This page draws that line.

The line

flowchart TB
  subgraph DET["REPRODUCED EXACTLY"]
    direction TB
    D1["The flow and its structure"]
    D2["The code of every block"]
    D3["The effective policy, and each ACE decision from retained inputs and receipts"]
    D4["The evidence graph, from sealed telemetry-journal ranges"]
  end
  subgraph REC["RECORDED, BECAUSE THEY CANNOT BE REPRODUCED"]
    direction TB
    R1["Model outputs"]
    R2["Responses from external services"]
    R3["Time, and anything read from it"]
    R4["Approvals given by people"]
  end
  RP{{"Replay"}}
  DET -->|"re-derived"| RP
  REC -->|"read from the record,<br/>or observed again and compared"| RP
Part of a run Replay
The compiled project execution composition, pinned block versions and frozen policy Identical by construction; named by the fingerprint
An ACE decision on retained inputs Reproduces from command-formation and settlement receipts, or reports an explicit gap
The evidence graph Rebuilds identically as a derived view over sealed telemetry-journal ranges
A model's output Recorded-output replay uses the recorded output; re-execution calls the model again and compares
An external service's response Recorded, or observed again and compared
A human approval Recorded with who approved and when

Bounded non-determinism

The non-deterministic parts of a run are confined to known places: a model call, a call out of the platform, an approval. Each is a step with a recorded input and a recorded output, so a run's non-determinism has edges that can be named. Re-executing a run tells you which of those steps now behave differently, step by step, and nothing outside them can differ. See Bounded non-determinism.

Pinning a model call

A model's behaviour depends on more than its version. When a run's policy enables LLM determinism, the run pins the prompt template version, the tool schema version and the generation controls alongside the model version, and a replay of it must carry a prompt snapshot whose hash is recorded against the source's. A replay that differs from its source in any of these is recorded as differing, so a comparison always compares like with like, or says it did not.

What drift means

A re-executed step whose result differs from the source's is recorded as drift at that step, with both results' hashes. Drift is a finding, and its cause is read from the record: a different model version, a changed external response, or an overridden input all appear in the replay's own records beside the source's.

See Replay mechanics.