Skip to content

feat: trace format lane - #573

Merged
stefan-gorules merged 22 commits into
release/2.2from
feat/trace-format-lane
Nov 21, 2026
Merged

stefan-gorules merged 22 commits into
release/2.2from
feat/trace-format-lane

Conversation

@stefan-gorules

Copy link
Copy Markdown
Contributor

No description provided.

Adds trace format v1 to the compiled engine, recorded by explicit trace
recorders and written natively. The interpreted engine keeps the legacy
trace.

- EvaluationOptions.trace is a TraceFormat (off, v1, legacy). Legacy
  traces are produced directly from the same recording.
- zen_engine::trace exposes convert, restore and inspect for
  stored documents, with redaction and truncation markers.
- The trace header takes evaluatedAt, timezone and seed from the
  evaluation context, so an evaluation replays from its own trace.
- Batch and columnar evaluations record events as columns and write one
  document per row.
- Bindings accept the trace format (true, 'v1', 'legacy'); the Node
  binding ships TypeScript types for the v1 document.
- Golden, fixture and damaged-document tests cover byte identity with the
  legacy trace, restore, interop with the reference fixtures and
  malformed input.
… typed column words, share request rows as the input
@stefan-gorules
stefan-gorules merged commit e3d32a2 into release/2.2 Nov 21, 2026
60 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants