Skip to main content

Module runs

Module runs 

Source
Expand description

Agent-run provenance records: schema and append-only JSONL log.

Each RunRecord captures the intent, steps, and output hash of one agent invocation. Records are written by the caller after the run completes; this module performs no clock reads or hash computation — those values arrive pre-computed on the record.

Structs§

RunDiagnostic
A single diagnostic emitted during a run step.
RunRecord
A top-level agent-run provenance record appended to runs.jsonl.
RunStep
One discrete step within a RunRecord.

Functions§

append_run
Append one agent-run record to the document’s runs log.
read_runs
Read all agent-run records for a document in append order.