RAG Citation Coverage Auditor
Check whether a local export of answer claims cites approved, permitted, fresh sources with an explicit support relation. Review the source and the answer separately.
v0.1.0 package · Node.js 22+ · MIT
Browse source and run locally · Read the RAG evaluation guide
Run two public exports
Clone the repository, use Node.js 22 or newer, and run these commands from its root. Both exports are synthetic. The fixed audit date makes their freshness results reproducible.
Passing citation
node bin/rag-citation-coverage-auditor.mjs --input examples/passing.json --scope public --as-of 2026-09-20 --jsonThe passing export has one covered claim, one resolved and usable citation, and no findings.
Unresolved citation
node bin/rag-citation-coverage-auditor.mjs --input examples/failing.json --scope public --as-of 2026-09-20 --jsonThe intentionally failing export has no covered claim and two errors: claim-uncovered and citation-unresolved.
What the result means
This read-only CLI checks declared export evidence; it does not independently prove that a source or answer is true. It makes no network requests and does not retrieve source text. Unknown inventory, permission, freshness or support evidence returns incomplete rather than pass. Review the cited material and answer with a person before relying on them.
Follow the declared evidence path
A citation ID alone is not support. The exported source must be approved, permitted for the requested scope, fresh under the selected policy and explicitly linked to the claim.

Continue the evaluation
Put citation review into an AI workflow
Discuss an evidence review workflow with Edilec. Share only material you are permitted to disclose.