paper-trail-acquire
Troisième passe du pipeline cible refondu. Lance la cascade PDF (10 sources : Crossref OA + arXiv + OpenAlex + Unpaywall + HAL + CORE + éditeur par DOI +…
Acquire PDFs via the 8-source cascade (11 with opt-in extended sources) for a single ref by slug, or a batch filtered by state. Validates page 1 anti-homonymy on each download.
$ npx -y skills add roomi-fields/paper-trail --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/paper-trail-cascadeContext preview
What this command does when you run it.
Acquire PDFs via the 8-source cascade (11 with opt-in extended sources) for a single ref by slug, or a batch filtered by state. Validates page 1 anti-homonymy on each download.
description: Acquire PDFs via the 8-source cascade (11 with opt-in extended sources) for a single ref by slug, or a batch filtered by state. Validates page 1 anti-homonymy on each download.
Invoke the `pdf-cascade` skill to push refs through the FSM via the strict acquisition cascade.
/paper-trail:cascade <slug> # one ref by slug /paper-trail:cascade --state candidate # batch by state /paper-trail:cascade --state candidate --limit 20 /paper-trail:cascade --ref <slug> --dry-run
1. Parses the argument (slug, `--state X`, optional `--limit N`, `--dry-run`, `--cited-in <SOTA_name>`) 2. Invokes the worker B :
python -m pipeline run <args>
3. Reports session recap : `planned / done / pending / blocked / skipped_terminal` 4. Each acquired PDF is validated page 1 anti-homonymy automatically before being accepted 5. Doctor runs at the end (unless `--no-doctor`) to flag any new invariant violation
By default, the cascade has 10 sources (no Sci-Hub, no Anna's Archive). To enable shadow libs for this session (cf. `DISCLAIMER.md`) :
export RESEARCH_ENABLE_SHADOW_LIBS=1 /paper-trail:cascade --state candidate --limit 10
The cascade then has 15 sources — 17 with the browser routes available as well (Playwright + a display, see `docs/ACQUISITION_HEADFUL.md`). A disclaimer prints to stderr at the first cascade load of the session.
Every attempt is logged in the registry under `acquisition_attempts[]` :
acquisition_attempts:
- n: 1
source: crossref_oa
verdict: no_source
reason: no_doi
- n: 2
source: arxiv
verdict: success
pdf_path: 13_Biblio_Maths/Sources/Smith_2020.pdf
pdf_sha256: a3f5...Use `/paper-trail:status` to see overall registry state, or `/paper-trail:doctor` to verify post-cascade consistency.
Anti-hallucination plugin for academic research in Claude Code. Create literature reviews and papers guaranteed without fabricated citations.
Troisième passe du pipeline cible refondu. Lance la cascade PDF (10 sources : Crossref OA + arXiv + OpenAlex + Unpaywall + HAL + CORE + éditeur par DOI +…
Batch audit of every SOTA in the vault. For each SOTA, identifies refs that are page1_validated (technical OK) but not yet sota_cited_confirmed (content…
Per-citation audit of an academic article (LaTeX or Markdown). Produces RECEIPTS.md classifying each citation as VALID/ADJUST/INVALID/UNVERIFIABLE. Optional…
Audit a SOTA's bibliography. Classify each cited ref by validation state. Optional --purge removes citations to retracted refs from the SOTA (with .bak backup).
Inspect a single reference in detail (identity, PDF status, acquisition history with verdicts, citation context in vault, state transitions) and decide its…
Audit the registry via the 19 mechanical invariants (I1-I19). Reports ERROR/WARN/INFO violations. Optional auto-fix for safe ones (I4 path, I6 sha256, I9…