---
title: "The Receipt Is Part of the Output"
description: "An agent result is incomplete without a receipt showing what it read, what it produced, what passed, what stopped, and what needs approval."
canonical: "https://scalewithsearch.com/articles/receipt-is-part-of-the-output"
date: "2026-08-17"
modified: "2026-11-10"
---
## Site navigation

- [Scale With Search](https://scalewithsearch.com/)
- Services
  - Local
    - [All services](https://scalewithsearch.com/services)
    - [AI visibility tracking](https://scalewithsearch.com/services/ai-visibility-tracking)
    - [Google Maps rank tracking](https://scalewithsearch.com/services/google-maps-rank-tracking)
    - [Local SEO](https://scalewithsearch.com/services/local-seo)
    - [Google Business Profile management](https://scalewithsearch.com/services/google-business-profile)
  - Website and search
    - [SEO solutions](https://scalewithsearch.com/seo)
    - [Technical SEO](https://scalewithsearch.com/seo/technical-seo)
    - [On-page and content SEO](https://scalewithsearch.com/seo/on-page-and-content-seo)
    - [Semantic SEO and topical authority](https://scalewithsearch.com/seo/semantic-seo-and-topical-authority)
    - [Custom SEO tools](https://scalewithsearch.com/seo/custom-seo-tools)
    - [Site build](https://scalewithsearch.com/work#site-build)
    - [Whole website fix](https://scalewithsearch.com/work#whole-website-fix)
  - AI functions
    - [AI operations](https://scalewithsearch.com/ai-systems)
  - First step
    - [Working session](https://scalewithsearch.com/audit)
  - Start here
    - [Send your brief](https://scalewithsearch.com/work#send-your-brief)
    - [Example scope](https://scalewithsearch.com/work#review-the-example-scope)
    - [Prices and terms](https://scalewithsearch.com/work#prices-and-terms)
- Industries
  - Agencies
    - [SEO agencies and consultants](https://scalewithsearch.com/for/seo-agencies-and-consultants)
    - [Marketing agencies and freelancers](https://scalewithsearch.com/for/marketing-agencies-and-freelancers)
    - [AI visibility check for SEO agencies](https://scalewithsearch.com/check/seo-agencies-and-consultants)
    - [Marketing and SEO agencies](https://scalewithsearch.com/for/#group-agencies)
  - Browse by business
    - [Trades and field service](https://scalewithsearch.com/for/#group-trades)
    - [Real estate agents and teams](https://scalewithsearch.com/for/real-estate)
    - [Health, wellness, and animal care](https://scalewithsearch.com/for/#group-practices)
    - [Chiropractic and wellness practices](https://scalewithsearch.com/for/chiropractic-and-wellness-practices)
    - [Law, finance, and IT](https://scalewithsearch.com/for/#group-professional)
    - [Machine shops and manufacturers](https://scalewithsearch.com/for/#group-manufacturing)
    - [Restaurants, shops, studios, and nonprofits](https://scalewithsearch.com/for/#group-local-services)
  - [All industries](https://scalewithsearch.com/for/)
- Resources
  - Free tools
    - [AI visibility check](https://scalewithsearch.com/check)
    - [All free tools](https://scalewithsearch.com/tools/)
    - [Free starter kit (.zip)](https://scalewithsearch.com/kit/business-memory-starter-kit.zip)
  - Guides
    - [AI-native library](https://scalewithsearch.com/ai-native)
    - [Industry intelligence](https://scalewithsearch.com/intelligence)
    - [Office job guides](https://scalewithsearch.com/guides/)
    - [Business memory](https://scalewithsearch.com/articles/business-memory-for-ai-agents-guide)
    - [Agent governance](https://scalewithsearch.com/articles/ai-agent-governance-guide-small-business)
    - [Ownership and migration](https://scalewithsearch.com/articles/leaving-vendor-ai-memory-guide)
  - Articles
    - [All articles](https://scalewithsearch.com/articles/)
- About
  - Evidence
    - [Proof](https://scalewithsearch.com/proof)
  - Scale With Search
    - [About](https://scalewithsearch.com/about)
    - [How it works](https://scalewithsearch.com/how-it-works)

# The Receipt Is Part of the Output.

Built from 4 notes in Victor's vault. Drafted with Claude Fable 5 and Claude Fable 5.1, rewritten against Victor's notes with Claude Opus 5.5. Reviewed by Victor on 2026.11.11.

The [agent](/ai-native#foundations)<!-- reading-origin:XSgvYXJ0aWNsZXMvd2hhdC1pcy1hbi1haS1hZ2VudC1pbi1hLXNtYWxsLWJ1c2luZXNzKQ== --> says the report is finished. The file exists. The totals look plausible.

Then the reviewer asks three questions. Which source export did it use? Did the validation test pass? Was anything skipped?

Nobody knows.

The report is an artifact. It is not yet a result anyone can inspect. The receipt is part of the output because it ties the artifact to the run that made it.

## What a receipt proves

A useful receipt answers:

- What job ran?
- Which source records were inspected?
- Which model and workflow version were used?
- What file or decision was produced?
- Which deterministic tests ran?
- What passed, failed, or was skipped?
- Where did the workflow stop?
- Does a person still need to approve an outside action?

Every run in the systems I build writes one. The owner keeps those receipts at handoff, one line per run, in a file they can open.

A claim of work is not work. In my own setup, a model that says it wrote a file has to name the path.

NIST's AI RMF is a voluntary framework. Its Generative AI Profile describes retention policies that keep test, evaluation, validation, and verification history as an outcome. It also describes system inventories that carry provenance, model versions, known issues, and human oversight roles. [NIST AI 600-1, Generative AI Profile](https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.600-1.pdf)

## A receipt is not a transcript

Dumping the whole model conversation into a log creates noise and can copy sensitive information. A receipt holds the minimum evidence needed to reproduce or review the result.

Use source paths, stable identifiers, versions, hashes, test names, timestamps, and result states. Keep credentials, secret values, unneeded personal data, and raw confidential content out of it.

## Record no-work and failure states

A no-work receipt is useful only when it says what was inspected. "Nothing happened" stays ambiguous.

Record the queue, the date range, the eligibility rule, and the item count. If zero items qualify, say so. If the queue could not be read, write a failure instead. A scheduler heartbeat does not replace a job receipt.

Every automatic run in my setup ends with a receipt, or with an explicit no-work or failure record. The distinction lets an owner separate a quiet week from a broken workflow without opening model logs.

Use `no_work` only after a successful inspection finds zero eligible items. A missing required source is `blocked`. An unreadable queue is `failed`. Keep the safe diagnostics, and never label a partial inspection complete. The [empty-versus-broken receipt guide](/articles/ai-agent-no-work-receipt) supplies the fixtures.

## The file to inspect for receipt as part of AI output

Create `receipts/RUN-2026-0817-0091.json`:

```json
{
  "run_id": "RUN-2026-0817-0091",
  "job": "prepare_weekly_order_report",
  "workflow_version": "git:4f7c2ab",
  "model": "provider/model-version",
  "started_at": "2026-08-17T09:02:11-04:00",
  "finished_at": "2026-08-17T09:02:38-04:00",
  "sources": [
    {"path": "data/orders-accepted.csv", "sha256": "..."},
    {"path": "rules/reporting-definitions.md", "sha256": "..."}
  ],
  "output": {
    "path": "reports/weekly/2026-W34.md",
    "sha256": "..."
  },
  "tests": [
    {"name": "required_sections", "result": "pass"},
    {"name": "totals_match_source", "result": "pass"}
  ],
  "status": "completed",
  "stopped_before": ["email_send", "publish", "crm_write"],
  "approval_required_from": "operations_lead"
}
```

The hash shows whether a source or output changed after the receipt. It does not prove the content is true. Truth still depends on source authority, validation, and review.

## Give receipt fields stable meanings

Receipt fields answer four different questions.

Identity fields name the run: run ID, job, workflow version, model route, and time. Input fields name the records and task input used. Result fields name the output, the status, and the tests. Boundary fields name skipped actions, stop reasons, open questions, and required approval. For a reusable field structure and validation checks, read [AI Agent Run Receipt Template: Fields and Checks.](/articles/ai-agent-run-receipt-template)

Do not use one vague `notes` field for all four. Stable fields make receipts searchable, and they let fixed checks catch missing evidence.

A small schema can define required and optional fields:

```text
required:: run_id, job, started_at, finished_at, sources, status
required_when_output_exists:: output_path, output_hash
required_when_stopped:: stop_reason, safe_next_action, decision_owner
required_when_action_proposed:: action_type, destination, approval_status
forbidden:: secret_value, full_private_transcript, hidden_reasoning
```

Fit the schema to the consequence. A local formatting job does not need the same receipt as a proposed payment or deployment.

## Read a receipt in the right order

A reviewer can inspect a receipt without replaying the run.

First, check identity. Is this the expected job and workflow version? Second, check sources. Did the run read the intended account and current records? Third, check the result status. Was the output completed, blocked, failed, or no-work? Fourth, check the deterministic tests. Fifth, check the boundary. Did the workflow stop before any unapproved effect?

Only then open the artifact. A polished artifact can distract from a stale source or a failed check. The receipt puts the operational evidence first.

If the job affects an outside system, the receipt should link to read-back evidence. It should not copy a whole customer record or message body when a stable identifier and an approved artifact hash are enough.

## Pair model work with deterministic checks

Use the model for work that needs interpretation or synthesis. Use code for fixed checks: required fields, schema validity, totals, duplicates, file existence, allowed paths, and exact recipient matching. In my systems the fixed checks run first, before a model is called.

NIST's AI RMF describes documented test sets, metrics, tools, and performance under conditions similar to deployment as an outcome. [NIST AI RMF Core](https://airc.nist.gov/airmf-resources/airmf/5-sec-core/)

The receipt joins the two layers. It can say the model drafted the explanation and the validator confirmed the arithmetic and the file contract.

## Make the receipt easy to find

Use one stable convention. Place the receipt beside the output, or link both through the same run ID. A dashboard can summarize receipts later, but the owned file stays the evidence. For the public examples and their evidence limits, inspect [Owned AI Systems: Inspect the Proof and Limits.](/proof)

The reviewer should not need a vendor's chat history to learn how the result was made. Inputs, outputs, decisions, receipts, and corrections belong in a record the business controls.

## Decide how long receipts remain useful

Set retention by the business need, the contract, the sensitivity, and the policy that applies. Do not keep every raw input forever because storage is cheap.

Keep the minimum evidence needed for troubleshooting, approval history, acceptance, billing support, or audit duties. Remove secret values and unneeded personal data before the receipt is written. When a source identifier is enough, do not copy the source content.

Add a retention block to the runbook:

```text
receipt_owner:: system owner
retention_class:: operational
review_after:: 90 days
delete_or_archive_rule:: follow current business retention policy
restricted_fields:: customer message body, credentials, payment data
```

This is a design field, not legal advice. A regulated workflow needs review against the buyer's obligations and vendor terms before records enter the system.

## Link corrections back to the run

When review finds an error, the correction record should point to the receipt and the affected artifact. The next test receipt should point to the [accepted correction](/articles/#cluster-owned-memory)<!-- reading-origin:XSgvYXJ0aWNsZXMvYWktY29ycmVjdGlvbi1sb2ctdGVtcGxhdGUp -->.

That chain can stay small:

```text
failed_run:: RUN-2026-0817-0091
correction:: COR-027
controlling_file_changed:: briefs/weekly-account-brief.md
retest_run:: RUN-2026-0817-0094
retest_status:: pass
```

The link keeps a corrected output from passing as a corrected workflow. A reviewer can see whether the source, brief, adapter, or artifact changed, and whether a fresh run tested it.

Do not overwrite the failed receipt. Failure is part of the operating history. Store the correction and the retest as later records.

Use one run ID across the artifact, receipt, approval record, and read-back record. Test that every referenced path exists and every hash matches the file under review. If either check fails, mark the run incomplete. This small linkage test keeps a valid receipt from being paired with the wrong draft.

## Approval boundary and stopping point for receipt as part of AI output

The agent finishes when the artifact and the receipt exist and every required test has a recorded result. It stops early when a required source, test, output path, or approval owner is missing.

The receipt does not authorize a send, publication, deployment, booking, purchase, payment, or CRM write. It records that the workflow stopped before those actions.

## Two public sources on receipt as part of AI output

- [NIST: Generative AI Profile](https://nvlpubs.nist.gov/nistpubs/ai/NIST.AI.600-1.pdf)
- [NIST: AI RMF Core](https://airc.nist.gov/airmf-resources/airmf/5-sec-core/)


## Questions about The Receipt Is Part of the Output

### What should an AI agent audit trail capture?

Capture the run identity, job, workflow and model versions, source records, output artifact, deterministic tests, status, stop reason, skipped actions, and approval state. Use stable identifiers, paths, versions, hashes, timestamps, and result states instead of a full transcript.

### How do people audit what an AI agent actually did?

Start with the receipt, then inspect its sources, result state, tests, boundary, and linked read-back evidence before opening the artifact. The receipt should connect the output to the run that produced it without copying secrets, unnecessary personal data, or raw confidential content.

### Should the model write its own audit log?

The receipt should be generated from stable run evidence rather than functioning as a transcript of the model's story. Record source paths, identifiers, versions, hashes, tests, timestamps, status, and approval state, while excluding hidden reasoning and secret values.

### How do you stop agents from reporting success after a tool only partially worked?

Pair model work with deterministic checks for schemas, required fields, file existence, totals, duplicates, allowed paths, and exact recipient matching. If the effect is external, link the receipt to read-back evidence and mark the run incomplete when the resulting state cannot be confirmed.

## Save the visual summary of receipt as part of AI output

Give receipt fields stable meanings | Read a receipt in the right order | Make the receipt easy to find | Decide how long receipts remain useful

[Download the PNG](/infographics/receipt-is-part-of-the-output-1200x1500.png)


## More reading on receipt as part of AI output

- [AI Agent Run Receipt Template](/articles/ai-agent-run-receipt-template)
- [No Work or Broken Run? Make the AI Agent Prove Which One](/articles/ai-agent-no-work-receipt)

----

```text
                  .|########||.                                       .|########||.                                       .|########||.
               |##||.      .||##|.                                 |##||.      .||##|.                                 |##||.      .||##|.
             |#|.              .|#|.                             |#|.              .|#|.                             |#|.              .|#|.
           |#|                    |#|                          |#|                    |#|                          |#|                    |#|
         .#|                        |#.                      .#|                        |#.                      .#|                        |#.
        .#.                          .#|                    .#.                          .#|                    .#.                          .#|
       |#.                            .#|                  |#.                            .#|                  |#.                            .#|
      |#             ......             #|                |#             ......             #|                |#             ......             #|
     .#           ||#########|           #|              .#           ||#########|           #|              .#           ||#########|           #|
    .#.         |######||######|.        .#.            .#.         |######||######|.        .#.            .#.         |######||######|.        .#.
    #.        .##|###|##|#|######|        .#            #.        .##|###|##|#|######|        .#            #.        .##|###|##|#|######|        .#
   ||        |##|#||||||||||||#||#|        ||          ||        |##|#||||||||||||#||#|        ||          ||        |##|#||||||||||||#||#|        ||
   #        |#||||||||||||||||||||#|        #.         #        |#||||||||||||||||||||#|        #.         #        |#||||||||||||||||||||#|        #.
  ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||
  #       .#||||||||||||||||||||||||#|       #        #       .#||||||||||||||||||||||||#|       #        #       .#||||||||||||||||||||||||#|       #
 ||   ....|||#||||||##|#|||#|#||##||||....|. ||      ||   ....|||#||||||##|#|||#|#||##||||....|. ||      ||   ....|||#||||||##|#|||#|#||##||||....|. ||
 #.  .  ....|#  ....#|||   ||| .#|||  ....#. .#      #.  .  ....|#  ....#|||   ||| .#|||  ....#. .#      #.  .  ....|#  ....#|||   ||| .#|||  ....#. .#
 #   .  ||||#| .#####||  . .#| .#|||  ||||#   #.     #   .  ||||#| .#####||  . .#| .#|||  ||||#   #.     #   .  ||||#| .#####||  . .#| .#|||  ||||#   #.
.|   |||||  #. |#|||||. ||  #. |#||. .|||||   ||    .|   |||||  #. |#|||||. ||  #. |#||. .|||||   ||    .|   |||||  #. |#|||||. ||  #. |#||. .|||||   ||
||   |....  #. ....|#.      |. ...|. ....||   ||    ||   |....  #. ....|#.      |. ...|. ....||   ||    ||   |....  #. ....|#.      |. ...|. ....||   ||
#.  .||||||##||||||##||####|||||||#||||||#|   .#    #.  .||||||##||||||##||####|||||||#||||||#|   .#    #.  .||||||##||||||##||####|||||||#||||||#|   .#
#    .||####|###########################|.     #    #    .||####|###########################|.     #    #    .||####|###########################|.     #
#      .#||||||.#.|| # |. ..# #| #|||||#|      #    #      .#||||||.#.|| # |. ..# #| #|||||#|      #    #      .#||||||.#.|| # |. ..# #| #|||||#|      #
#      .#|||||| ..  |# ## |#| ...#|#|||#|      #    #      .#|||||| ..  |# ## |#| ...#|#|||#|      #    #      .#|||||| ..  |# ## |#| ...#|#|||#|      #
#      .#|||#|# .# .#| #| ##|.#..#|||||#|      #    #      .#|||#|# .# .#| #| ##|.#..#|||||#|      #    #      .#|||#|# .# .#| #| ##|.#..#|||||#|      #
#      .#||||||############|######|||||#|      #    #      .#||||||############|######|||||#|      #    #      .#||||||############|######|||||#|      #
#   |...||#||||||#||||#|#||||||#|||||#||| |.|  #    #   |...||#||||||#||||#|#||||||#|||||#||| |.|  #    #   |...||#||||||#||||#|#||||||#|||||#||| |.|  #
#. .. ||||# .|||##|.  |#| .|| || .|||#. #|  # .#    #. .. ||||# .|||##|.  |#| .|| || .|||#. #|  # .#    #. .. ||||# .|||##|.  |#| .|| || .|||#. #|  # .#
|| |  ...||  ...##| |  #| .|. |. #####  .. .| ||    || |  ...||  ...##| |  #| .|. |. #####  .. .| ||    || |  ...||  ...##| |  #| .|. |. #####  .. .| ||
|| ||||| || ||||#|  .  |. |. |#. ||||| |#| || ||    || ||||| || ||||#|  .  |. |. |#. ||||| |#| || ||    || ||||| || ||||#|  .  |. |. |#. ||||| |#| || ||
.# |.....#|....|#.||||.|||##.|#|....||.#||.#. #.    .# |.....#|....|#.||||.|||##.|#|....||.#||.#. #.    .# |.....#|....|#.||||.|||##.|#|....||.#||.#. #.
 #.|||||||#############################| ||| .#      #.|||||||#############################| ||| .#      #.|||||||#############################| ||| .#
 ||       ##||#||#||||||#||#||#||#||##.      ||      ||       ##||#||#||||||#||#||#||#||##.      ||      ||       ##||#||#||||||#||#||#||#||##.      ||
  #       .#|||||||||#||#|||||||||||#|       #        #       .#|||||||||#||#|||||||||||#|       #        #       .#|||||||||#||#|||||||||||#|       #
  ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||        ||       |#||||||||||||||||||||||#|       ||
  .#        |#||||||||||||||||||||#|        #.        .#        |#||||||||||||||||||||#|        #.        .#        |#||||||||||||||||||||#|        #.
   ||        |#||||||||||||||||||#|        ||          ||        |#||||||||||||||||||#|        ||          ||        |#||||||||||||||||||#|        ||
    #.        .######|#|#########|        .#            #.        .######|#|#########|        .#            #.        .######|#|#########|        .#
    .#.         |#####||||#####|         .#.            .#.         |#####||||#####|         .#.            .#.         |#####||||#####|         .#.
     |#           ||########||           #.              |#           ||########||           #.              |#           ||########||           #.
      |#             ......             #|                |#             ......             #|                |#             ......             #|
       |#.                            .#|                  |#.                            .#|                  |#.                            .#|
        |#.                          .#.                    |#.                          .#.                    |#.                          .#.
         .#|                        |#.                      .#|                        |#.                      .#|                        |#.
           |#|                    |#|                          |#|                    |#|                          |#|                    |#|
            .|#|.              .|#|.                            .|#|.              .|#|.                            .|#|.              .|#|.
               |##||.      .||##|                                  |##||.      .||##|                                  |##||.      .||##|
                 .||########||.                                      .||########||.                                      .||########||.

Scale With Search  2026  [scalewithsearch.com](https://scalewithsearch.com)
```
