---
title: "AI Agent No-Work Receipts: Empty Queue or Broken Run"
description: "Make your agent prove what it inspected. Record counts and checkpoints, test empty queues and failed credentials, and monitor missing receipts."
canonical: "https://scalewithsearch.com/articles/ai-agent-no-work-receipt"
date: "2026-08-19"
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)

# No Work or Broken Run? Make the AI Agent Prove Which One.

Built from 3 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.

A daily lead sweep sends no report. The owner cannot tell whether there were zero qualified leads, the credential expired, the scheduler never started, or the agent crashed halfway through the queue.

Silence is not a terminal state.

Every automatic run in my setup ends with a receipt, or with an explicit no-work or failure record. Build yours to end with an artifact, a no-work receipt, a blocked receipt, a failure receipt, or an uncertain-state receipt. Each one names what the workflow inspected and what happens next.

## Define the terminal states

Use a small business vocabulary:

**Completed** means the job inspected its full defined scope, produced the required output, passed its checks, and stopped at the approved boundary.

**No work** means the job inspected the full eligible scope and found zero items that met the fixed criteria.

**Blocked** means the job stopped safely because a required input, permission, identity, approval, or decision was missing.

**Failed** means an expected operation did not complete: authentication, parsing, retrieval, validation, or the receipt write.

**Uncertain** means an external effect may have committed, but the workflow cannot prove the resulting state.

No work is a valid outcome. A run that found nothing and says so did its job. A run that found nothing and says nothing did not.

These are business states, not platform observability statuses.

OpenTelemetry spans can record status, attributes, events, and exceptions. Use that telemetry for diagnosis. Keep the buyer-facing run state in the receipt, so the business outcome stays inspectable. [OpenTelemetry: Tracing API](https://opentelemetry.io/docs/specs/otel/trace/api/)

## A no-work receipt proves inspection

"Nothing found" is not enough.

The receipt records:

- job and run ID;
- start and end time;
- requested time window;
- source identifiers;
- source versions or query checkpoints;
- eligible records inspected;
- suppressed or duplicate records;
- qualifying records;
- fixed filters applied;
- output count;
- final state;
- next scheduled check.

No work is valid only after complete inspection. If the credential failed before the query, the state is failed or blocked. An unreadable source is a gap. Name it. Never let it pass as an empty result.

The [agent run receipt template](/articles/ai-agent-run-receipt-template) gives the broader schema. This article covers the empty-versus-broken split.

The reason [a receipt is part of the output](/articles/receipt-is-part-of-the-output) is practical: you need evidence on the quiet days too.

## A failure receipt names the failed checkpoint

A failure receipt states which stage failed and which stages completed. To turn a failed checkpoint into a recovery drill, read [AI Agent Rollback Plan: Recovery Checks and Drill.](/articles/ai-agent-rollback-plan)

Use checkpoints such as:

```text
started -> authenticated -> queried -> normalized -> filtered -> written -> verified
```

If authentication fails, the inspected count is unknown. If filtering fails after 200 records are read, record the input count and state that qualification did not complete.

Never report partial input as no work. Never report a process exit as success because no exception reached the dashboard.

Record the error class and the safe next action. Keep secrets, tokens, and full sensitive payloads out of the receipt.

## Keep counts, time windows, and sources together

A count without scope misleads.

"Zero leads" means little without the CRM, list, pipeline stage, time window, and suppression rules that produced zero.

Record the query parameters or a stable query reference. Record pagination completion. Record the final cursor or checkpoint.

For a recurring job, compare the requested window with the last successful checkpoint. A one-hour outage then stays a one-hour outage, not a permanent gap.

NIST's AI Risk Management Framework calls for ongoing monitoring, defined roles, testing, incident identification, and documented risk processes. The framework is voluntary. Its operating lesson applies here: each abnormal state needs an owner and a review path. [NIST AI RMF Core](https://airc.nist.gov/airmf-resources/airmf/5-sec-core/)

## Inspect the four receipt examples

These four independent objects use JSON Lines (one receipt per line), not one JSON document.

```jsonl
{"run_id":"LEADS-101","status":"completed","source":"crm:queue-7","window":"2026-08-18","inspected":42,"qualified":3,"output":"drafts/LEADS-101.md","checkpoint":"verified","next_action":"review drafts"}
{"run_id":"LEADS-102","status":"no_work","source":"crm:queue-7","window":"2026-08-19","inspected":39,"suppressed":39,"qualified":0,"pagination_complete":true,"checkpoint":"verified","next_action":"next scheduled run"}
{"run_id":"LEADS-103","status":"blocked","source":"crm:queue-7","window":"2026-08-20","inspected":0,"checkpoint":"identity_gate","reason":"business_id missing","next_action":"supply approved business_id"}
{"run_id":"LEADS-104","status":"failed","source":"crm:queue-7","window":"2026-08-21","inspected":null,"checkpoint":"authenticated","reason":"credential rejected","next_action":"credential owner investigates"}
```

An uncertain receipt adds the external action ID, intended object, last confirmed checkpoint, and required read-back. It never triggers a blind retry.

## Make retries visible

Each attempt gets its own attempt ID under one logical run ID. For the duplicate-effect and retry fixture behind that receipt, read [AI Agent Idempotency: Test Retries Safely.](/articles/test-ai-agent-idempotency-and-retries)

Record the prior attempt, the reason for the retry, the checkpoint resumed, and whether any side effect may have committed.

For read-only jobs, a retry after a transient failure may be safe. For sends, charges, bookings, or live record changes, resolve the external state first.

AWS defines idempotent operations as requests that can be retried without additional side effects. Its guidance recommends a caller-provided request identifier to tell retries apart from separate intent. [AWS Builders' Library: Making retries safe with idempotent APIs](https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/)

The receipt carries that identifier when the workflow can act externally.

## Route each state to the right owner

A receipt with no named reader does nothing. Name the reader for each state.

Completed and no-work receipts go to an operating log or a daily summary.

Blocked states go to the owner of the missing decision, identity, source, or approval.

Failed states go to the operator responsible for the broken checkpoint.

Uncertain states go to the owner who can inspect the destination and decide to reconcile, retry, or stop.

Do not send every state to the business owner. Interrupt the owner for an approval, a blocker, an open question, or a finished result worth reading. Routing noise rebuilds the observability problem in a person's inbox.

## Run the empty-versus-broken acceptance test

The [build acceptance list](/ai-native#buying-and-evaluating)<!-- reading-origin:XSgvYXJ0aWNsZXMvd2hhdC1hLWJ1aWxkLWFjY2VwdGFuY2UtbGlzdC1jb250YWlucyk= --> includes both fixtures.

Test these cases:

1. A readable queue with zero records produces `no_work`.
2. A readable queue whose records all fail filters produces `no_work` with inspected and suppressed counts.
3. An unreadable queue produces `failed`, never `no_work`.
4. An expired credential names the authentication checkpoint.
5. A missing business ID produces `blocked` before retrieval.
6. A pagination failure records partial inspection and `failed`.
7. A write failure after qualification keeps the counts and names the failed output step.
8. A timeout after an external effect produces `uncertain` and a read-back task.
9. A retry links to the earlier attempt and keeps one logical run ID.
10. Every fixture writes a receipt, even when the main output is absent.

Fail the build if any broken condition can pass as no work.

## Monitor missing receipts too

A receipt standard does nothing when the process never starts. A silent failure can rot for days before anyone notices the data stopped moving.

Use an external scheduler or health check that expects a receipt by a deadline. The monitor knows the job ID, the expected cadence, and the receipt path. If no receipt appears, it reports `missing_run` as a monitor incident.

Never let the job be the only proof of its own life. A dead process cannot report that it is dead. The check runs on its own clock and asks one question: is the thing still alive.

Keep the monitor deterministic. A health probe does not call a model. It checks time, path, and cadence.

## Keep receipt writing independent

Write the receipt through a path that survives a failure in the main output writer when practical. At minimum, a final error handler records the last completed checkpoint.

Test a full disk, a denied output path, a malformed record, and a logging failure. If the receipt cannot be written, the external monitor reports a missing run.

A receipt failure never triggers the business action again. Recovery inspects the action ledger and the destination before it decides whether the main job can retry.

Keep receipts long enough to cover the operating review, the replay window, and the incident needs defined for the job.

## Approval and stopping boundary for AI agent no-work receipt template

The job may inspect its allowed scope, write outputs, and write receipts. It stops before it widens a query, changes suppression rules, repairs credentials, or retries an uncertain external action without the named owner.

A no-work status never authorizes a wider search or a new data source. A failure status never authorizes credential rotation or live configuration changes.

A change to status definitions, retry policy, receipt routing, or expected cadence needs owner review and a rerun of every terminal-state fixture.

## Three public sources on AI agent no-work receipt template

- [OpenTelemetry: Tracing API](https://opentelemetry.io/docs/specs/otel/trace/api/)
- [AWS Builders' Library: Making retries safe with idempotent APIs](https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/)
- [NIST: AI RMF Core](https://airc.nist.gov/airmf-resources/airmf/5-sec-core/)


## Questions about No Work or Broken Run? Make the AI Agent Prove Which One

### Does it sometimes encounter a fatal error and sometimes get a correct final answer?

Use distinct completed, no-work, blocked, failed, and uncertain terminal states instead of treating every empty result as success. Each receipt should identify the inspected scope, counts, time window, source checkpoints, error or stop code, and next owner.

### What does your agent do when a third-party service goes down mid-workflow?

Record a failed or uncertain state according to whether the workflow can prove an external effect occurred. Preserve the last verified checkpoint, avoid a blind retry, and route the receipt to the owner named for that state.

### Are your agents retrying more than you expect?

Make every retry visible in the run receipt with its trigger, attempt count, request identifier, checkpoint, and read-back result. A missing receipt should create its own monitoring event so silence cannot be mistaken for a successful no-work run.

## More reading on AI agent no-work receipt template

- [AI Agent Run Receipt Template](/articles/ai-agent-run-receipt-template)
- [The Receipt Is Part of the Output](/articles/receipt-is-part-of-the-output)

----

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

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