Managing system prompt and prompt template releases under ISO/IEC 5338
Treat every system prompt and prompt template as a controlled configuration item. Version it, review and approve each change, promote it through separate environments, archive each release with an integrity hash and approval record, and tag every interaction record with the prompt version in force. Mapping these steps to ISO/IEC 5338 processes is interpretation, because the standard describes AI lifecycle processes in general terms. Release controls show what was approved. Runtime policy enforcement shows what was allowed and what happened.
A release workflow for prompts and templates
- 1
1. Version
Store prompts and templates in a repository with immutable version identifiers. Compute a hash of the exact artifact, including template placeholders. Keep model, tool and parameter settings that affect behavior alongside it.
- 2
2. Review
Require a second reviewer who did not author the change. Review covers intent, policy impact, and how untrusted input reaches template variables. Record the outcome against the version.
- 3
3. Approve
Approval by a named role defined in the configuration management plan. Higher-risk changes can require additional approvers. Approval binds to the hash, so a later edit invalidates it.
- 4
4. Promote
Move the same hashed artifact through development, test and production, with validation results recorded at each step. Production deploys only from the approved release, never from an editable copy.
- 5
5. Roll back
Define criteria in advance, such as failed validation or a policy violation in production. Rollback redeploys a prior approved version and is itself a recorded change with an approver.
- 6
6. Retire
Mark versions retired when superseded or withdrawn, block redeployment, and keep the release archive for the retention period your policy sets.
Checks before you call the process ready
- System prompts and templates are named in the configuration management plan with owners and change procedures.
- Production cannot be edited outside the approved release path.
- Each release archive holds the artifact, hash, approvals and validation results.
- Interaction records carry the prompt version identifier and hash.
- Rollback and retirement criteria are documented, with a named approver.
- Runtime controls and their evidence are defined for interactions and tool calls.
What ISO/IEC 5338 supports and what you must interpret
ISO/IEC 5338:2023 provides processes that support the definition, control, management, execution and improvement of an AI system across its life cycle stages. It is a process standard. It is not a specification for prompt management, so any mapping of prompt releases onto its processes is practitioner interpretation, and your documentation should say so.
The interpretation is reasonable because a system prompt or template changes system behavior without a code or model change. That makes it a configuration artifact. Two NIST publications describe practices for software in general that transfer well. SP 800-53 Rev. 5 control CM-9 calls for a documented and implemented configuration management plan covering roles, responsibilities and procedures. Its guidance describes advancing changes through change management, maintaining baselines and component inventories, controlling development, test and operational environments, and releasing key documents. The Secure Software Development Framework practice PS.3.1 calls for securely archiving the files and supporting data retained for each release, including integrity verification and provenance data.
Neither publication is written for prompts, and neither is AI-specific. They give you a defensible structure to borrow. NIST has also published a crosswalk between the AI RMF 1.0 and ISO/IEC 5338:2023 that aligns life cycle stages, which helps when evidence must be presented to teams that work from the AI RMF.
Working map from process areas to prompt practice
The process area labels below are working categories used for planning. Confirm them against your licensed copy of the standard before citing them in audit documentation.
- Configuration management: Name system prompts and templates as controlled items in the configuration management plan, with an owner, a repository and a baseline. Evidence: inventory of prompt items and the current baseline.
- Change and release control: Every edit is a change request with review and approval before release. Evidence: change record, reviewer and approver identities, timestamps.
- Verification and validation: Run defined test cases against a candidate version, including template inputs. Evidence: test set, results and sign-off tied to the version hash.
- Operation and maintenance: Record the prompt version in force for each interaction and review behavior after release. Evidence: interaction records carrying version identifier and hash.
- Retirement: Withdraw superseded or unsafe versions on a defined trigger. Evidence: retirement approval, effective date, retained archive.
Evidence to retain at each stage
Modeled on the release archive idea in SSDF PS.3.1, keep one record per prompt release containing the artifact, its hash or signature, the review and approval records, and the validation results. Protect that archive from alteration, and consider storing integrity data apart from the artifact itself.
The record that auditors most often need is the link between the release and the interaction. Each AI interaction record should carry the prompt version identifier and hash in use. With that, you can answer a specific question: which approved version governed this interaction, and does its hash match the approved release? The mechanism is an architectural choice for your team. The sources describe release archiving and provenance data in general, not a specific implementation.
For systems that are high-risk under the EU AI Act, recital 71 links traceability and monitoring to records and technical documentation, and the quality management system elements include procedures for managing modifications. Prompt change records support those themes, but whether they apply depends on your system's classification. As of November 2026, the Commission's Digital Omnibus on AI, proposed on 19 November 2025, would set 2 December 2027 for stand-alone high-risk systems and 2 August 2028 for those embedded in products. It remains a proposal that requires adoption by the legislators, so check the current consolidated text before committing to dates. Retention periods should come from your own policy and the obligations that apply to you.
What release controls cannot show on their own
A reviewed and approved prompt proves what was intended. It does not prove that the approved version is what ran, and it does not prove that each interaction stayed within policy. Several gaps remain after release. Someone can edit a prompt in a console outside the workflow. Templates can be filled at runtime with untrusted content that changes effective instructions. The same approved prompt can produce different behavior across inputs. Tool calls made by an agent can exceed what the reviewer pictured.
Hash matching in the interaction record closes the first gap by making unapproved edits detectable. The others need controls that act on individual interactions as they happen. Pre-release testing samples behavior, while runtime controls apply policy to every interaction.
This is where runtime policy enforcement complements release management. Trussed enforces policy in the execution path across models, agents, tools, MCP servers, AI sites and coding assistants. Policy is enforced at runtime, not reviewed after the fact, and the actions are allow, redact, block, rate limit or escalate for human approval. The scope is individual interactions and tool calls. That enforcement generates continuous, audit-ready evidence of what was allowed and what happened, mapped to frameworks including the EU AI Act and NIST.
Trussed is not a prompt management tool. It does not replace versioning, review or release approval. It provides the runtime layer and the evidence that sit next to those controls.
Prompt release path and evidence
Version
Identifier and hash for each prompt or template
Approve
Review and approval records tied to the version
Promote
Staged movement through separate environments
Run
Each interaction records the version in force
Retire
Withdrawal recorded and archive retained
See what runtime evidence looks like
Review how policy enforced in the execution path produces audit-ready evidence alongside your prompt release controls.
See How Evidence Is ProducedHow does your AI governance program compare?
See where your program has gaps in less than 2 minutes.