Expand description
End-of-run workspace cleanup.
Reclaim a skill’s ephemeral
.eval-magic/<skill>/ subtree without ever destroying results the user
hasn’t moved into version control.
Structs§
- Kept
Iteration - An iteration kept during cleanup because it still holds uncommitted results.
- Workspace
Cleanup Summary - What
cleanup_workspaceremoved and kept.
Constants§
- PROMOTED_
MARKER - Marker
promote-baselinedrops into an iteration dir once that iteration’s durable results (benchmark + gradings) are committed under the skill’sevals/baseline/. Teardown treats its presence as “safe to delete”. - SNAPSHOT_
META - Provenance the
snapshotcommand writes into eachsnapshots/<label>/dir, recording whether it was materialized from a git ref (reproducible) or copied from the working tree (not reproducible). Teardown only reclaims ref snapshots.
Functions§
- cleanup_
workspace - End-of-run cleanup of a skill’s
.eval-magic/<skill>/subtree.