Evidence accounting, literature discovery, and figure/table generation. Research paper and hybrid modes only -- no-op for white paper.
Generate evidence, literature, and figure/table artifacts. Research paper and hybrid modes only.
folio:plan).route.json confirms mode is research_paper or hybrid.If mode is white_paper, exit immediately with: "White paper mode skips the support stage. Proceed to folio:draft."
If planning artifacts are missing, direct user to run folio:plan first.
Run three substages. Order is flexible; complete all before proceeding to draft.
experimental_log.md and results_inventory.json.claim_ledger.jsonsupport_levelplanning/claim_ledger.json.Gate C — Evidence integrity: Block if any claim remains unsupported without user acknowledgment, or if numerical claims lack traceable sources.
literature_plan.json queries (Semantic Scholar, arXiv, PubMed, etc.).citations/citation_pool.json — entries with key, metadata, verified, relevance_area, relevance_score.citations/refs.bib from verified citations only.Gate D — Citation integrity: Block on unverified pool entries or duplicate BibTeX keys.
figure_plan.json entry:
existing — verify file; copy to figures/supplied/.generate — produce asset under figures/generated/.collect — flag for user provision.figures/captions.json — figure_id, path, caption, exists.tables/generated/ when needed.Gate E — Artifact integrity: Block if any outline-referenced figure/table is missing and not explicitly deferred; block if required captions are missing.
citation_pool.json + refs.bib verified.Proceed to folio:draft.