Expand description
Preview-artifact records: schema and append-only JSONL log.
Each PreviewRecord captures the source, output path, and critique
annotations of one rendered preview artifact. Records are written by the
caller after the render completes; this module performs no clock reads or
hash computation — those values arrive pre-computed on the record.
Structs§
- Preview
Critique - A single critique annotation attached to a preview artifact.
- Preview
Record - A top-level preview-artifact record appended to
previews.jsonl.
Functions§
- append_
preview - Append one preview-artifact record to the document’s previews log.
- read_
previews - Read all preview-artifact records for a document in append order.