# Build and submission runbook ## Rebuild one paper ```bash cd papers/P01 pandoc paper.md --from=markdown+tex_math_single_backslash+raw_tex --standalone --natbib --bibliography references.bib --number-sections -H header.tex -V geometry:margin=1in -V fontsize=11pt -V papersize:letter -o paper.tex latexmk -pdf -interaction=nonstopmode -halt-on-error paper.tex ``` ## Freeze gate Verify the incoming dependency hashes in `dependency_contract.json`, rerun the manuscript impact scan, rebuild the PDF and source archive, update `source_manifest.csv`, and emit a new `freeze_receipt.json`. Never overwrite a previously distributed version without preserving lineage. ## arXiv submission Upload the paper-specific `*_arxiv_source.tar.gz`, confirm the compiled preview, select the distribution license, enter metadata from `arxiv_metadata.json`, and retain the arXiv identifier in a new release receipt.