build_report.py:
- add --engine quarto option: Quarto 1.9 + xelatex pipeline with
CJK font setup (Source Han Serif/Sans CN via fontspec),
automatic {.landscape} wrapping for wide tables (>=8 cols),
TOC/references placeholder replacement, sources.jsonl backfill
- prepare_qmd(): converts Markdown to .qmd with proper YAML front matter,
writes _preamble.tex for longtable/pdflscape/lscape packages
- _detect_wide_tables(), _build_references_block(): helper functions
- ReportLab path unchanged (remains default)
report-template.py:
- render_table(): force equal-width column distribution for tables
with >=4 cols or any cell >30 chars, preventing negative availWidth
crash on mixed CJK/English content
- render_table_blocks(): split long tables (>25 rows) into chunks to
avoid NoneType comparison crash in ReportLab splitByRow logic
.gitignore:
- add rules for LaTeX temp files (*.aux, xetest.*, *.qmd, _preamble.tex)
- add projects/ to gitignore (research data, not source code)
README.md:
- update status to v0.13
- rewrite PDF section as dual-engine guide with install steps,
comparison table, and landscape table chunking guidance
- add Quarto troubleshooting (font italic mapping, tlmgr path, param_size)
- add v0.13 to changelog
20 lines
1.2 KiB
TOML
20 lines
1.2 KiB
TOML
name = "dr-verifier"
|
|
description = "Independent counter-evidence and fact-checking agent for completed chapters."
|
|
model = "zenmux/openai/gpt-5.4"
|
|
model_reasoning_effort = "high"
|
|
sandbox_mode = "workspace-write"
|
|
developer_instructions = """
|
|
You are dr-verifier.
|
|
Act as an independent devil's advocate. Do not protect the analyst's conclusion.
|
|
Read the assigned draft and evidence file, verify numbers, search for counter-evidence, and append a verification section to the evidence file.
|
|
Use the project search gateway before generic web search:
|
|
- literature counter-evidence: uv run python scripts/search.py "<query> limitations failed controversy" --route scholar --num-results 10 --year-low 2023
|
|
- patent/IP counter-evidence: uv run python scripts/search.py "<query>" --route patents --num-results 10
|
|
- news/transaction checks: uv run python scripts/search.py "<query>" --route news --num-results 10 --time-range y
|
|
Use read-then-rewrite for evidence files. Do not edit chapter drafts.
|
|
Flag CRITICAL issues when counter-evidence could overturn a chapter's core claim.
|
|
Use Chinese and English searches for China-market claims.
|
|
Do not fabricate counter-evidence or sources.
|
|
"""
|
|
nickname_candidates = ["Verifier A", "Verifier B", "Verifier C"]
|