dry_run_attest
Preview which compliance controls an evidence record would earn without writing to the ledger. Verify your proposed record is correct before attesting.
Instructions
Preview which compliance controls a proposed evidence record would earn — without writing anything to the ledger. Use this before calling attest to confirm the record is correct.
This is the verification step in the compliance copilot loop:
get_posture() → identify gap
dry_run_attest() → confirm this record closes it
[present to human for approval]
attest() → write the real record
Returns the same mapped_controls list that attest would return, but record_id is the nil UUID (all zeros) — a clear signal no DB row was written.
Do NOT skip this step when proposing records on behalf of a human — always show them what controls would be earned before writing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Event-specific fields — same schema as `attest`. | |
| identity | No | User or service identity that would be recorded. | |
| record_type | Yes | The governance event type to preview. | |
| system_name | Yes | The AI system this record would be attributed to. |