credence_scan
Scan model output for numeric literals matching unverified constraints and annotate them as stale or unverified to prevent writes with uncertain values.
Instructions
Generation-Time Constraint Scanner (CP3): scan model output for numeric literals that match registered unverified constraints.
Two annotation tiers (no confidence scores — unknown = unverified): ⚠⚠ CREDENCE[stale] — source="temporal_scan" (structurally stale values) ⚠ CREDENCE[unverified] — all other registered constraints
Scans both code blocks and prose.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Session whose constraints to check against. | |
| output_text | Yes | Raw model output to scan. | |
| current_turn | No | Turn number for confidence decay (default 0). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||