Skip to main content

Module trace

Module trace 

Source
Expand description

Public trace namespace. Use it for derived journal trace views; prefer crate-root re-exports for common imports. Module items must preserve the core ownership and side-effect boundaries described in this file. Derived trace views over durable journal records. These helpers answer lineage questions without introducing a trace store, payload parser, or host-owned conversation database.

Structsยง

RunTrace
Derived evidence for one run. This is a convenience view over the same journal records used by TurnTrace.
SessionTimeline
Derived session timeline grouped by turn. Hosts may persist conversation stores separately; this view is only a journal-derived trace index.
TurnTrace
Derived evidence for one turn. Build this from journal records when a host needs to inspect the actions causally associated with a user message.