Autonomous research pipeline — topic to structured documents with HTML/PDF output. Proven at HEL (28 docs, 91K words) and OOPS (9 docs, 20K words) scale.
Activates when user requests deep research, investigation, or analysis of a topic that will produce multiple structured documents.
TOPIC → DECOMPOSE → PARALLEL RESEARCH → AGGREGATE → STRUCTURE → BUILD → PUBLISH
Break the research topic into 4-12 investigation tracks. Each track becomes one document.
Launch research agents (2-6 in parallel) with specific investigation briefs. Use run_in_background: true for independence.
Collect findings. Check for contradictions. Identify cross-references.
Organize into a numbered document series with:
Convert markdown to HTML and PDF using pandoc + xelatex:
bash build.sh # Uses template.tex and html-template.html
Commit, tag, merge to main, push, create GitHub release, FTP sync to configured remote host.
Each research project gets a 3-4 letter code added to series.js:
Templates at the project level:
template.tex — LaTeX template for branded PDFshtml-template.html — Standalone HTML templatebuild.sh — Automated pandoc build script