Repository navigation
Conversation
Most docs assume literature references (PMID, DOI). This page shows LRV checking a PM's monthly report against non-literature sources: meeting notes, Google Docs exports, GitHub issue snapshots and scripted metrics, all as local markdown files for v1. Covers a [source: <ref> "<excerpt>"] claim convention checked with the existing `validate text-file --regex`, snapshot scripts for GitHub issues and counts, what a pass does and doesn't establish, the regex's silent skips and a lint for them, a deterministic strip step for the stakeholder copy, a draft agent skill, and possible future gdoc:/gh: prefixes. All LRV outputs shown come from real runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjkEiwfjfgydYqJ3iMEQkR
Adds why `validate text-file --regex` is today's only route for prose reports and where it is awkward (#40), compares the bracket marker with an inline HTML span form, including how each fares in Google Docs, and points to the span proposal in #91. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjkEiwfjfgydYqJ3iMEQkR
Says up front that the PM runs the check through the skill or a Claude Code PostToolUse hook rather than typing commands, with a tested hook script. Calls the Google Docs export step clunky and sketches a gdrive:<fileId> prefix (with a tab for Sheets) in place of the earlier gdoc: idea. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjkEiwfjfgydYqJ3iMEQkR
A step-by-step guide for the PM use case that assumes every source is a local markdown file: lay out sources/, add [source: file:... "..."] markers, run validate text-file with the marker regex, fix each failure message, lint for markers the regex skips, wrap both in one script, review claims beside excerpts, and strip markers for the stakeholder copy. Ends with extensions (url:, Google Docs, GitHub issues, a built-in claim syntax). Every file and command was extracted from the page and run in a fresh folder; outputs shown are real. Linked from the How-To nav and from the project-reports use case. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VjkEiwfjfgydYqJ3iMEQkR
|
Claude encountered an error after 1s —— View job I'll analyze this and get back to you. |
|
Claude finished @cmungall's task in 2m 9s —— View job PR review: docs for fact-checking project reports
Overall: These are strong pages. The how-to's example reproduces exactly as written. I built the
The lint, review and strip outputs match the page too. Most of my comments are about the helper script. The pages are the only test for it, so small gaps there matter. 1. The script is copied into both pages, and the copies already differ
The differences so far:
I'd keep the full listing only in the how-to and link to it from the use case. Better still, since CLAUDE.md asks for tested code, ship it as a real file (e.g. 2. A mistyped mode exits 0
if mode not in ("lint", "strip", "review"):
sys.exit(f"usage: {sys.argv[0]} {{lint|strip|review}} REPORT.md")3. A report with no markers passes both checksA report that is only prose (e.g. 4.
|
Summary
This PR adds comprehensive documentation for using LRV to fact-check project status reports and similar documents that cite local markdown sources. It includes both a detailed use case guide and a practical how-to guide with step-by-step instructions.
Changes
New use case guide (
docs/use-cases/project-reports.md): Comprehensive documentation covering:[source: <REFERENCE> "<EXCERPT>"]report_claims.py) for linting, stripping, and reviewing markersNew how-to guide (
docs/how-to/check-markdown-reports.md): Step-by-step instructions for checking markdown reports against local sources:sources/andreports/folder structureUpdated documentation index (
docs/index.md): Added links to the new guides in the navigationUpdated mkdocs configuration (
mkdocs.yml): Added the new how-to guide to the navigation structureImplementation Details
The documentation introduces a practical convention for embedding source citations in markdown reports that can be validated deterministically by LRV's
validate text-filecommand. The guides include:The documentation is grounded in actual working examples that have been tested with the current LRV CLI.