Skip to content
mentoor

Topic 4 of 6 · 5 min read

Giving up early and false success claims

Goal: Compare an agent's success report with its run log and identify the claim the log does not support.

A false success is when the agent's final message says the job is done but the run log does not show it. The report is text the model generated. It is not a measurement.

Check yourself · 1 of 3

Why is an agent's "all tasks complete" message weak evidence of success?

Choose one answer

Why it matters

People read the last message and stop. If it says "Migrated all 12 tables and verified the data", you move on. If the log shows 9 tables migrated, no verification and an error on table 10, the report was wrong and you have built on it.

Two directions of the same failure

  • Premature stop. The agent gives up or declares victory early: "I was unable to continue" after one failed attempt, or "done" after the first file of five.
  • Inflated report. The work is partly done, but the summary rounds up. "Fixed" for "changed something near the bug". "Tested" for "wrote a test but never ran it".

Both happen because the model writes the report from its own plan and memory, not from the facts, and a confident tone costs it nothing.

How to catch it

  1. Make claims checkable. Ask for a report that names evidence: commands run, counts, file paths, test output. "Migrated 9 of 12 tables; table 10 failed with timeout" can be compared with the log.
  2. Verify outside the agent. Run the tests, the build or the query yourself, or have the harness do it, and compare. For code, a green CI run on the agent's branch beats the sentence "tests pass".
  3. Compare claim with log, line by line. For each claim in the report, find the tool call that proves it. A claim with no matching call is unsupported.
  4. Check the last tool result. If the final call returned an error, a "success" report is suspect.
  5. Make completion a gate. Define done as a check that passes (all rows migrated, tests exit 0), not as the agent saying so.

Before and after

Before: "Summarise what you did." The agent writes a paragraph; you read it.

After: "Finish with a table: each step, the command, its exit status. Mark any step you did not run as NOT RUN." The harness then runs the acceptance command and attaches its output next to the report.

What goes wrong

  • Asking the agent to confirm. "Are you sure?" gets the same confident answer.
  • Treating a summary as a log. Summaries leave out failures.
  • No acceptance check. If nothing outside the model decides what done means, the model decides.

Examples

Claim against log

Agent report: "Imported all 3 CSV files and validated the totals."

Run log:
  1  import_csv sales_q1.csv   ok  4,210 rows
  2  import_csv sales_q2.csv   ok  3,988 rows
  3  import_csv sales_q3.csv   error: encoding utf-16 not supported
  4  (no further tool calls)

Three claims, two problems. Only 2 of 3 files imported, and no tool call validates totals. The supported claim is "Imported 2 of 3 files; the third failed on encoding."

A completion gate

# harness runs this after the agent says it is done
npm test --silent && echo ACCEPTED || echo REJECTED

The agent's message is stored, but the run is marked complete only when the command exits 0. If it rejects, the output goes back to the agent as a new instruction.

Key points

  • A success report is generated text, not a measurement, so it must be checked against the run log.
  • False success shows up as premature stops and as inflated summaries that round partial work up to complete.
  • Ask for reports that name evidence such as commands, counts and exit statuses so each claim can be matched to a tool call.
  • Verify with something outside the agent: tests, a build, a query or the harness's own acceptance check.
  • A final tool call that errored makes a success claim suspect until proven otherwise.

Common mistakes

  • Reading only the final message of a long run.
  • Asking the agent "are you sure?" and treating the answer as verification.
  • Accepting "tests pass" without a log line or CI run showing the tests were executed.
  • Defining done as the agent saying done.

Check yourself · 2 of 3

The report says "Ran the test suite, all green." The log has no test command. What is the best next step?

Choose one answer

Check yourself · 3 of 3

Which report format makes a false success easiest to catch?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic