Why prompt-only restrictions fall short
Prompt instructions are not enough. A system prompt alone cannot reliably prevent diagnostic output, so the restriction needs to be treated as a runtime governance problem rather than a matter of careful wording.
The permitted scope should be defined as enforceable policy, with checks and actions that operate outside the model.
A layered control architecture
A no-diagnosis policy is enforced through several layers working together. Each layer has a distinct job, and together they keep the assistant within clinical scope and produce evidence that the policy was applied.
| Layer | Description |
|---|---|
| 01Scope policy | Versioned definition of what the assistant may and may not do. |
| 02Input and output checks | Diagnostic intent is detected before and after model generation. |
| 03Access restrictions | Tools, retrieval sources, and patient data are limited by policy. |
| 04Escalation | Diagnostic requests are handed to a licensed clinician or triage service. |
| 05Audit evidence | Logs and test results show the policy was enforced. |
Where runtime policy enforcement fits
Runtime policy enforcement sits around the model. Diagnostic-intent checks run on both inputs and outputs, outside the model, so a diagnostic request can be caught before generation and a diagnostic response can be caught after it.
Tools, retrieval sources, and patient data are restricted by least privilege. When a check fails, a defined action is triggered, with approved fallback text.
Designing safe escalation
Diagnostic requests should not simply be refused and left there. They are routed to a clinician, using an escalation path to a licensed clinician or triage service.
That path needs to be staffed and tested, and the approved fallback text shown when a check fails should lead into it.
Testing the policy and producing audit evidence
Every enforcement decision is logged so the controls can be tested and audited. Together, the following records show that the policy was enforced:
- Enforcement logs for each decision the controls make.
- Red-team test results, retained for review.
- Reruns of those tests after every material change.
Readiness checklist for governance leaders
- Scope policy is written, versioned, and approved by clinical, legal, and compliance owners.
- Diagnostic-intent checks run on both inputs and outputs, outside the model.
- Failed checks trigger a defined action, with approved fallback text.
- Tools, retrieval sources, and patient data are restricted by least privilege.
- An escalation path to a licensed clinician or triage service is staffed and tested.
- Red-team tests and enforcement logs are retained and rerun after every material change.