Autonomous adversarial LaTeX review-fix-build loop until convergence (zero findings) or max 12 rounds.
Iterative adversarial review-fix-build loop on LaTeX files until convergence (zero findings) or max rounds.
For non-LaTeX files (Markdown, YAML, config) → use /review-convergence instead.
$ARGUMENTS — file path(s) or glob (e.g., contents/part2-pathophysiology/ch08-neurological.tex, contents/part2-pathophysiology/*.tex)Guard: $ARGUMENTS empty/blank/literal → ask user for scope; do not start without concrete path/glob.
Guard: Glob resolves to zero files → report empty match; ask user to refine; do not start with empty file set.
Per round (R1, R2, ...):
REVIEW — Read all files in scope. Audit for:
\cite{} key exists in references.bibFIX — Apply all fixes.
BUILD — nix build; verify zero errors.
REPORT:
Round RN: X findings found, Y fixed, build: PASS/FAIL
Categories: [rigor: A, citations: B, notation: C, latex: D, logic: E, factual: F]
DECIDE:
Every 3 rounds → write continuation checkpoint to .claude/review-checkpoint-latex.md: