veracity-tweaked-555
Skill1 starsChanged 8 months agoMITView on GitHub
Run a parallel veracity audit on any document, website, or portfolio. Launches 16 agents per run in 4 waves (1 decomposition + 3 waves of 5 verification agents), each wave from a different angle. Default 3 runs with inter-run review; use runs=1 for quick checks.
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- joonchungpersonal-dev/veracity-skillsedited, first seen Mar 2, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- joonchungpersonal-dev/veracity-skills★ 445% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository10 other files it gives its agents.
- autoforgeSkill
- context-engineerSkill
- council-improveSkill
- council-qaSkill
- council-ux-testSkill
- grillSkill
- lrs-evalSkill
- readme-auditSkill
- ux-committeeSkill
- veracity-v2-experimentalSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 13 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 23
Evidence chain logging: Every verification logs source URL/DOI, tier, relevant quote, confirms/contradicts
- Very specific: line 42
When constructing subagent prompts, include these definitions wherever agents reference [VERACITY_SCALE], [EVIDENCE_CHAIN], [THINK_VERIFY], …
- Distinctive: line 62
Think & Verify: Before marking FALSE, double-check your source.
- Very specific: line 64
Inter-Wave Data Handoff: When wave prompts reference [WAVE_A_DISPUTED_FACTS] or [ALL_PRIOR_FINDINGS], serialize as: one line per finding in …
- Distinctive: line 90
Wait for completion. The fact list becomes input for all subsequent waves.
- Distinctive: line 162
Wait for Wave A. Incorporate findings.
- Distinctive: line 228
Wait for A+B. Compile findings.
- Distinctive: line 342
Convergence: After Run 2+, offer early stop when delta < 3 for two consecutive runs and no CRITICAL/HIGH remain.
- Distinctive: line 368
If "Review Each": present individually with ACCEPT / MODIFY / REJECT / DEFER.
- Very specific: line 393
After Run 2+ (requires runs>=4 to activate): delta < 3 for two consecutive runs + no CRITICAL/HIGH → offer early stop via AskUserQuestion
- Distinctive: line 420
Write a workflow state file to the paper trail directory.
- Distinctive: line 461
After each run's fixes are applied, before starting the next run:
- Distinctive: line 469
If context usage exceeds ~120K tokens after any run, compact with:
- Distinctive: line 496
3g. CONVERGENCE: After Run 2+ (requires runs>=4 to activate), delta < 3 two consecutive + no CRITICAL/HIGH → offer early stop.
- Very specific: line 587
After each run: write run_N/ files.
- Very specific: line 594
Read ~/.claude/veracity-log.json and ~/.claude/audit-dashboard/index.html
- Distinctive: line 608
Agent hallucination risk: All 16 subagents are LLMs that can fabricate evidence, invent DOIs, or confidently cite nonexistent sources.
- Distinctive: line 612
Domain specificity: Run 2+ domain expert agents (Wave D) are template examples.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Veracity 555 — Parallel Fact-Check
SAFE-style claim decomposition followed by 3 waves of 5 parallel verification agents per run. Each wave examines from a different angle. Multiple runs shift perspectives to reduce blind spots. Between runs, findings go through user review; approved fixes are applied before the next run.
Methodology
Published methods:
- SAFE (Google DeepMind, arXiv:2403.18802): Decompose document into atomic, self-contained facts before verification — outperforms crowdsourced human annotators (wins 76% of disagreement cases) at lower cost
- FActScore (Min et al., EMNLP 2023): Popularized atomic fact decomposition for evaluating long-form LLM-generated text; SAFE builds on similar approaches by Gao et al. and Wang et al.
- 6-Point Veracity Scale: TRUE / MOSTLY TRUE / MIXED / MOSTLY FALSE / FALSE / UNVERIFIABLE (adapted from PolitiFact's Truth-O-Meter; MIXED replaces Half True, and the sixth slot is repurposed from Pants on Fire to UNVERIFIABLE to capture epistemic uncertainty rather than absurdity)
- Tool-MAD Adversarial Debate (arXiv:2601.04742): Tool-augmented debater agents engage in multi-round dialogue; a judge resolves disputes — up to 5.5% accuracy improvement over prior multi-agent debate SOTA (MADKE) on FEVEROUS
Custom practices (not published):
- Source Reliability Tiering: Tier 1 (DOIs, databases) > Tier 2 (institutional) > Tier 3 (secondary) — custom hierarchy informed by evidence-based source evaluation practices
- Supermajority consensus: 75% agreement threshold, single-pass aggregation (threshold informed by consensus decision-making literature)
- Evidence chain logging: Every verification logs source URL/DOI, tier, relevant quote, confirms/contradicts
- Counter-evidence prompting: Agents try to disprove claims before marking VERIFIED
Input
$ARGUMENTS: file path or URL to audit, optionally runs=N (default: 3). If no target, ask user.
Architecture
Each run = 1 decomposition + 3 waves of 5 parallel agents = 16 agents/run.
- Run 1: Wave 0 → Waves A, B, C (foundational verification)
- Run 2: Wave 0 (refresh) → Waves D, E, F (adversarial & comparative)
- Run 3: Wave 0 (refresh) → Waves G, H, I (meta-analysis & synthesis)
- Run 4+: Cycle (4→A/B/C, 5→D/E/F, 6→G/H/I) with all prior context
Total agents = runs × 16.
Shared Definitions
When constructing subagent prompts, include these definitions wherever agents reference [VERACITY_SCALE], [EVIDENCE_CHAIN], [THINK_VERIFY], or [OUTPUT_FORMAT].
Veracity Scale (6-point, adapted from PolitiFact):
- TRUE: Fully accurate, confirmed by T1 source
- MOSTLY TRUE: Accurate with minor discrepancy (e.g., pagination off by one)
- MIXED: Partially accurate (e.g., correct journal but wrong year)
- MOSTLY FALSE: Significant inaccuracy (e.g., wrong authorship position)
- FALSE: Factually incorrect (e.g., paper doesn't exist)
- UNVERIFIABLE: Cannot confirm or deny with available sources
Source Tiers: T1 (DOIs, databases, registrars, original data) > T2 (institutional pages, Google Scholar, published methodology) > T3 (news, abstracts, secondary summaries)
Evidence Chain (required per rated fact): Source URL/DOI | Source tier | Relevant quote | How it confirms/contradicts
Output Format:
F### [CATEGORY] — **RATING** (Confidence: N%)
Claim: "..." | Evidence: ... | Source: URL (Tier N) | Note: ...Think & Verify: Before marking FALSE, double-check your source. Before marking VERIFIED, attempt to find contradicting evidence.
Inter-Wave Data Handoff: When wave prompts reference [WAVE_A_DISPUTED_FACTS] or [ALL_PRIOR_FINDINGS], serialize as: one line per finding in the format F### [RATING] "claim" — Agent: X, Note: .... Keep to key findings only (MIXED, MOSTLY FALSE, FALSE, or UNVERIFIABLE); do not dump entire agent outputs into prompts.
Wave 0 — SAFE Claim Decomposition (1 agent)
Launch 1 agent (Task tool, subagent_type: general-purpose):
Agent 0: Claim Decomposer
You are a SAFE (arXiv:2403.18802) claim decomposition specialist. Read [TARGET] and decompose the ENTIRE document into atomic, independently verifiable facts:
1. DECOMPOSE every sentence into individual claims. "Published 15 papers with 1,200+ citations in top-tier journals" → THREE facts: count (15), citations (1,200+), venue quality (top-tier).
2. DECONTEXTUALIZE — replace pronouns, resolve references. "He developed this at BWH" → "Joon Chung developed [specific tool] at Brigham and Women's Hospital"
3. CATEGORIZE: QUANTITATIVE | PUBLICATION | TEMPORAL | CREDENTIAL | TECHNICAL | LINK | COMPARATIVE | NARRATIVE
4. QUALITY CHECK: Completeness (all claims captured?), Correctness (meaning preserved?), Atomicity (one checkable claim each?)
5. NUMBER sequentially (F001, F002, ...).
Output: `F001 [CATEGORY] "claim text" — Source: paragraph N, line M`
Report: total facts, breakdown by category, decomposition difficulties.Wait for completion. The fact list becomes input for all subsequent waves.
Run 1 Waves (Foundational Verification)
Wave A — Source Truth (5 parallel agents)
Launch all 5 via Task tool (subagent_type: general-purpose), each receiving the Wave 0 fact list.
A1: Publication & DOI Verifier
Verify EVERY [PUBLICATION] fact:
1. Resolve DOI via WebFetch (https://doi.org/THE_DOI) or PubMed
2. Compare exact title, author list/order, journal, year, volume, pages
3. Verify authorship claims (first/sole/middle author)
4. Check for title truncations or wording changes
Apply [VERACITY_SCALE], [EVIDENCE_CHAIN], [THINK_VERIFY], [OUTPUT_FORMAT].
Publication-specific T1: DOI resolution, PubMed record.A2: Numerical Claims Auditor
Verify EVERY [QUANTITATIVE] fact:
1. Internal consistency — same number across all decomposed facts?
2. Cross-reference against data files, databases, source code
3. Arithmetic check (sub-totals sum? percentages match fractions?)
4. Rounding inconsistencies (e.g., "26K" vs "25K" for 25,766)
Apply [VERACITY_SCALE], [EVIDENCE_CHAIN], [THINK_VERIFY].
Number-specific tiers — T1: original data/code output, T2: paper methodology, T3: abstracts/news.A3: Link & URL Validator
Verify EVERY [LINK] fact and all URLs in any fact:
1. WebFetch to verify resolution (LinkedIn 999 = UNVERIFIABLE, not FALSE)
2. Destination content matches claims
3. Internal anchor links (#id) match actual element IDs
4. Downloadable file references exist at specified paths
5. Trace obfuscated/JS-constructed URLs
Apply [VERACITY_SCALE], [EVIDENCE_CHAIN]. Report every link with HTTP status.A4: Timeline & Date Coherence
Verify EVERY [TEMPORAL] fact. Build complete timeline, then:
1. Anachronisms — work claimed before holding relevant position?
2. Duration claims vs computed date ranges
3. Publication years: online-first vs print
4. Educational timeline: sequential and plausible?
5. "Current" claims vs today's date
Apply [VERACITY_SCALE], [EVIDENCE_CHAIN], [THINK_VERIFY].A5: Data File Verifier
Verify EVERY [TECHNICAL] fact referencing files, directories, databases, repos:
1. Glob/Bash to verify files exist on disk
2. File counts vs claimed counts
3. SQLite record counts if referenced
4. Code array lengths vs claimed counts
5. "Current" stats vs what's actually on disk
Apply [VERACITY_SCALE], [EVIDENCE_CHAIN]. Report exact counts vs claimed with paths.Wave B — Framing & Integrity (5 parallel agents)
Wait for Wave A. Incorporate findings; flag facts rated MIXED or UNVERIFIABLE by their evaluating agent.
B1: Overclaiming Detector
Focus on EVERY [COMPARATIVE] and [NARRATIVE] fact:
1. "Pioneered" — actually first, or building on prior work?
2. "Discovered" — genuine discovery or data analysis finding?
3. "First to..." — independently verifiable?
4. "Adopted by..." — direct or loose causal connection?
5. Impact/influence claims — verify the mechanism
Not all strong language is overclaiming — "Led" is fine if PI, "Developed" if they wrote code.
For each flag, suggest more defensible wording.
Overclaiming ratings: MOSTLY TRUE (slight), MIXED (misleading framing), MOSTLY FALSE (substantial).
Also review Wave A MIXED/UNVERIFIABLE facts: [WAVE_A_DISPUTED_FACTS]B2: Consistency Cross-Checker
WITHIN-DOCUMENT check for self-contradiction:
1. Find all facts referring to the same underlying claim
2. Compare numbers, wording, framing across instances
3. Flag same thing described differently
4. JS data arrays vs prose-derived facts
5. Visualization data vs textual descriptions
MIXED if both could be true; MOSTLY FALSE if one clearly wrong. Flag likely-correct version.
Report with fact numbers (F001 vs F047).B3: Missing Information Detector
Identify what's MISSING from [TARGET]:
1. Claims without evidence or citations
2. Timeline gaps (unexplained periods)
3. Omitted caveats or limitations
4. Asymmetric detail (some items documented, others vague)
5. Suppressed negative information (failed projects, retractions)
Create entries (M001, M002, ...) as [MISSING], rated UNVERIFIABLE. Report what a thorough reviewer would ask.
During carry-forward (Step 3e), merge M-series entries into the canonical fact list for downstream synthesis and scoring.B4: HTML/Code Quality Checker
If [TARGET] is HTML: broken entities, malformed tags, unclosed elements, CSS referencing
nonexistent classes, JS errors, accessibility (alt text, aria, semantic HTML), mobile
responsiveness, print styling. If not HTML: check referenced code files.
Report with line numbers, severity: CRITICAL/HIGH/MEDIUM/LOW.B5: Credential & Identity Verifier
Verify EVERY [CREDENTIAL] fact:
1. WebSearch: person holds claimed position at claimed institution
2. Degree-granting institutions exist and offer claimed programs
3. ORCID, Google Scholar, LinkedIn consistency
4. Grant numbers or fellowship claims
5. Email addresses match institutional affiliations
Credential tiers — T1: registrar/dept page/ORCID, T2: LinkedIn/Scholar/directory, T3: news.
Apply [VERACITY_SCALE], [EVIDENCE_CHAIN].Wave C — Adversarial Review & Synthesis (5 parallel agents)
Wait for A+B. Compile findings. DISPUTED facts (MIXED or worse from multiple agents) → debate protocol.
C1: Devil's Advocate
Hostile reviewer of [TARGET] with all prior findings [ALL_PRIOR_FINDINGS]:
1. Attack WEAKEST facts (lowest ratings/confidence)
2. What would a skeptical domain expert challenge?
3. PATTERNS of exaggeration across [COMPARATIVE] facts?
4. Overall narrative: honest or misleadingly optimistic?
5. Write the 3 toughest reviewer questions
Harsh but fair — improve the document, don't destroy it.C2: Plagiarism & Originality Checker
For every substantial text block in [TARGET]:
1. Web search for exact/near-exact matches
2. Method descriptions vs published abstracts (self-plagiarism from own papers = flag but OK)
3. Project descriptions match actual repos, not someone else's
4. Templated language from multiple applications
Report concerns with matching source URL.C3: Adversarial Debate Judge
Using all prior findings [ALL_PRIOR_FINDINGS], identify DISPUTED facts (agents disagree or confidence <60%).
For each disputed fact:
1. PRO argument — cite verifying agent
2. CON argument — cite flagging agent
3. Weigh evidence by source tier
4. FINAL VERDICT (6-point scale) + confidence score
If >25% disputed, flag as document-level concern.C4: Comparative Claims Assessor
Check all [COMPARATIVE] facts:
1. "First", "largest", "most", "pioneering", "novel" claims
2. Methodology adoption/influence claims
3. Implied uniqueness ("only person to...", "first to combine...")
4. Sample size impressiveness relative to the field
5. Effect sizes and p-values supporting the narrative
WebSearch for prior work predating claims. Apply [VERACITY_SCALE], [EVIDENCE_CHAIN].C5: Final Synthesis & Consensus
Using ALL prior findings [ALL_PRIOR_FINDINGS]:
1. Collect ALL veracity ratings per fact from every evaluating agent
2. Supermajority consensus: 75%+ agreement = consensus; for disputed facts, independently re-evaluate evidence by source tier to reach a verdict
3. Categorize: FALSE→CRITICAL, MOSTLY FALSE→HIGH, MIXED→MEDIUM, MOSTLY TRUE→LOW, TRUE→VERIFIED
4. For each CRITICAL/HIGH finding, provide the exact fix
5. Executive summary: total facts, rating breakdown, % verified, confidence 0-100, top 3 concerns, integrity assessmentRun 2+ Waves
Reuse Wave 0 fact list (refresh if document changed), shift perspectives.
Wave D — Domain Expert Simulation (5 parallel agents)
Adapt domain experts to the target document's subject matter. The examples below are templates; replace with relevant domains for each audit target.
- D1: Domain specialist #1 — methodology, sample sizes, statistics
- D2: Domain specialist #2 — technical claims, benchmarks
- D3: Domain specialist #3 — societal/ethical connections
- D4: Hiring/review committee perspective — evidence standards
- D5: Investigative journalist — two-source rule
Each assigns 6-point ratings from their domain perspective with evidence chains.
Wave E — Regression & Drift Detection (5 parallel agents)
Adapt checks to the target document's structure. The examples below are templates.
- E1: Embedded resume vs standalone file (exact diff)
- E2: JS data arrays vs filesystem data (exact counts)
- E3: Cross-section self-consistency (using fact numbers)
- E4: Current vs prior versions (git history)
- E5: Stale data detection
Wave F — Red Team (5 parallel agents)
Adapt adversarial checks to the target document's claims. The examples below are templates.
- F1: Find prior work invalidating "first"/"pioneered" claims
- F2: Methodology claims vs actual paper methodology
- F3: Quoted sources vs actual archives
- F4: GitHub repo contents vs claims (not just existence)
- F5: Retractions, corrections, errata on listed publications
Wave G — Meta-Analysis (5 parallel agents, Run 3)
- G1: Cross-run agreement — consistently flagged facts
- G2: Confidence trends across runs
- G3: Evidence gaps — facts still lacking T1 after 2 runs
- G4: Fix verification — did applied fixes resolve issues?
- G5: New fact discovery — claims missed in prior Wave 0 passes
Wave H — Stress Testing (5 parallel agents, Run 3)
- H1: Steelman/strawman — harder disproof of VERIFIED facts
- H2: Context checker — true in specific context or only in general?
- H3: Temporal validity — still TRUE today?
- H4: Scope creep — claims within what evidence supports?
- H5: Statistical rigor — significant figures, rounding, units
Wave I — Final Cross-Run Synthesis (5 parallel agents, Run 3)
- I1: Master consensus — supermajority across ALL agents/runs
- I2: Reliability assessor — 0-100 scale with breakdown
- I3: Fix prioritizer — impact-to-effort ratio
- I4: Pattern reporter — systematic patterns (e.g., "all dates off by 1 year")
- I5: Executive summary — 1-page audit for decision-makers
Convergence: After Run 2+, offer early stop when delta < 3 for two consecutive runs and no CRITICAL/HIGH remain. Note: convergence requires runs>=4 to activate; the default runs=3 completes all runs without early stopping.
Inter-Run Review Protocol
Between runs (except final and single-run), present findings for user review before applying fixes.
Phase 1: Summary Card
═══════════════════════════════════════════════════
RUN [R]/[N] COMPLETE Score: [score]/100
Facts: [N] Agents: [N] Consensus: [N]%
CRITICAL [N] | HIGH [N] | MEDIUM [N] | LOW [N]
[total] fixes available
═══════════════════════════════════════════════════Phase 2: Severity-Tier Walkthrough
Process in order: CRITICAL → HIGH → MEDIUM → LOW. For each tier, list all findings (claim, evidence, source, location, fix) then AskUserQuestion:
- CRITICAL/HIGH: Accept All | Review Each | Defer All
- MEDIUM: Neutral presentation (no recommendation bias)
- LOW: Accept All (Recommended) | Review Each | Defer All
If "Review Each": present individually with ACCEPT / MODIFY / REJECT / DEFER.
Phase 3: Decision Summary
ACCEPTED: [N] MODIFIED: [N] REJECTED: [N] DEFERRED: [N]
Preview: Line [N]: "old" → "new" ...
→ Apply fixes and continue to Run [R+1] | → Go back and reviseConfirm via AskUserQuestion.
Phase 4: Apply
- Sort fixes by line number descending (prevent shift issues)
- Apply via Edit tool
- Save
target_snapshot_pre.mdandtarget_snapshot_post.md - Pass deferred findings to next run
Disposition Model
| Disposition | Applied? | Carries Forward? |
| ACCEPT | Yes, immediately | Verified next run |
| MODIFY | Yes, with user's text | Verified next run |
| REJECT | No | Dropped permanently |
| DEFER | No | Flagged for next run |
Convergence & Skip
- After Run 2+ (requires runs>=4 to activate): delta < 3 for two consecutive runs + no CRITICAL/HIGH → offer early stop via
AskUserQuestion runs=1: Report only, no review UI- 0 findings: Auto-proceed
- Final run (R == N): Report only
Execution Steps
Steps 1-2: Parse & Read
Extract target + run count from $ARGUMENTS. Read full document.
Step 2.5: Context Engineering Pre-Flight (runs >= 2)
Skip this step for runs=1. For multi-run audits, apply context-engineer patterns to prevent context window overflow and enable crash recovery.
2.5a. ESTIMATE TOKEN BUDGET:
Per-run cost: ~50-80K tokens (Wave 0 + 3 waves of 5 agents + synthesis)
System overhead: ~20K tokens (system prompt + CLAUDE.md + skill definition)
Available working context: ~145-170K tokens
Max runs before overflow (no mitigation): 2-3
Max runs with disk-as-memory: unlimited2.5b. INITIALIZE STATE FILE:
Write a workflow state file to the paper trail directory. This file must contain everything needed to resume the audit from any run — the Victory Condition is: if the session crashes, a new session can read this file and continue without degradation.
{
"_schema": "context-engineer/workflow-state/v1",
"_description": "In progress. Read this file to resume.",
"workflow": {
"name": "veracity-audit",
"goal": "Complete N-run veracity audit",
"target_file": "<target path>",
"audit_root": "<paper trail directory>",
"started": "<ISO-8601>"
},
"convergence": {
"target_score": null,
"required_consecutive": null,
"consecutive_hits": 0,
"converged": false,
"convergence_scores": []
},
"progress": {
"current_run": 0,
"runs_completed": 0,
"current_phase": "initialized",
"phases_per_run": ["decomposition", "wave_a", "wave_b", "synthesis", "apply_fixes"]
},
"history": [],
"active_findings": [],
"relationships": [],
"decisions": [],
"score_progression": []
}2.5c. IDENTIFY CHOKEPOINTS:
- The Collector (post-wave synthesis): 16 agents × 2-5K tokens = 32-80K of findings. Mitigation: agents write to disk, synthesis reads file-by-file.
- The Auditor Loop (multi-run accumulation): Each run adds ~50-80K tokens. Mitigation: checkpoint and compact between runs.
- The Growing Log (veracity-log.json): Grows each run. Mitigation: append only, never read full log mid-audit.
2.5d. CHECKPOINT PROTOCOL (between every run):
After each run's fixes are applied, before starting the next run:
- Extract FACTUAL information → update state file
history[]with run scores, findings, fixes - Log REASONING → update
decisions[]with rationale for accepted/rejected/deferred findings - Map RELATIONAL → update
relationships[]with regressions, patterns, causal chains - Verify IMPERATIVE → goal and constraints are in the skill definition (survives compaction)
- Release EPHEMERAL → raw agent outputs are saved to disk; OK to lose from context
- Validate — re-read state file and confirm every key fact from the current run appears in it
If context usage exceeds ~120K tokens after any run, compact with:
/compact Workflow state is in <state file path>. Current run: N of M.
Read state file at start of next run. Do not rely on conversation history.Recovery (if session crashes): Start new session with:
Read <state file path> and continue the veracity audit from run N.Step 3: Execute Runs
For each run R (1 to N):
3a. EXECUTE: Launch waves per Architecture. Each wave group: Wave 0 → 3 sequential waves of 5 parallel agents. Later waves receive prior findings. Run 2+ agents also receive deferred findings.
3b. SYNTHESIZE: Calculate score, delta, sort by severity, count per tier.
3c. REVIEW: Skip if final run, runs=1, or 0 findings. Otherwise follow Inter-Run Review Protocol.
3d. APPLY: Sort fixes by line descending, apply via Edit, save snapshots.
3e. CARRY FORWARD: Re-read updated document, compile deferred findings, merge any M-series entries from B3 into the canonical fact list, log per-run entry.
3f. CHECKPOINT: (runs >= 2) Update state file per Step 2.5d checkpoint protocol. If context is heavy, compact before next run.
3g. CONVERGENCE: After Run 2+ (requires runs>=4 to activate), delta < 3 two consecutive + no CRITICAL/HIGH → offer early stop.
Step 4: Consolidate
After all runs:
- Collect all ratings across agents/runs
- Supermajority consensus (75%+), else debate judge verdict
- Map: FALSE→CRITICAL, MOSTLY FALSE→HIGH, MIXED→MEDIUM, MOSTLY TRUE→LOW, TRUE→VERIFIED
- Score = (TRUE + MOSTLY TRUE) / checkable facts × 100 (exclude UNVERIFIABLE)
- Track finding lifecycle (discovered Run X, fixed Run Y, verified Run Z)
- Aggregate dispositions
Step 5: Final Report
## Veracity Audit Report
**Target**: [file/URL] | **Agents**: [N] | **Runs**: [N] | **Facts**: [N]
**Veracity confidence**: [N]% | **Consensus rate**: [N]%
### Session Progression (multi-run only)
| Run | Score | Delta | CRIT | HIGH | MED | LOW | Fixes |
|-----|-------|-------|------|------|-----|-----|-------|
Dispositions: Accepted [N] | Modified [N] | Rejected [N] | Deferred [N]
Converged: [Yes/No]
### Fact Summary
Total: [N] | By category: QUANTITATIVE N, PUBLICATION N, TEMPORAL N, CREDENTIAL N, TECHNICAL N, LINK N, COMPARATIVE N, NARRATIVE N, MISSING N
### Veracity Distribution
TRUE [N] ([%]) | MOSTLY TRUE [N] ([%]) | MIXED [N] ([%]) | MOSTLY FALSE [N] ([%]) | FALSE [N] ([%]) | UNVERIFIABLE [N] ([%])
### CRITICAL — must fix
F### [CATEGORY] "claim" — Evidence: DOI/URL (Tier N) | Confidence: N% | Agents: N/M | Fix: ...
### HIGH — should fix
### MEDIUM — consider fixing
### LOW — minor issues
### VERIFIED ([N] claims)
### UNVERIFIABLE ([N] claims)
### Evidence Quality
T1: [N] | T2: [N] | T3: [N] | 2+ independent sources: [N] ([%])Step 6: Log Results
6a. Metadata: git remote get-url origin (fallback: dirname), pwd, git branch --show-current, git rev-parse --short HEAD, generate session UUID.
6b. Per-run entry (after each run's review):
{
"id": "<timestamp>-run<N>", "type": "run", "session_id": "<UUID>",
"run_number": 1, "timestamp": "<ISO-8601>",
"target": "...", "project": "...", "project_path": "...",
"branch": "...", "commit_sha": "...",
"veracity_score": 0, "prior_score": null, "score_delta": null,
"agents_deployed": 16,
"claims_total": 0, "claims_verified": 0, "claims_flagged": 0,
"claims_unverifiable": 0, "consensus_rate": 0,
"veracity_distribution": { "true": 0, "mostly_true": 0, "mixed": 0, "mostly_false": 0, "false": 0, "unverifiable": 0 },
"severity_counts": { "critical": 0, "high": 0, "medium": 0, "low": 0, "verified": 0, "unverifiable": 0 },
"evidence_quality": { "tier1_sources": 0, "tier2_sources": 0, "tier3_sources": 0, "multi_source_claims": 0 },
"fact_categories": { "quantitative": 0, "publication": 0, "temporal": 0, "credential": 0, "technical": 0, "link": 0, "comparative": 0, "narrative": 0, "missing": 0 },
"review_decisions": { "critical_batch": "...", "high_batch": "...", "medium_batch": "...", "low_batch": "..." },
"findings": [{
"fact_id": "F###", "severity": "...", "veracity_rating": "...", "confidence": 0,
"category": "...", "claim": "...", "evidence_summary": "...",
"source_tier": "T#", "source_url": "...", "agents_agreed": "N/M",
"location": "...", "fix": "...", "status": "...", "disposition": null
}]
}6c. Session entry (after all runs): Same base fields plus type: "session", runs_requested, runs_completed, score_progression[], converged, disposition_summary{accepted,modified,rejected,deferred}, runs[] (array of run IDs).
For runs=1: single entry with type: "run", session_id: null, no session entry. Entries without type field = legacy single-run (backward compatible).
6d. Append to ~/.claude/veracity-log.json (per-run entries first, then session). Append-only — never overwrite existing entries.
6e. Paper trail:
~/.claude/audit-trails/veracity/<YYYY-MM-DD>_<HH-MM-SS>_<target>/
├── session_metadata.json, consolidated_report.md
└── run_N/ (one per run)
├── metadata.json, target_snapshot_{pre,post}.md
├── wave0_decomposition.md
├── wave{A-I}_agent{1-5}.md (raw agent outputs, per run's assigned waves)
├── review_decisions.json, fixes_applied.json
├── consolidated_report.md
└── deferred_findings.json (Run 2+ only)After each run: write run_N/ files. After all runs: write session files.
Commit: cd ~/.claude/audit-trails && git add -A && git commit -m "veracity: <target> <timestamp> score=<N>/100 (<M> runs)"
The trail directory is the permanent full-evidence record; JSON logs are summaries.
Step 7: Dashboard Update
- Read
~/.claude/veracity-log.jsonand~/.claude/audit-dashboard/index.html - Replace
<script id="veracity-data">...</script>with:const VERACITY_DATA = <JSON>; - Write updated
index.html - Tell user: "Dashboard updated. Open
~/.claude/audit-dashboard/index.html(Veracity 555 tab)."
Data inlined because browsers block external scripts via file://.
Limitations
This skill applies principles from published fact-checking research to LLM-based document auditing. The combined system has not been independently validated as a whole.
Known limitations:
- Agent hallucination risk: All 16 subagents are LLMs that can fabricate evidence, invent DOIs, or confidently cite nonexistent sources. Findings should be spot-checked against primary sources.
- Verification depth: Agents verify claims using WebSearch, WebFetch, Glob, Bash, and Read tools. Paywalled papers, internal databases, and claims requiring deep domain expertise may be rated UNVERIFIABLE rather than actually checked.
- Token cost: A single run deploys 16 agents and consumes approximately 800K-1M tokens. A default 3-run audit may consume 2.4M-3M tokens. Users should be aware of API cost implications.
- Convergence: The convergence criterion (delta < 3 for two consecutive runs) requires runs>=4 to activate. The default runs=3 completes all runs without early stopping.
- Domain specificity: Run 2+ domain expert agents (Wave D) are template examples; they should be customized to the target document's subject matter for best results.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

