Keep two version histories connected
Source history: keep code and configuration in Git, including changes written by agents. Record the exact commit or source checkpoint used in the run.
Data history: record the input dataset version or snapshot, selected files, metadata, and checksums. Keep that data available for as long as you need to repeat the run.
Versioneer’s work on data product orchestration covers data versions, validation, and publication. Large files stay in their storage; the run record identifies which versions to read.
Record the execution conditions
| Record | What to keep |
|---|---|
| Source and configuration | Repository, exact commit or source checkpoint, parameters, workflow, and dependency lockfile. |
| Input data | Dataset or product version, snapshot identifier, selected assets, metadata, preprocessing, and checksums. |
| Environment | Container image digest (a content identifier), setup steps, resource limits, relevant hardware, and random seeds. |
| Execution | Command, timing, status, resource use, and required log locations. |
| Agent development, when used | Model and agent versions, instruction version, available tools, rules for choosing the next trial, and development budget. |
| Outputs and evaluation | Output file versions or checksums, evaluator version, reference data, measured results, pass or fail, and known limits. |
Use fixed references
Names such as a Git branch, a container tag, or a catalogue’s “latest” query can refer to different content later. Before the run, record fixed identifiers such as a commit, image digest, or dataset version. A checksum detects a change but cannot restore data that was not kept.
Record which access role or service connection is needed. Keep credentials out of the run record. Anyone repeating the run needs permission to retrieve the saved inputs.
Repeat the run and check the result
- Restore the recorded source and configuration in a clean workspace.
- Resolve the recorded data snapshot and verify its selected inputs.
- Prepare the image and locked dependencies under the recorded resource conditions.
- Run the saved command and evaluate its outputs with the recorded checks.
- Compare against the accepted result and report differences.
Some methods can give different results on repeated runs. Record random seeds and agree on an acceptable difference or a statistical comparison. Use the recorded checks to decide whether the new result meets the requirements.
Keep saved work when replacing compute
Save required outputs outside temporary sandbox storage before replacing it. A saved source revision lets you start the code again; resuming a process or restoring a database needs its own backup or application checkpoint.