
The Answer Is Optional: An Abstention Contract for AI
A practical guide to deciding when AI should answer, seek evidence, defer, or refuse using calibrated signals, risk–coverage curves, and fallback capacity.
Read MoreZharfAI Team

Logging every prompt does not create accountability. A terabyte of traces can still fail to answer the questions that matter after an incident: Which source record was used? Which policy applied at that moment? Who approved the exception? What external action actually occurred? Was the user notified? Did the control operate, or did the log merely say that it should have?
Audit readiness is the ability to produce relevant, reliable, protected evidence for a defined assertion. The assertion might be “every refund over the threshold received human approval,” “the deployed model passed the release criteria,” or “a high-risk system recorded the events required by applicable law.” Different assertions need different evidence. There is no universal “AI audit log.”
This guide is an engineering pattern, not legal or audit advice. Requirements depend on jurisdiction, sector, system role, and contractual commitments. The EU AI Act's official Article 12 record-keeping text, for example, concerns logging capabilities for high-risk AI systems and ties traceability to the system's intended purpose. The NIST AI Risk Management Framework 1.0 is voluntary and use-case agnostic; NIST notes that a revision is in progress. ISO/IEC 42001:2023 is an AI management-system standard, not a substitute for the laws that apply to a particular deployment.
Before selecting a logging platform, write an evidence matrix:
| Assertion | Population | Control or criterion | Evidence | Owner |
|---|---|---|---|---|
| High-value refunds are approved | All refunds above threshold | Approval policy version active at request time | Request, amount, policy decision, approver, action receipt | Finance operations |
| Only approved models reach production | All deployments | Release policy and evaluation gate | Artifact digest, test report, approval, deployment attestation | ML platform |
| Deletion requests are completed | All validated requests | Retention and deletion procedure | Scope resolution, deletion jobs, exceptions, verification result | Privacy |
This prevents “evidence by accident,” where teams retain abundant technical data but cannot prove the business control. Define the population as carefully as the pass condition. If failed requests disappear before receiving an identifier, the evidence set is biased toward successes.
Map each assertion to the system boundary. A workflow may cross an application, model API, retrieval service, policy engine, human review queue, payment provider, and notification service. An application trace that stops before the payment provider cannot prove a refund was issued.
The evidence-first automation guide is a useful companion for designing the action boundary and its receipt before scaling autonomous work.
Every material event should share a small envelope so independent records can be joined without copying all sensitive content:
Then define typed payloads for request received, source retrieved, policy evaluated, model invoked, tool proposed, approval requested, approval decided, action submitted, action confirmed, user notified, exception opened, and case closed.
Do not store a free-form “decision explanation” as the only link. Use stable identifiers: policy_version, model_artifact_digest, prompt_template_version, source_record_id, tool_definition_version, and action_receipt_id. Human-readable summaries help reviewers, but typed fields make completeness and population testing possible.
Store event time and ingestion time separately. A late event may be legitimate network delay or evidence of tampering. Synchronize clocks, monitor skew, and keep ordering logic explicit instead of assuming database insertion order equals real-world order.
For a consequential AI-assisted action, the evidence chain normally needs:
This is not a request to archive hidden chain-of-thought. Auditors need observable evidence: input, output, criteria, decision, actor, and effect. A model's generated rationale is not proof that the stated reason caused the result. Keep policy decisions deterministic where possible and record the actual rule evaluation.
Content minimization matters. Store a hash and secure object reference when the full document need not live in the event stream. Tokenize identifiers, redact secrets before logging, and restrict payload views by role. The integrity digest proves which object was referenced; it does not prove that the source was true or lawfully collected.
Consider an accounts-payable copilot that proposes a supplier payment. A useful evidence chain looks like this:
PO-4821, invoice INV-817, and goods receipt are retrieved at known versions;A prompt trace alone proves almost none of this. The audit object is the case graph that connects authoritative records, control execution, human action, and external outcome.
Test adverse paths as well. What evidence exists when extraction fails, a reviewer times out, a supplier changes bank details, the payment API returns an ambiguous response, or a retry encounters the same idempotency key? Assurance is weakest when exception handling creates a parallel, poorly observed workflow.
An administrator who can change the system and rewrite its audit trail can erase the distinction between operation and evidence. Controls should reflect the threat and consequence:
Cryptographic chaining can make deletion or reordering detectable, but it does not make a false event true. Independent receipts, reconciliations, and source-system records provide stronger corroboration than one self-attested log.
Segregation must survive automation. If the same agent creates a transaction, approves its own exception, and confirms the result using the same credentials, three event types do not create three controls. Bind approvals to independent identities and make the authorization service enforce them.
An approval record should show what the reviewer actually saw: source versions, proposed action, policy exceptions, confidence signals, and material warnings. Store the decision, actor, role, timestamp, edits, and reason code. If the underlying case changes after approval, invalidate or re-request approval.
Avoid approval theater. A reviewer who receives hundreds of low-context alerts will click through. Measure queue age, review time, override and disagreement rates, repeated approvals by actor, and the percentage of cases displayed with complete evidence. Sample decisions for substantive quality.
The human-approval design guide explains consequence-based routing and reviewer context. Its central lesson for assurance is simple: “human in the loop” is not an assertion until the loop has a defined decision right and a testable record.
Retention should follow the assertion, law, contract, litigation obligations, and data minimization—not “keep everything forever.” Assign a retention class at creation. Document legal holds, exceptions, archive format, encryption, key rotation, and deletion verification.
Deletion is a workflow across primary logs, object storage, search indexes, analytics copies, backups, vendor systems, and derived datasets. Record the scope and status without recreating the deleted content in the deletion log. When evidence must be retained but sensitive payload must be removed, preserve allowable metadata and integrity information under an approved policy.
Long retention can reduce security and privacy even while helping investigation. Test whether the same assertion can be supported with a secure reference, structured fact, or aggregate rather than raw prompt and retrieved document.
Use assurance metrics that test evidence quality:
Set service objectives by consequence. A low-risk content suggestion may tolerate missing fine-grained trace fields. A payment, eligibility, employment, health, or safety decision may require complete lineage and fail closed when evidence services are unavailable.
Select samples from normal, failed, overridden, retried, and appealed cases. Give reviewers the assertion and approved evidence interface, not ad hoc database access or coaching. Ask them to establish:
Record missing evidence, ambiguous joins, unexplained clock gaps, inaccessible objects, and narrative fields that should be typed. Remediate the event model, then repeat the walkthrough.
An AI management system should improve continuously, which is consistent with ISO's description of ISO/IEC 42001's Plan-Do-Check-Act approach. Passing one walkthrough is not a permanent certificate of system behavior.
No. Store what is necessary for the defined assertion and incident response, subject to retention and privacy policy. High-risk decisions may require protected full content; other workflows can use structured fields, hashes, and secure references.
It is evidence of what the model generated, not proof of causality or policy compliance. Pair it with source lineage, deterministic checks, versioned criteria, and human or system decisions.
No. Immutability helps detect alteration. It does not establish completeness, truth, authorization, or that an external action occurred. Reconcile with independent systems and receipts.
For consequential actions, losing required evidence may justify fail-closed or restricted operation. Define this response during risk assessment; do not improvise it during an outage.
NIST states that AI RMF 1.0 is being revised, so mappings should be versioned. ISO's public overview does not contain the full standard. The EU AI Act's applicability and implementation depend on role, system classification, dates, and related guidance; qualified counsel and assurance professionals should confirm obligations.

A practical guide to deciding when AI should answer, seek evidence, defer, or refuse using calibrated signals, risk–coverage curves, and fallback capacity.
Read More
A field guide to admitting, quarantining, or rejecting MCP servers, plugins, and agent tools using provenance, capability tests, and enforceable runtime limits.
Read More
A field guide to baselines, delayed outcomes, change attribution, and deciding when deployed AI should be watched, constrained, rolled back, or rebuilt.
Read MoreIf this note maps to a real system in your organization, start with the services page or a shipped case study.