AtlaSent — VQP Verify Snapshot
atlasent_vqp_verifyRe-derives VQP prompt from snapshot bundle data, compares against stored hash to detect tampering, and optionally re-runs AI model to identify score drift. Records audit evidence for SOC 2 and 21 CFR Part 11 compliance.
Instructions
Re-derive the VQP prompt from current bundle data and verify it matches the stored SHA-256 prompt_hash. Detects tampering (hash_match: false) and optionally re-runs the AI model to detect score drift (score_delta, verdict_changed). Writes a vqp_audit_log row for SOC 2 CC7.2 / 21 CFR Part 11 evidence. Requires ATLASENT_SUPABASE_URL and ATLASENT_SUPABASE_SERVICE_ROLE_KEY.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rerun | No | Re-call the AI model with the re-derived prompt to detect score drift. Populates rerun_score, rerun_verdict, score_delta. Slower (10–20 s AI call). | |
| snapshot_id | Yes | Snapshot ID from atlasent_vqp_generate or a stored vqp_snapshots row. |