---
name: fact-and-source-annotator
description: Annotate every factual claim in a draft with a source URL and confidence level, blocking publication until each claim is cited or marked opinion.
title: Fact-and-Source Annotator
category: writing-editing
difficulty: advanced
author: admin
icon: 🔗
input: text
output: review
phase: post
domain: content
tags: fact-checking,citation-verification,source-attribution,pre-publish-gate,claim-classification,sentence-annotation,editorial-workflow,source-grading,automated-enforcement,evidence-validation,quality-assurance,content-verification
best_for:
  - news and journalism publishing pipelines
  - academic and research paper submission systems
  - policy documents and legal briefs
  - fact-based content platforms and wikis
  - regulatory and compliance documentation
---

## Description

Pre-publish gate that walks a draft, classifies each sentence as fact / opinion / narrative, and requires a source citation for every fact. Facts without a cited source are flagged in red. Facts with weak citations (blog posts, press releases, self-citations) are flagged in yellow. Strong citations (primary sources, peer review) pass.

## Why it works

Most publications require citations in principle but enforce them loosely. An automated pass that distinguishes the three sentence types and grades citation strength shifts the default from 'trust the writer' to 'trust the evidence' without adding a human bottleneck.

## How it works

1. Sentence classifier: fact vs opinion vs narrative, with the LLM required to justify each label in one phrase. 2. For each fact, check inline-citation links present in the same sentence or adjacent. 3. Grade citation strength on a 1-5 scale using domain heuristics + LLM judgment of source type. 4. For uncited facts, attempt a retrieval pass against a trusted-source index (Wikipedia, primary sources, peer-reviewed DBs) and propose citations. 5. Emit an annotated draft with inline badges and a summary score. Block publication if any red flags remain.
