Add an evidence-based confidence score — procedure
Procedure for adding an evidence-based confidence score to non-sentinel answers while preserving fail-closed evidence behavior.
Purpose
When to use this
Use this section to decide whether this workflow is the right fit before you configure prompts, policies, or reference material.
Workflow assets
Required workflow assets
Open the prompts, policies, and reference pages needed to run this workflow correctly.
Implementation procedure
Step-by-step implementation procedure
Follow the workflow in order. Each step gives one action and one verification check before continuing.
-
Instruction layer
Configure the confidence rule
Add the Confidence Score prompt when confidence reporting should be reused across tasks.
- Action
- Place the stable rule in the instruction layer of the tool you use, or add the policy contract to an existing workflow.
- Verify
- The rule requires a confidence line only for non-sentinel answers.
-
Reference layer
Keep the evidence basis explicit
Identify the sources, artifacts, citations, policies, or verification results that support the answer.
- Action
- Tie the score to evidence quality, source coverage, conflicts, and missing information.
- Verify
- The confidence score can be explained from the evidence basis.
-
Runtime prompt layer
Answer the current task under the active evidence boundary
Use the current task, source boundary, and output contract before assigning a confidence score.
- Action
- Do not let the confidence rule expand the allowed sources or override fail-closed policies.
- Verify
- The answer follows the active source boundary.
-
Verification layer
Check fail-closed compatibility
If an active policy requires a sentinel-only answer, output the sentinel and stop.
- Action
- Do not append a confidence line after a sentinel-only fail-closed answer.
- Verify
- Sentinel-only answers remain exact and unchanged.
-
Verification layer
Add the confidence line
For non-sentinel answers, end with the standardized confidence line.
- Action
- Use the required format and lower the score when evidence is incomplete, conflicting, outdated, or partially inspected.
- Verify
- The final line uses the configured confidence format and reflects evidence support.
Verification checklist
Use this checklist before accepting the output, publishing it, or using it as evidence for a downstream workflow.