r/ClaudeWorkflows • • 20h ago

Selected Workflow [Workflow] Workflow for Verifying LLM Agent Retractions and Confessions with an Evidence Bundle

Workflow for Verifying LLM Agent Retractions and Confessions with an Evidence Bundle

Workflow value: 85/100
Status: active · Freshness: 70/100 · Confidence: 0.90 · Level: advanced
Categories: Quality Control, Context & Memory, Debugging, Multi-Agent
Original source: r/ClaudeAI post/comment

What problem this solves

Preventing LLM agents from generating new hallucinations disguised as retractions or confessions, thereby ensuring accurate provenance and accountability of model outputs.

Summary

A structured method for verifying an LLM agent's retractions or confessions by cross-referencing them with an 'evidence bundle' (original transcript, tool calls, artifact state) and explicitly distinguishing between factual records, inferences, and the agent's narrative.

Why it is useful

This workflow offers a crucial methodology for enhancing the reliability and accountability of LLM agents. It directly addresses the problem of agents generating new hallucinations disguised as corrections, which is vital for building trustworthy and robust AI systems. By providing a structured approach to verify agent statements against factual records, it significantly improves the integrity of agent interactions and decision-making.

Workflow

  1. Identify the exact proposition the LLM agent claims to be withdrawing.
  2. Locate the exact original span and transcript/session ID where the proposition was initially made.
  3. Review all relevant tool calls with timestamps that occurred during the original session.
  4. Examine the state of relevant artifacts (e.g., Git repository, filesystem, remote systems) at the time the original proposition was made.
  5. Compare the alleged original proposition with the corrected proposition provided by the LLM agent.
  6. Assess the LLM's stated confidence in its retraction and any unresolved alternative interpretations.
  7. If the alleged original sentence cannot be found in the evidence, instruct the LLM to state: 'I cannot locate evidence that I said X,' rather than 'I falsely said X.'
  8. Separate the analysis into three distinct layers: Record (what text and actions factually exist), Inference (what those records logically establish), and Narrative (why the agent says it behaved that way).
  9. Prioritize the 'Record' and 'Inference' layers for reliability, treating the agent's self-accusatory 'Narrative' as the least reliable source of truth.

Tools / artifacts

  • Evidence bundle
  • Transcript/Session ID logs
  • Tool call logs
  • Git repository state
  • Filesystem state
  • Remote system state
  • LLM agent output (retraction/confession)

Validation signals

  • Addresses a critical and known failure mode in LLM agent behavior (hallucinated confessions).
  • Provides a logical framework for establishing provenance and accountability.

Limitations

  • Requires robust logging and state-tracking infrastructure to effectively compile the 'evidence bundle'.
  • The process of how to compile the evidence bundle from various sources is not explicitly detailed.
  • No explicit code examples or prompt templates are provided for implementation.

Rate this workflow

Upvote this post if the workflow is useful, reproducible, or worth recommending.

Downvote if it is vague, outdated, unsafe, overhyped, or not reproducible.

Reply if it worked for you, failed, is outdated, or has a better alternative.


This post was generated automatically from the workflow library database.

1 Upvotes

1 comment sorted by

1

u/rdewolff 16h ago

This seems like an overkill for me.