ctverify:extract
Extract citations from Pandoc inline footnotes into a JSON registry, enabling systematic verification that each source supports its claim. Track statuses and safely re-run after edits.
Instructions
Extract citations from Pandoc inline footnotes (^[...]) for verification tracking. This is a CITATION VERIFICATION tool, not bibliography management. It extracts citations so the LLM can systematically verify that each cited source actually supports the claim made in the text. Use registry_path to save/merge results into a JSON registry file (preserves existing claims and statuses). Re-running after text edits is safe: exact cite matches preserve claims/status, proximity matching (±5 lines) recovers claims when cite text changed. Each citation captures ~200 chars of surrounding context for claim formulation. Workflow: extract → set claims → verify each claim against the source using research tools → update status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Single path or array of paths to Markdown files to extract citations from | |
| dry_run | Yes | Preview merge result without writing. Use after text edits to check which citations are new, removed, or proximity-matched before committing. | |
| registry_path | Yes | Path to the citation registry JSON file (required). Set DT_CT_REGISTRY env var to make optional. |