Runs — reading what an automation did

Runs — reading what an automation did #

Every firing of an automation — a live event arriving, a "run now" backfill, a dry-run rehearsal — is recorded by the engine as a run: one record holding what the automation wrote, where, and why — the record for verifying it does what the text says, and for tracing any written value back to its source. Wherever you read runs (lf runs show in a project, or the platform's run history), you are reading this same record.

run-history #

The engine keeps each listener's runs together as its history, and an unchanged listen keeps its history across saves (retiring a listener orphans its history rather than deleting it — the record of what ran outlives the line that ran it). A run records, in program order, every write the firing performed:

provenance #

Every written field also carries its provenance — where that exact value came from:

A value combined from several sources (an interpolated message, say) lists every source that influenced it. A value that arrived untouched from an extraction keeps its verbatim quote — that is what makes a written fact citable back to the exact sentence it came from; a transformed value keeps its sources but drops the quote, because the quote would no longer justify it.

failures #

A failed firing is recorded too, with the reason named — a missing required field, a construct the engine can't execute yet, a target that refused the write. The run record is therefore also the debugging surface: the failure sits next to the event that caused it, and the fix is a text edit plus the next event (or a "run now").

what-a-run-costs #

A run's cost is the language-model work inside it, and the run record carries it: an ai call on the default tier is far cheaper than one asking for "thorough", and a large extract is the most expensive shape there is (its chapter covers why — and it takes the same tier, which is the biggest lever there is on what one costs). Time a run spends paused (waiting for a person at an ask) or asleep costs nothing, so a long approval wait or a scheduled delay is free.

Pitfalls #