Subagent Evidence
Prerequisites & Dependencies
- Access to explore agent dispatch workflow
- Power to post-process agent summaries before acceptance
- No external runtime dependencies
Dispatch-Time Contract
When dispatching an explore agent, enforce the following contract:
Observation-only return: The agent returns raw observations, never inferred conclusions.
Each observation must include:
file:linecitation — exact file path and line number where the observation originatesexcerpt— the raw text snippet (1-3 sentences) from that locationtag— one of:[OBSERVED],[INFERRED],[HEURISTIC]
Inference tagging requirement: Any conclusion drawn by the agent must be explicitly tagged
[INFERRED]and accompanied by at least 2 supporting observations withfile:linecitations.No bare claims: Statements without
file:linecitations are rejected at dispatch time.
Post-Dispatch Verification
After receiving an agent summary:
Sample-cite: For each substantive claim in the summary, locate and verify at least 2
file:linecitations from the original observations.Flag unsupported conclusions: Claims with fewer than 2 verified citations are marked
[UNVERIFIED]in the chat.Reject inference without evidence: Any
[INFERRED]claim without 2 supporting observations is discarded and re-reported to the user.
Verification Workflow Example
Agent summary: "The codebase uses Factory pattern extensively"
→ I verify: 2+ citations showing Factory pattern usage
→ Result: Claim accepted with [VERIFIED] tag
Agent summary: "Component X is unused"
→ I check: only 1 citation found for "unused"
→ Result: Claim marked [UNVERIFIED], re-reported to user
Windows PowerShell Notes
- Citation format:
C:\path\to\file.py:42or relative paths as appropriate - Excerpt extraction: use
sed -n '42p' "C:\path\to\file.py"to pull exact line - Tag markup: wrap inferences in
[INFERRED]brackets explicitly in the summary text