Metadata-Version: 2.4
Name: alcyone-cite-audit
Version: 0.1.1
Summary: Zero-dependency CLI for 5-state academic DOI & BibTeX verification against Crossref to catch AI citation hallucinations and retractions.
Author-email: Alcyone <alcyonecraft@users.noreply.github.com>
License-Expression: MIT
Project-URL: Homepage, https://alcyonecraft.github.io/tools.html
Project-URL: Repository, https://github.com/alcyonecraft/alcyone-cite-audit
Project-URL: Issues, https://github.com/alcyonecraft/alcyone-cite-audit/issues
Project-URL: Skill Pack, https://alcyonecraft.gumroad.com/l/academic-agent-skill-pack?utm_source=pypi&utm_medium=sidebar&utm_campaign=alcyone_cite_audit
Project-URL: Complete Suite, https://alcyonecraft.gumroad.com/l/complete-researcher-suite?utm_source=pypi&utm_medium=sidebar&utm_campaign=alcyone_cite_audit
Project-URL: YouTube Demo, https://youtube.com/shorts/0G_zlgGkN5M
Keywords: citations,bibtex,doi,crossref,anti-hallucination,academic-writing,scientific-writing,peer-review,reproducibility,cli
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Text Processing :: Linguistic
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# alcyone-cite-audit

[![PyPI version](https://img.shields.io/pypi/v/alcyone-cite-audit?color=2F868D)](https://pypi.org/project/alcyone-cite-audit/)
[![PyPI Downloads](https://img.shields.io/pypi/dm/alcyone-cite-audit?color=4B6EB0)](https://pypi.org/project/alcyone-cite-audit/)
[![Python](https://img.shields.io/pypi/pyversions/alcyone-cite-audit)](https://pypi.org/project/alcyone-cite-audit/)
[![License: MIT](https://img.shields.io/badge/License-MIT-548B50.svg)](https://github.com/alcyonecraft/alcyone-cite-audit/blob/main/LICENSE)

Zero-dependency bibliography and DOI auditor built to stop LLM-fabricated citations before peer review. Parses `.bib`, `.md`, and `.tex` files and classifies every DOI against Crossref into **5 deterministic states**:
- `VERIFIED` — DOI resolves and year/title agree
- `METADATA_CONFLICT` — DOI exists on Crossref, but year or title conflicts with your `.bib`
- `RETRACTED_OR_CONCERN` — Crossref update/relation flags a retraction or expression of concern
- `UNRESOLVED_NETWORK` — Temporary rate limit / network error (never conflated with fake DOIs)
- `NOT_FOUND_CONFIRMED` — Crossref HTTP 404 (fabricated or invalid DOI)

- **20-Second Walkthrough (YouTube Shorts)**: https://youtube.com/shorts/0G_zlgGkN5M
- **Zero-Upload Free Web Tools**: https://alcyonecraft.github.io/tools.html?utm_source=pypi&utm_medium=readme&utm_campaign=alcyone_cite_audit ([Cloudflare Mirror](https://alcyonecraft.pages.dev/tools.html?utm_source=pypi&utm_medium=readme&utm_campaign=alcyone_cite_audit))

## Install & Run

```bash
pip install alcyone-cite-audit

# Offline BibTeX hygiene check (duplicate keys, missing fields, DOI syntax)
alcyone-cite-audit refs.bib --offline --strict

# Live 5-state Crossref DOI & metadata check
alcyone-cite-audit refs.bib --strict
```

## Before vs. After Terminal Output

**Before (duplicate key, missing year, and malformed DOI caught in strict offline mode, exit `1`):**

```text
$ alcyone-cite-audit refs.bib --offline --strict
Parsed refs.bib: 2 BibTeX entries, 3 structural issue(s)
  [STRUCTURAL] Duplicate BibTeX key 'smith2024' (2x).
  [STRUCTURAL] smith2024: missing 'year' field.
  [STRUCTURAL] smith2024: malformed DOI syntax 'not-a-valid-doi'.
```

**After (clean BibTeX passes strict hygiene check, exit `0`, ready for live 5-state Crossref audit):**

```text
$ alcyone-cite-audit clean_refs.bib --offline --strict
Parsed clean_refs.bib: 1 BibTeX entries, 0 structural issue(s)
```

Live runs (`alcyone-cite-audit clean_refs.bib --strict` without `--offline`) then verify each DOI against Crossref and fail `--strict` on any `NOT_FOUND_CONFIRMED`, `RETRACTED_OR_CONCERN`, or `METADATA_CONFLICT` status.

## Try Free vs. Full Suite

| Option | What You Get | Access |
| :--- | :--- | :--- |
| **Free Browser Tools (Zero Upload)** | Run client-side De-AI prose lint, numeric guard, and print-width calibration with zero uploads | [Open Web Tools](https://alcyonecraft.github.io/tools.html?utm_source=pypi&utm_medium=readme&utm_campaign=alcyone_cite_audit) ([Mirror](https://alcyonecraft.pages.dev/tools.html?utm_source=pypi&utm_medium=readme&utm_campaign=alcyone_cite_audit)) |
| **Free MIT GitHub Starter** | Open-source AI research SKILL spec + deterministic CLI starter (Zenodo DOI [`10.5281/zenodo.24644460`](https://doi.org/10.5281/zenodo.24644460)) | [academic-agent-starter](https://github.com/alcyonecraft/academic-agent-starter) |
| **Full Academic Agent Skill Pack** | Adds OpenAlex + PubMed multi-source cross-check, LaTeX formatting audit, and 4 production agent SKILLs (`LAUNCH20` for 20% off) | [Get Skill Pack](https://alcyonecraft.gumroad.com/l/academic-agent-skill-pack?utm_source=pypi&utm_medium=readme&utm_campaign=alcyone_cite_audit) |
| **7-in-1 Complete Researcher Suite** | All 7 Alcyone kits (Python plots + R biomed + Agent skills/CLIs + LaTeX/Word tables + Rebuttal class + Slides + PRISMA 2020 · $69, Reg. $293+, extra 20% off w/ `LAUNCH20`) | [Get 7-in-1 Suite](https://alcyonecraft.gumroad.com/l/complete-researcher-suite?utm_source=pypi&utm_medium=readme&utm_campaign=alcyone_cite_audit) |

## Drop Into GitHub Actions CI

```yaml
- name: Verify bibliography syntax & Crossref DOIs
  run: |
    pip install alcyone-cite-audit
    alcyone-cite-audit refs.bib --strict
```
