Skip to content

Editorial research note / Reliable local agents: grounding, retrieval and verified loops

A fact-check tool that could be fooled by the agent's own answer

2026-06-03 · Date on the first line of the working note · result

Question
Why did a local agent state a fabricated fact about a real company and call it verified, and what stops that?
Result
Two faults compounded. The agent passed its own drafted answer as the source, so every claim matched itself and came back grounded, and it claimed the fact was 100% verified; and the web-fetch step stripped the page body, so the agent was starved of real data and filled the gap. The fact-check now rejects a source that is nearly the answer itself (ratio ≥0.85, or answer⊆source with source<1.3×answer), a fetch tool that returns the real page content was added, and the agent's rules now require raw tool output as the source and an admission when a fetch is empty.
Limits
A verify-then-revise check on the final answer proved architecturally unavailable for this streaming local agent, so the defence is a tool and prompt rule rather than an enforced check of the final answer.
Next question
Would an agent runtime with a final-answer hook allow the answer to be checked against the actual tool results?
100% verified

What the agent claimed (working note)

Source & quoted measure
and claimed it was "100% verified."

Fact-check self-source working note

ratio ≥0.85, or answer⊆source with source<1.3×answer

Self-source rejection rule (working note)

Source & quoted measure
rejects self-source (normalized difflib ratio ≥0.85, or answer⊆source with source<1.3×answer) → returns "INVALID SOURCE"

Fact-check self-source working note

STREAMING

Why the final-answer check was unavailable (working note)

Source & quoted measure
post-hoc revision is also incompatible with a STREAMING local reply (text already shown).

Fact-check self-source working note

Provenance

What the retained source says.

The guide above is editorial. The passages below are source quotations. A fingerprint identifies the retained source bytes; it does not establish the scientific claim by itself. Availability is stated for each source.

01 / Fact-check self-source working note

Selected source passage; full source not published

the agent passed its OWN drafted answer as the `source` arg, so every claim matched itself → tautological "GROUNDED."

Source fingerprint · SHA-256 f496ac4c418b6f3e17b1dd22558fb3f611fdc88b6f1dc6a6f60c937f5bd41371 · 3,018 bytes

Fact-check self-source working note · excerpt

Research direction: Anthony Michael Collado.
Original credits remain with each source. Source passages, editorial guides and unreviewed source-index notes are distinguished in the research record.