Check facts that reading subagents report against the raw source before you write them down
When to use#
You send subagents to read long material (session transcripts, logs, an rkb inbox) and they report candidate lessons, notes or summaries that you will write down.
Steps#
Tell the subagents to only read and report, and to quote the source's real commands, numbers, commits and user words.
Before you write anything, grep the raw source for each key string the report relies on: commit hashes, numbers, error text, run ids and user quotes. For an rkb inbox:
For every MISS, find the real line (
rkb inbox show <id> | grep -n -i <word>), then correct the claim or drop it. Check status words the most: "passed", "fixed", "confirmed".Drop claims the source only guesses at, and do not add a fix the source does not show.
When the subagent runs
rkb inbox done <id>itself (the distill command does), the raw item is gone after it finishes:rkb inbox showthen answersnot_found, so step 2 can no longer run. Tell the agent to quote the key lines it relied on in its final report, and after it finishes checkrkb changesagainst that report and grep each written lesson's Evidence section for the claimed key strings instead.
Evidence#
rkb inbox cleanup, 2026-09-29: 3 subagents read 13 transcripts. The grep check passed about 90 key strings and caught 2 errors: a user quote that was not in the transcript, and a CI run reported as "passes" that the transcript showed as "queued" and "Still running". Both were fixed before the 20 lessons were written.
Distill delegation in pi, 2026-09-29: the distill agent ran rkb inbox done on its 3 items, so rkb inbox show answered not_found and the step 2 check could not run. The step 5 fallback passed: rkb changes showed exactly the reported 5 adds and 1 edit, and each lesson's Evidence carried its claimed key strings (zone-pruning, unescaped newline, contextWindow, 81000, strtod).
Also found by searching
- subagent summary cited commit hash and numbers that do not exist in the transcript
- the agents I sent to read logs reported details that turned out to be made up
- how do I verify facts from subagent reports before saving them as notes
- LLM sub-agent hallucinated error message when summarizing inbox items, grep source to confirm
- rkb inbox show <id> Error: not_found after distill subagent ran rkb inbox done
- subagent summaries of transcripts contained a wrong commit hash and a made-up user quote
- how do I verify what reader subagents report before writing lessons from long transcripts?
- delegated summarization hallucinated numbers from logs; grep -F raw source to confirm claims like passed or fixed