24.1What to version
Version source code, prompts, configurations, datasets, evaluation sets, index builds, model identifiers and evaluator versions. A run record links them all.
Treat prompt changes like code changes: reviewed, tested and released.
Package 24 · Section 10.3
Change the system without losing the ability to reproduce, compare or roll back decisions.
In brief
An AI system is code, data, prompts, indexes, models and evaluations. Reproducible delivery versions all of them, tests them automatically and promotes changes only when release gates pass.
Version source code, prompts, configurations, datasets, evaluation sets, index builds, model identifiers and evaluator versions. A run record links them all.
Treat prompt changes like code changes: reviewed, tested and released.
Unit tests check parsers, filters and validators. Contract tests check tool and API schemas. Evaluation tests run the locked set against thresholds. Regression tests replay past incidents.
Non-determinism needs tolerances, repeated runs and fixed seeds where possible.
Promote through environments with gates at each step. Use shadow or canary releases to compare new and old configurations on live traffic.
Rollback must be one action and must restore prompts, indexes and model versions together.
Worked example
Situation: A copywriting tweak to the system prompt reduced citation correctness from 0.95 to 0.88.
Outcome: The regression never reached users because the prompt lived in version control with evaluation gates.
Version manifest, test results, comparison report, release decision and rollback package.
Reproduction, test coverage, regression detection, change isolation and rollback time.