roomi-fields/paper-trail

3 stars · Last commit 2026-06-06

Anti-hallucination plugin for academic research in Claude Code. Strict FSM + 10-source PDF cascade + page 1 anti-homonymy + 19 invariants + per-citation audit. Vault-agnostic (Obsidian/flat/Zotero). MIT.

README preview

# paper-trail

> Anti-hallucination plugin for academic research in Claude Code.
> Create literature reviews and papers guaranteed without fabricated
> citations.

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Version](https://img.shields.io/badge/version-0.1.0-blue.svg)](CHANGELOG.md)
[![Claude Code Plugin](https://img.shields.io/badge/Claude%20Code-plugin-purple.svg)](https://docs.claude.com/en/docs/claude-code/plugins)

## Why this exists

Citation hallucinations in academic writing — fabricated quotes,
inverted attributions, misidentified authors — are systemic when the
author writes from memory and looks up sources afterward. Retracted
papers from major venues have shown the failure mode is structural,
not anecdotal.

`paper-trail` makes the error **mechanically impossible** by enforcing
a research-first workflow with strict state transitions, automated PDF

View full repository on GitHub →