In a clinical AI feature, the prompt is part of the program. Change one instruction, swap the model version or adjust which chart sections are passed in, and the output a clinician reads can change in ways no one notices until it matters. Yet many teams still edit prompts in a settings file with no review and no record.
This post covers how to govern prompts like the clinical logic they are: what to keep in a prompt registry, what counts as a change, how to review by risk, what a test set should hold, how to release and roll back, and what to monitor once the prompt is live.
What is prompt governance for clinical AI?
Changing prompts without knowing what they will break?
Our LLM evaluation page covers the test sets and scoring we build for clinical AI features.
Prompt governance for clinical AI is the set of records, reviews and tests that control how prompts for clinical features are written, changed, released and watched. Every prompt has an owner, a version history, a test set and an approval before it reaches clinicians. Agnotic Technologies builds this control into the AI features it delivers.
It sits inside an organization's wider AI governance, which decides which uses are allowed at all.
In the NIST AI RMF, Govern is a cross-cutting function that informs and runs through the other three functions: Map, Measure and Manage.
Why do prompts need governance?
Prompts need governance because they carry clinical logic in plain language, where small edits have large effects and nobody reviews them as code. A word that tells a model to be brief can drop a contraindication from a summary.
Prompts also change more often than other logic. Teams tune them often, vendors update models underneath them, and each change can alter output for every patient at once.
What belongs in a prompt registry?
A prompt registry holds one record for every prompt used in production, with enough detail to rebuild, test and explain any output it produced.
- Identity: a name, a version number and the feature it serves.
- Intended use: what the output is for, who reads it and what it must never do.
- Configuration: the model and version, settings, tools allowed and which data is passed in.
- Evidence: the test set version, the last results and the approval record.
- Status: draft, in review, live or retired, with dates.
Store the prompt text and configuration in version control, and record the prompt version against every output, so a single answer can be traced back to the exact prompt that produced it.
Writing prompts that can be reviewed
A prompt is easier to govern when it is written in labelled sections: the role, the rules, the examples and the required output format. A reviewer can then see which rule changed instead of comparing two long paragraphs.
Give each rule one line and one purpose, remove rules that repeat each other, and use synthetic examples rather than real patient text. Keep a short note beside each rule saying why it exists, so a later editor does not delete a safeguard by accident.
What counts as a prompt change?
Any change that can alter the output counts, not only edits to the instruction text. Treat each of these as a new version that goes through review.
- Instructions: system and user templates, examples and formatting rules.
- Context: which chart sections, documents or search results are passed in.
- Model: a new model or model version, including a vendor's silent update.
- Settings: temperature, length limits and stop rules.
- Tools: functions the model may call and the data they return.
How should prompt changes be reviewed?
Review changes by risk tier: the closer the output sits to a clinical decision, the more review it needs. A tier is set per prompt when it is registered and changes only through governance.
- Low: internal or administrative text, reviewed by the product team with test results.
- Medium: patient-facing or operational text, adding review by a clinical lead.
- High: content that informs clinical decisions, adding a safety review and sign-off by the clinical owner.
Reviewers should see the old and new prompt side by side, with test results for both, not just a description of the change.
What should a prompt test set contain?
A prompt test set should contain real-world cases for each intended use, edge cases that once caused trouble, and hostile inputs, each with the properties a good output must have and the ones it must never have.
The OWASP Top 10 for LLM Applications (2025) ranks prompt injection first: user prompts that alter a model's behavior or output in unintended ways.
- Typical cases: de-identified examples covering the common inputs.
- Edge cases: long charts, missing data, conflicting notes and unusual patients.
- Hostile inputs: text in documents that tries to change the model's instructions.
- Checks: required facts present, forbidden content absent, format correct.
Version the test set with the prompt. When a problem is found in production, add the case before fixing the prompt.
Release and rollback
Release a new prompt version in stages: run it in shadow alongside the live version, compare outputs, then expose it to a small group of users before everyone. Keep the previous version ready to restore with one switch.
Pin the model version wherever the vendor allows, so the prompt you tested is the prompt running. Record every release and rollback in the registry.
How do you monitor prompts in production?
Monitor by sampling outputs for human review, tracking user corrections and complaints, and watching simple signals that shift when behavior changes, all broken down by prompt version.
- Review samples: a set number of outputs per week scored by clinicians against the test checks.
- Corrections: how often users edit or reject the output, and what they change.
- Signals: output length, refusals and missing required sections.
- Incidents: any reported harm or near miss, linked to the version that produced it.
Model updates from vendors
A vendor's model update is a change to every prompt that uses it, even if no prompt text changed. Run the full test sets for affected prompts before moving to a new model version.
In July 2024, NIST released the Generative AI Profile (NIST AI 600-1), a companion to the AI RMF that helps organizations identify risks specific to generative AI and proposes actions to manage them.
Ask vendors how they announce model changes and how long an old version remains available, and plan the testing window around that.
What goes wrong without prompt governance?
Most failures come from changes no one knew were changes. These patterns recur.
- Edits in place: prompt text changed in production with no version or review.
- Silent model swaps: a vendor update alters outputs and nobody retests.
- Stale test sets: cases written once and never updated with production problems.
- No traceability: an incident that cannot be tied to the prompt that caused it.
- Review by description: approvers read a summary of the change, not its results.
A worked example: a discharge instructions drafting feature
A hospital's AI feature drafts patient discharge instructions for nurses to review. It was registered as medium risk, with a clinical lead as owner and a test set covering common diagnoses, long stays and charts with missing medication lists.
When the team shortened the instructions for readability, the test set showed medication changes dropped from some drafts. The change was revised, retested and released first in shadow, then to one unit, with nurse edits tracked by version.
Later, a vendor model update was tested against the same set before the switch, and one formatting regression was fixed first.
Who owns what?
Prompt governance needs a clinical owner, a technical owner and a forum that sets the rules.
- AI governance group: risk tiers, review rules and allowed uses.
- Clinical owner: intended use, test checks and approval of high-risk changes.
- Engineering: registry, version control, test runs, releases and rollback.
- Quality and safety: incident review and monitoring results.
How do you measure prompt governance?
Measure whether every live prompt is under control and whether problems are caught before users see them.
- Live prompts with a complete registry record and current test results.
- Regressions caught by test sets before release.
- Time from proposed change to approved release, by tier.
- Incidents traceable to a specific prompt version.
What are prompt governance clinical AI best practices?
Register every production prompt with an owner, intended use and risk tier, treat context, model and settings changes as prompt changes, and review new versions with side-by-side test results.
Keep versioned test sets with hostile inputs, release in stages with one-switch rollback, pin model versions, record the prompt version on every output and feed production problems back into the tests.
How Agnotic can help
Agnotic builds clinical AI features with governance built in: prompt registries in version control, risk-tiered review workflows, test sets and scoring, staged release and rollback, and monitoring dashboards by prompt version.
Build governed clinical AI with Agnotic
Our healthcare AI agent development service builds clinical AI features with review, testing and monitoring in place.
Related reading on Agnotic
Clinical AI safety, security and integration.


