decision control
Concepts

One trace, three consumers

The append-only record behind every run.

Every step writes to a single append-only trace. That same array is the stored audit record, what the simulator renders, and where the explanation comes from. There is no second representation to keep in sync.

{
  "seq": 2,
  "nodeId": "risk",
  "nodeType": "decisionTable",
  "name": "Customer risk check",
  "status": "success",
  "durationMs": 1,
  "matched": true,
  "actual": 15000,
  "expected": "> 10000",
}

Each entry records the node that ran, its status and duration, and — for the parts that decided something — the actual value against the expected one. That is what powers the reasons in a response and the node-by-node view in the simulator.

Each entry also records the handle the flow left the node through (true, false, a switch case…). That is what lets the execution viewer draw the exact path over the decision's graph. Traces recorded before this field existed have no handle; the viewer infers the edge from the next step when only one edge joins the two nodes.

The trace is the audit trail

Executions are also hash-chained per project, so a sealed execution cannot be changed, removed or reordered without breaking the chain. See the operate/audit page on the roadmap.