{"repo":"frmoretto/clarity-gate","free":true,"listed":false,"github":"https://github.com/frmoretto/clarity-gate","clone":"git clone https://github.com/frmoretto/clarity-gate.git","description":"Stop LLMs from hallucinating your guesses as facts. Clarity Gate is a verification protocol for your documents that are going to be provided to LLMs or RAG systems. Place automatically the missing uncertainty markers to avoid confident hallucinations. HITL for non-directly verifiable claims.","language":"Python","stars":32,"topics":["ai","ai-safety","claude","context-engineering","documentation","hallucination","llm","methodology","prompt-engineering","rag"],"license":null,"category":"ai-agents","readme_excerpt":"Clarity Gate — Prevent LLMs from Misinterpreting Facts ⚠️ LATEST: Version 2.1 released (2026-01-27). RFC-001 applied: claim status semantics, bundled scripts. See CHANGELOG. ✅ This README passed Clarity Gate verification (2026-01-13, adversarial mode, Claude Opus 4.5) Open-source pre-ingestion verification for epistemic quality in RAG systems. \"Detection finds what is; enforcement ensures what should be. In practice: find the missing uncertainty markers before they become confident hallucinations.\" --- The Problem If you feed a well-aligned model a document that states \"Revenue will reach $50M by Q4\" as fact (when it's actually a projection), the model will confidently report this as fact. The model isn't hallucinating. It's faithfully representing what it was told. The failure happened before the model saw the input. Document Says Accuracy Check Epistemic Check --------------- ---------------- ----------------- \"Revenue will be $50M\" (unmarked projection) ✅ PASS ❌ FAIL — projection stated as fact \"Our approach outperforms X\" (no evidence) ✅ PASS ❌ FAIL — ungrounded assertion \"Users prefer feature Y\" (no methodology) ✅ PASS ❌ FAIL — missing epistemic basis Accuracy verification asks: \"Does this match the source?\" Epistemic verification asks: \"Is this claim properly qualified?\" Both matter. Accuracy verification has mature open-source tools. Epistemic verification has detection systems (UnScientify, HedgeHunter, BioScope), but at the date of 2.0 release (January 13th, 2026), I","default_branch":null,"files":null,"tree":[],"storefront":"/r/frmoretto","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/frmoretto/clarity-gate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}