Skip to main content

DEPRECATED

Superseded by @twonines/doc-fact-checker, which fact-checks any documentation file (ADRs included) — same engine, generalized prompt, optional guidance arg.

Superseded by @twonines/doc-fact-checker

Adr Fact Checker

@twonines/adr-fact-checkerv2026.07.21.3· 5d agoMODELSREPORTS
01README

Fact-check a single Architecture Decision Record (ADR). Reads one ADR file, then runs the local claude CLI in read-only mode (granted Read/Grep/Glob plus WebFetch/WebSearch — web access is on by default; set allowWeb: false for repo-only, offline verification) to verify the FACTS the ADR states — its data points, references, links, and the assumptions it relies on — against the actual repository and the other docs.

This does NOT evaluate the decision itself: not whether the choice was good, whether alternatives were fair, or whether the rationale is persuasive. It only answers "are the things this ADR asserts as true actually true, and are they still current?" Opinions are left alone; only verifiable claims attached to them are checked.

Output is a fact-check resource holding a findings array. Each finding carries the exact quoted claim, its ADR section, a claim type (fact/assumption/data/ref/link/consistency), a verification status (verified/outdated/partially-true/incorrect/unverifiable/questionable-assumption), a severity (critical/high/medium/low), the evidence found, and a recommendation. The first finding is always an ADR-FC-0 recon entry, so a clean pass is a positive statement of what ran rather than an empty array.

Use

swamp extension source add ./swamp-extensions/adr-fact-checker
swamp model create @twonines/adr-fact-checker adr-checker
swamp model method run adr-checker review \
  --input path=content/app_svcs_teams/explanation/ADRs/ADR-002-standard-language-golang.md

The claude binary must be installed and authenticated on the host. The agent runs read-only by construction: it is granted only Read, Grep, and Glob plus WebFetch/WebSearch (web on by default; set allowWeb: false for offline use), and Edit/Write/Bash are explicitly denied, so it can inspect but cannot edit files or run commands. A human-readable review is produced automatically by the bundled @twonines/adr-fact-review report, a default of this model type.

02Models1
@twonines/adr-fact-checkerv2026.07.21.3adr_fact_check.ts

Global Arguments

ArgumentTypeDescription
claudePathstringPath or command name for the Claude Code CLI.
modelstringClaude model id passed to --model (e.g. sonnet, opus).
repoRootstringWorking directory the read-only agent runs in; relative ADR paths and
wallTimeoutMsnumberHard ceiling for the single Claude invocation (default 10 minutes).
allowWebbooleanGrant WebFetch/WebSearch so the agent can verify external links, URLs,
fn review(path: string)
Read one ADR and verify its stated facts, data, references, and
ArgumentTypeDescription
pathstringPath to the ADR markdown file (repo-relative or absolute).

Resources

fact-check(30d)— Fact-check findings for one ADR: each finding carries the quoted
03Reports1
@twonines/adr-fact-reviewmethod
adr_review_report.ts

Renders the @twonines/adr-fact-checker `fact-check` resource as a

adrfact-checkreview
04Previous Versions2
2026.07.21.2
2026.07.21.1
05Stats
A
100 / 100
Downloads
3
Archive size
20.5 KB
  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types (deprecated)1/1earned
  • Dependencies pass trust audit2/2earned
  • Has description1/1earned
  • Platform support declared (or universal)2/2earned
  • License declared1/1earned
  • Verified public repository2/2earned
06Platforms
07Labels