Convert documents into useful reading copies without weakening provenance. The native document remains the source of truth; Markdown is a derived convenience layer for search, synthesis, and LLM reading.
Read First
references/repository-contract.mdreferences/document-conversion-policy.mdreferences/pdf-markdown-policy.mdreferences/source-ledger.md
Workflow
- Identify document type, provenance, identifiers, language, and whether OCR is needed.
- Preserve the native file under
sources/pdfs/,reports/, ordata/raw/. - Pick the least lossy converter available: Docling/Nutrient-style PDF tools,
pdftotext, PyMuPDF, OCR, Pandoc, or a project-specific parser. - Save Markdown to
sources/markdown/<source_id>.mdwhen it is a research source. - When a source needs cover-to-cover reading, also save a linear reading copy
under
sources/markdown-linear/<source_id>.md: single-column, reading order, suitable for full sequential reading. - Save extracted figures/tables/assets under
sources/assets/<source_id>/. - For SOTA core/supporting papers, record the linear reading copy path in
sota/reading-log.csvor the matrix row. - Append a row to
sources/conversion-ledger.csv. - Update
sources/source-ledger.csvandwiki/sources/<source_id>.md.
Quality Gate
Before using converted text as evidence, sample-check:
- title, authors, year, DOI/arXiv/PMID
- headings and section order
- tables, equations, captions, and footnotes
- page numbers for exact claims
- OCR errors in names, numbers, formulas, and citations
Mark the conversion as good, usable-with-checks, or poor. Exact quotes,
numbers, metrics, and equations must be verified against the native file.
Do Not
- Delete or overwrite the native source.
- Treat OCR text as authoritative.
- Mix extracted assets from multiple documents without source-specific folders.
- Use a converted Markdown file for citation-sensitive evidence without a quality note.