Skip to main content

Module promote

Module promote 

Source
Expand description

Baseline promotion.

Copy the durable, reference-worthy subset of a workspace iteration (benchmark.json, per-run grading.json, a BASELINE.md provenance file) into the skill’s version-controlled evals/baseline/, and drop a .promoted.json marker so teardown can reclaim the iteration. Ephemeral scaffolding (dispatch/timing/run records, produced outputs, transcripts) is intentionally left behind.

Structs§

PromoteOptions
Inputs for promote_baseline. Borrowed for the duration of the call.
PromoteResult
What promote_baseline wrote.

Enums§

NotesStatus
How NOTES.md in the baseline dir was handled during promotion.

Functions§

promote_baseline
Copy the durable subset of iteration-<n> into <skill>/evals/baseline/ and mark the iteration promoted. Errors if the iteration or its benchmark.json is missing.