Replay and history¶
Two read planes sit over what was recorded. History answers what happened; replay answers what happens when it is run again. Both are scoped queries over control-plane records rather than reconstructions.
History is readable at three scopes¶
| Scope | Available |
|---|---|
| Workspace | Audit, history, actor activity, logs, unified events |
| Project | Audit, history, logs |
| Run | The run view |
Actor activity is the listing worth knowing about: it answers what a given actor did in a workspace, across resources, rather than requiring a search through each resource's own history.
Audit and history are different records¶
Audit records mutations of control-plane state, written centrally by the trace and audit middleware on every endpoint. History records lifecycle: what a resource went through.
Keeping them apart means "who changed this" and "what did this do" are separate queries with separate shapes, rather than one feed that answers both poorly.
Replay sessions are recorded objects¶
| Operation | Reads |
|---|---|
| List replays | Replays in a workspace, project or run |
| Get replay session | One session |
| List replay session events | What that session produced |
| List run replay events | Replay events for a run |
A replay is a session with its own identity and its own events, not a re-run that overwrites the original. Both exist afterwards, which is what comparison needs.
Why replay is meaningful here¶
flowchart LR
subgraph FP["RUN FINGERPRINT, fixed before the run"]
direction TB
F1["Compiled flow"]
F2["Pinned block hashes"]
F3["Merged policy digest"]
F4["Bundle"]
end
O[("Original run")]
R[("Replay session<br/>own identity, own events")]
C{{"Compare"}}
FP --> O
FP --> R
O --> C
R --> C
Both runs hang off the same fingerprint box, so a comparison between them compares two executions of one document.
Everything that could vary was resolved before the original ran: the flow was compiled, the block hashes pinned, the policy merged and digested. A replay therefore replays a document rather than re-running a resolution.
The comparison is an assurance operation rather than a history one. See Profiles, baselines, and assurance.
Bodies are not in these listings¶
A history or replay listing returns metadata and references. The body behind a record is fetched through payload access, as a separate governed request. See Payload access and transport profiles.
That separation is why a listing can be broad and fast: it is reading the control plane's own records, and none of them contain a payload.
Everything joins on the correlation tuple¶
A history entry, a replay event, a governance decision and a kernel evidence record all carry the same five fields, so a question that starts in one listing continues in another without a translation step. See The correlation tuple.