Prompt Versioning
Version: 1.1.0 Last updated: 2026-07-16 Status: Informative OAIES implementation profile
Purpose
Treat prompts, schemas, tools, policies, and model settings as one immutable release unit.
Why
Prompt behavior depends on the entire execution envelope.
When
Use for every production prompt.
How
- Assign content-addressed versions.
- Store source, variables, output schema, model settings, tool contracts, and owners.
- Sign releases and preserve lineage.
- Promote aliases only after gates pass.
- Roll back aliases atomically.
Evidence contract
The decision record is the prompt release manifest. It records source digest; rendered digest; schema; tool contracts; policy; model parameters; aliases; signature. The PromptOps release manager owns completeness; the evidence is invalid when any runtime component is mutable outside the manifest. Store repository commit, built envelope digest, registry version, environment alias, and signer as one release lineage.
Failure response and recovery
Trigger: digest mismatch or undeclared runtime configuration.
Immediate response: reject startup or pin the alias to the previous signed manifest. Preserve the prompt release manifest, affected trace IDs, timestamps, and decision logs before mutation. Open an incident when users, data, money, authorization, or a release decision may have been affected; closure requires a regression case and verified control change specific to prompt versioning.
Decision authority
The PromptOps release manager accepts the operational decision. The application owner provides independent challenge for high-risk scope, failed gates, or exceptions. Promotion services may verify signatures and gates; named release and risk owners decide exceptions and production exposure.
Tradeoffs
| Choice | Benefit | Cost |
|---|---|---|
| Immutable releases | Reproducibility | Storage and process overhead |
Anti-patterns
- Editing production aliases in place.
- Versioning prompt text but not tools or model settings.
Enterprise considerations
- Separate author and promoter permissions.
- Retain lineage under records policy.
Framework relationship
Prompt Versioning is informative prompt-supply-chain guidance. Qualification remains specific to the rendered envelope, model, tools, data, and intended task.
| Source | Relationship for Prompt Versioning | Boundary |
|---|---|---|
| NIST AI RMF | GOVERN 1.7; MANAGE 2.3 | Apply governance outcomes to the complete execution envelope, not prompt text alone. |
| ISO/IEC 42001 | 42001 clauses 7.5 and 8.1 | Management-system alignment depends on controlled authoring, approval, distribution, and corrective action. |
| Domain threat/control source | Supply-chain and prompt leakage controls | Test only the threats applicable to the documented system and release |
Checklist
- Every call records release ID.
- Rollback is one operation.
- Drift is detectable.
References
- NIST, AI RMF 1.0, GOVERN 1.7 and MANAGE 2 (accessed 2026-07-16).
- SLSA, Provenance (accessed 2026-07-16); apply the provenance pattern to prompt release envelopes, not as a claim of SLSA conformance.
Changelog
| Version | Date | Change |
|---|---|---|
| 1.1.0 | 2026-07-16 | Replaced generic assurance text with the prompt release manifest, failure trigger, accountable decision, and scoped framework relationships for prompt versioning. |
| 1.0.0 | 2026-07-16 | Initial complete profile. |